• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Help transfer to >1.24 playable map

Status
Not open for further replies.
Level 3
Joined
Jul 3, 2006
Messages
33
So the 1.24 patch messed up all my maps, that's pretty much why I stopped at the time.
All the systems were using the Handle functions, which I had and have no idea how they work. I do however know how to use structs and the rest.

How can I remake the systems that use the Handle functions with a functioning code?
 
Level 5
Joined
Oct 14, 2010
Messages
100
replace

JASS:
function H2I takes handle h returns integer
    return h
    return 0
endfunction

by

JASS:
function H2I takes handle h returns integer
    return GetHandleId(h)
endfunction

or remove all function calls to H2I by GetHandleId.

Most probably your map also uses other functions that take advantage of the return bug. In that case, I suggest you simply use hashtables.
 
Status
Not open for further replies.
Top