- Joined
- Jun 18, 2011
- Messages
- 168
No Hashtable Functions in NewGen Still (Solved)
I replaced the blizzard.j and common.j files as suggested in another thread in which I could not get GUI hastable functions to work in NewGen. I was told that I must use custom script in order to use hastable functions. I may not be able to fix and test changing all my GUI hastable functions to custom script until I find a solution to my new problem...
I recently found out that I cannot get the JASS Libraries AutoIndex and SpellEvent to work either.
Here are the errors...
I replaced the blizzard.j and common.j files as suggested in another thread in which I could not get GUI hastable functions to work in NewGen. I was told that I must use custom script in order to use hastable functions. I may not be able to fix and test changing all my GUI hastable functions to custom script until I find a solution to my new problem...
I recently found out that I cannot get the JASS Libraries AutoIndex and SpellEvent to work either.
Here are the errors...
67 compile errors related to hastables from the trigger AutoIndex, here are examples which are repeat errors
4 compile errors from the trigger SpellEvent, here is the repeated error
Compile ErrorsLine 284: Undefined type hastable
hashtable Table__ht
Line 3709: Undeclared function FlushChildHastable
call FlushChildHashtable(Table__ht , (this))
Line 3720: Undeclared function InitHastable
set Table__ht=InitHashtable()
Line 3720: Undeclared function LoadInteger
return LoadInteger(Table__ht , (this) , key)
Line 3729: Cannot convert returned value from null to integer
return LoadInteger(Table__ht , (this) , key)
Compile Errors cont.Line 4061: Undeclared function GetSpellTargetX
set s__SpellEvent__spellEvent_TargetX=GetSpellTargetX()
Line 4061: Cannot convert null to real
set s__SpellEvent__spellEvent_TargetX=GetSpellTargetX()
Line 4062: same 2 as above but for GetSpellTargetY
Solved
Dr Super Good:
For some reason you had managed to import a Common.j file into your map. The result was JassHelper trying to compile it before loading the actual native list. Even if it did compile after the native list it would have still thrown a lot of already declared namespace errors.
Just delete the Common.j file from inside your map and it will save perfectly.
Last edited: