Question About Obejcst
#1

i would like to aks something about the objects

how many CreateObjetcs we can add in server ?
and how many many CreateDynamicObjects we can add in server ?

if we add both objects on 1 gamemode so it should create problems ? or what

sometimes on my server CreateDynamicObjects not showing and CreateObjects showing Properly from too far
Reply
#2

You can create a LOT of CreateObjects, you may not want to use over 100 of CreateDynamicObjects because dynamic objects take more memory than the regular CreateObjects.
Reply
#3

hmmm you mean a limited range of CreateDynamicObjects ?

well who cares for more memory we just want to show all objects correctly ( i create a map i waste 15 days but that map is not showing all objects !!!

i test a thing about create objects " we can't use unlimited Create objects it's limited too
Reply
#4

When you open your server on a host, you will see what I'm talking about.
Reply
#5

i am using a host from last couple of years
and yes Createdynamicobject maps is lagging sometimes
Reply
#6

https://sampwiki.blast.hk/wiki/Limits
The limit for normal CreateObject objects is there, which is 1000. When using a streamer, it's unlimited, afaik, since there are people out there using 15000+ objects (if I remember correctly), so that shouldn't be a problem. Just make sure the stream distance param is not set too high in the CreateDynamicObject functions.

Just a quick note if you're planning to do any moving things, for CreateObject objects use MoveObject, and for CreateDynamicObject objects use MoveDynamicObject. Same for destroying objects, for CreateObject objects use DestroyObject, and for CreateDynamicObject objects use DestroyDynamicObject.

Hope this helps you
Reply
#7

Make sure you've got incognito's object streamer,I think. I'm certain that it's faster for processing and loading objects for people.
Reply
#8

Quote:
Originally Posted by FaceTutorialz
Посмотреть сообщение
You can create a LOT of CreateObjects, you may not want to use over 100 of CreateDynamicObjects because dynamic objects take more memory than the regular CreateObjects.
I though that the limit of CreateObject was 1000.
And why shouldn't we use CreateDynamicObject? The "memory" reason isn't valid though.

Quote:
Originally Posted by Salsa
Посмотреть сообщение
i am using a host from last couple of years
and yes Createdynamicobject maps is lagging sometimes
It wasn't supposed to lag, is your network connection with the server ok?[vice-versa]

@OP, It isn't going to create problems, however, use CreateDynamicObject if your map have more than 1000 objects, if not, use the normal CreateObject.
Reply
#9

For the lag problem, check the post above me, and make sure the stream distance is not too high (as defined in the CreateDynamicObject function), like I stated in my other post.
Reply
#10

well all maps showing correctly with CreatedynamicObjects i have uncountable CreatedynamicObjects

but problem is a big map which created on Map editor its not showing objects from far distance ?? other all maps showing showing objects from too long distance too

Quote:

Make sure you've got incognito's object streamer,I think. I'm certain that it's faster for processing and loading objects for people.

i'm already using incognito's object streamer
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)