Jump to content

SLOW reaction

Pending 1.3.1

vinniestrang
vinniestrang

Posted

The npc's run towards the player then stop and shoot once every few seconds. Pretty slow. how can it be fixed?

Jbird

Posted

On 10/21/2024 at 9:53 AM, vinniestrang said:

The npc's run towards the player then stop and shoot once every few seconds. Pretty slow. how can it be fixed?

Are you able to get any video of an example?

The more details you can provide the better it is to determine if there is an issue and what it would be.

The most common possibilities if this is happening for everyone on the server, and it is constant, that it could be either configuration settings, interaction with another plugin, or either performance or memory issues with the server itself. But those are just guesses without some more detail.

  • How many players are noticing the same thing?
  • How frequent or constant is this?
  • Is it all NPCs or just certain locations?
  • Do you customize the configuration files or use the default NPC settings?

Also one last one, what gun are they given or what other items are they given and could they be using a med for example, or using a gun that they are reloading or has a slower fire rate?

vinniestrang

Posted

How many players are noticing the same thing? (All players)

How frequent or constant is this? (all the time)

Is it all NPCs or just certain locations? ( ALL LOCATIONS TESTED SAME REACTION)

Do you customize the configuration files or use the default NPC settings? (Default as provided)

They run towards the player exactly where the player is standing then shoot every few seconds. If you move they follow you and never shoot.

Server has 20GB Rams and a 12 core cpu. 

Jbird

Posted

18 minutes ago, vinniestrang said:

How many players are noticing the same thing? (All players)

How frequent or constant is this? (all the time)

Is it all NPCs or just certain locations? ( ALL LOCATIONS TESTED SAME REACTION)

Do you customize the configuration files or use the default NPC settings? (Default as provided)

They run towards the player exactly where the player is standing then shoot every few seconds. If you move they follow you and never shoot.

Server has 20GB Rams and a 12 core cpu. 

Are you able to check the average frame rate the server has when this is happening?

Do you have a test server or any time you are able to unload other plugins to test interaction with another plugin(s) that might be causing what you're experiencing?

vinniestrang

Posted

11 hours ago, Jbird said:

Are you able to check the average frame rate the server has when this is happening?

Do you have a test server or any time you are able to unload other plugins to test interaction with another plugin(s) that might be causing what you're experiencing?

Here the performance monitor json

11-25-55.json

Jbird

Posted

5 hours ago, vinniestrang said:

Here the performance monitor json

So just at a glance I am noticing a couple things worth noting.

The frame rate is 21 frame rate average is almost 23. That is not terrible but that is a bit on the lower side, much below that and I would essentially expect some issues here and there. Do you have the server FPS convar set to anything specific or is it just running the default FPS setting?

Something else that stands out and is worth at least some testing to confirm or deny, ZombieHorde has the highest hook time on the list, try unloading that for a little while and see if that changes anything by itself. If so then we can go from there and see if we can tweak both to be able to work together for you.

vinniestrang

Posted

5 hours ago, Jbird said:

So just at a glance I am noticing a couple things worth noting.

The frame rate is 21 frame rate average is almost 23. That is not terrible but that is a bit on the lower side, much below that and I would essentially expect some issues here and there. Do you have the server FPS convar set to anything specific or is it just running the default FPS setting?

Something else that stands out and is worth at least some testing to confirm or deny, ZombieHorde has the highest hook time on the list, try unloading that for a little while and see if that changes anything by itself. If so then we can go from there and see if we can tweak both to be able to work together for you.

 

vinniestrang

Posted

Do you have the server FPS convar set to anything specific or is it just running the default FPS setting?

Not sure, so i guess default?

Jbird

Posted

1 hour ago, vinniestrang said:

this video is AFTER ZombieHorde was UNLOADED 

I mean they seem mostly normal there. Have you tried giving them different guns that do not reloaded as quickly? The fire rate and delay for reload will be less with other guns. Need to see this next to comparison to see how much of a difference there is.

Do you have this setting true or false?

  "Enable sleeping NPCs outside of player range to improve performance? [true/false]": true,

This is in the BetterNpc config file.

vinniestrang

Posted (edited)

On 10/23/2024 at 11:38 PM, Jbird said:

I mean they seem mostly normal there. Have you tried giving them different guns that do not reloaded as quickly? The fire rate and delay for reload will be less with other guns. Need to see this next to comparison to see how much of a difference there is.

Do you have this setting true or false?

  "Enable sleeping NPCs outside of player range to improve performance? [true/false]": true,

This is in the BetterNpc config file.

set to false. if true nothing changes.
 

Basically the players are complaining that the npc are dumb. 



if oyu can, please do join the server and test at some random monument.

Edited by vinniestrang
Jbird

Posted

32 minutes ago, vinniestrang said:

set to false. if true nothing changes.

Leave it set to true, true will help greatly with performance.

I recommend against sharing your server IP address publicly, but that is up to you.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • 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.