chajapa Posted July 17, 2015 Posted July 17, 2015 I tried to modify a script and got a compile error. Something like: ...1707,0 Missing EOF at "*" <---that's an asterisk between the quotes I was doing this to change just 1 number in a script that handles the MCM menu for a mod, just to see if it would solve an issue I was having. The ODD thing about that message is that it appears to be pointing me to line 1707, character 0 and the script only has about 520 lines. Nowhere NEAR 1707 lines. This was apparently and ESM-ified esp. I couldn't set it as Active File that way so I ESP-ified it in order to get it settable as Active. So..... can anyone give me a clue what I might have to do to edit the source and just change that 1 number? It's a slider range. I'm just trying to change it so it goes 0 to 6 instead of 1 to 6. But that compile error and the fact it's somehow showing too many lines is something I've not run into before. Something to do with ESM-ified and then ESP-ified?
Guest Posted July 17, 2015 Posted July 17, 2015 Hi. The source code of the scripts is not related to ESP (or ESM), the esps are just referring them (but they contain the values for the properties.) The error you are getting by compiling the script happens sometimes if the wrong BOF mode is set for the text file (.psc) Just open the original source file in Notepad++ (not the normal notepad, you need the ++) and change the formatting to basic ANSI. Save it, open it in CK, do the edit, and try to save (to compile.)
chajapa Posted July 17, 2015 Author Posted July 17, 2015 In Notepad++ , under Encoding there is: Encode in ANSI and Convert to ANSI Both would work? Or do I Convert to ANSI?
chajapa Posted July 17, 2015 Author Posted July 17, 2015 That was it. They were UTF-8 without BOM. I learned something today.... again...
chajapa Posted July 17, 2015 Author Posted July 17, 2015 I also learned that when my wife says, "Playing with your big-titted friends again?", if I say, "yes... 3 of them!", she will find a job for me to do around the house...
Guest Posted July 17, 2015 Posted July 17, 2015 We have to work before we can play... My wife does the same.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.