09.09.2017, 19:59
can you make full anticheat with that pls
Well done, really awesome dude!, btw by this its possible to get the player went afk / back packets right?
|
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [10.09.2017 21:16:38] [10.09.2017 21:16:38] Server Plugins [10.09.2017 21:16:38] -------------- [10.09.2017 21:16:38] Loading plugin: crashdetect.so [10.09.2017 21:16:38] CrashDetect v4.18.1 is OK. [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: bcrypt-samp.so [10.09.2017 21:16:38] plugin.bcrypt v2.2.3 was loaded. [10.09.2017 21:16:38] plugin.bcrypt: 8 cores detected, 7 threads will be used. [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: ColAndreas_static.so [10.09.2017 21:16:38] ********************* [10.09.2017 21:16:38] ** Created By: ** [10.09.2017 21:16:38] ** [uL]Chris42O ** [10.09.2017 21:16:38] ** [uL]Slice ** [10.09.2017 21:16:38] ** [uL]Pottus ** [10.09.2017 21:16:38] ********************* [10.09.2017 21:16:38] No collision data found. [10.09.2017 21:16:38] ********************* [10.09.2017 21:16:38] ColAndreas Loaded [10.09.2017 21:16:38] v1.4.0 [10.09.2017 21:16:38] ********************* [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: CVector.so [10.09.2017 21:16:38] ------------------------------------------------------- [10.09.2017 21:16:38] - - [10.09.2017 21:16:38] - Vectoral Pawn v1.0 Loaded - [10.09.2017 21:16:38] - by Skyline. - [10.09.2017 21:16:38] - - [10.09.2017 21:16:38] ------------------------------------------------------- [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: FCNPC.so [10.09.2017 21:16:38] [10.09.2017 21:16:38] ------------------------------------------------- [10.09.2017 21:16:38] FCNPC - Fully Controllable NPC v1.7.5 [10.09.2017 21:16:38] GNU/Linux SA-MP 0.3.7 R2 [10.09.2017 21:16:38] Sep 6 2017 at 20:33:54 [10.09.2017 21:16:38] [10.09.2017 21:16:38] Author: OrMisicL (2013 - 2015) [10.09.2017 21:16:38] Continued by: ziggi (2016 - present) [10.09.2017 21:16:38] Contributors: kurta999, Neutralneu [10.09.2017 21:16:38] ------------------------------------------------- [10.09.2017 21:16:38] [10.09.2017 21:16:38] Loading... [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: mysql.so [10.09.2017 21:16:38] >> plugin.mysql: R41-3 successfully loaded. [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: pawnraknet.so [10.09.2017 21:16:38] Pawn.RakNet plugin v1.0.1 by urShadow loaded [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: sscanf.so [10.09.2017 21:16:38] [10.09.2017 21:16:38] =============================== [10.09.2017 21:16:38] sscanf plugin loaded. [10.09.2017 21:16:38] Version: 2.8.2 [10.09.2017 21:16:38] © 2012 Alex "******" Cole [10.09.2017 21:16:38] =============================== [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: streamer.so [10.09.2017 21:16:38] *** Streamer Plugin v2.8.2 by Incognito loaded *** [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loading plugin: YSF.so [10.09.2017 21:16:38] [10.09.2017 21:16:38] =============================== [10.09.2017 21:16:38] YSF - kurta999's version R19-2 loaded [10.09.2017 21:16:38] © 2008 Alex "******" Cole - © 2010 - 2016 kurta999 [10.09.2017 21:16:38] Server version: 0.3.7 R2-1 [10.09.2017 21:16:38] Operating System: Linux [10.09.2017 21:16:38] Built on: Sep 10 2017 at 12:06:20 [10.09.2017 21:16:38] =============================== [10.09.2017 21:16:38] Loaded. [10.09.2017 21:16:38] Loaded 10 plugins. [10.09.2017 21:16:38] [10.09.2017 21:16:38] Filterscripts [10.09.2017 21:16:38] --------------- [10.09.2017 21:16:38] Loading filterscript 'fix.amx'... [10.09.2017 21:16:38] RCON fix laetud. [10.09.2017 21:16:38] Loaded 1 filterscripts. [10.09.2017 21:16:38] [debug] Run time error 19: "File or function is not found" [10.09.2017 21:16:38] [debug] SSCANF_Init [10.09.2017 21:16:38] [debug] SSCANF_IsConnected [10.09.2017 21:16:38] [debug] SSCANF_Join [10.09.2017 21:16:38] [debug] SSCANF_Leave [10.09.2017 21:16:38] [debug] CreateDynamicObject [10.09.2017 21:16:38] [debug] DestroyDynamicObject [10.09.2017 21:16:38] [debug] Streamer_Update [10.09.2017 21:16:38] [debug] SetDynamicObjectMaterial [10.09.2017 21:16:38] [debug] DestroyDynamic3DTextLabel [10.09.2017 21:16:38] [debug] EditDynamicObject [10.09.2017 21:16:38] [debug] SetPlayerChatBubbleForPlayer [10.09.2017 21:16:38] [debug] GetWeaponSlot [10.09.2017 21:16:38] [debug] GetDynamicObjectPos [10.09.2017 21:16:38] [debug] CreateDynamic3DTextLabel [10.09.2017 21:16:38] [debug] CreateDynamicPickup [10.09.2017 21:16:38] [debug] SetDynamicObjectMaterialText [10.09.2017 21:16:38] [debug] CountDynamicObjects [10.09.2017 21:16:38] [debug] AttachDynamicObjectToVehicle [10.09.2017 21:16:38] [debug] PlayerTextDrawSetPos [10.09.2017 21:16:38] [debug] SetDynamicObjectPos [10.09.2017 21:16:38] [debug] SetDynamicObjectRot [10.09.2017 21:16:38] [debug] DestroyDynamicArea [10.09.2017 21:16:38] [debug] MoveDynamicObject [10.09.2017 21:16:38] [debug] Streamer_GetIntData [10.09.2017 21:16:38] [debug] IsPlayerPaused [10.09.2017 21:16:38] [debug] IsPlayerControllable [10.09.2017 21:16:38] [debug] IsDynamicObjectMoving [10.09.2017 21:16:38] [debug] DestroyDynamicPickup [10.09.2017 21:16:38] [debug] IsPlayerSpawned [10.09.2017 21:16:38] [debug] Streamer_SetIntData [10.09.2017 21:16:38] [debug] IsPlayerInDynamicArea [10.09.2017 21:16:38] [debug] StopDynamicObject [10.09.2017 21:16:38] [debug] IsValidDynamicObject [10.09.2017 21:16:38] [debug] sscanf [10.09.2017 21:16:38] [debug] CreateDynamicSphere [10.09.2017 21:16:38] [debug] Streamer_GetUpperBound [10.09.2017 21:16:38] [debug] IsPlayerTextDrawVisible [10.09.2017 21:16:38] [debug] PlayerTextDrawGetString [10.09.2017 21:16:38] [debug] GetDynamicObjectRot [10.09.2017 21:16:38] [debug] IsValidDynamicPickup [10.09.2017 21:16:38] [debug] CreateDynamicCylinder [10.09.2017 21:16:38] [debug] CreateDynamicRectangle [10.09.2017 21:16:38] [debug] UpdateDynamic3DTextLabelText [10.09.2017 21:16:38] [debug] Run time error 19: "File or function is not found" [10.09.2017 21:16:38] [debug] SSCANF_Init [10.09.2017 21:16:38] [debug] SSCANF_IsConnected [10.09.2017 21:16:38] [debug] SSCANF_Join [10.09.2017 21:16:38] [debug] SSCANF_Leave [10.09.2017 21:16:38] [debug] CreateDynamicObject [10.09.2017 21:16:38] [debug] DestroyDynamicObject [10.09.2017 21:16:38] [debug] Streamer_Update [10.09.2017 21:16:38] [debug] SetDynamicObjectMaterial [10.09.2017 21:16:38] [debug] DestroyDynamic3DTextLabel [10.09.2017 21:16:38] [debug] EditDynamicObject [10.09.2017 21:16:38] [debug] SetPlayerChatBubbleForPlayer [10.09.2017 21:16:38] [debug] GetWeaponSlot [10.09.2017 21:16:38] [debug] GetDynamicObjectPos [10.09.2017 21:16:38] [debug] CreateDynamic3DTextLabel [10.09.2017 21:16:38] [debug] CreateDynamicPickup [10.09.2017 21:16:38] [debug] SetDynamicObjectMaterialText [10.09.2017 21:16:38] [debug] CountDynamicObjects [10.09.2017 21:16:38] [debug] AttachDynamicObjectToVehicle [10.09.2017 21:16:38] [debug] PlayerTextDrawSetPos [10.09.2017 21:16:38] [debug] SetDynamicObjectPos [10.09.2017 21:16:38] [debug] SetDynamicObjectRot [10.09.2017 21:16:38] [debug] DestroyDynamicArea [10.09.2017 21:16:38] [debug] MoveDynamicObject [10.09.2017 21:16:38] [debug] Streamer_GetIntData [10.09.2017 21:16:38] [debug] IsPlayerPaused [10.09.2017 21:16:38] [debug] IsPlayerControllable [10.09.2017 21:16:38] [debug] IsDynamicObjectMoving [10.09.2017 21:16:38] [debug] DestroyDynamicPickup [10.09.2017 21:16:38] [debug] IsPlayerSpawned [10.09.2017 21:16:38] [debug] Streamer_SetIntData [10.09.2017 21:16:38] [debug] IsPlayerInDynamicArea [10.09.2017 21:16:38] [debug] StopDynamicObject [10.09.2017 21:16:38] [debug] IsValidDynamicObject [10.09.2017 21:16:38] [debug] sscanf [10.09.2017 21:16:38] [debug] CreateDynamicSphere [10.09.2017 21:16:38] [debug] Streamer_GetUpperBound [10.09.2017 21:16:38] [debug] IsPlayerTextDrawVisible [10.09.2017 21:16:38] [debug] PlayerTextDrawGetString [10.09.2017 21:16:38] [debug] GetDynamicObjectRot [10.09.2017 21:16:38] [debug] IsValidDynamicPickup [10.09.2017 21:16:38] [debug] CreateDynamicCylinder [10.09.2017 21:16:38] [debug] CreateDynamicRectangle [10.09.2017 21:16:38] [debug] UpdateDynamic3DTextLabelText [10.09.2017 21:16:38] ------------------------- [10.09.2017 21:16:38] Imperial Los Santos [tehke /es ferru sa oled loll] [10.09.2017 21:16:38] Versioon: Lil GM$Y v0.1 [10.09.2017 21:16:38] Asukoht: Los Santos [10.09.2017 21:16:38] Keel: Eesti keel [10.09.2017 21:16:38] ------------------------- [10.09.2017 21:16:38] [SQLite]: Ьhendus хnnestus! |
This looks interesting
Some for detect player weapon? There is a cheat that returns 0 for GetPlayerWeapons and player can use weapon hacks and not detected |
PR_weaponId
const AIM_SYNC = 203; IPacket:AIM_SYNC(playerid, BitStream:bs) { new aimData[PR_AimSync]; BS_IgnoreBits(bs, 8); BS_ReadAimSync(bs, aimData); if (aimData[PR_aimZ] != aimData[PR_aimZ]) // is NaN <- { aimData[PR_aimZ] = 0.0; BS_SetWriteOffset(bs, 8); BS_WriteAimSync(bs, aimData); } return 1; }
Am I missing something in Pawn or this condition is useless?
Code:
const AIM_SYNC = 203; IPacket:AIM_SYNC(playerid, BitStream:bs) { new aimData[PR_AimSync]; BS_IgnoreBits(bs, 8); BS_ReadAimSync(bs, aimData); if (aimData[PR_aimZ] != aimData[PR_aimZ]) // is NaN <- { aimData[PR_aimZ] = 0.0; BS_SetWriteOffset(bs, 8); BS_WriteAimSync(bs, aimData); } return 1; } https://github.com/urShadow/Pawn.Rak...tiVehicleSpawn |
public OnVehicleRequestDeath(vehicleid, killerid) { new Float:X, Float:Y, Float:Z, Float:health; GetVehiclePos(vehicleid,X,Y,Z); MapAndreas_FindZ_For2DCoord(X,Y,Z); GetVehicleHealth(vehicleid, health); if(health > 300.0 && Z != 0.0) // If car above the water MapAndreas return a height 0.0 { return 0; } return 1; }