| Author |
Message |
Fergus Duniho (Fduniho)
| | Posted on Saturday, November 04, 2000 - 12:06 pm: | |
For a new game I'm working on, Zillions keeps reporting parse errors at various places where there appear to be no parse errors at all. When I remove the code where the parse error is supposed to be, it just reports a parse error on another line. And it doesn't even seem logical. The new parse error sometimes appears earlier in the file than the parse error that was reported for the section I cut out. Yet in examining the code, there is still no parse error evident. What could be causing such erroneous error reports? |
Patrick S. Duff (Pduff)
| | Posted on Saturday, November 04, 2000 - 1:34 pm: | |
Fergus, See my posts (including a new one just for you!) under the "Designing Games for Zillions ==> Debugging tips" discussion topic. You can also check your rules file for control characters, very long lines, or a last line which isn't followed by a carriage return. I don't know if Zillions cares about tabs, line-feeds, etc., or if there is a maximum line-length, but these are common problems in other programs. Suppose your rules file is named "abc.zrf". Try the following DOS commands: ren abc.zrf abc_err.zrf type abc_err.zrf > abc.zrf Then exit & restart Zillions and try loading "abc.zrf" again. This may solve some of the above problems, and will move the rules file to a different physical location on your disk drive. This will also help if you have a damaged FAT or directory, such as cross-linked files. Good luck! |
Fergus Duniho (Fduniho)
| | Posted on Thursday, November 09, 2000 - 4:48 pm: | |
It seems to have been an extra ')' at the very end of the file. I can now at least work at rooting out other bugs. |
Fergus Duniho (Fduniho)
| | Posted on Friday, November 17, 2000 - 5:19 pm: | |
The game I was working on is done now. It is Hex Shogi, which is described at: http://www.chessvariants.com/hexagonal.dir/hexshogi |
|