31.01.2018, 17:25
Quote:
What exactly does the crashdetect send?
New Version v1.9.33
Changes:* Increased the number of warnings for high ping before kick * Increased the minimum teleport distance for detect from 5 to 8 meters * Added a check in OnPlayerWeaponShot on the validity of the hitid Fixes: * Fixed a bypass in anti-teleport hack into vehicle passenger seat * Some fixes for anti-flood Special thanks to user f0Re3t and everyone who participated in the development of the project! Download: GitHub |
Quote:
GetHackName(typ) { new nazwa[100]; if(typ == 0){nazwa = "0 Anti-AirBreak (onfoot)";} if(typ == 1){nazwa = "1 Anti-AirBreak (in vehicle)";} if(typ == 2){nazwa = "2 Anti-teleport hack (onfoot)";} if(typ == 3){nazwa = "3 Anti-teleport hack (in vehicle)";} if(typ == 4){nazwa = "4 Anti-teleport hack (into/between vehicles)";} if(typ == 5){nazwa = "5 Anti-teleport hack (vehicle to player)";} if(typ == 6){nazwa = "6 Anti-teleport hack (pickups)";} if(typ == 7){nazwa = "7 Anti-FlyHack (onfoot)";} if(typ == {nazwa = "8 Anti-FlyHack (in vehicle)";} if(typ == 9){nazwa = "9 Anti-SpeedHack (onfoot)";} if(typ == 10){nazwa = "10 Anti-SpeedHack (in vehicle)";} if(typ == 11){nazwa = "11 Anti-Health hack (in vehicle)";} if(typ == 12){nazwa = "12 Anti-Health hack (onfoot)";} if(typ == 13){nazwa = "13 Anti-Armour hack";} if(typ == 14){nazwa = "14 Anti-Money hack";} if(typ == 15){nazwa = "15 Anti-Weapon hack";} if(typ == 16){nazwa = "16 Anti-Ammo hack (add)";} if(typ == 17){nazwa = "17 Anti-Ammo hack (infinite)";} if(typ == 1{nazwa = "18 Anti-Special actions hack";} if(typ == 19){nazwa = "19 Anti-GodMode from bullets (onfoot)";} if(typ == 20){nazwa = "20 Anti-GodMode from bullets (in vehicle)";} if(typ == 21){nazwa = "21 Anti-Invisible hack";} if(typ == 22){nazwa = "22 Anti-lagcomp-spoof";} if(typ == 23){nazwa = "23 Anti-Tuning hack";} if(typ == 24){nazwa = "24 Anti-Parkour mod";} if(typ == 25){nazwa = "25 Anti-Quick turn";} if(typ == 26){nazwa = "26 Anti-Rapid fire";} if(typ == 27){nazwa = "27 Anti-FakeSpawn";} if(typ == 2{nazwa = "28 Anti-FakeKill";} if(typ == 29){nazwa = "29 Anti-Pro Aim";} if(typ == 30){nazwa = "30 Anti-CJ run";} if(typ == 31){nazwa = "31 Anti-CarShot";} if(typ == 32){nazwa = "32 Anti-CarJack";} if(typ == 33){nazwa = "33 Anti-UnFreeze";} if(typ == 34){nazwa = "34 Anti-AFK Ghost";} if(typ == 35){nazwa = "35 Anti-Full Aiming";} if(typ == 36){nazwa = "36 Anti-Fake NPC";} if(typ == 37){nazwa = "37 Anti-Reconnect";} if(typ == 3{nazwa = "38 Anti-High ping";} if(typ == 39){nazwa = "39 Anti-Dialog hack";} if(typ == 40){nazwa = "40 Protection from the sandbox";} if(typ == 41){nazwa = "41 Protection against an invalid version";} if(typ == 42){nazwa = "42 Anti-Rcon hack";} if(typ == 43){nazwa = "43 Anti-Tuning crasher";} if(typ == 44){nazwa = "44 Anti-Invalid seat crasher";} if(typ == 45){nazwa = "45 Anti-Dialog crasher";} if(typ == 46){nazwa = "46 Anti-Attached object crasher";} if(typ == 47){nazwa = "47 Anti-Weapon Crasher";} if(typ == 4{nazwa = "48 Flood protection connects to one slot";} if(typ == 49){nazwa = "49 Anti-flood callback functions";} if(typ == 50){nazwa = "50 Anti-flood change seat";} if(typ == 51){nazwa = "51 Anti-Ddos";} if(typ == 52){nazwa = "52 Anti-NOP";} return nazwa; } OnCheatDetected(playerid, ip_address[], type, code) { if(SampDane[playerid][Zalogowany] == false) return 1; new string[300]; format(string, 300, ""FIOLET"[AC] "WHITE"Gracz "ZIELONY"%s"WHITE"[%d] podejrzany o "YELLOW"cheatowanie"WHITE" | SCORE: "ZIELONY"%d "WHITE"| Cheat: "YELLOW"%s", PlayerName(playerid), playerid, GetPlayerScore(playerid), GetHackName(code)); for(new i; i < MAX_PLAYERS; i++) { if(SampDane[i][Zalogowany] == true) { if(SampDane[i][AdminLvl] >= 3) { SendClientMessage(i, -1, string); } } } return 1; } |
Quote:
[19:21:09] [debug] #99 0049bf30 in GetHackName (playerid=0, code=16389832) at ptg.pwn:78764 [19:21:09] [debug] #100 0049bf30 in public OnPlayerUpdate (playerid=0) at ptg.pwn:78764 |