IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Bots only joining when a player connects
trizmorrow
post May 12 2023, 05:39 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 27-April 23
Member No.: 2,654



Hello, I have an issue with the bots.
They only join after a player connects.

I've seen many servers for HL2:DM and DOD:S that use RCBot2, and they are able to keep their bots on 24/7 without requiring any players to connect. I would also like to do the same if I knew how.

Thanks.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
VSG
post May 15 2023, 05:32 PM
Post #2


Member
**

Group: Members
Posts: 28
Joined: 27-July 19
Member No.: 2,602



QUOTE(trizmorrow @ May 12 2023, 05:39 PM) *

Hello, I have an issue with the bots.
They only join after a player connects.

I've seen many servers for HL2:DM and DOD:S that use RCBot2, and they are able to keep their bots on 24/7 without requiring any players to connect. I would also like to do the same if I knew how.

Thanks.


This is the same question I asked a few days ago, I mean, it even looks like someone is crashing the bot servers on purpose judging by the absolute randomness of said crashes. dry.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post May 20 2023, 11:38 PM
Post #3


RCBot Fan
****

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



Hello, sorry for the delay but the RCBot2 to join after reboot is the last thing on our mind.

The recent VScript update for TF2 update from December 2022 made some negative impacts on RCBot2 as the server crashes, especially when a human player joins - even if the bots aren't spawned yet.

Also, I will be making some improvements to the DODS waypoints as most of them are poorly designed. I had to upload some RCBot2 Youtube guides on how to manually repair waypoints that were not designed to allow bots to run from cover to cover in wide-open areas that make them easily exposed as prime targets. I even had to reroute the pathways to allow them to directly obtain bombs from a pile of explosives like in dod_strand - which allows bots to focus on their main objectives properly. Also, I had to make sure those waypoints in the respawn rooms had one-way paths to allow them to emerge from their spawns and instantly proceed forward to complete their missions. Besides we don't our bots to wander in their spawns for too long.

Keep in mind for making RCBot2 work, it's important to be aware of some side effects of the latest Source engine updates and that AlliedMods needs to keep their HL2SDK updated for them to provide us with the essential SourceMod support. But the thing is with DoDS, TF2 and HL2DM as the headers from HL2SDK don't appear to be compatible with newer standards at C++17 or above because AlliedMods haven't modernised nor updated the header files for newer compilers and we had to revert by undoing the modernisation of our RCBot2 source code.

If you like to provide us with your support and assistance for RCBot2 please visit our Discord.

https://discord.gg/5v5YvKG4Hr
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
VSG
post May 21 2023, 05:04 PM
Post #4


Member
**

Group: Members
Posts: 28
Joined: 27-July 19
Member No.: 2,602



Thank you for the detailed information and for your assistance offer, RoboCop.

Found out that my hosting provider (for game servers) was shamelessly sabotaging my Source servers, because they didn't like that I had to downgrade on March to a cheaper option, and I guess they didn't like the bots either, although my 10 game servers used about 25% cpu of the 4 shared cores server, never more than 30%.

They also did other nasty things like removing my bf2 and FEAR combat files, no warnings, disabled root access, disabled backups... sad.gif

Before that situation, I never experienced so many Rcbot crashes, I was using an outdated version (a Nightc0re's 2015 build), but as a matter of fact, neither DoDS & HL2DM haven't been updated since (except for Steam Deck?). They were running fine and dandy.

The name of the hosting company is gamed.de, so you can be cautioned. I will be migrating all my games to Hetzner now, it's going to be some intensive work.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post May 21 2023, 07:22 PM
Post #5


RCBot Fan
****

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



QUOTE(VSG @ May 21 2023, 06:04 PM) *

Thank you for the detailed information and for your assistance offer, RoboCop.

Found out that my hosting provider (for game servers) was shamelessly sabotaging my Source servers, because they didn't like that I had to downgrade on March to a cheaper option, and I guess they didn't like the bots either, although my 10 game servers used about 25% cpu of the 4 shared cores server, never more than 30%.

They also did other nasty things like removing my bf2 and FEAR combat files, no warnings, disabled root access, disabled backups... sad.gif

Before that situation, I never experienced so many Rcbot crashes, I was using an outdated version (a Nightc0re's 2015 build), but as a matter of fact, neither DoDS & HL2DM haven't been updated since (except for Steam Deck?). They were running fine and dandy.

The name of the hosting company is gamed.de, so you can be cautioned. I will be migrating all my games to Hetzner now, it's going to be some intensive work.

BF2 well [APG] was established as a BF2 clan in 2005! After that we began supporting BF2142...but...look at how GameSpy's death and EA arrogant decisions caused those games to die.

I use the Kimsufi dedicated server range from OVH, it's not top-notch quality but is very affordable. It was important for me to host those Linux dedicated servers to test RCBot2 for TF2, DoDS, HL2DM, and even RCBot1 for DMC, Op4CTF, TS and NS as I've made some minor breakthroughs for those bots too.

Of course, it was up to me to optimise and make RCBot2 more streamlined and added some stability fixes as nosoop managed to remove the hookinfo.ini dependency for RCBot2 instead of having to manually update the offset values... Besides most AI players or bots (although more and more players are just misled thinking that the word "bot" and the name Bots-United are spambot creators - but ofc we aren't as our bots don't work that way to cause any illegal activity) do require some RAM and CPU to allow the bots to proceed properly.

However, I did find out that the RCBot coding and waypoints weren't optimised nor designed properly, as I had to review those waypoints and repair them - as I mentioned earlier. Maybe that was why your grumpy host hates bots for consuming too much power and bandwidth?

Believe us it is hard to fix those memory leaks and security problems - even some redundant coding that causes RCBot to waste too much consumption.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post May 30 2023, 10:16 PM
Post #6


RCBot Fan
****

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



https://github.com/APGRoboCop/rcbot2/releas...tag/v1.51-beta2 Try this latest beta release!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DNA.styx
post Dec 17 2023, 09:50 PM
Post #7


Newbie
*

Group: Members
Posts: 8
Joined: 15-December 23
Member No.: 2,660



Getting the same symptoms with Beta3 as well.

This plug in seems to be a good work around: Rcbot2 1.3 First bot
https://forums.alliedmods.net/showthread.php?t=342160
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

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

 



- Lo-Fi Version Time is now: 4th November 2024 - 11:52 PM