killvxk / cjass

Automatically exported from code.google.com/p/cjass
2 stars 0 forks source link

Optimizer Crashes #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
With Bonus

http://www.hiveworkshop.com/forums/submissions-414/system-bonus-196954/

Original issue reported on code.google.com by mrasolo...@gmail.com on 12 Aug 2011 at 4:23

GoogleCodeExporter commented 9 years ago
Might be something else, ran it in a huge map : p, but I'm guessing that it's 
bonus because it gave me a missing endlibrary error on it : )

Original comment by mrasolo...@gmail.com on 12 Aug 2011 at 4:23

GoogleCodeExporter commented 9 years ago
Solved:

Textmacros are broken. When importing a textmacro from another map, cjass can't 
find the macro.

Bonus uses LUA_FILE_HEADER. In Bonus Ini, it writes a dynamically generated 
textmacro to a jass file which is then imported via LUA_FILE_HEADER. Bonus then 
runs the textmacro in its lib.

cJASS throws an error saying that it can't find the textmacro

logs\currentmapscript.j
JASSHelper - Step 1 (textmacros, libraries, scopes)
Line 1: Unable to find textmacro: "BONUS_DATA"
1

Original comment by mrasolo...@gmail.com on 12 Aug 2011 at 4:42

GoogleCodeExporter commented 9 years ago
So it textmacro bug again? Ok, I look it, but first I'll fix previos issues.

Original comment by adi...@gmail.com on 12 Aug 2011 at 8:35

GoogleCodeExporter commented 9 years ago

Original comment by adi...@gmail.com on 24 Aug 2011 at 6:17

GoogleCodeExporter commented 9 years ago
plz fix it 

Original comment by LuizpBi...@gmail.com on 4 Dec 2011 at 10:24