Skip to content

Generating magic number

Thor Conzales edited this page Jul 6, 2017 · 2 revisions

Magic number is needed for declining the match. Declining a match requires a cryptic number that I have yet to fully reverse engineer. However if a magic number is provided then this cryptic number can be generated. If this number is not provided or is incorrect then Dota's Game Coordinator won't accept the command and bot's response will time out causing others to wait some additional seconds. Read more about this cryptic number.

Finding out parameters

To generate a magic number 3 parameters are needed. To get those parameters you have to be logged in with the user you want to generate it for and then create a lobby, wait it to get full and accept or decline the match and at the same time capture and later inspect the Steam network dump.

Needed parameters

  • Steam User ID - If you don't know your steam ID then you can get it from the dump in k_ESOMsg_CacheSubscribed->SO->members[0]->id
  • Lobby ID - From dump in k_ESOMsg_CacheSubscribed->SO->lobby_id
  • Ready Up Key - From dump in GCReadyUp->body->ready_up_key

Generating the number

To generate a number either download or build Dota2SentinelMagicNumberGenerator project and run Dota2SentinelMagicNumberGenerator.exe with following parameters: [steamUserId] [lobbyId] [readyUpKey].

Clone this wiki locally