Valhalla Legends Forums Archive | Battle.net Bot Development | Ladder Character ID code?

AuthorMessageTime
R.a.B.B.i.T
It's not listed on BnetDocs :*(
Does anybody have it at Ladder HC?
January 28, 2004, 1:25 AM
UserLoser.
[quote author=R.a.B.B.i.T link=board=17;threadid=4960;start=0#msg41428 date=1075253152]
It's not listed on BnetDocs :*(
Does anybody have it at Ladder HC?
[/quote]

Explain what you mean any maybe we (Atleast, I) can understand you
January 28, 2004, 2:28 AM
R.a.B.B.i.T
HAH. I got it with some help from Andy (or rather, he just told me). I meant the byte that would allow my bot to recognize a ladder character from a non-ladder during stat-string parsing.

(As it turns out, Byte 26 value 0x40 is a ladder character.)
January 28, 2004, 3:53 PM
K
[quote author=R.a.B.B.i.T link=board=17;threadid=4960;start=0#msg41491 date=1075305212]
HAH. I got it with some help from Andy (or rather, he just told me). I meant the byte that would allow my bot to recognize a ladder character from a non-ladder during stat-string parsing.

(As it turns out, Byte 26 value 0x40 is a ladder character.)
[/quote]

I'm pretty sure it's not _value_ 0x40, it's the bit, i.e: (byte && 0x40) != 0
January 28, 2004, 6:09 PM
Spht
[quote author=K link=board=17;threadid=4960;start=0#msg41509 date=1075313347]
[quote author=R.a.B.B.i.T link=board=17;threadid=4960;start=0#msg41491 date=1075305212]
HAH. I got it with some help from Andy (or rather, he just told me). I meant the byte that would allow my bot to recognize a ladder character from a non-ladder during stat-string parsing.

(As it turns out, Byte 26 value 0x40 is a ladder character.)
[/quote]

I'm pretty sure it's not _value_ 0x40, it's the bit, i.e: (byte && 0x40) != 0
[/quote]

Right, considering it's also used for detecting a hardcore character.
January 28, 2004, 6:34 PM
Kp
[quote author=K link=board=17;threadid=4960;start=0#msg41509 date=1075313347]I'm pretty sure it's not _value_ 0x40, it's the bit, i.e: (byte && 0x40) != 0[/quote]

Correction: byte & 0x40 /* single ampersand for bit test, double ampersand for truth evaluation */
January 28, 2004, 9:28 PM
R.a.B.B.i.T
BAH! It works for me. It might have been 0x80, I didn't look at it for a while when I posted (I still haven't).
January 28, 2004, 11:46 PM
K
[quote author=Kp link=board=17;threadid=4960;start=0#msg41535 date=1075325309]
[quote author=K link=board=17;threadid=4960;start=0#msg41509 date=1075313347]I'm pretty sure it's not _value_ 0x40, it's the bit, i.e: (byte && 0x40) != 0[/quote]

Correction: byte & 0x40 /* single ampersand for bit test, double ampersand for truth evaluation */
[/quote]

Righto -- what was I thinking? I actually went back and replaced the single amperstand with a double after I finished writing.
January 29, 2004, 3:02 AM
Stealth
[quote author=R.a.B.B.i.T link=board=17;threadid=4960;start=0#msg41561 date=1075333580]
BAH! It works for me. It might have been 0x80, I didn't look at it for a while when I posted (I still haven't).
[/quote]

I told you it was a bitwise And comparison. :)
January 29, 2004, 3:37 AM
R.a.B.B.i.T
Shhh...I've forgotten about it completely by now and moved on to other problems...
January 31, 2004, 12:15 AM

Search