Jump to content

Hello :)

Pending 0.5.1

rustfoxgaming
rustfoxgaming

Posted

Hello,

We found a major performance issue with RoamingNPC on two different servers.

With 8 RoamingNPC bots:

Server 1 (Vanilla+, ~80 plugins): 10 FPS

Server 2 (PvE X2/X5/X10, ~170 plugins): 19 FPS

After reducing to 4 bots:

Server 1: 154 FPS

Server 2: 87 FPS

EntityCount stayed almost the same on both servers, so the problem is not entity generation but CPU usage per bot (pathfinding, scanning, AI updates).

Could you please check if RoamingNPC can be optimized or if update frequency could be reduced?

Thanks.

rustfoxgaming

Posted

Hi, thanks for your reply.

Just to clarify: I do not have rubberbanding or movement issues like in the link you sent. My issue is server performance, not client lag.

Here are the exact numbers we tested on two different servers:

With 8 RoamingNPC bots: • Server 1 (Vanilla+, ~80 plugins): 10 FPS • Server 2 (PvE X2/X5/X10, ~170 plugins): 19 FPS

With 4 RoamingNPC bots: • Server 1: 154 FPS • Server 2: 87 FPS

EntityCount stays almost the same, so the problem is not entity generation. The performance drop clearly comes from CPU usage per bot (AI, scanning, pathfinding).

This is why I think the issue is related to RoamingNPC’s update frequency or AI load, not rubberbanding.

walkinrey

Posted

That ticket was about performance and FPS drop
Have you tried to change any settings? They're about update frequency as you said.

  • "Brain timer tick" and "Controls timer tick" - increasing from 0.01 to 0.1 and more will help, but may affect how bot will behave
  • "Enable periodic bot reinitialization?" - can help in long-term by respawning bots after a while
rustfoxgaming

Posted

"Controls timer tick (0.01 - 1)": 0.1,
      "Enable periodic bot reinitialization? (can improve performance)": true,
ok i put now

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.2k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.