IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Lag
Micke
post Nov 19 2021, 02:45 AM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 6-October 07
Member No.: 1,231



Is it normal for the FPS to go down to 20 when there are just 10 bots? or is it just for me? sad.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post Nov 19 2021, 03:30 PM
Post #2


RCBot Fan
****

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



Well, those RCBots coded in AngelScript aren't as superior nor as fast as RCBot Metamod version. We cannot seem to allow RCBot MM to work anymore as we need the Svengine Header files in order for RCBot MM to work in Sven v5. So it maybe best to spawn no more than 4 bots.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Nov 20 2021, 02:44 PM
Post #3


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



I agree with Robocop. Metamod plugins (or typical plugins) would allow the execution of code at each frame, where as Angelscript only allows at specific time intervals, so it's more difficult to evenly load CPU. For now the only way is to reduce navrevs and visrevs value. see as_command rcbot.navrevs and as_command rcbot.visrevs cvars , reduce their current value
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Micke
post Nov 21 2021, 02:37 AM
Post #4


Newbie
*

Group: Members
Posts: 8
Joined: 6-October 07
Member No.: 1,231



Running a dedicated server fixes the FPS and increases your ping instead which makes it playable. Unless you add too many bots and so your ping skyrocket.

What does navrevs and visrevs do?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Nov 21 2021, 08:25 PM
Post #5


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



QUOTE(Micke @ Nov 20 2021, 06:37 PM) *

Running a dedicated server fixes the FPS and increases your ping instead which makes it playable. Unless you add too many bots and so your ping skyrocket.

What does navrevs and visrevs do?

Hi,

From the readme.md:

QUOTE
# Commands

visrevs (number of visible checks every 0.1 sec - reduce to increase CPU performance but bots' reaction time will be reduced)
navrevs (number of paths to check every 0.1 sec - reduce to increase CPU performance but bots' pathfinding time will be increased)
heal_npc (set to '0' to disable bots healing NPCs - default is '1')
revive_npc (set to '0' to disable bots reviving NPCs - default is '1')


For most maps I don't usually recommend more than 3 bots because of choke points in the maps... I don't think I've ever run more than 5 bots... I would think you would have problems with bots blocking choke points such as vents, which annoys me to no end... And if bots arrive at the same time at difficult jumps, they will miss those jumps a lot more... On the other hand , I don't play survival mode, so that might be why you want more bots? I appreciate the feedback smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Micke
post Nov 25 2021, 06:02 PM
Post #6


Newbie
*

Group: Members
Posts: 8
Joined: 6-October 07
Member No.: 1,231



Thank you madmax

it helped and made quite a difference.
been testing and trying to find a balance between the settings.


I was so sure for some reason that the bots could play pvp maps and fight players and bots.

EDIT: my friend helped me with the bot code so they can detect team 1 to 4 and fight against each others in teams
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Nov 28 2021, 07:27 PM
Post #7


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



QUOTE(Micke @ Nov 25 2021, 10:02 AM) *

Thank you madmax

it helped and made quite a difference.
been testing and trying to find a balance between the settings.
I was so sure for some reason that the bots could play pvp maps and fight players and bots.

EDIT: my friend helped me with the bot code so they can detect team 1 to 4 and fight against each others in teams

Cool cool.gif . So what pvp maps do you use rcbot for? Warforts? Would you or your friend be willing to share the code and/or files? Perhaps Cheeseh could use it?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Micke
post Nov 30 2021, 08:27 AM
Post #8


Newbie
*

Group: Members
Posts: 8
Joined: 6-October 07
Member No.: 1,231



we mainly used it to play on bm_sts for the bonus rounds

and we also made some other changes:

I made so I could put waypoint_auto on another player, and he helped me so two players can have autowaypoint on.

we fixed a crashing what would happen when a map replaces the yell for medic or grenade sprites, I made so it uses unique sprites just for rcbot.

He also made so the bots pick random names and random models from a txt file instead of using the profiles, so we can use huge model packs.

And finally he made so the bots can say random things.

heres the code/files: https://github.com/TomDobbelaere/RCBotSven5

oh and he said that "doing the if (true) was temporary lol"
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Dec 2 2021, 06:40 PM
Post #9


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



Nice work, tried them out on ctf_warforts smile.gif . Would you be interested in adding flag support for ctf? Might need a flag waypoint or maybe END waypoint could be used? Anyways, good job wink.gif .
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: 18th November 2024 - 06:04 PM