Getting error when using Trigger Script Editor

 ALiAS


Joined:  9 January 2010
Posts: 101
发布14 February 2014 - 10: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
附件:
old.txt (文件大小: 490.47 KB)
链接 | 回复 | 引用
 _Rectum_Ranger_


Joined:  11 August 2013
Posts: 189
发布15 February 2014 - 9:13 am
You could probably get more help from [You must login to view link] than from Voobly.
链接 | 回复 | 引用
 syssouffle


Joined:  20 January 2011
Posts: 242
编辑15 February 2014 - 9:20 am通过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
链接 | 回复 | 引用
 ALiAS


Joined:  9 January 2010
Posts: 101
发布15 February 2014 - 2: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


链接 | 回复 | 引用
[1]
从 1 4中展现4 - 0
讨论区跳转:
1用户正在阅读这个话题 (在过去的30分钟)
0成员1游客

What's popular right now:
Most active threads in past week:
Can not update (1 posts)