• Welcome to Valhalla Legends Archive.
 

Need help with packets

Started by ColT, July 17, 2004, 07:44 PM

Previous topic - Next topic

ColT

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.

Lobo

#1
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
Look it's a signature.

ColT

Ok, I understand it know. Thanks alot Lobo.iD :D

ColT

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?

Lobo

#4
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.
Look it's a signature.

ColT

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?

Lobo

Look it's a signature.

ColT

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?


ColT