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

Bots randomly and repeatedly committing suicide #12

Open
darkfvtvre opened this issue Jul 23, 2022 · 6 comments
Open

Bots randomly and repeatedly committing suicide #12

darkfvtvre opened this issue Jul 23, 2022 · 6 comments

Comments

@darkfvtvre
Copy link

For some reason after updating to the latest version the bots like to commit suicide repeatedly. Is there a way to prevent them from doing this as I do not even see what purpose this could have as the bots committing suicide doesn't seem to have any advantage and it spams the console. Thanks.

@rcbotCheeseh
Copy link
Owner

The bots will suicide if they cannot do any tasks (tasks keep failing) . This could be due to the fact there are no waypoints for the map, or if there are waypoints, there are no paths for the bots to complete their desired task.

I've update the code to add a command where you can disable this feature

as_command rcbot.suicide 0

default is '1'

latest commit: a63ce94

@darkfvtvre
Copy link
Author

darkfvtvre commented Jul 27, 2022

Is it possible for me to disable this from the .AS file itself without having to create an automated timed console command input? Or do I just put a line in server.cfg?

@rcbotCheeseh
Copy link
Owner

create a file "BotManager/config/config.ini" , open it in notepad and type in a new line

suicide=0

let me know if that helps

@darkfvtvre
Copy link
Author

They still commit suicide

@rcbotCheeseh
Copy link
Owner

try latest commit

@darkfvtvre
Copy link
Author

darkfvtvre commented Oct 11, 2022 via email

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

2 participants