[Solved] Unregistered native function

Status
Not open for further replies.
I got a campaign from someone who imported a map into a campaign, saving with original editor. If I open it and save with original editor it seems to work, but if I save it with jngp, the campaign becomes corrupted and that map that was imported, reports many errors 'Unregistered native function', always at the same line, regardless of triggers. What could cause this error?
 
Last edited by a moderator:
  • What version of JassNewGenPack are you using?
  • Do you happen to use Warcraft III version switcher? Do you have more than one Warcraft III installation on your computer?
  • Try using a registry fixer, prepatch, w/e (you can find them on google--usually from those DotA sites). See if it helps at all.
  • When you see the error, does it show up in a pJASS window? Or is it the regular syntax checker?

My best guess: the path in your registry leads to an older Warcraft III. JassHelper extracts the common.j and blizzard.j from that MPQ, and it probably triggers that error when you try to use hashtables.
 
Status
Not open for further replies.
Top