IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Two questions, add bots on server start, and player godmode
Psycho
post Feb 19 2023, 12:29 PM
Post #1


Newbie
*

Group: Members
Posts: 7
Joined: 28-December 22
Member No.: 2,648



Hi,

Is there a way to get bots to join the server when it restarts? I am having add a bot in console with rcbotd addbot, then the server populates with the number set in bot_quota.ini.

Also I specked a player, not an admin playing on my server for a while that the bots payed no attention to. He just ran around killing them (bots) at will while being ignored? Is this some hack I am unaware of?

[01] RCBot2 (1.3 (apg-nosoop)-34539390) by Cheeseh, RoboCop, nosoop
[02] SourceMod (1.11.0.6924) by AlliedModders LLC
[03] SDK Tools (1.11.0.6924) by AlliedModders LLC
[04] SDK Hooks (1.11.0.6924) by AlliedModders LLC

Linux dedicated server

Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Feb 19 2023, 04:08 PM
Post #2


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



RCBot2 v1.3 is outdated as the latest version is RCBot2 v1.51 since December 2022
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Psycho
post Feb 19 2023, 07:33 PM
Post #3


Newbie
*

Group: Members
Posts: 7
Joined: 28-December 22
Member No.: 2,648



Thanks for that, did not know there was a newer version.

I rented a clean server, installed metamod and sourcemod. Installed rcbot2 It shows 1.5 even after updating the vdf from the 1.51 zip. Bots still wont join on there own. Now when I try to add bot in console i get

:[RCBot] error: cannot manually add bot while rcbot_bot_quota_interval is active.

When I join the server the bots join.

I tried editing rcbotd config min_bots -1 rcbotd config max_bots 10 to
rcbotd config min_bots 1 rcbotd config max_bots 10. with bot_quota_interval commented out.

Also tried editing rcbot_bot_quota_interval -1 to rcbot_bot_quota_interval 1.

Changed line Humans "0" => Bots "0" # This is used for the default bot quota (empty server) to
Humans "0" => Bots "10" # This is used for the default bot quota (empty server).

What am I missing?

Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Feb 21 2023, 09:52 AM
Post #4


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



Yes well, they initially punt when the server starts it up at first, but if you or any human players join, the bots should spawn.

I know it's not quite ideal and I'm not quite sure this occurs, but it does allow your server to not load too much CPU when it boots your DODS up as RCBot2 does require some server power and spawning too many bots - like 12 or more requires a powerful rig and plenty of RAM for those 24 or more slots.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Psycho
post Feb 21 2023, 03:28 PM
Post #5


Newbie
*

Group: Members
Posts: 7
Joined: 28-December 22
Member No.: 2,648



Thanks for the reply,

Problem is my servers crash and restart and the host restarts them occasionally. Most will not join an empty server.

That being said I figured it out. Using the older version 1.3, add rcbotd addbot to the sourcemod.cfg and the first bot joins to start the server populating with the set quota. I haven't tried with the new version of bot. If the new bot version wont work with this solution, maybe there is some code that can be rolled back to make it work.

Anyways I have three servers that are never empty now.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
micmacx
post Mar 13 2023, 12:27 AM
Post #6


Newbie
*

Group: Members
Posts: 1
Joined: 12-March 23
Member No.: 2,651



Hi,
Rcbot2 1.3 is outdated, ok but botquota is not working for DoD:S in rcbot2 1.5.

I make a plugin in sourcemod for add a first bot then Rcbot 1.3 add bots with botquota and plugin kick my first bot. ;-)

I post the plugin for you : https://forums.alliedmods.net/showthread.ph...125#post2801125
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Psycho
post Mar 13 2023, 01:23 PM
Post #7


Newbie
*

Group: Members
Posts: 7
Joined: 28-December 22
Member No.: 2,648



Hello,

I will update the bots and try your plugin when I get a chance.

Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th December 2024 - 11:12 AM