Giter VIP home page Giter VIP logo

Comments (3)

louis030195 avatar louis030195 commented on May 18, 2024

After creating game named a, password zzzzzz
Sending SID_STARTADVEX3(0x1C):

ff 1c 22 00 01 00 00 00 00 00 00 00 ..x.ΓΏ.".........
00 00 00 00 00 00 00 00 00 00 00 00 41 00 5a 7a ............A.Zz
7a 7a 7a 7a 00 00 zzzz..

from diablo2-protocol.

rom1504 avatar rom1504 commented on May 18, 2024

for game "lololol" and password "aa", dump of buffer sent by bot :

"aa"
sending packet MCP_CREATEGAME { requestId: 2,
  difficulty: 0,
  unknown: 1,
  levelRestrictionDifference: 99,
  maximumPlayers: 8,
  gameName: 'Lololol',
  gamePassword: 'aa',
  gameDescription: 'gs 21' }
sending that hex MCP  <Buffer 1d 00 03 02 00 00 00 00 00 01 63 08 4c 6f 6c 6f 6c 6f 6c 00 61 61 00 67 73 20 32 31 00>
received packet MCP MCP_MOTD {"size":101,"name":"MCP_MOTD","params":{"unknown":0,"motd":"Using cheats like maphack, bots, multiclients; will get you banned. Go to pathofdiablo.com/rules"}}
received packet MCP MCP_CREATEGAME {"size":13,"name":"MCP_CREATEGAME","params":{"requestId":2,"gameToken":1,"unknown":1,"result":0}}
sending packet MCP_JOINGAME { requestId: 3, gameName: 'Lololol', gamePassword: 'aa' }
sending that hex MCP  <Buffer 10 00 04 03 00 4c 6f 6c 6f 6c 6f 6c 00 61 61 00>
received packet MCP MCP_JOINGAME {"size":21,"name":"MCP_JOINGAME","params":{"requestId":3,"gameToken":90,"unknown":0,"IPOfD2GSServer":[104,244,78,204],"gameHash":1694509318,"result":0}}
sending packet SID_STARTADVEX3 { gameStats: 1,
  gameUptimeInSeconds: 0,
  gameType: 0,
  subGameType: 0,
  providerVersionConstant: 0,
  ladderType: 0,
  gameName: 'Lololol',
  gamePassword: 'aa',
  gameStatstring: '' }
sending that hex SID  <Buffer ff 1c 24 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4c 6f 6c 6f 6c 6f 6c 00 61 61 00 00>
received packet SID_STARTADVEX3 {"ff":255,"name":"SID_STARTADVEX3","size":8,"params":{"status":0}}
sending packet SID_NOTIFYJOIN { productId: 1,
  productVersion: 13,
  gameName: 'Lololol',
  gamePassword: 'aa' }
sending that hex SID  <Buffer ff 22 17 00 01 00 00 00 0d 00 00 00 4c 6f 6c 6f 6c 6f 6c 00 61 61 00>
sending packet SID_LEAVECHAT {}
sending that hex SID  <Buffer ff 10 04 00>
connected to clientD2gs
received uncompressed packet D2GS_NEGOTIATECOMPRESSION {"compressionMode":1}

from diablo2-protocol.

rom1504 avatar rom1504 commented on May 18, 2024

sniffer :

mcpToServer : MCP_CREATEGAME {"requestId":13,"difficulty":0,"unknown":1,"levelRestrictionDifference":4,"maximumPlayers":4,"gameName":"Lololol","gamePassword":"Aa","gameDescription":"gs 21"}
raw mcpToServer MCP_CREATEGAME <Buffer 1d 00 03 0d 00 00 00 00 00 01 04 04 4c 6f 6c 6f 6c 6f 6c 00 41 61 00 67 73 20 32 31 00>
mcpToClient : MCP_CREATEGAME {"requestId":13,"gameToken":1,"unknown":1,"result":0}
raw mcpToClient MCP_CREATEGAME <Buffer 0d 00 03 0d 00 01 00 01 00 00 00 00 00>
mcpToServer : MCP_JOINGAME {"requestId":14,"gameName":"Lololol","gamePassword":"Aa"}
raw mcpToServer MCP_JOINGAME <Buffer 10 00 04 0e 00 4c 6f 6c 6f 6c 6f 6c 00 41 61 00>
sidToServer : SID_STARTADVEX3 {"gameStats":1,"gameUptimeInSeconds":0,"gameType":0,"subGameType":0,"providerVersionConstant":0,"ladderType":0,"gameName":"Lololol","gamePassword":"Aa","gameStatstring":""}
raw sidToServer SID_STARTADVEX3 <Buffer ff 1c 24 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4c 6f 6c 6f 6c 6f 6c 00 41 61 00 00>
sidToClient : SID_STARTADVEX3 {"status":0}
raw sidToClient SID_STARTADVEX3 <Buffer ff 1c 08 00 00 00 00 00>
mcpToClient : MCP_JOINGAME {"requestId":14,"gameToken":72,"unknown":0,"IPOfD2GSServer":[104,223,85,197],"gameHash":1971987487,"result":0}
raw mcpToClient MCP_JOINGAME <Buffer 15 00 04 0e 00 48 00 00 00 68 df 55 c5 1f 24 8a 75 00 00 00 00>
sidToServer : SID_NOTIFYJOIN {"productId":1144150096,"productVersion":13,"gameName":"Lololol","gamePassword":"Aa"}
raw sidToServer SID_NOTIFYJOIN <Buffer ff 22 17 00 50 58 32 44 0d 00 00 00 4c 6f 6c 6f 6c 6f 6c 00 41 61 00>

from diablo2-protocol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.