Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: LordNevar on March 20, 2005, 08:13 PM

Title: D2GS Ingame Chat
Post by: LordNevar on March 20, 2005, 08:13 PM
I am having some troubles with ingame chat, I can send chat which uses 0x15, but I have no idea where to begin to recv chat, and send it to my rtb.
I packet logged me sending chat which you can see is 0x15, but when I recv chat here is a packet log from it. I was told that it's 0x26 to recv chat, but in all my packet logs I have yet to recv it. If anyone can help, that would be great.

<RECV Chat>
0000  12<~Is always different 0F<~Same 1E<~Same, BF DC 6B 1B 47 21 99 4A A1 98 B4 33 29    .....k.G!.J...3)
0010  AA 57                                              .W

<RECV Chat>
0000  12 0F 1E BF DC 6B 1B 47 21 99 4A A1 98 B4 33 29    .....k.G!.J...3)
0010  AA 57                                              .W

<Send Chat>
0000  1B 15 74 E2 31 4C 89 F1 5B 4E 23 14 C8 9F 15 70    ..t.1L..[N#....p
0010  66 BA 50 7B E2 B6 0C D7 4A 0F 7C                   f.P{....J.|
Title: Re: D2GS Ingame Chat
Post by: OnlyMeat on March 21, 2005, 11:26 AM
You should first send a message, then packetlog the received data. In that data there should be a 0x26 packet.

You look like you are logging it in the wrong order. Also are you sure you are decompressing the data?
Title: Re: D2GS Ingame Chat
Post by: UserLoser. on March 21, 2005, 01:48 PM
Um, decompress packets first before trying to read from them
Title: Re: D2GS Ingame Chat
Post by: LordNevar on March 21, 2005, 02:52 PM
Ya, stupidity becomes of me. User, you wouldn't happen to have that dll you made for decompressing them lieing around or handy by any chance would ya?
Title: Re: D2GS Ingame Chat
Post by: UserLoser. on March 21, 2005, 02:54 PM
Quote from: LordNevar on March 21, 2005, 02:52 PM
Ya, stupidity becomes of me. User, you wouldn't happen to have that dll you made for decompressing them lieing around or handy by any chance would ya?

No, I don't.  Sometime in the future I plan on retranslating the decompression functions again
Title: Re: D2GS Ingame Chat
Post by: LordNevar on March 21, 2005, 02:58 PM
Ok, thanxs anyway's. I'll work out something, and if you do get to it in the future, I would love to see it.