• Welcome to Valhalla Legends Archive.
 

d1 udp

Started by Killa, June 12, 2004, 08:38 AM

Previous topic - Next topic

Adron

Quote from: UserLoser. on June 21, 2004, 11:59 AM
(DWORD) Protocol id (0 for ingame stuff)
(WORD) Checksum result
(WORD) Packet len excluding protocol id
(WORD) ?
(WORD) ?
(WORD) ?
(WORD) ?
(VOID) Packet data

Fill in the ?'s with Adron's response (Class, player id, sequence, flags, ect)

Some of those fields are actually bytes.

UserLoser.

Quote from: Adron on June 21, 2004, 03:59 PM
Quote from: UserLoser. on June 21, 2004, 11:59 AM
(DWORD) Protocol id (0 for ingame stuff)
(WORD) Checksum result
(WORD) Packet len excluding protocol id
(WORD) ?
(WORD) ?
(WORD) ?
(WORD) ?
(VOID) Packet data

Fill in the ?'s with Adron's response (Class, player id, sequence, flags, ect)

Some of those fields are actually bytes.

Assumed they were words, no clue either hence the '?' :P

Dyndrilliac

#17
<Snipped> Lol, didn't realize that was you Mike till I saw the packet log :P </Snipped>

I snipped the above since you've seen it already. For anyone interested in reading what was snipped it was some packet structures for In-Game Packets. Check it out here.

The following are useful In-Game packets and their descriptions.

0x01 - This is the packet sent to move your character from one location to another. Send 2 WORDS with your coordinates to be moved to.

0x02 - This is used to update stats and such.

0x35 - This packet is sent to notify all players of a new player entering the game and deliver his stats values to each client, and transmits the other clients stats back to the person joining.

0x36 - Exactly the same as above except works with leaving.

0x4E - This is used to send in-game chat messages. The data sent is a Null Terminated String.

The above is incase you didn't know. Or anyone else for that matter.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

Killa

ive got my bot ingame in games with only the host already in them,my question is what packets do i send to players that are already in the game other then the game host,the same ones as the ones i send to the gamehost?and how do i seperate which packet is from who