Code: Select all
Script error, "engine.pk3:zscript/base.txt" line 583:
Unexpected '<'
Expecting ';' or ','
Script error, "engine.pk3:zscript/mapdata.txt" line 337:
Unexpected identifier
Expecting ';' or ','
Execution could not continue.
2 errors while parsing engine.pk3:zscript/chex/chexplayer.txt
I even tried using GZDoom's actual gzdoom.pk3 file...same errors! I then guessed it must be a source code error, but even after deleting and re-forking GZDoom, then compiling that...same errors! There shouldn't be any ZScript errors if the source code is up to date and the PK3 has mostly unmodified files... (I only changed the "skies.txt" and "powerups.txt" to allow moving skyboxes and fix the speed powerup not respecting my "speed" property on my custom powerup, but that's it!)
Even after all that, the errors still appear, preventing me from playing and testing my game on my modified executable, but GZDoom's official EXE starts up fine! How can identical source code in all ZScript-related files somehow cause errors on my own version? Ranting aside, someone please tell me what's happening and how to fix these not-normal errors so I can get my game's executable up to date. My barely-modified fork is located here.
The two places it complains about look fine to me!
/zscript/base.txt, line 583
Code: Select all
native Array<@Side> Sides;
native readonly Array<@Vertex> Vertexes;
native internal Array<@SectorPortal> SectorPortals;
native readonly int time;
Code: Select all
native SectorAction SecActTarget;
native internal uint Portals[2];
native readonly int PortalGroup;