20.01.2018, 14:17
Nex-AC does not detect surfly.cs as fly hack
[22:49:05] *** Streamer_UpdateEx: Expecting 6 parameter(s), but found 9
I hope you fix bug and help me i need it quickly |
On Player Exit Vehicle
Код:
new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]); SetPlayerPosEx(playerid,pos[0],pos[1],pos[2]); SetCameraBehindPlayer(playerid); PutPlayerInVehicle(playerid,pCarCrash[playerid][PLR_VEHICLE],0); PHP код:
|
There's nothing to fix as your Streamer Plugin is outdated. It should be 2.9.2 for normal work.
I also checked this code and found nothing of the kind: when using SetPlayerPos and PutPlayerInVehicle in OnPlayerExitVehicle, this works without any problems for me. The player teleports to another vehicle, if it was not specified the same one in which he was, otherwise the player just exits the previous car. If this works at low speeds or sends the server false information about surfing (vehicle or object), then anticheat will not prevent it. Anyway, I don't know what this cleo is and how it works. |
C:\Users\User\Desktop\SARP\pawno\include\nex-ac.inc(6309) : error 025: function heading differs from prototype
Try to test it while falling. it always detect. i have been testing for a while and it detect...Its annoying for a player get kicked because he press F while falling
|
Код:
C:\Users\User\Desktop\SARP\pawno\include\nex-ac.inc(6309) : error 025: function heading differs from prototype |
new Cheaty[53][100] = { "Anti-AirBreak (onfoot)", "Anti-AirBreak (in vehicle)", "Anti-teleport hack (onfoot)", "Anti-teleport hack (in vehicle)", "Anti-teleport hack (into/between vehicles)", "Anti-teleport hack (vehicle to player)", "Anti-teleport hack (pickups)", "Anti-FlyHack (onfoot)", "Anti-FlyHack (in vehicle)", "Anti-SpeedHack (onfoot)", "Anti-SpeedHack (in vehicle)", "Anti-Health hack (in vehicle)", "Anti-Health hack (onfoot)", "Anti-Armour hack", "Anti-Money hack", "Anti-Weapon hack", "Anti-Ammo hack (add)", "Anti-Ammo hack (infinite)", "Anti-Special actions hack", "Anti-GodMode from bullets (onfoot)", "Anti-GodMode from bullets (in vehicle)", "Anti-Invisible hack", "Anti-lagcomp-spoof", "Anti-Tuning hack", "Anti-Parkour mod", "Anti-Quick turn", "Anti-Rapid fire", "Anti-FakeSpawn", "Anti-FakeKill", "Anti-Pro Aim", "Anti-CJ run", "Anti-CarShot", "Anti-CarJack", "Anti-UnFreeze", "Anti-AFK Ghost", "Anti-Full Aiming", "Anti-Fake NPC", "Anti-Reconnect", "Anti-High ping", "Anti-Dialog hack", "Protection from the sandbox", "Protection against an invalid version", "Anti-Rcon hack", "Anti-Tuning crasher", "Anti-Invalid seat crasher", "Anti-Dialog crasher", "Anti-Attached object crasher", "Anti-Weapon Crasher", "Flood protection connects to one slot", "Anti-flood callback functions", "Anti-flood change seat", "Anti-Ddos", "Anti-NOP" }; OnCheatDetected(playerid, ip_address[], type, code) { if(SampDane[playerid][Zalogowany] == false) return 1; SCMToAdmins(3, ""FIOLET"[AC] "WHITE"Gracz "ZIELONY"%s"WHITE"[%d] podejrzany o "YELLOW"cheatowanie"WHITE" | SCORE: "ZIELONY"%d | %s", PlayerName(playerid), playerid, GetPlayerScore(playerid), Cheaty[code]); return 1; } |
Not working, crashdetect return warning with Cheaty[code] (array)
|
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 |
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; } |
[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 |
Distance: 31.307550, old pos diff: 3.732083, pos z: 5.036978, vehicleid: 709, playerid: 2
there is bug with code 005. When i drive on nrg and i press enter to exit, there appears code 005
Code:
Distance: 31.307550, old pos diff: 3.732083, pos z: 5.036978, vehicleid: 709, playerid: 2 |