Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ColT on July 17, 2004, 07:44 PM

Title: Need help with packets
Post by: ColT on July 17, 2004, 07:44 PM
Ok I need help with packets I dont understand when it says:

[C>0x05]  SID_CLIENTID
[S>0x05]  SID_CLIENTID


What does the C mean and what different about C to S?

Sorry Im a newb and im trying to make a chat bot using winsock.
Title: Re:Need help with packets
Post by: Lobo on July 17, 2004, 07:51 PM
C is client
S is server
C->s is client to server

c>0x05 is client sending 0x05
s>0x05 is server replying back with 0x05
Title: Re:Need help with packets
Post by: ColT on July 17, 2004, 07:54 PM
Ok, I understand it know. Thanks alot Lobo.iD :D
Title: Re:Need help with packets
Post by: ColT on July 17, 2004, 07:59 PM
And other question. what if I wanted to put [C>0x5] SID_CLIENT, [S>0x5] SID_CLIENT as a code how would I put it?
Title: Re:Need help with packets
Post by: Lobo on July 17, 2004, 08:04 PM
You would need to make a packet buffer to send the data with, and then you just need to recieve the data which the server sends back, and parse it out as needed. Depending on what programming language you use, you might want to learn it first.
Title: Re:Need help with packets
Post by: ColT on July 17, 2004, 08:08 PM
I am using VB  V 6.0, and yes I would like to learn this. Do you know a good tutorial I can learn from?
Title: Re:Need help with packets
Post by: Lobo on July 17, 2004, 08:11 PM
http://www.vbtutor.net/

You might want to search www.google.com for more tutorials.
Title: Re:Need help with packets
Post by: ColT on July 17, 2004, 08:14 PM
I know VB and stuff I used Vb.net and I am half way in this huge book (1031 pages).. So I think I understand VB.. But I don't understand Packet's. I really need help with packets. Can anyone help me?
Title: Re:Need help with packets
Post by: BinaryzL on July 17, 2004, 08:19 PM
Some decent information:
http://www.dark-wire.net/exile/members/tutorials.php?view=7

A lot of information:
http://forum.valhallalegends.com/phpbbs/index.php?board=45
Title: Re:Need help with packets
Post by: ColT on July 17, 2004, 08:21 PM
Thank you BinaryxL