Question about objects.
#1

Hello there, i'm FaLLenGirL.
I want to ask you guys about CreateObject and CreateDynamicObject.
Since yesterday i have a problem with some objects and i don't really know what's the problem lol :]].
I want to tell you that, CreateDynamicObject can affect CreateObject or vice versa ?
The real problem is that, i have more than 29926 dynamic objects in my server, and i have like, almost 1000 stable objects (createobject) in the gamemode. I know that "CreateObject" has a limit of 1000 objects and i don't really want to overcome this limt because after that the objects can't be loaded. Right ? So, also yesterday i was joking on my server, like we all do when we are online, and i placed some "FireWorks", that creates stable object (createobject), after that i have launched them and the objects have been destroyed. But maybe when i created them there the "CreateObject" limit was exceeded so.. that's why some dynamic objects dissapeared in another day, or maybe in that night, but i wasn't in that place where the dynamic objects are created to see.

The fact is that some gang gates are dissapearing from their place, the system says that are there, can be closed and opened, repaired or blowed but are invisible or are not there lol :]], idk somehow the objects dissapiared so that's my question if when i loaded my gamemode, i have loaded like.. 900 "CreateObject" and then in game i creaed more than 100 "CreateObject" with the fireworks system, can this be the problem to all this dynamic objects disappearances ?

And i saw that sometime some panels from the gang base are in another place, somehow the dynamic object was recreated in another place. If you know how to help please reply. Thanks.
Reply
#2

about first problem, minimize the usage of CreateObjects, use Dynamic objects instead.
about second problem, you may have duplicated or relocated objects in your code.
Reply
#3

PHP код:
29926 
you must be a mapping addict.
dont exceed the limit and try to use CreateDynamicObject as much as you can with a lower render distance ,if you say you`ve got so many objects.
Reply
#4

Hello.
The problem is still there. There's nothing with "CreateObject" or "CreateDynamicObject".
If someone REALLY now how to help me, please send me a PM or post a reply.

"The fact is that some gang gates are dissapearing from their place,
the system says that are there, can be closed and opened, repaired
or blowed but are invisible or are not there lol :]]
"
Reply
#5

Dont use create object. Switch all to dynamic ones. Especially your Gates that Dont appear. You have simply teacher the limit and ThAts Why they are not showing. The fact that you can open and close Gates Which are not there is Becuase you probably also have set their coords in an enum and while opening or closing it checks that enum.
Reply
#6

The only solution I know about this is to use CreateObject for base objects such as a land etc where the player or vehicles might spawn, the rest can be CreateDynamicObject.

The CreateObject creates an object forever and CreateDynamicObject creates a per-player object for players near that position else destroys them. Both of them use the object slot.

Hope my response helps you and I'm not wrong with the knowledge I've about objects.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)