750 CreatePlayerObject and 100 player connected = 90% Usage CPU
#1

Hello,
As the title says
In my server is 750 CreatePlayerObject and 100 player connected. CPU usage is 90%.
If i delete all CreatePlayerObject. CPU usage is 20% and 100 players are still connected.
Is this normal? Or do something set (settings) that CPU usage is not 90%?

Thanks for any help.
Reply
#2

D'you use SetObjectMaterial or SetObjectMaterialText?
Reply
#3

Yes i use 100 objects with SetObjectMaterialText.
But, If I delete all SetPlayerObjectMaterialText, CPU usage still 90%
Reply
#4

Sounds like your server is a complete piece of junk you should consider upgrading.
Reply
#5

CPU 4x2.4GHz (Q6600) is a complete piece of junk?
It's not a junk. If I delete all CreatePlayerObject, CPU is 20%
Reply
#6

Quote:

But, If I delete all SetPlayerObjectMaterialText, CPU usage still 90%

And what about SetObjectMaterialText
Reply
#7

Quote:
Originally Posted by JM_Millers
Посмотреть сообщение
And what about SetObjectMaterialText
I tried to use CreateObject instead CreatePlayerObject and it works! CPU is 20%. But I use a total of 1,500 objects. I have a map in the middle to separate into two halves (750 and 750 objects). But CreateObject is the limit 1000. how to solve it?
Reply
#8

Using streamer.
Reply
#9

Quote:
Originally Posted by hossa
Посмотреть сообщение
Using streamer.
Yes it is a solution. But I'm trying to find better solutions than the streamer.
Reply
#10

Quote:
Originally Posted by Ox1gEN
Посмотреть сообщение
Streamer is the best solution though, I recently started using it for a project (GM) I'm planning on releasing later this month.
I hope the streamer not have to use. I'll have to set up a small view distance to display little CreatePlayerObject. To minimize CPU
But thanks all.
Reply
#11

Quote:
Originally Posted by ATomas
Посмотреть сообщение
Yes it is a solution. But I'm trying to find better solutions than the streamer.
There isn't better way. A lot of scripters use streamer
Reply
#12

Quote:
Originally Posted by ATomas
Посмотреть сообщение
I hope the streamer not have to use. I'll have to set up a small view distance to display little CreatePlayerObject. To minimize CPU
But thanks all.
Streamer is your only option when it comes to having 1,000+ objects
Upgrade the server, That's an option.
Reply
#13

Quote:
Originally Posted by ATomas
Посмотреть сообщение
I hope the streamer not have to use. I'll have to set up a small view distance to display little CreatePlayerObject. To minimize CPU
But thanks all.
The streamer is a must have it is the standard.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)