SA-MP Forums Archive
Removing Too Many? Or possible duplicates... - 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: Removing Too Many? Or possible duplicates... (/showthread.php?tid=560904)



Removing Too Many? Or possible duplicates... - Crayder - 31.01.2015

I know that when you remove the same object twice, the client will crash. I think that may be happening here. But the range is only 0.05, so I'm not positive. Ok, I generated a list of every object around the point 500, 500, 0 in a radius of 1000. This totals an amount of 3318 objects. The default ackslimit gave me warnings (because it is only 3000/second), and I crashed when connecting. I raised the ackslimit to 4000/second, same (crashed again).

So is it crashing because multiple of the same object are in the range of 0.05? Or is it because too many are removed at once...?


AW: Removing Too Many? Or possible duplicates... - Bluescreen - 31.01.2015

Use timer on connecting, example: Use 7 timers в 1250 seconds and put in every timer ~500 objects.
After ~9000 seconds all objects are removed maybe this time without a crash.


Re: AW: Removing Too Many? Or possible duplicates... - Crayder - 31.01.2015

Quote:
Originally Posted by Bluescreen
Посмотреть сообщение
Use timer on connecting, example: Use 7 timers в 1250 seconds and put in every timer ~500 objects.
After ~9000 seconds all objects are removed maybe this time without a crash.
9000 seconds for the player to connect? You've got some mistakes there but I get what your saying... XD