Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Performance issue > 100 players #4

Open
mickeygeecom opened this issue Jun 7, 2021 · 1 comment
Open

Performance issue > 100 players #4

mickeygeecom opened this issue Jun 7, 2021 · 1 comment

Comments

@mickeygeecom
Copy link

Hi guys,

Nice resource, but it seems to could use some high playercount performance improvement.
This is a picture from the resource monitor, with 128 players.

It's the resource using the most CPU-time on our server, which seems fairly off, as the resource's job is quite simple.

image

I suppose it's due to iterating over players all the time. We use the 'SoundToCoords' feature only.

@FALL1N1
Copy link

FALL1N1 commented Feb 2, 2022

I had the same issue and I rewrote my code to use 'SoundToClient' instead with specific volume depending on the distance of the players.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants