Getting error when using Trigger Script Editor

 ALiAS


Posted 14 February 2014 - 11:58 pm
Trying to copy some triggers from one map to another using [You must login to view link]

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
Attachments:
old.txt (file size: 490.47 KB)
Link | Reply | Quote
 _Rectum_Ranger_


Posted 15 February 2014 - 10:13 am
You could probably get more help from [You must login to view link] than from Voobly.
Link | Reply | Quote
 syssouffle


Edited 15 February 2014 - 10:20 am by syssouffle
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
Link | Reply | Quote
 ALiAS


Posted 15 February 2014 - 3:26 pm
syssouffle wrote:
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.

Thanks all fixed and running. ;flowers


Link | Reply | Quote
[1]
Displaying 1 - 4 out of 4 posts
Forum Jump:
1 User(s) are reading this topic (in the past 30 minutes)
0 members, 1 guests

What's popular right now: