Jump to content

What is the maximum amount of objects manageable by the RageMP server?


Recommended Posts

Hi there!

Question for you, since I'm not sure if I know the correct answer: What is the maximum amount of objects manageable by the RageMP server?
For clarification: I especially mean those kind of objects that are created dynamically during runtime.

My thoughts on that:
Since the NetHandle class (C#) has this signature for its constructor:

NetHandle(ushort handle, EntityType type)

Now, with this constructor we know that the maximum amount of handles is 65535 (since an ushort has an integer range of 0-65535). But what about the EntityType param? How is the EntityType to be interpreted:

It either could be this:

"A unique object handle across different EntityType's (which means that there are only 65535 objects possible to be created)"

or this:

"A local unique object handle which is unique within a single EntityType (which would be (4 * 65535; 4 because of Player, Vehicle, Object and Pickup type; see the enum below) objects possible to be created)"

public enum EntityType
    Player = 0,
    Vehicle = 1,
    Object = 2,
    Pickup = 3,
    Blip = 4,
    Checkpoint = 5,
    Marker = 6,
    Colshape = 7,
    TextLabel = 8

Or am I on the wrong way anyway? I am interested to know the technical limit. Happy discussing.


Edited by TheMysteriousVincent
Link to comment
Share on other sites

  • 3 months later...

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