Valhalla Legends Forums Archive | Battle.net Bot Development | 0xaa sSCmd_UnitState

AuthorMessageTime
ShadowDancer
mmm, i dont know if this has been posted but...

this packet is send when the unit comes to your range of vision after 0xac and tells you the unit states, for all units u will at least receive the alignment state (0x69) ^^...

from the packet size it reads:

repeat
8 bits -> state
if (state = 0xFF) { break }
1 bit -> continue
if (contine = 0) {break}
repeat
9 bits -> itemstatscost->id
if (itemstatscost->id = 0x1ff) { break }
read the Send Bits and Send Param Bits from itemstatcost.txt and read them
until
until

ShadowDancer.
February 1, 2007, 9:56 AM
BreW
Interesting. I'm assuming this is a Starcraft packet it sends/receives in game. We need more people like you, please post this in the bnetdocs section of the forum because your help is much needed. We have next to nothing bout what goes on in game :P
February 4, 2007, 1:53 AM
BreW
what??
February 4, 2007, 1:56 AM
Ringo
[quote author=BreW link=topic=16228.msg163901#msg163901 date=1170554038]
Interesting. I'm assuming this is a Starcraft packet it sends/receives in game. We need more people like you, please post this in the bnetdocs section of the forum because your help is much needed. We have next to nothing bout what goes on in game :P
[/quote]
Its a S>C D2GS packet (Diablo 2 Game Server) nothing to do with SC.
https://davnit.net/bnet/vL/index.php?topic=12107.msg130894#msg130894
Whom ever this "we" is you speek of, needs to use the search button :P
February 4, 2007, 2:01 AM
Topaz
No, he said "we" like he belongs to this community, which is muy fannies.
February 4, 2007, 2:08 AM
BreW
rob dont start plz. also quit posing on bnetweb?
and he really, should have specified it's for a d2gs server. because I, for one, was completely confused at what he ment and took it an entirely different way.
Sorry about that, but nice contribution, ShadowDancer.
February 4, 2007, 2:57 AM
Ringo
[quote author=BreW link=topic=16228.msg163918#msg163918 date=1170557873]
rob dont start plz. also quit posing on bnetweb?
and he really, should have specified it's for a d2gs server. because I, for one, was completely confused at what he ment and took it an entirely different way.
Sorry about that, but nice contribution, ShadowDancer.
[/quote]
Dont start what? Im not starting anything, I simply told you this was a D2GS packet, and linked you to a list of ingame SC packets.
Or are you refering to Topaz?
February 4, 2007, 4:02 AM
BreW
nothing i thought you were gonna go back to your old self where you constantly hate on me for no reason
February 4, 2007, 4:40 AM
inner.
Lol Brew, you make me laugh. Always getting hated on.
February 4, 2007, 8:53 AM
ShadowDancer
from eon by e.t.
[QUOTE]
1 bit -> continue
if (contine = 0) {continue}

Meaning skip reading stats and read the next state instead, not break the main loop...

Works great otherwise. Sample output of parsing code I just wrote:

GS: 49 aa 01 4d 10 1a fe 31 10 61 28 01 c4 00 03 b8 83 0c ff 41 32 a9 01 68 52 03 20 aa 06 fc 2f b9 4a 1f c0 2b 9a af 13 ff 67 fe 09 f8 9f 96 95 ff ff 01

GS: 0xAA AddUnit; UnitType: NPC; UID: 4263120973; States: Enchant (Fire Min Damage: 74, Fire Max Damage: 96, To Hit Percent: 200), Battle Orders (Max Life Percent: 53, Max Mana Percent: 53, Skill Stamina Percent: 53), Defiance (Skill Armor Percent: 250, Modifier List Skill: 104, Modifier List Level: 19), Battle Command (All Skills Bonus: 1), Alignment (Alignment: 2)
[/QUOTE]
February 8, 2007, 2:37 PM

Search