SA-MP Forums Archive
[REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - 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: [REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time (/showthread.php?tid=535656)



[REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - iAnonymous - 05.09.2014

Hello dear Users,
I am here to ask you to fix an anti code for me.
Actually a new crasher called " BulletCrasher" Is out and it's crashing players like hell.
Last night my server had about 109 players and then tada ! 80-90 players crashed.
I then found this code for ANTI BULLET https://sampforum.blast.hk/showthread.php?tid=535559 but the problem with this code is that the players can't shoot each other.
All the bullets get desynced. If you are very lucky then you will be able to hit 1 bullet out of 1000.
Can you please tell me how to make it that the crasher don't even work and the bullets give damages too.




P.S: I am not familiar with OnPlayerWeaponShot


Re: [REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - SPA - 05.09.2014

Same problem , Don't know the reason, but my players face a game freeze.


Re: [REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - IstuntmanI - 05.09.2014

Quote:
Originally Posted by SPA
Посмотреть сообщение
Same problem , Don't know the reason, but my players face a game freeze.
https://sampforum.blast.hk/showthread.php?tid=535559

Just implement that in your script and your server will have that exploit patched, and your players won't crash anymore because of it.


Re: [REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - BroZeus - 05.09.2014

.....


Re: [REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - Arjanz - 05.09.2014

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
See my reply in his topic it contains corrected code..
His code was wrong...
Read wiki LOL, your code is completely wrong, stuntrman has fixed it


Re: [REQUEST] Anti-Bullet Crasher Coding [ 70-80] Players crashing at a time - IstuntmanI - 06.09.2014

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
Your code desyncs bullets randomly. I've tried adding it into my script, i didn't even have the crashing mod and got a debug.
(was using swan-offs).
Just update it, I fixed it.