• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Version Error

Status
Not open for further replies.
Patch 1.24 fixed the return bug. If your map uses that (or uses a resource that uses that bug), then it will no longer work. There some libraries to fix them--e.g. faux handle vars on wc3c.net, but they may not work 100%. They'll at least let you play. Often times you'll need to recode those parts.

Occasionally, though, it may be just one function (H2I) that is the culprit. Replacing that is simple:
JASS:
function H2I takes handle h returns integer
    return h
    return 0
endfunction

// can be
function H2I takes handle h returns integer
    return GetHandleId(h)
endfunction

See this for more info:
http://www.hiveworkshop.com/forums/general-mapping-tutorials-278/make-map-work-patch-1-24-a-165482/
However, it is really a map-to-map sort of issue. Which map are you trying to fix? Is the author still around?
 
Status
Not open for further replies.
Top