[Plugin] Pawn.RakNet
#21

can you make full anticheat with that pls
Reply
#22

Well done, really awesome dude!, btw by this its possible to get the player went afk / back packets right?
Reply
#23

Quote:
Originally Posted by jlalt
View Post
Well done, really awesome dude!, btw by this its possible to get the player went afk / back packets right?
I guess it's possible, Raknet is separate from the server yet connected in its functionality, SA-MP is running on, a single thread, meaning, everything is processed in order to occurrence, which is not entirely bad,
see this for more information about syncing: https://sampforum.blast.hk/showthread.php?pid=876854#pid876854
Reply
#24

Quote:
Originally Posted by CodeStyle175
View Post
can you make full anticheat with that pls
Yeah, I would be fine.

I need s 0 b e i t detect & aimbot protection.
Reply
#25

This plugin is conflicting with multiple other plugins. Whenever I add it to the plugins line, sscanf, streamer and YSF natives stop working. I'm using the Linux version.

Quote:

----------
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!

Reply
#26

Great work, I would edit the title tho. Alot of beginners think that this is an anti cheat.
Reply
#27

Quote:
Originally Posted by kvann
View Post
This plugin is conflicting with multiple other plugins. Whenever I add it to the plugins line, sscanf, streamer and YSF natives stop working. I'm using the Linux version.
Which Linux distro do you use?
Reply
#28

Quote:
Originally Posted by YourShadow
View Post
Which Linux distro do you use?
Ubuntu 16.04.3 LTS (GNU/Linux 4.4.40-1-pve x86_64)
Reply
#29

Fixed.

Updated to 1.0.2.
Reply
#30

Great Job! I saw that you are really updating stuffs everyday.I remember when i complaint about pawn.cmd and after 2-3 days, there was a new update with incompatibility issue fixed.
Reply
#31

New example AntiVehicleSpawn.

Original "OnVehicleDeath" ignores return value.
Reply
#32

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
Reply
#33

Quote:
Originally Posted by adri1
View Post
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
https://github.com/urShadow/Pawn.Rak...zation-packets

PHP Code:
PR_weaponId 
Reply
#34

Hi, good job, I'll start to try some things because I'm not that expert
Reply
#35

Quote:
Originally Posted by Fpwn
View Post
Hi, good job, I'll start to try some things because I'm not that expert
What..
You're gonna start some things.. because you're not an expert? You're gonna do something /BECAUSE/ you're not an expert?

Makes no sense to me.. I might be stupid tho, idk.
Reply
#36

Quote:
Originally Posted by Meller
View Post
What..
You're gonna start some things.. because you're not an expert? You're gonna do something /BECAUSE/ you're not an expert?

Makes no sense to me.. I might be stupid tho, idk.
lmao, he's probably saying he'll try learning it.
Reply
#37

YourShadow: If you will boring, I would suggest you to add examples for others how you can sync different health values per-player, different position and etc.

Anyway, it doesn't slow down the server to make these very frequently called functions (eg: rpc handler) available in pawn?
Reply
#38

Quote:
Originally Posted by kurta999
View Post
Anyway, it doesn't slow down the server to make these very frequently called functions (eg: rpc handler) available in pawn?
Plugin feels free with 1000 active players online.
Reply
#39

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;
}
And about this example, AntiVehicleSpawn, what about when it called when that vehicle is in water? OnVehicleDeath should be called
https://github.com/urShadow/Pawn.Rak...tiVehicleSpawn
Reply
#40

Quote:
Originally Posted by Aliassassin123456
View Post
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;
}
And about this example, AntiVehicleSpawn, what about when it called when that vehicle is in water? OnVehicleDeath should be called
https://github.com/urShadow/Pawn.Rak...tiVehicleSpawn
i fixed car respawning when it in water with MapAndreas plugin

Code:
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;
}
AimZ cheat passes the nan parameter. NaN is not equal to itself, so it's the way to check variable for nan value.
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)