How did DotA map able to detect your WC3 version is below 1.23?

Rainther

I guess I should write something of value here...
Reaction score
61
If GetHandleId(h) == null then
//Invalid version
endif

I'd guess they checked it GetHandleId works or not. But heck do I know, didn't even know it did that.
 

Rainther

I guess I should write something of value here...
Reaction score
61
Most things in Dota is Jass also. And what I mentioned is Jass, yes. It's a new function implented into patch 1.24. And it'd guess using a function such as this and fail would make it able for the map to detect if version is <1.24.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
wait.. wouldnt the writing that function on pre-1.24 cause errors?

and doesnt dota have 2 separate maps?

6.61b for 1.23-
and 6.61c for 1.24+

This would be correct. I can't see why there would even be a need for any patch detection, as any maps before 6.61c wouldn't be playable on any patch below 1.24.
 

Rainther

I guess I should write something of value here...
Reaction score
61
Wopsie me then. I just drew a conclusion that was inaccurate.

Didn't know either if Dota could tell that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top