Crash SA-MP 0.3.7 -
MaykonStriker - 22.05.2015
SA-MP 0.3.7
Exception At Address: 0x005E623E
Base: 0x033D0000
Registers:
EAX: 0x00B7D24C EBX: 0x15541538 ECX: 0x08E7E49C EDX: 0x005E6280
ESI: 0x08E7E49C EDI: 0x0022FBEC EBP: 0x0022FBA0 ESP: 0x0022FB80
EFLAGS: 0x00010202
Stack:
+0000: 0x08E7E49C 0x00000068 0x005E629D 0x00C300C2
+0010: 0x0C36E638 0x034769BC 0x00000068 0x0022FC00
+0020: 0x111E0650 0x033E2DA6 0x00000068 0x08E7E49C
+0030: 0x0C363718 0x0C1FAFD0 0x00000009 0x756280E0
+0040: 0x00000000 0x00000000 0x00000000 0x00000000
+0050: 0x00000000 0x00000000 0x00000000 0x00000000
+0060: 0x00000000 0x09D5C400 0x00000000 0x033D971B
+0070: 0x0022FC00 0x0C1FAFD0 0xCEEA0020 0x00000003
+0080: 0x00000000 0x00000000 0x00000000 0x00000000
+0090: 0x00000000 0x00000000 0x00000000 0x00000000
+00A0: 0x00000000 0x6809D5C4 0x00000158 0x00000158
+00B0: 0x00000158 0x0C26DF58 0x00000000 0x00000000
+00C0: 0x00000000 0x00000000 0x00000000 0x00000000
+00D0: 0x00000000 0x05881000 0x00000000 0x00000000
+00E0: 0x0F40A880 0x00000000 0x0A6F5780 0x0F40A880
+00F0: 0x0183B6C0 0x01D97000 0x0022FCA8 0x12CE8C20
+0100: 0x00000002 0x00000001 0x0022FCA8 0x6CD8E903
+0110: 0x00000000 0x00000010 0x00000002 0x00000010
+0120: 0x00000010 0x046EA0E0 0x00000000 0x0022FCD4
+0130: 0x6CD8E876 0x0A6AB000 0x0022FCC8 0x6CD85418
+0140: 0x00000005 0x00000000 0x00000000 0x00000010
+0150: 0x00000002 0x0022FD0C 0x046EA310 0x00000001
+0160: 0x0022FD00 0x6CD9017F 0x0000001C 0x00000001
+0170: 0x00000001 0x00000001 0x046EA0E0 0x0000001C
+0180: 0x0022FD24 0x76B3C4D2 0x00000202 0xAB661BAF
+0190: 0x2A70707F 0x2A70707F 0x00000000 0x0000C868
+01A0: 0x0C1FAFD0 0x756280E0 0x0022FD3C 0x00000000
+01B0: 0x0000454E 0x0C1FAFD0 0x00002697 0x0022FF78
+01C0: 0x0349EC4B 0x00000000 0x033DADE9 0x0C363718
+01D0: 0x00000000 0x00002697 0x0C1FAFD0 0x036066AB
+01E0: 0x0000001A 0x00000001 0x036AF2DD 0x034839E9
+01F0: 0x0000001A 0x00000001 0x756280E0 0x0022FD90
+0200: 0x00000000 0x01AC4128 0x00B6F028 0x00000000
+0210: 0x0000001A 0x00000001 0x00000000 0x0053EB17
+0220: 0x44480000 0x43E10000 0x0053ECC2 0x00000001
+0230: 0x00619B71 0x0000001A 0x00000001 0x00000001
+0240: 0x0000000A 0x00748DA0 0x0000001A 0x00000001
+0250: 0x76B3D9A3 0x00000000 0x0022FF88 0x7FFD6000
+0260: 0x01AC0000 0x4E786297 0x01AC2258 0x00000008
+0270: 0x00000100 0x00000008 0x00000102 0x44480000
SCM Op: 0x470, lDbg: 0 LastRendObj: 1215
Game Version: US 1.0
State Information: Ped Context: 3
P0 (33,0) P3 (19,25
Depois dessa atualizaзгo SA-MP, muitos players do meu servidor estб sofrendo este tipo de crash, e nгo й ataque
Qual o problema disso?
Re: Crash SA-MP 0.3.7 -
Locky_ - 22.05.2015
Pode ser ataque com o Aim-Crash.
Re: Crash SA-MP 0.3.7 -
JonathanFeitosa - 22.05.2015
Observe:
Код:
Fixed in SA-MP 0.3.7: If fake weapon data is sent by a malicious user,
other player clients may freeze or crash. To combat this, check if the reported weaponid can actually fire bullets.
Servidores Brasileiros ainda nгo procuraram arrumar sua Callback(OnPlayerWeaponShot). A maioria sofre ataques constantes de crash's. Nenhum servidor Grande do Brasil, nenhum mesmo estб protegido, neste momento.
Respuesta: Crash SA-MP 0.3.7 -
[BWL]Chamaleon - 22.05.2015
pawn Код:
if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7
if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) {
format(string, sizeof(string), "[INFO] O Jogador %s (ID:%d) Pode ser um hacker ou sofrendo ataque de um hacker, (problemas com tiros que pode dar crash) kick ou /desbugar",pname,playerid);
ABroadCast(0xFFFF00AA,string,1);
return 0;
}
}else {
if (weaponid <= 0 || weaponid > 46)
{
format(string, sizeof(string), "{FF0000}[TBG]Security kickou o jogador %s | Motivo: dano com arma maior que 46 e menor que 0 (inexistente)",pname,playerid);
SendClientMessageToAll(Azul,string);
Kick(playerid);
return 0;
} // Isto porque tб enviando com arma invбlida, (0 й o punho) e nгo existe armas maiores que id 46.
}
Use de base isso dentro da public OnPlayerWeaponShot
Atenciosamente,
Re: Crash SA-MP 0.3.7 -
MaykonStriker - 22.05.2015
Eu tenho esse aqui, mas nem adiantou
PHP код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
if( hittype != BULLET_HIT_TYPE_NONE )
{
if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
{
new fdpcrasher[MAX_PLAYER_NAME];GetPlayerName(playerid, fdpcrasher, MAX_PLAYER_NAME);
new crasher[300];
format(crasher, sizeof(crasher), "{00FF00}%s {EE0000}foi kikado automaticamente. {00FF00}Motivo: {EE0000}Tentou crashar Players.", fdpcrasher);
printf("[ LVG ]: Crasher de Players detectado: %d [ID:%s]",fdpcrasher,playerid);
SendClientMessageToAll(0xC1C1C1FF, crasher);
Kick(playerid, "Tentou crashar os players");
return 0;
}
}
return 1;
}
Quote:
Originally Posted by [BWL]Chamaleon
pawn Код:
if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7 if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) { format(string, sizeof(string), "[INFO] O Jogador %s (ID:%d) Pode ser um hacker ou sofrendo ataque de um hacker, (problemas com tiros que pode dar crash) kick ou /desbugar",pname,playerid); ABroadCast(0xFFFF00AA,string,1); return 0; } }else { if (weaponid <= 0 || weaponid > 46) { format(string, sizeof(string), "{FF0000}[TBG]Security kickou o jogador %s | Motivo: dano com arma maior que 46 e menor que 0 (inexistente)",pname,playerid); SendClientMessageToAll(Azul,string); Kick(playerid); return 0; } // Isto porque tб enviando com arma invбlida, (0 й o punho) e nгo existe armas maiores que id 46. }
Use de base isso dentro da public OnPlayerWeaponShot
Atenciosamente,
|
O seu ai ta dando erro ao compilar, pode me aprimorar isso ?
Respuesta: Crash SA-MP 0.3.7 -
[BWL]Chamaleon - 22.05.2015
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7
if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) {
Kick(playerid);
return 0;
}
}
else {
if (weaponid <= 0 || weaponid > 46) { Kick(playerid); return 0; }
}
return 1
}
Re: Respuesta: Crash SA-MP 0.3.7 -
RDM - 30.05.2015
Quote:
Originally Posted by [BWL]Chamaleon
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7 if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) { Kick(playerid); return 0; } } else { if (weaponid <= 0 || weaponid > 46) { Kick(playerid); return 0; } } return 1 }
|
Isto nгo funciona'-' atй agr nгo achei nenhum codigo quer realmente funcione
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
no server logs oque mostra .. qnd ocorre os crashers ...
tanto com bullet crasher quanto com aimcrasher '-'
sabe de algum q funcione
?
Re: Crash SA-MP 0.3.7 -
AzulimZW - 30.05.2015
Pode ser que seja alguma modificaзгo CLEO ou arquivos no diretуrio do GTA San Andreas.
Eu tinha a Livraria CLEO e algumas modificaзхes no meu GTA, tive que retirar tudo para atualizar na versгo 0.3.7 do SA:MP, pois estava crashando ao carregar
Re: Crash SA-MP 0.3.7 -
JonathanFeitosa - 30.05.2015
http://forum.sa-mp.com/showpost.php?...56&postcount=3
Re: Crash SA-MP 0.3.7 -
RDM - 30.05.2015
Quote:
Originally Posted by JonathanFeitosa
|
Isso nгo funciona jonathan '-' tinha q haver uma forma de kickar o player jб q o server identifica indo para o server.log ...
Mensagem :
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
[12:31:42] [warning] Invalid shot data for player(0). Offset out of bounds.
>>> Estou com o HAcker aqui quem quiser para me ajudar a fazer debug vem de MP >>>>