hectorgimenez / koolo

Diablo II Resurrected bot written in Go
MIT License
80 stars 51 forks source link

Rocky Waste and Stony Tombs TZ. Enters WP and stucks at Dry Hills WP. Succesfuly enters Tombs if "Dry Hills" unchecked in Settings #253

Open nydicil opened 4 months ago

nydicil commented 4 months ago

Details

Rocky Waste and Stony Tomb Terror Zone. Enters WP and stucks at Dry Hills WP. If "Dry Hills" is unchecked in Settings succesfully teleports to Tombs.

Version

v0.4.0 f742f51

Logs

time=12:11:09 level=INFO msg="Starting Game #3. Run list: TerrorZone Run: Rocky Waste, Stony Tomb Level 1, Stony Tomb Level 2" time=12:11:09 level=INFO msg="Running: TerrorZone Run: Rocky Waste, Stony Tomb Level 1, Stony Tomb Level 2" time=12:11:10 level=DEBUG msg="Loading screen detected, waiting until loading screen is gone" time=12:11:12 level=DEBUG msg="Load completed, continuing execution" time=12:11:12 level=DEBUG msg="Checking for character corpse..." time=12:11:12 level=DEBUG msg="Character corpse not found :D" time=12:11:12 level=DEBUG msg="Checking for items to identify..." time=12:11:12 level=INFO msg="Identifying 1 items..." time=12:11:15 level=INFO msg="Visiting vendor..." forceRefill=false time=12:11:24 level=DEBUG msg="Buying: 0 Healing potions and 0 Mana potions" time=12:11:24 level=DEBUG msg="Vendor with keys detected, provisioning..." time=12:11:26 level=DEBUG msg="Item Heavy Gloves [Magic] sold" time=12:11:27 level=DEBUG msg="Checking for items to stash..." time=12:11:27 level=DEBUG msg="Checking for items to stash..." time=12:11:32 level=DEBUG msg="CTA found: swapping weapon and casting Battle Command / Battle Orders" time=12:11:32 level=DEBUG msg=Buffing... time=12:11:36 level=ERROR msg="fatal error detected, forcing shutdown" supervisor=MyNovaSorc error="runtime error: index out of range [1381] with length 800" stacktrace="goroutine 26 [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({0xca6200?, 0xc000a14018?})\n\truntime/panic.go:770 +0x132\ngithub.com/hectorgimenez/koolo/internal/pather.(World).From(...)\n\tgithub.com/hectorgimenez/koolo/internal/pather/world.go:55\ngithub.com/hectorgimenez/koolo/internal/pather.(PathFinder).GetPath(_, {{{0x1108, 0x1518}, {0x0, 0x0, {0x0, 0x0}}, {0xc001311600, 0x5, 0x8}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/pather/path_finder.go:138 +0xaff\ngithub.com/hectorgimenez/koolo/internal/action.(Builder).MoveToArea.func2({{{0x1108, 0x1518}, {0x0, 0x0, {0x0, 0x0}}, {0xc001311600, 0x5, 0x8}, {0xc000836008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/move.go:80 +0x5d7\ngithub.com/hectorgimenez/koolo/internal/action.(Builder).MoveTo.func1({{{0x1108, 0x1518}, {0x0, 0x0, {0x0, 0x0}}, {0xc001311600, 0x5, 0x8}, {0xc000836008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/move.go:126 +0xcb\ngithub.com/hectorgimenez/koolo/internal/action.(Chain).NextStep(_, {{{0x1108, 0x1518}, {0x0, 0x0, {0x0, 0x0}}, {0xc001311600, 0x5, 0x8}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/actionchain.go:34 +0x65\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(, {{{0x1108, 0x1518}, {0x0, 0x0, {0x0, 0x0}}, {0xc001311600, 0x5, 0x8}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/actionchain.go:48 +0x1f6\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(, {{{0x1108, 0x1518}, {0x0, 0x0, {0x0, 0x0}}, {0xc001311600, 0x5, 0x8}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:48 +0x1f6\ngithub.com/hectorgimenez/koolo/internal.(Bot).Run(0xc000612080, {0xf0fa20, 0xc0008a6190}, 0x0, {0xc0009920a0, 0x1, 0x1})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:177 +0x1c36\ngithub.com/hectorgimenez/koolo/internal.(SinglePlayerSupervisor).Start(0xc000a10070)\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 21\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:69 +0x21d\n"