SA-MP Forums Archive
Objects :( help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Objects :( help (/showthread.php?tid=664242)



Objects :( help - Heress - 22.02.2019

Hello,
All my server players often have crashed sa-mp. The reason is always "Object related" (Adress:0x00544BC8 )
Reasons

I have created about 2300 dynamic objects and about 200-300 CreateObject. I'm using Incognito streamer. Server version 0.3.7 r2, but still i have crash. How i can optimize it or how i can fix it?

Please help me...


Re: Objects :( help - GRiMMREAPER - 22.02.2019

Quote:

200-300 CreateObject

But why?


Re: Objects :( help - Heress - 22.02.2019

Quote:
Originally Posted by GRiMMREAPER
Посмотреть сообщение
But why?
Because with CreateObject i'm creating Land masses and bridges and i don't want what when player connect he and all vehicles on these object jump into water.


Re: Objects :( help - GRiMMREAPER - 22.02.2019

Quote:
Originally Posted by Heress
Посмотреть сообщение
Because with CreateObject i'm creating Land masses and bridges and i don't want what when player connect he and all vehicles on these object jump into water.
Take a look at Streamer_UpdateEx.


Re: Objects :( help - Heress - 22.02.2019

Quote:
Originally Posted by GRiMMREAPER
Посмотреть сообщение
Take a look at Streamer_UpdateEx.
So when object is loading player is freezing? How about vehicles? And will it works on teleports?

EDIT: THANK YOU! IT WORKS!


Re: Objects :( help - GRiMMREAPER - 22.02.2019

Quote:
Originally Posted by Heress
Посмотреть сообщение
So when object is loading player is freezing? How about vehicles? And will it works on teleports?

EDIT: THANK YOU! IT WORKS!
You're welcome!