Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Archangel on June 23, 2005, 10:19 PM

Title: [Resolved] D2 Character Statstring
Post by: Archangel on June 23, 2005, 10:19 PM
Does anyone got information about the d2 character statstring?
I don't got D2 right now so i can't make a deep research and i lost my old research.

FF FF FF FF FF 1B FF 4F FF FF FF 01 FF FF FF FF FF FF FF FF FF FF FF 01 A0 80 FF FF FF FF FF
Title: Re: D2 Character Statstring
Post by: QwertyMonster on June 24, 2005, 02:07 AM
Um, look at the sticky..

http://forum.valhallalegends.com/phpbbs/index.php?topic=11756.0

Im sure it has all d2 things there. I think[/b] :P
Title: Re: D2 Character Statstring
Post by: Arta on June 24, 2005, 02:15 AM
That's about ingame messages, it doesn't have any statstring info that I've seen.

Unfortunately, bnetdocs doesn't yet either. Still looking for a D2 person to contribute that!
Title: Re: D2 Character Statstring
Post by: QwertyMonster on June 24, 2005, 02:18 AM
Quote from: Arta[vL] on June 24, 2005, 02:15 AM
That's about ingame messages, it doesn't have any statstring info that I've seen.

Unfortunately, bnetdocs doesn't yet either. Still looking for a D2 person to contribute that!

Oh sorry, my mistake.

Looking for d2 person eh.

/me Looks at himself And Ringo

I will ask ringo and get back to you Arta. :)
Title: Re: D2 Character Statstring
Post by: Eric on June 24, 2005, 02:34 AM
Quote from: Archangel on June 23, 2005, 10:19 PM
Does anyone got information about the d2 character statstring?
I don't got D2 right now so i can't make a deep research and i lost my old research.

FF FF FF FF FF 1B FF 4F FF FF FF 01 FF FF FF FF FF FF FF FF FF FF FF 01 A0 80 FF FF FF FF FF

iago posted information on it ages ago.  Search.
Title: Re: D2 Character Statstring
Post by: Ringo on June 24, 2005, 02:35 AM
Quote from: [Unknown] on June 24, 2005, 02:18 AM
Quote from: Arta[vL] on June 24, 2005, 02:15 AM
That's about ingame messages, it doesn't have any statstring info that I've seen.

Unfortunately, bnetdocs doesn't yet either. Still looking for a D2 person to contribute that!

Oh sorry, my mistake.

Looking for d2 person eh.

/me Looks at himself And Ringo

I will ask ringo and get back to you Arta. :)

eh
All i know is how to ignore it ;)

I found some info in a txt witch i found on this forum ages ago, so im not sure whos research it is:


BYTE: Head Armor Code
BYTE: Chest Armor Code
BYTE: Lower Body Armor Code (Legs)
BYTE: Right Arm Armor Code (from the character's perspective)
BYTE: Left Arm Armor Code
BYTE: Right Hand Item Code
BYTE: Unknown
BYTE: Left Hand Item Code
BYTE: Right Shoulder Pad (Boolean value I believe - Is the shoulder pad there or not...)
BYTE: Left Shoulder Pad
BYTE: Unknown
BYTE: Class
BYTE: Head Color Code
BYTE: Chest Color Code
BYTE: Lower Body Color Code
BYTE: Right Arm Color Code
BYTE: Left Arm Color Code
BYTE: Right Hand Item Color Code
BYTE: Unknown
BYTE: Left Hand Item Color Code
BYTE: Right Shoulder Color Code
BYTE: Left Shoulder Color Code
BYTE: Unknown
BYTE: Level
BYTE: Flags 1  ( 0x04 - Hardcore, 0x08 - Dead, 0x20 - Expansion)
BYTE: Flags 2  ( Kinda weird here  For Classic: 0x08 Beaten Normal, 0x10 beaten nightmare, 0x18 OR? 0x20 beaten Hell     For Expansion: 0x10 beaten normal, 0x18 beaten nightmare, 0x20 beaten hell )
BYTE: Unknown  <<< This where you are talking about??
BYTE: Unknown
BYTE: Ladder character (Boolean I think)
BYTE: Unknown
BYTE: Unknown
BYTE: 0x00 (Null-Terminator)


[edit]
It may well be iago's research then ;)
Title: Re: D2 Character Statstring
Post by: Archangel on June 24, 2005, 09:04 AM
Thnx, this information should help alot.

BrainScan Post: http://forum.valhallalegends.com/phpbbs/index.php?topic=9481.0

This is iago: http://forum.valhallalegends.com/phpbbs/index.php?topic=1965.0
http://forum.valhallalegends.com/phpbbs/index.php?topic=2937.0

http://botdev.valhallalegends.com/documents/cbbotsp.html
Title: Re: D2 Character Statstring
Post by: Archangel on June 26, 2005, 04:23 PM
3C 03 02 02 02 14 FF 54 02 02 FF 05 FF E9 E9 E9 E9 2C FF 12 E9 E9 FF 11 E8 82 FF FF FF FF FF 00

FF FF FF FF FF 1B FF 4F FF FF FF 01 FF FF FF FF FF FF FF FF FF FF FF 01 A0 80 FF FF FF FF FF 00

3B 02 02 02 02 12 12 FF 02 02 FF 05 FF FF FF FF FF FF FF FF FF FF FF 09 A8 8C FF FF FF FF FF 00


Does someone know why A0, A8 and E8?

I mean that means the Rank that would be:
Classic - 0x00, 0x04 - Hardcore, 0x08 - Dead, 0x20 - Expansion, 0x40 - Ladder

Making all the solutions would be:

'Classic = 0x00 -----> &H81
'Classic Dead = 0x08 -----> &H89

'Classic Hardcore = 0x04 -----> &H85
'Classic Hardcore Dead = 0x12 -----> &HA3

'Classic Ladder = 0x40 -----> &HC1
'Classic Ladder Dead = 0x48 -----> &HC9

'Classic Hardcore Ladder = 0x44 -----> &HC5
'Classic Hardcore Ladder Dead = 0x52 -----> &HD3

'Expansion = 0x20 -----> &HA1
'Expansion Dead = 0x28 -----> &HA9

'Expansion Hardcore = 0x24 -----> &HA5
'Expansion Hardcore Dead = 0x42 -----> &HC3

'Expansion Ladder = 0x60 -----> &HE1
'Expansion Ladder Dead = 0x68 -----> &HE9

'Expansion Hardcore Ladder = 0x64 -----> &HE5
'Expansion Hardcore Ladder Dead = 0x72 -----> &HF3

Edit: Removed a wrong idea.
Title: Re: D2 Character Statstring
Post by: DarkMinion on June 26, 2005, 06:16 PM
For the record...that doc of mine is extremely old.  I think I last updated vLBBot in '99 or '00
Title: Re: D2 Character Statstring
Post by: UserLoser. on June 27, 2005, 12:46 AM
Quote from: Archangel on June 26, 2005, 04:23 PM
3C 03 02 02 02 14 FF 54 02 02 FF 05 FF E9 E9 E9 E9 2C FF 12 E9 E9 FF 11 E8 82 FF FF FF FF FF 00

FF FF FF FF FF 1B FF 4F FF FF FF 01 FF FF FF FF FF FF FF FF FF FF FF 01 A0 80 FF FF FF FF FF 00

3B 02 02 02 02 12 12 FF 02 02 FF 05 FF FF FF FF FF FF FF FF FF FF FF 09 A8 8C FF FF FF FF FF 00


Does someone know why A0, A8 and E8?

I mean that means the Rank that would be:
Classic - 0x00, 0x04 - Hardcore, 0x08 - Dead, 0x20 - Expansion, 0x40 - Ladder

Making all the solutions would be:

'Classic = 0x00 -----> &H81
'Classic Dead = 0x08 -----> &H89

'Classic Hardcore = 0x04 -----> &H85
'Classic Hardcore Dead = 0x12 -----> &HA3

'Classic Ladder = 0x40 -----> &HC1
'Classic Ladder Dead = 0x48 -----> &HC9

'Classic Hardcore Ladder = 0x44 -----> &HC5
'Classic Hardcore Ladder Dead = 0x52 -----> &HD3

'Expansion = 0x20 -----> &HA1
'Expansion Dead = 0x28 -----> &HA9

'Expansion Hardcore = 0x24 -----> &HA5
'Expansion Hardcore Dead = 0x42 -----> &HC3

'Expansion Ladder = 0x60 -----> &HE1
'Expansion Ladder Dead = 0x68 -----> &HE9

'Expansion Hardcore Ladder = 0x64 -----> &HE5
'Expansion Hardcore Ladder Dead = 0x72 -----> &HF3

Edit: Removed a wrong idea.

Doesn't matter what the value is, you should be checking only certain bits for these types of things
Title: Re: D2 Character Statstring
Post by: Archangel on June 28, 2005, 12:45 PM
The value existance.
Title: Re: D2 Character Statstring
Post by: iago on June 28, 2005, 04:10 PM
http://www.javaop.com/~iago/CBinaryBot

I have D2 statstring parsing in there somewhere.
Title: Re: D2 Character Statstring
Post by: Archangel on June 28, 2005, 11:24 PM
Ok, thnx for the help.
Title: Re: [Resolved] D2 Character Statstring
Post by: R.a.B.B.i.T on July 11, 2005, 01:02 PM
Note: for "Races" 8-10, they are for Open Battle.Net Normal, Hardcore, and Hardcore Dead