Diablo 2 Resurrected packet parser menu

User Tag List

Results 1 to 2 of 2
  1. #1
    yogort1's Avatar Member
    Reputation
    1
    Join Date
    Mar 2024
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Diablo 2 Resurrected packet parser

    I'm trying to create a simple TCP packet parser for D2R to know if I missed some item that dropped during the game. I'm capturing some data with Wireshark just to have some starting point with my work and I try to compare it to some known data packets library available in the web, but looks like those are specifically for D2 and D2 LoD. Is there any source explaining a structure of how client->server and server->client data packets are assembled in case of D2R?

    Diablo 2 Resurrected packet parser
  2. #2
    Spoooons's Avatar Member
    Reputation
    1
    Join Date
    Mar 2024
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have good news and bad news for you. The good news is that the legacy packet 0x9C is still used for dropped items. They added a bit to the stats and removed the itemlevel.

    The bad news for you is that you gonna face the Wall of China seeing how you asked the question. For starters the packets stream is TLS encrypted so just Wireshark won't get you anywhere.

    You need to extract the master_secret , random_server and random_client keys from memory then check the cipher to decode the stream. There are 2 ways to avoid that by going fully internal and one of them needs a crc32 bypass and that became a big challenge even for experienced devs after iEve released Blizzless d2r. In the follow-up patch blizzard stepped up their game on integrity checks.


    The next big issue for you is that the S->C packets come in batches of several hundred bytes, so you have to write a packet wrapper yourself some packets have static size others have a variable size. Diablo 2 packet lists might help you to some degree but without any further knowledge it will be a tedious task. You have to do that no matter what method you use. C->S packets are much simpler though.


    Now for the real good news. While the statement of 0x9C is true you won't get there. There is a way how you can detect item drops without relying on packets. All you need to do is to loop through the Clientside hashtable and check the statlists. MapAssist and D2BS can help you with it. The offset you find on mapassist is outdated though.

    Do following pattern scan: 48 83 EC 28 4C 63 CA 44 8B C1 8B D1 83 E2 7F you will find 2 obfuscated functions(it's a shitty jcc obfuscation) one includes the clientside hashtable the other one serverside hashtable.

    I also suggest you either search memory reading on Blizzard games or familiarize yourself how to read memory properly. Blizzard implemented some tricks how they detect skids reading memory.

Similar Threads

  1. 🔥Diablo II: Resurrected BOT 🔥 G.I.D Packet Injection Bot ✅ Warden Bypass ✅ #1 Bot
    By d2r-bot in forum Diablo 2 Resurrected Bots and Programs
    Replies: 42
    Last Post: 1 Week Ago, 03:22 AM
  2. [Selling] 🔥Diablo II: Resurrected BOT 🔥 G.I.D Packet Injection Bot ✅ Warden Bypass ✅ #1 Bot
    By d2rbots_com in forum Diablo 2 Resurrected Buy Sell Trade
    Replies: 0
    Last Post: 01-18-2024, 08:11 AM
  3. [Selling] [Selling] Diablo 2 Resurrected Cheap!!!
    By PremiumGames in forum Diablo 2 Resurrected Buy Sell Trade
    Replies: 6
    Last Post: 09-23-2021, 10:47 PM
  4. How to sign up for Diablo 2: Resurrected's technical alpha
    By Zab in forum Diablo 2 Resurrected General
    Replies: 5
    Last Post: 05-17-2021, 12:47 PM
  5. FDB Correct Transport Periods from Blizz update packet parser
    By Freyetta in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 11-24-2008, 08:21 AM
All times are GMT -5. The time now is 04:11 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search