![]() |
Bots move between 2 waypoints - bug
Well I found this old bug in E[POD]bot and I wont to fix it but I don't know from where come this bug.
If someone can tell me where in the sorce code is the bug maybe I will fix it:). |
Re: Bots move between 2 waypoints - bug
Can you describe that bug better please ? I have little clue what you're talking about. Is it that the bots sometimes go back and forth endlessly between two waypoints ? If it's this one, that's because POD-bot has a maximum delay to reach a waypoint. When this delay is elapsed, the bot cancels his reaching of the current waypoint and wants to go back to the previous one. This bug especially appears while the bot is navigating vents because a player ducking moves slowly compared to a standing player. You have to modify this delay to take in account the reachability between these waypoints.
|
Re: Bots move between 2 waypoints - bug
Yes PMB this is the bug that you say.
Thanks for the help I now will try to fix it. Edit : Can you tell me what is the full name of this delay. It will be more easy to find it :). |
Re: Bots move between 2 waypoints - bug
well I don't think this is a "bug".
this is on purpose and is to prevent bot from getting stuck and I think this is the part which you can change: PHP Code:
|
Re: Bots move between 2 waypoints - bug
Thanks a lot of Whistler.
I now will try this that you say me ;). EDIT : OK I try but is not working. The bug is still there. The interesting is that the bots do this damn think only when they use a sniper weapons. |
Re: Bots move between 2 waypoints - bug
make sure sniper weapons is zoomed out when bot doesn't have an enemy.
that's because bots don't zoom out the sniper weapons and they move slow. |
Re: Bots move between 2 waypoints - bug
Quote:
I run the bots in debuging mode and when the bug come the bot is currently in the task TASK_SEEKCOVER and he use servial times the radio command "Team fall back" and continue to move between 2 waypoints. If this can help. |
All times are GMT +2. The time now is 22:43. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.