Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion #271

Open
pampppp opened this issue May 28, 2024 · 0 comments
Open

suggestion #271

pampppp opened this issue May 28, 2024 · 0 comments

Comments

@pampppp
Copy link

pampppp commented May 28, 2024

Details

hi, i have suggestion for upgrade the bot
i dont know Go but i think i will try to learn litle for try to do that but i am noob x)

  1. make bot moving after x hammer shoot for reset hammer spawn position and stop bloking bot 5 minut shooting hammer in void (some map, the merce is struk in other room and cannot kill bloked monsted)
    ex: shoot 5 hamme, move 2 step, shoot 5 hammer, move 2stop, etc

it make it realy better for non teleport bot hammerdin i guess

  1. autorestart bot when fatal error coming and shuting doown the bot

Version

dev

Logs

time=04:19:18 level=ERROR msg="fatal error detected, forcing shutdown" supervisor=pap error="runtime error: index out of range [800] with length 800" stacktrace="goroutine 11201 [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({0x18a6200?, 0xc007524180?})\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(, {{{0xbb8, 0x12e8}, {0x0, 0x0, {0x0, 0x0}}, {0xc007deca00, 0x8, 0x8}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/pather/path_finder.go:138 +0xad2\ngithub.com/hectorgimenez/koolo/internal/action.(*Builder).MoveTo.func1({{{0xbb8, 0x12e8}, {0x0, 0x0, {0x0, 0x0}}, {0xc007deca00, 0x8, 0x8}, {0xc007588008, ...}, ...}, ...})\n\tgithub.com/hectorgimenez/koolo/internal/action/move.go:244 +0x1554\ngithub.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep(, {{{0xbb8, 0x12e8}, {0x0, 0x0, {0x0, 0x0}}, {0xc007deca00, 0x8, 0x8}, ...}, ...}, ...)\n\tgithub.com/hectorgimenez/koolo/internal/action/action_chain.go:34 +0x65\ngithub.com/hectorgimenez/koolo/internal.(*Bot).Run(0xc00071c180, {0x1b0fa20, 0xc000ba0140}, 0x0, {0xc00108a300, 0x7, 0x8})\n\tgithub.com/hectorgimenez/koolo/internal/bot.go:177 +0x1c36\ngithub.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start(0xc0001ea000)\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 11195\n\tgithub.com/hectorgimenez/koolo/internal/manager.go:69 +0x21d\n"

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

No branches or pull requests

1 participant