Skip to content

Conversation

@jdsmi
Copy link

@jdsmi jdsmi commented Mar 26, 2025

When attempting to run this bot on windows 11 I kept encountering an error when generating the collision map.

After tracing through and attempting to run the commands directly I found it was returning the somewhat well known but still mysterious ACCESS VIOLATION (0xc0000005) exception when the map tool koolo-map.exe attempts to load the game.

Since the tool was already based off the existing diablo2 tool` I attempted to use the map server instead of the included tool. I was able to successfully generate the collision data using the tool, presumably because it starts the game inside the container using wine instead of under windows.

Finally, it appears the included tool has modifications to the output, mainly a rooms collection that is required for the bot to function properly.

With all of this information I copied the included tool in place of the binary included in the referenced map generator's Dockerfile.

This provides a number of advantages:

  1. It solves the access violation and/or permission issues when trying to run the tool natively.
  2. It enables centralization of a single instance of Diablo II: LOD 1.13c
  3. It would allow for hosting the collision data on a separate system from the one running the bot (or bots)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant