Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Tass on November 20, 2005, 08:09 PM

Title: D2 Statstring Ladder Byte
Post by: Tass on November 20, 2005, 08:09 PM
I have come to the conclsuion if Asc(Mid$(SString(2), 31, 1)) = 3 then the char is ladder and if it isen't it's non ladder and it equals 255. is this right?
Title: Re: D2 Statstring Ladder Byte
Post by: Ringo on November 21, 2005, 12:06 PM
Ye, but when D2 patched from 1.10 to 1.11, the ladder byte changed from 0x02 to 0x03, like you just stated, so its best to do somthing like if LadderByte = &HFF then Ladder = False else Ladder = True
That way it should stay right when blizz patch d2 next
Title: Re: D2 Statstring Ladder Byte
Post by: Joe[x86] on November 21, 2005, 04:47 PM
Question, how is SString initiated? Split by comma, right?