Jump to content

Peds server usage


botanist

Recommended Posts

Posted

Question which the devs surely know, but maybe someone else too. I want to know how much a ped from a server requires. I know it's possible to create a lot, but is it possible to create thousands of peds on serverside, all walking around everywhere in San Andreas (That means, you will probably have not more than 10 peds streamed in at a client, because the peds are everywhere)? And if it depends on my CPU and RAM, how much can I have with a 2.33 GHz dualcore along with 2 GB DDR2 of RAM Memory?

Posted

Well, it will probably lag quite a bit, because the peds have to be created all at once (will trigger a huge lagspike)

and then be animated and controlled at the same time, wich will result into a total death massacre lag.

i suggest you make the peds only where people are walking at that moment, it might take a little cpu power, but it will save you a lot of resources.

altough making the peds where a player is might result into the same thing when there are over 10 players online especially on a core2duo, you will need a good server if you want to process such things.

Posted

The peds and cars in gta offline are created only where you can see. If you can't see they, they are destroyed and created again where you look at they. But thousands of peds will lag the server alot.

(i sux speaking english)

Posted

If you wanted to do that, you wouldn't simulate every ped in the world, just those near players.

Posted

Okay, it's obvious I will need to make a streamer for it. Imagine I have a full 32 player server. If every player has 10 peds streamed in, there will be still 320 peds made. I think this can cause lagg, can't it?

Or I'll create the peds clientside, so the will be processed at the client. Only one big downside, the peds won't be synched at other clients, so I still prefer the server, and I hope it IS possible for 32 players.

Posted

The server only needs to sync peds that more than one player can see. So 32 players that are all some distance away from each other should have no synced peds.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...