Crash when hosting game after editing war3map.j

General discussion of Warcraft 3. Threads may may be posted here if they don't fit into the other sections.

Moderator: Cheaters

User avatar
Regno
Member
Posts: 63
Joined: July 17th, 2016, 11:20 am

Crash when hosting game after editing war3map.j

Post by Regno »

Does anyone know about;

Where you edit a war3map.j, and once u save it, replace it with the original war3map.k and join a lobby in lan or bnet, u receive a crash error?

edit: Hmmm, anyhting related to it crashes, map protection maybe? Can't find any threads regarding this issue, unless it hsd map protection, but I can easily edit the war3map.j and replace it without a hassle. But when I join the lobby/create one in lan or if I don't have map but once I downloaded the map - I get the error.

http://i.imgur.com/SI5dYix.png

If anyone has a clue, please LMK!

edit2: Got it fixed, instead of ''globals'' in the jass, I had ''fglobals'', silly me.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Crash when hosting game after editing war3map.j

Post by Apple »

Next time,
run a syntax check.
if no issues,
try optimizing the war3map.j first.
Then edit the war3map.j.
This prevents variable name to repeat by any chance.
User avatar
Regno
Member
Posts: 63
Joined: July 17th, 2016, 11:20 am

Re: Crash when hosting game after editing war3map.j

Post by Regno »

Thanks for the brilliant idea!