Posts: 37
Threads: 14
Joined: Jan 2013
Reputation:
0
Hy guys , i have a big problem someone enter on my server and crash the players around him.What can i do ?
Posts: 37
Threads: 14
Joined: Jan 2013
Reputation:
0
Help ? It dosen't fix the problem
Posts: 805
Threads: 14
Joined: Jul 2013
No idea why, but with my reply being deleted i'm pretty sure there's something wrong with the fs, it's probably outdated or smth.
edit: idk how but it reappeared, just ignore this post lol. must've been my internet
Posts: 37
Threads: 14
Joined: Jan 2013
Reputation:
0
I tried with your solution but it didn't fix my problem
Posts: 166
Threads: 14
Joined: Jan 2014
Quote:
Originally Posted by IstuntmanI
After studying a little bit about this big problem, I've got that hack and I've seen its behaviour:
pawn Код:
OnPlayerWeaponShot(0,0,1,0,2004318080.000000,2004318080.000000,2004318080.000000)
See those huge numbers ? Yeah... they are reported by that hack to the server. It is sent only with hittype BULLET_HIT_TYPE_PLAYER.
I've made a fix:
pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ ) { if( hittype == BULLET_HIT_TYPE_PLAYER ) // Bullet Crashing uses just this hittype { if( !( 0 <= fX <= 20.0 ) || !( 0 <= fY <= 20.0 ) || !( 0 <= fZ <= 20.0 ) ) // a valid offset, it's impossible that a offset bigger than 20 is legit (less than 0 is impossible, but still, let's check for it, just for the future) { /* If you want, here you can kick the cheater */ return 0; // let's desynchronize that bullet, so players won't crash } } return 1; }
I bet this will be patched in a future Release of 0.3z, but until then, feel free to use that fix.
|
Sends false alarms i tested it -_- in server
Posts: 166
Threads: 14
Joined: Jan 2014
Quote:
Originally Posted by (*|Flake|*)
Then send a warning message to admins before banning. Nothings perfect.
|
it wont work, that way also, as i have a server which gets 50-70 eveyday, this hack has reduced the average, coming to point if i have 10 players, then this will report all the players using this cheat who are shooting at someone.
It send a message for every bullet that comes out
SA-MP team can adress this issue correctly maybe