Error fetching map data
Details
After character select the bot stop working with the following report
I'm pretty sure that I have Diablo II: LoD 1.13c version installed and it is working. Any suggestions?
Version
0.5.1
Logs
time=16:36:58 level=INFO msg="Waiting for character selection screen..." time=16:37:19 level=INFO msg="Character selection screen found" time=16:37:19 level=INFO msg="Selecting character..." time=16:37:19 level=INFO msg="Character found" time=16:37:23 level=DEBUG msg="Fetching map data..." seed=1171928281 difficulty=hell time=16:37:23 level=ERROR msg="Error fetching map data: error fetching Map Data from Diablo II: LoD 1.13c game: exit status 1"
you need to set the d2r and diablo 2 lod path correctly, did you set it correct?
yes all the paths to D2LOD and to D2R are absolutely correct. Doublechecked it
does the d2 lod path lead to the folder where all the files are in it? like it should not lead to "..\d2 lod" and then in that folder is another diablo folder, it should lead to "..\d2 lod\diablo ii" (i hope u get what i mean)
and what run do you get this error? before this version u always got that map fetching error when using tz run (but thats fixed)
Hi, my bot are running correctly but today not... got these error:
time=13:06:26 level=INFO msg="Waiting for character selection screen..." time=13:06:47 level=INFO msg="Character selection screen found" time=13:06:47 level=INFO msg="Selecting character..." time=13:06:47 level=INFO msg="Character found" time=13:06:51 level=DEBUG msg="Fetching map data..." seed=1016142657 difficulty=hell time=13:06:51 level=ERROR msg="Error fetching map data: error fetching Map Data from Diablo II: LoD 1.13c game: exit status 0xc000001d"
on my screen appears this msg:
Koolo will close due to an expected error. Please check the latest log for more info! Error fetching mapdata from Diablo II LOD 1.13c game: exit status 0x000001d
On the other LOG file:
time=13:06:26 level=INFO msg="Starting Crash Detector ..." PID=21304 Supervisor=kz_carpintero time=13:06:31 level=DEBUG msg="Arranging windows" displaywidth=1920 displayheight=1080 "max columns"=2 "max rows"=2 time=13:06:31 level=DEBUG msg="Window Positions" supervisor=kz_carpintero column=0 row=0 position=-10x0 time=13:07:08 level=ERROR msg="fatal error detected, forcing shutdown" supervisor=kz_carpintero error="Error fetching map data: error fetching Map Data from Diablo II: LoD 1.13c game: exit status 0xc000001d" Stacktrace="goroutine 85 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/hectorgimenez/koolo/internal.(*SupervisorManager).Start.func3()\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:155 +0x108\npanic({0x1496b20?, 0xc0004740e0?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/game.(*MemoryReader).GetCachedMapData(0xc000aec080, 0x0?)\n\tgithub.com/hectorgimenez/koolo/internal/game/memory_reader.go:69 +0x6b4\ngithub.com/hectorgimenez/koolo/internal/game.(*MemoryReader).GetData(_, _)\n\tgithub.com/hectorgimenez/koolo/internal/game/memory_reader.go:93 +0x88\ngithub.com/hectorgimenez/koolo/internal/run.(*Factory).BuildRuns(0xc00003a140)\n\tgithub.com/hectorgimenez/koolo/internal/run/run.go:44 +0x3e\ngithub.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start(0xc00007e380)\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:65 +0x185\ngithub.com/hectorgimenez/koolo/internal.(*SupervisorManager).Start(0xc0007202a0, {0xc00001caf9, 0xd})\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:163 +0x37d\ngithub.com/hectorgimenez/koolo/internal/server.(*HttpServer).startSupervisor(0xc0003865a0, {0x17ca8f0, 0xc0001182a0}, 0xc000164b40)\n\tgithub.com/hectorgimenez/koolo/internal/server/http_server.go:367 +0x4d2\nnet/http.HandlerFunc.ServeHTTP(0x1c89a00?, {0x17ca8f0?, 0xc0001182a0?}, 0x1180dba?)\n\tnet/http/server.go:2171 +0x29\nnet/http.(*ServeMux).ServeHTTP(0xea1279?, {0x17ca8f0, 0xc0001182a0}, 0xc000164b40)\n\tnet/http/server.go:2688 +0x1ad\nnet/http.serverHandler.ServeHTTP({0xc000322030?}, {0x17ca8f0?, 0xc0001182a0?}, 0x6?)\n\tnet/http/server.go:3142 +0x8e\nnet/http.(*conn).serve(0xc000628240, {0x17cb388, 0xc000572600})\n\tnet/http/server.go:2044 +0x5e8\ncreated by net/http.(*Server).Serve in goroutine 51\n\tnet/http/server.go:3290 +0x4b4\n" time=13:07:08 level=INFO msg="Stopping Crash Detector" PID=21304 Supervisor=kz_carpintero time=13:07:08 level=INFO msg="Crash Detector stopped." PID=21304 Supervisor=kz_carpintero time=13:13:10 level=INFO msg="Koolo shutting down..."
I check the dir of D2R and D2LOD and they are correctly, i try to reinstall a new bot.. but get the same.. Could it be that the bot has corrupted the d2lod game?
help me to fix this issue. Many thanks!
did you change anything? any run? it seems like its the same problem as OP, it can't get the map from d2 lod?
HI, I get the same errormessege as the two above. I also have doublechecked the paths like you suggested. ( I have never had a working bot because i just downloaded it). I have Version 0.5.1 of the bot and LOD 1.13c. Do you know what the name of the file is...so i can see if its where my path is directing it. :) I love your work and are impressed by how good you guys are, keep it up! :) (ive also tried different runs).
So i found the answer in the discord (its in the readme):
That error can mean one of 3 things:
Your classic diablo version is not 1.13c. Make sure to reinstall LOD 1.13c as it's required in order to obtain the game's map data. In case you're not sure where to download the correct version, there are links in the pinned message in the 💬┃general channel.
The koolo-map.exe is missing from the tools folder. In 99% of the cases, antiviruses like Windows Defender etc delete it as they believe it's suspicious. It's not. Make sure that you add an exception/exclusion for the entire Koolo folder or for that specific exe.
Sometimes you just have to restart your PC and the error will disappear. ........................................................................................................................................................... I downloaded a d2-zip from https://mega.nz/file/FMggGCwa#0VZ3Lg7rqif78IQQS4i3DEqlgf1GIFHvnpM3T2BDwqk . extracted it and took that as my path, Works now.