Flagrum Posted June 8, 2014 Posted June 8, 2014 I have a problem now.....with the Do Script function...when I copy/paste a script in the text box, it seems to take it all....but then if I exit the trigger page and re-enter it...only like 162 of the 2000+ lines of script are saved.....I keep getting an error "unexpected symbol near line 162"...and I'm like WFT....but then looking into it...there is no problem with the script...it that its not saving the whole thing....it ends at 162.....Do I have to just use the Do Script File instead of Do Script.... This bug is investigated atm by the testers. http://forums.eagle.ru/showthread.php?t=125269 DO SCRIPT FILE should help here. An other work around could be to create your own script library that contains a function for every code snipped that you would normally place into a DO SCRIPT action. Then you call just that function in DO SCRIPT. (The problem at hand is, that text fields like DO SCRIPT fields, are currently limited to about 4000 characters. That might be too short for a whole script, but should normally suffice for a function call)
ED Team NineLine Posted June 9, 2014 Author ED Team Posted June 9, 2014 I have a problem now.....with the Do Script function...when I copy/paste a script in the text box, it seems to take it all....but then if I exit the trigger page and re-enter it...only like 162 of the 2000+ lines of script are saved.....I keep getting an error "unexpected symbol near line 162"...and I'm like WFT....but then looking into it...there is no problem with the script...it that its not saving the whole thing....it ends at 162.....Do I have to just use the Do Script File instead of Do Script.... This is reported. Do Script file does seem to be the work around for the moment. Forum Rules • My YouTube • My Discord - NineLine#0440• **How to Report a Bug**
ENO Posted June 9, 2014 Posted June 9, 2014 Just in case anyone else is having the same problem, I found the solution: The encoding in Notepad++ needs to be set to 'UTF-8 without BOM'. I don't recall ever changing it, and TBH I don't remember if it was set to that before. Keep this comment from Ajax in mind while doing so, however. "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art
Recommended Posts