Map Error

Status
Not open for further replies.
Level 10
Joined
Mar 25, 2010
Messages
187
So i'm having a pretty big problem here, my map that i've been working for a long time now is bugged somehow. Whenever i try to test it, it just takes me to the Wc3 title screen.
If i go through the map section in-game, it doesnt have any player slots and wont work if i try to start it up either.

Does anyone know if there's a way to fix this or am i royally screwed ?
:goblin_boom:
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
I had the same problem, the cause was that there is a script in the map that is not patch 2.4+ compatible. The script uses the Return Bug (JASS) where two values are returned. When fixing that, they gave us hashtables to use instead, which work pretty much the same way as I understand it.

Anyway, check your jass scripts for:
JASS:
return h
return null
or something along those lines. "CTRL-F" to find, and type in "Return" and you'll probably spot it quickly, if you need to.

The above is probably erroneously written, but I'm not even good with GUI, let alone JASS, :p

Furthermore, I've noticed they are usually grouped together. Good luck, :)

EDIT: Found the link I was looking for. This thread has info on it. Didn't help me figure it out, but maybe you'll have better luck than I.
 
Last edited:
Level 10
Joined
Mar 25, 2010
Messages
187
Strangely enough, i didn't even any JASS in my map, nonetheless i removed the GUI triggers i had ( nothing i'll miss really ), and now it works again.

Thanks so much, you're a life saver xD
I'd +rep ya but frankly... i dont know how :xxd:
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
GUI? o_O

THAT makes no sense to me. You must have really botched a trigger, lol. Instead of removing them all, I would have turned them all off one by one till I found the problem child. I had to do that myself before, >.>

Also to add rep, hit the little check/x buttun under the post count of the user you wish to rep. --->
reputation.gif

 
Level 12
Joined
Jan 30, 2009
Messages
1,067
Well, alright. I'm just curious what could cause such a thing other than the Return bug.

Hmm... Oh, well. I've not had an issue like that, so another question for another day, :p

So welcome to the Hive, and I hope you enjoy it. Remember how to use that button, cause you should get quite friendly with it, :)
 
Status
Not open for further replies.
Top