Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: VB_Newb on January 01, 2003, 11:09 AM

Title: Anyone willing to read!
Post by: VB_Newb on January 01, 2003, 11:09 AM
umm i am a newb to making bots and i just used my packetsniffer and did "/stats VBNewb" just to see what the packet would be and i got:

SEND-> 0000   FF 15 14 00 36 38 58 49 50 58 45 53 9B 00 00 00    ....68XIPXES....
SEND-> 0010   08 59 13 3E                                        .Y.>
SEND-> 0000   FF 0E 12 00 2F 73 74 61 74 73 20 56 42 4E 65 77    ..../stats VBNew
SEND-> 0010   62 00                                              b.
RECV-> 0000   FF 0F 34 00 12 00 00 00 00 00 00 00 2F 00 00 00    ..4........./...
RECV-> 0010   00 00 00 00 0D F0 AD BA 0D F0 AD BA 56 42 4E 65    ............VBNe
RECV-> 0020   77 62 00 56 42 4E 65 77 62 27 73 20 72 65 63 6F    wb.VBNewb's reco
RECV-> 0030   72 64 3A 00 FF 0F 37 00 12 00 00 00 00 00 00 00    rd:...7.........
RECV-> 0040   2F 00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA    /...............
RECV-> 0050   56 42 4E 65 77 62 00 4E 6F 72 6D 61 6C 20 67 61    VBNewb.Normal ga
RECV-> 0060   6D 65 73 3A                                        mes:

Anyone willing to tell me what the packet would be in all of that? please and thanks ahead of time.
Title: Re: Anyone willing to read!
Post by: warz on January 01, 2003, 11:13 AM
Read that 0x0f documentation by some person on botdev, or visit http://tks.slacktech.com
Title: Re: Anyone willing to read!
Post by: VB_Newb on January 01, 2003, 11:25 AM
So the packet for /stats would be 0x0000002f?
Title: Re: Anyone willing to read!
Post by: iago on January 01, 2003, 12:51 PM
This is something different, can be ignored
SEND-> 0000   FF 15 14 00 36 38 58 49 50 58 45 53 9B 00 00 00    ....68XIPXES....
SEND-> 0010   08 59 13 3E                                        .Y.>

This is sending the /stats to battle.net, the event is 0x0E
SEND-> 0000   FF 0E 12 00 2F 73 74 61 74 73 20 56 42 4E 65 77    ..../stats VBNew
SEND-> 0010   62 00                                              b.

Here you are recieving a chat message (0x0F) with the id of 12, flags 0, ping 47, the account is "VBNewb", and the message is "VBNewb's record:[...etc]" then another 0x0F packet, and similar stuff...
RECV-> 0000   FF 0F 34 00 12 00 00 00 00 00 00 00 2F 00 00 00    ..4........./...
RECV-> 0010   00 00 00 00 0D F0 AD BA 0D F0 AD BA 56 42 4E 65    ............VBNe
RECV-> 0020   77 62 00 56 42 4E 65 77 62 27 73 20 72 65 63 6F    wb.VBNewb's reco
RECV-> 0030   72 64 3A 00 FF 0F 37 00 12 00 00 00 00 00 00 00    rd:...7.........
RECV-> 0040   2F 00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA    /...............
RECV-> 0050   56 42 4E 65 77 62 00 4E 6F 72 6D 61 6C 20 67 61    VBNewb.Normal ga
RECV-> 0060   6D 65 73 3A                                        mes:
Title: Re: Anyone willing to read!
Post by: MrRaza on January 01, 2003, 12:59 PM
I always couldn't figure out how to find all the information from that. Could you tell us how you do that?
Title: Re: Anyone willing to read!
Post by: Etheran on January 01, 2003, 04:33 PM
It's all explain in the 0x0f packet education document written by SphT here: http://botdev.valhallalegends.com/documents/0x0feducation.html
Title: Re: Anyone willing to read!
Post by: haZe on January 01, 2003, 04:45 PM
VB_Newb could you give me a link on where u got WPE (winsock packet editor) from? thanks
Title: Re: Anyone willing to read!
Post by: UserLoser on January 01, 2003, 05:02 PM
Hm, i noticed after warz posted his link to his site, there are still people asking for help, i did say thats not going to teach anyone anything...... :-X

:-X = im done in this thread
Title: Re: Anyone willing to read!
Post by: Etheran on January 01, 2003, 05:12 PM
... Seriously come on now, that document is well written and easy to understand...
Title: Re: Anyone willing to read!
Post by: MrRaza on January 01, 2003, 06:03 PM
Figure 2.5 - 0x00000007RECV-> 0000   FF 0F 2F 00 07 00 00 00 00 00 00 00 52 02 00 00    ../.........R...RECV-> 0010   00 00 00 00 0D F0 AD BA 0D F0 AD BA 53 61 72 63    ............SarcRECV-> 0020   61 73 74 69 63 00 43 6C 61 6E 20 2B 44 2B 00       astic.Clan +D+.Flags: 0x00000000, ping: 594, account: Sarcastic, text: Clan +D+. How do you determine what ping the user has from that?
Title: Re: Anyone willing to read!
Post by: Eibro on January 01, 2003, 06:06 PM
QuoteHow do you determine what ping the user has from that?

QuoteFF 0F 34 00 12 00 00 00 00 00 00 00 2F 00 00 00

Look what iago said, ping is 47.
0x2F is 47 in decimal.

Title: Re: Anyone willing to read!
Post by: warz on January 01, 2003, 07:08 PM
I can supply help, but dear lord.. who do you think I am? Jesus?
I'll never be able to balance to overwhelmingly lopsided dumb:smart ratio.
Title: Re: Anyone willing to read!
Post by: Arta on January 02, 2003, 09:23 AM
Warz, stop being a wanker.
Title: Re: Anyone willing to read!
Post by: SiMi on January 02, 2003, 11:32 AM
hrm i dont know how you got that, were you hexing?
Title: Re: Anyone willing to read!
Post by: RhiNo on January 02, 2003, 11:46 AM
Simi that is the output of a packet sniffer lol
Title: Re: Anyone willing to read!
Post by: Yoni on January 03, 2003, 01:28 PM
When did hex become a verb?
Title: Re: Anyone willing to read!
Post by: warz on January 03, 2003, 02:34 PM
QuoteLOL. Thats ez to answer! When I was born.
Title: Re: Anyone willing to read!
Post by: haZe on January 03, 2003, 02:58 PM
WHATS UR PROBLEM WARZ! UR A FLAMER AND A SPAMMER!
Skywing, can you please reset warz's account and ip ban him? he does nothing but spam and flame around here. anyone else agree?
Title: Re: Anyone willing to read!
Post by: Grok on January 03, 2003, 03:54 PM
Um Haze, wtf?  Either I cannot read or you slammed Cele, and warz gave the same slam back to you.  How the hell can you complain?
Title: Re: Anyone willing to read!
Post by: Mesiah / haiseM on January 03, 2003, 03:54 PM
flaming is gay IMO, but why do you take it so offensivly? you cant do anything about it, so just ignore it.