[Tutorial] [0.3z] Fix for Bullet Crasher
#41

Quote:
Originally Posted by VenomMancer
View Post
This already fixed in 0.3.7?
Yes, but there is another exploit, which allows the player to send fake calls with weapons that can't fire, and also when the player is outside of world bounds:
Quote:
Originally Posted by dugi
View Post
Check for invalid weapon IDs in OnPlayerWeaponShot and players z coordinate outside of world bounds: http://pastebin.com/BPmF9CZ3
Reply
#42

I always crash due to this stupid hack/bug in the server I'm in. I hope they will update and fix this also this hack/bug usually happens when you're using a sawn off + tec9
Reply
#43

Quote:
Originally Posted by IstuntmanI
View Post
Yes, but there is another exploit, which allows the player to send fake calls with weapons that can't fire, and also when the player is outside of world bounds:
is this working? gonna place it in my script
Let's see if we are still crashing
Reply
#44

Quote:
Originally Posted by IstuntmanI
View Post
Yes, but there is another exploit, which allows the player to send fake calls with weapons that can't fire, and also when the player is outside of world bounds:
There's a new VERSION of bulletcrasher for 037 on hacking forums for sa-mp.
This anti-bullet-crasher doesen't working anymore for the new bulletcrasher. PM me for more.
Reply
#45

Quote:
Originally Posted by buburuzu19
View Post
There's a new VERSION of bulletcrasher for 037 on hacking forums for sa-mp.
This anti-bullet-crasher doesen't working anymore for the new bulletcrasher. PM me for more.
http://pastebin.com/BPmF9CZ3

This works.
Reply
#46

Quote:
Originally Posted by dugi
View Post
What hittype to use ?
Reply
#47

Good idea, and it works well, I haven't tried it yet but source codes seen logical to me.
Reply
#48

Quote:
Originally Posted by dugi
View Post
I use currently this code:
Code:
if(hittype != BULLET_HIT_TYPE_NONE) {
    if(!(-1000.0 <= fX <= 1000.0) || !(-1000.0 <= fY <= 1000.0) || !(-1000.0 <= fZ <= 1000.0)) return 0;
}
in OnPlayerWeaponShot. Can I delete this and replace it with dugis code?
Or are both codes usless after 0.3.7 R2?
Reply
#49

This will also work; http://pastebin.com/WUVrRALf
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)