Re: [0.3z] Fix for Bullet Crasher -
IstuntmanI - 06.09.2014
Quote:
Originally Posted by Calgon
Isn't there also a way to crash players with some sort of knife bullet data? Or is this what it fixes?
|
I don't know if it crashes, I fixed only for the hack released on some forums, its only behaviour is to send huge offsets.
Re: [0.3z] Fix for Bullet Crasher -
dugi - 06.09.2014
Could you guys post the info from the SA-MP crash report box that's caused by the crasher? thanks in advance.
Re: [0.3z] Fix for Bullet Crasher -
IstuntmanI - 06.09.2014
I tested with some friends, and they all said that it is only freezing their game, no report box.
Re: [0.3z] Fix for Bullet Crasher -
Venice - 07.09.2014
I spawned and then started to shoot someone falling in parachute i got kicked for bullet crash
Re: [0.3z] Fix for Bullet Crasher -
Vince - 07.09.2014
Quote:
Originally Posted by dugi
Could you guys post the info from the SA-MP crash report box that's caused by the crasher? thanks in advance.
|
There is none. The game just locks up completely. You have to alt-tab out of it and kill the GTA SA process through the task manager.
Re: [0.3z] Fix for Bullet Crasher -
PawnOX - 15.09.2014
Quote:
Originally Posted by iAnonymous
This actually do kick the crasher [ player ] but as an result of implementing this thing in our gamemode, make the bullets go useless.
The players can't give damages to each other.
|
seriously? :O
Re: [0.3z] Fix for Bullet Crasher -
martintasin - 11.01.2015
Please Help.. ?
Code:
warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
Re: [0.3z] Fix for Bullet Crasher -
IstuntmanI - 11.01.2015
Quote:
Originally Posted by SlowARG
Mmm, no.
Because i used "null" params :P (it's between -20000.0 and 20000.0).
Bests!
|
I don't think it should crash with null, anyway, try this:
pawn Code:
if( fX != fX || fY != fY || fZ != fZ )
return 1;
this works for NaN, not sure if it would work in this case.
Quote:
Originally Posted by martintasin
Please Help.. ?
Code:
warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER"
|
Update your SA-MP includes.
Re: [0.3z] Fix for Bullet Crasher -
martintasin - 11.01.2015
Quote:
Originally Posted by IstuntmanI
I don't think it should crash with null, anyway, try this:
pawn Code:
if( fX != fX || fY != fY || fZ != fZ ) return 1;
this works for NaN, not sure if it would work in this case.
Update your SA-MP includes.
|
Who exactly include..?
Re: [0.3z] Fix for Bullet Crasher -
Yera96 - 15.01.2015
There is a new one around here. And your code doesn't work against it.
The cheater should hit you and you (probably streamed players too) will get frozen.
[0.3z] Fix for Weapon Crasher -
kaZax - 17.01.2015
This fix is patching a hack which appeared few days ago. This hack crashes players when you are near them.
I got this hack, and used it on a test server using a debug for GetPlayerCameraPos, this is what it returned:
PHP Code:
[12:00:29] -309.053192 1523.427368 -173527616.000000
See those huge numbers ? Yeah... they are reported by that hack to the server.
This is the fix:
PHP Code:
public OnPlayerUpdate(playerid)
{
if(GetPlayerCameraMode(playerid) == 53)
{
new Float:kLibPos[3];
GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]);
if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 )
{
BanEx(playerid, "WeaponCrasher");
return 0;
}
}
return 1;
}
Credits:
IstuntmanI - for text.
Re: [0.3z] Fix for Bullet Crasher -
TheRaGeLord - 26.01.2015
Thanks for the patch..
Re: [0.3z] Fix for Bullet Crasher -
ProBrad - 03.02.2015
Nice
Re: [0.3z] Fix for Weapon Crasher -
ProBrad - 03.02.2015
Quote:
Originally Posted by kaZax
This fix is patching a hack which appeared few days ago. This hack crashes players when you are near them.
I got this hack, and used it on a test server using a debug for GetPlayerCameraPos, this is what it returned:
PHP Code:
[12:00:29] -309.053192 1523.427368 -173527616.000000
See those huge numbers ? Yeah... they are reported by that hack to the server.
This is the fix:
PHP Code:
public OnPlayerUpdate(playerid)
{
if(GetPlayerCameraMode(playerid) == 53)
{
new Float:kLibPos[3];
GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]);
if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 )
{
BanEx(playerid, "WeaponCrasher");
return 0;
}
}
return 1;
}
Credits:
IstuntmanI - for text.
|
Thanks Bro' !!
Re: [0.3z] Fix for Bullet Crasher -
Akcent_Voltaj - 18.02.2015
I get message twice...
Re: [0.3z] Fix for Weapon Crasher -
HydraHumza - 28.02.2015
Quote:
Originally Posted by kaZax
This fix is patching a hack which appeared few days ago. This hack crashes players when you are near them.
I got this hack, and used it on a test server using a debug for GetPlayerCameraPos, this is what it returned:
PHP Code:
[12:00:29] -309.053192 1523.427368 -173527616.000000
See those huge numbers ? Yeah... they are reported by that hack to the server.
This is the fix:
PHP Code:
public OnPlayerUpdate(playerid)
{
if(GetPlayerCameraMode(playerid) == 53)
{
new Float:kLibPos[3];
GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]);
if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 )
{
BanEx(playerid, "WeaponCrasher");
return 0;
}
}
return 1;
}
Credits:
IstuntmanI - for text.
|
It that working?
Re: [0.3z] Fix for Weapon Crasher -
wampiros6 - 24.03.2015
Quote:
Originally Posted by Humza
It that working?
|
yes , this work
Re: [0.3z] Fix for Bullet Crasher -
Luca12 - 24.03.2015
http://www.filmovizija.com/1x11/xena...9d816a098.html
Re: [0.3z] Fix for Bullet Crasher -
FernandoLight - 22.04.2015
Really helpful, thanks!
Re: [0.3z] Fix for Bullet Crasher -
VenomMancer - 21.06.2015
This already fixed in 0.3.7?