blacha / diablo2

Utilities to work with diablo2, Clientless map rendering & packet sniffing
MIT License
190 stars 68 forks source link

Memory scanner and game list data #276

Closed mataha closed 2 years ago

mataha commented 2 years ago

Can the memory scanner (or rather: the technique) be used to reliably pull game list data from within D2R?

blacha commented 2 years ago

Game list? as in the list of online games you can join? If so no.

The memory reader is focused on the original diablo2 game structures, which gives you attrs like HP/Mana/Experience, Items, nearby mosnters etc..

mataha commented 2 years ago

I know that, in the current state, it is possible to pull player/map data only. I might've beaten around the bush, so let me rephrase my question: could I modify that code to get a list of online lobbies?

blacha commented 2 years ago

They lobby list is pretty easy to find in memory (I think) I am not sure how often it is updated though, it may only refresh if you are viewing the page.

It might be a option to load the game in a memory reader and just search for a known game name from the list, it should be pretty quick to see the games lists.