How do you get game state info?

06/28/2019 22:39 J077y#1
Helloo! I'm making bots as a hobby currently and I'm not quite sure how I can access valuable information like what the state of the game is. I have thought of some fairly ghetto ways I could do it, but I wanted to know what common practice is here?

Where I'm coming from with this question is how Diablo 2 sometimes will fail to create a game, or maybe the account gets timed out for making too many, and needs to take a break. How do I get this information so I can program the bot to take the appropriate action?

Thanks!!