But I get an error when compiling. Someone educated in java want to tell me what it means?
Code:
Error reading trigger java.lang.StringIndexOutOfBoundsException: String index ou
t of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Unknown Source)
at scriptreader.read(scriptreader.java:32)
at scenario.write(scenario.java:147)
at scripteditor.main(scripteditor.java:100)
error in writing file java.io.FileNotFoundException: triggers.hex (The system ca
nnot find the file specified)
java.io.FileNotFoundException: triggers.hex (The system cannot find the file spe
cified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at scenario.write(scenario.java:153)
at scripteditor.main(scripteditor.java:100)
the .txt file im trying to compile into a .scx file is attached
It is because there are empty lines in the input file. Empty lines come generally from display instruction where you typed "enter", remove them and it will runs fine. It's a bug from the program...
Or you can just search in the output file where are empty lines using notepad++.
BTW in the link that you gave you have your answer lol
It is because there are empty lines in the input file. Empty lines come generally from display instruction where you typed "enter", remove them and it will runs fine. It's a bug from the program...
Or you can just search in the output file where are empty lines using notepad++.
BTW in the link that you gave you have your answer lol
Yeah you're right, I should have scrolled down a bit lol.
But I get an error when compiling. Someone educated in java want to tell me what it means?
the .txt file im trying to compile into a .scx file is attached
Or you can just search in the output file where are empty lines using notepad++.
BTW in the link that you gave you have your answer lol
Or you can just search in the output file where are empty lines using notepad++.
BTW in the link that you gave you have your answer lol
Yeah you're right, I should have scrolled down a bit lol.
Thanks all fixed and running.