| 12-01-2007, 06:33 PM | #1 |
I got a compile error when I tried to save, after copying in the whole CasterSystem "Documentation" folder to a small test map of mine with various random units, spells, and triggers. As a result of the compile error, it disabled the CSCache, CSSafety, and CasterSystem triggers, so now I get the same errors when trying to re-enable those triggers. The errors I get are: Line 94: Expected end of line Line 96: Expected end of line Line 97: Expected end of line etc, then: Line 353: Expected a variable name Line 354: Expected a variable name Line 379: Expected a name etc. Line 94 corresponds to the line at the beginning with just: globals I am importing CSCache 14.5. I have other global variables declared (as you can see.) I have the map open with the latest NewGen WE, and I tried updating the JASS Helper (replaced the .exe with 9.7) and restarted my computer, but neither helped. As for the options I have enabled in Grimoire: (nothing) And in JassHelper: X Enable JassHelper The code that shows up in the Script Errors box until the endglobals declaration of CSCache is: Beginning of Script Errors box://*************************************************************************** //* //* Global Variables //* //*************************************************************************** globals // User-defined group array udg_ProgenerateDummies location array udg_ProgenerateLoc1 location array udg_ProgenerateLoc2_1 location array udg_ProgenerateLoc2_2 location array udg_ProgenerateLoc3_2 location array udg_ProgenerateLoc3_3 integer array udg_ProgenerateAng location array udg_ProgenerateLoc4_3 location array udg_ProgenerateLoc4_4 real udg_TempReal = 0 unit array udg_AbyssalHorrors unit array udg_AbyssalHorrorTargets unit udg_AbyssalTargets1 = null integer udg_tempbuff = 0 // Generated trigger gg_trg_Readme = null trigger gg_trg_Version_History = null trigger gg_trg_CSCache = null trigger gg_trg_CSSafety = null trigger gg_trg_CasterSystem = null trigger gg_trg_Casting_Functions = null trigger gg_trg_Damage_and_Projectiles = null trigger gg_trg_Collision_Missiles = null trigger gg_trg_Damagers_and_DamagerGroups = null trigger gg_trg_Damage_and_Target_Options = null trigger gg_trg_CSCache_Module = null trigger gg_trg_Spell_Events_Module = null trigger gg_trg_Spell_Helpers = null trigger gg_trg_Safe_item_hiding = null trigger gg_trg_Initialization = null trigger gg_trg_ConcealOn = null trigger gg_trg_ConcealOff = null trigger gg_trg_StealthGo = null trigger gg_trg_ProgenerateGo = null trigger gg_trg_ShadowBoltGo = null trigger gg_trg_ConsumeFlesh = null trigger gg_trg_AbsorbEssenceGo = null trigger gg_trg_DemonicMutationOn = null trigger gg_trg_DemonicMutationOff = null trigger gg_trg_AttackBonus = null trigger gg_trg_SpellBonus = null trigger gg_trg_HorrorAttacking = null trigger gg_trg_HorrorDamaging = null trigger gg_trg_HorrorCreation = null trigger gg_trg_FindStuff = null unit gg_unit_n000_0023 = null endglobals function InitGlobals takes nothing returns nothing local integer i = 0 set i = 0 loop exitwhen (i > 16) set udg_ProgenerateDummies[i] = CreateGroup() set i = i + 1 endloop set i = 0 loop exitwhen (i > 16) set udg_ProgenerateAng[i] = 0 set i = i + 1 endloop set udg_TempReal = 0.00 endfunction //TESH.scrollpos=0 //TESH.alwaysfold=0 //*************************************************************************** //* * //* CSCache 14.5 [url]http://wc3campaigns.net/vexorian[/url] * //* ¯¯¯¯¯¯¯ * //* From attach variables to Dynamic Arrays, not forgetting the tables, * //* CSData and the Pools, this is a pack of storage options * //* * //*************************************************************************** //=========================================================================== //! library CSCache initializer InitCSCache //================================================================================================= // CSCache globals: // globals gamecache cs_cache = null integer array cs_array1 integer array cs_array3 integer array cs_array2 integer array cs_freeindexes integer array cs_pairx integer array cs_pairy integer array cs_freepairs gamecache udg_cscache = null //udg_ for compat! endglobals Should I just ignore the errors and force it to work with the Grimoire options "Disable WE syntax checker" "Don't let WE disable triggers" and "Always allow trigger enable", or is there something I'm missing? |
| 12-01-2007, 08:03 PM | #2 |
There should be a grimoire menu or something like that where you should be able to disable WE's syntax checker and check on trigger enable. |
| 12-01-2007, 08:25 PM | #3 | |
Quote:
Ok, thanks. Wasn't sure if I was supposed to do that. I'm a bit paranoid about stuff like disabling error checking. |
