RCBotSven5 icon indicating copy to clipboard operation
RCBotSven5 copied to clipboard

Bots randomly and repeatedly committing suicide

Open darkfvtvre opened this issue 3 years ago • 6 comments
trafficstars

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.

darkfvtvre avatar Jul 23 '22 05:07 darkfvtvre

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: a63ce94cafff28af6538cd378d1454b21cc0c380

rcbotCheeseh avatar Jul 23 '22 10:07 rcbotCheeseh

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?

darkfvtvre avatar Jul 27 '22 01:07 darkfvtvre

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

rcbotCheeseh avatar Jul 30 '22 14:07 rcbotCheeseh

They still commit suicide

darkfvtvre avatar Aug 13 '22 04:08 darkfvtvre

try latest commit

rcbotCheeseh avatar Aug 14 '22 09:08 rcbotCheeseh

This actually does not seem to do anything. They still commit suicide even after adding suicide=0 to config.ini

My file looks like this.

config.ini

Runs commands in here every time a bot is being added by default on server, prefix with ! to run on client being added

quota=1

suicide=0


From: Paul Murphy @.> Sent: Saturday, July 30, 2022 10:11 AM To: rcbotCheeseh/RCBotSven5 @.> Cc: TheReflectingVoid @.>; Author @.> Subject: Re: [rcbotCheeseh/RCBotSven5] Bots randomly and repeatedly committing suicide (Issue #12)

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

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FrcbotCheeseh%2FRCBotSven5%2Fissues%2F12%23issuecomment-1200164659&data=05%7C01%7C%7C92e97ed2477249e8094308da7235711e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637947871104464242%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fg9%2FIaFxxOY4W%2BTOzOyUw4%2Bg2vJNSUN1At35QD9Ul1A%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQJ73XWGXZ5HEAFKPADM33VWUZ2JANCNFSM54NOHIWA&data=05%7C01%7C%7C92e97ed2477249e8094308da7235711e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637947871104464242%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PWXCfGVQ%2F4TSabYNUXV894dDQ8mB2dZFTyFcHaS0FJY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

darkfvtvre avatar Oct 11 '22 08:10 darkfvtvre