Objects dissapear? -
Smileys - 09.06.2014
Hi there,
well, usually I know how to fix something simple as this may sound, but I have no idea what's causing this nor how to fix this.
alright so, I use this object editor:
https://sampforum.blast.hk/showthread.php?tid=335711 for mapping
now, usually when I created an object, everything worked fine etc but now when I create an object, even if it's only 1 object, I go and edit it with those arrows( EditObject( ); ), and after about 15 - 20 seconds, it just dissapears, gone.
anyone has any idea what's causing this?
Re: Objects dissapear? -
Stanford - 09.06.2014
Maybe your gamemode reached the maximum of objects that are created using (CreateObject) .
The maximum amount of normal objects are (1000), in order to have more, use streamer (CreateDynamicObject) as well.
My suggestion is to convert all your CreateObject objects to CreateDynamicObject. and I think it will work fine for you.
Re: Objects dissapear? -
Smileys - 09.06.2014
I am using the streamer already
I edited the editor abit so when I /exportobjects, it converts it to CreateDynamicObject.
the only createobject objects here is the one I create with the editor..
Re: Objects dissapear? -
Smileys - 10.06.2014
erm, bump?
I have some createobject code in a script used for AttachObjectToObject, I was planning to move em to dynamic objects later, although the amount of createobjects I have is less than 100, so mapping shouldn't be a problem right?
Re: Objects dissapear? -
Stanford - 10.06.2014
Wait wait, you're using (EditObject) for a dynamic object... you cannot do that!
Use EditDynamicObject.
Re: Objects dissapear? -
Smileys - 10.06.2014
nono, lol ok let me explain it.
The objecteditor, uses CreateObject for creating objects.
when I /exportobjects them, I automatically convert them to CreateDynamicObject, though while mapping, the ones that's loaded with the editor are CreateObject, therefore it uses EditObject.
my problem is that after approx 20 seconds the object vanishes, the editing arrows aswell, though I still have the object in the editor, it looks like it deletes, but is still there, it's very weird. :/
the problem occured outta nowhere, I didn't make any changes to the editor script which could possibly cause this issue
Re: Objects dissapear? -
SPA - 10.06.2014
Try to reconvert it , and recompile from pawno.
EDIT : I recommend to use Streamer.
Re: Objects dissapear? -
Smileys - 10.06.2014
you mean edit the editor and make it create Dynamic objects when mapping? instead of createobject?
well yea I can do that but I don't see how that's going to fix it as the CreateObjects worked fine before lol.
ohwell if there's really no other solution then I'll do that.
Re: Objects dissapear? -
Laure - 10.06.2014
Maybe you have reached the max of your objects limit, Streamer provides you lot more objects to created as it max
is way too high than normal one's. So i suggest you to use streamer plugin and give it a try.
Re: Objects dissapear? -
Smileys - 10.06.2014
Quote:
Originally Posted by Imperor
Maybe you have reached the max of your objects limit, Streamer provides you lot more objects to created as it max
is way too high than normal one's. So i suggest you to use streamer plugin and give it a try.
|
Quote:
Originally Posted by Smileys
I am using the streamer already
I edited the editor abit so when I /exportobjects, it converts it to CreateDynamicObject.
the only createobject objects here is the one I create with the editor..
|
already using it :P when I load objects at server start( OnGameMode/FilterScriptInit )