hectorgimenez / koolo

Diablo II Resurrected bot written in Go
MIT License
67 stars 38 forks source link

Bot cant even enter den of evil now #251

Open Nowack32 opened 1 month ago

Nowack32 commented 1 month ago

Details

The bot just goes back and forth in front of the entrance

Version

Latest

Logs

time=09:12:56 level=ERROR msg="fatal error detected, forcing shutdown" supervisor=SockLevel error="runtime error: index out of range [200] with length 200" stacktrace="goroutine 2822 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/hectorgimenez/koolo/internal.(SupervisorManager).Start.func2.1()\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:76 +0x108\npanic({0xe86200?, 0xc002237338?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/pather.(World).To(...)\n\tgithub.com/hectorgimenez/koolo/internal/pather/world.go:59\ngithub.com/hectorgimenez/koolo/internal/pather.(PathFinder).GetPath(_, {{{0x12c0, 0x1090}, {0x0, 0x0, {0x0, 0x0}}, {0xc0014c6900, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/pather/path_finder.go:138 +0xaea\ngithub.com/hectorgimenez/koolo/internal/action.(Builder).MoveToArea.func2({{{0x12c0, 0x1090}, {0x0, 0x0, {0x0, 0x0}}, {0xc0014c6900, 0x3, 0x4}, {0xc0017e6008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/move.go:80 +0x5d7\ngithub.com/hectorgimenez/koolo/internal/action.(Builder).MoveTo.func1({{{0x12c0, 0x1090}, {0x0, 0x0, {0x0, 0x0}}, {0xc0014c6900, 0x3, 0x4}, {0xc0017e6008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/move.go:126 +0xcb\ngithub.com/hectorgimenez/koolo/internal/action.(Chain).NextStep(_, {{{0x12c0, 0x1090}, {0x0, 0x0, {0x0, 0x0}}, {0xc0014c6900, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/actionchain.go:34 +0x65\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(, {{{0x12c0, 0x1090}, {0x0, 0x0, {0x0, 0x0}}, {0xc0014c6900, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/actionchain.go:48 +0x1f6\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(, {{{0x12c0, 0x1090}, {0x0, 0x0, {0x0, 0x0}}, {0xc0014c6900, 0x3, 0x4}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:48 +0x1f6\ngithub.com/hectorgimenez/koolo/internal.(Bot).Run(0xc0013c8000, {0x10efa20, 0xc0012c6050}, 0x1, {0xc0012cee60, 0x1, 0x1})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:177 +0x1c36\ngithub.com/hectorgimenez/koolo/internal.(SinglePlayerSupervisor).Start(0xc0007a8000)\n\tgithub.com/hectorgimenez/koolo/internal/single_supervisor.go:70 +0x485\ngithub.com/hectorgimenez/koolo/internal.(SupervisorManager).Start.func2()\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:82 +0xa2\ncreated by github.com/hectorgimenez/koolo/internal.(SupervisorManager).Start in goroutine 146\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:69 +0x21d\n" time=09:12:56 level=INFO msg=Stopping... configuration=SockLevel