SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Plugin Development (https://forum.sa-mp.com/forumdisplay.php?f=18)
-   -   [Plugin] Pawn.RakNet (https://forum.sa-mp.com/showthread.php?t=640306)

YourShadow 31/08/2017 06:02 PM

Pawn.RakNet
 
Pawn.RakNet 1.3.0


Description:
Plugin that allows you to work with RakNet in Pawn.

This plugin is compatible with any version of SA:MP (newer than 0.3z). There is also 0.3e adaptation.

Main features:
  • Intercept and modify incoming/outcoming packets
  • Send packets to player
  • Emulate packets from player

Simple example:
PHP Code:

const AIM_SYNC 203// 0.3.7

IPacket:AIM_SYNC(playeridBitStream:bs// incoming packet
{
    new 
aimData[PR_AimSync];
    
    
BS_IgnoreBits(bs8); // packet id (byte)
    
BS_ReadAimSync(bsaimData);

    if (
aimData[PR_aimZ] != aimData[PR_aimZ]) // is NaN
    
{
        
aimData[PR_aimZ] = 0.0;

        
BS_SetWriteOffset(bs8);
        
BS_WriteAimSync(bsaimData); // rewrite data
    
}

    return 
1// continue processing


Tutorials by Jelly23:
[Tutorial] RPC
[Tutorial] Packets
[Tutorial] Handlers
[Tutorial] If you plan on making an include with Pawn.RakNet

Tutorials by BrunoBM23:
[Tutorial] Write & Read offsets

Documentation:
https://github.com/urShadow/Pawn.RakNet/wiki

Binaries:
https://github.com/urShadow/Pawn.RakNet/releases

Source code:
https://github.com/urShadow/Pawn.RakNet

povargek 31/08/2017 06:11 PM

Re: Pawn.RakNet - write the best anticheat
 
I'm use this plugin, he created with his help a lot of good anti-cheats.

With proper use you can forget about dangerous cheaters, I guarantee it!

SoNikMells 31/08/2017 06:38 PM

Re: Pawn.RakNet - write the best anticheat
 
Author, good job!
Thanks to this plugin you can really create a decent protection.
Filtering of incoming data allow in advance prevent bad players.

Salik 31/08/2017 07:05 PM

Re: Pawn.RakNet - write the best anticheat
 
Very suitable work for this person, a very experienced person.

coool 01/09/2017 06:55 PM

Re: Pawn.RakNet - write the best anticheat
 
Very Nice plugin

Unrea1 01/09/2017 07:58 PM

Re: Pawn.RakNet - write the best anticheat
 
Don't understand, this support all types of hacks (godmode, infinite ammo, armour/health hack's...)?

Mauzen 01/09/2017 08:39 PM

Re: Pawn.RakNet - write the best anticheat
 
Quote:

Originally Posted by Unrea1 (Post 3922212)
Don't understand, this support all types of hacks (godmode, infinite ammo, armour/health hack's...)?

Its an interface for raknet, which manages all the communication between server and clients, so it can be used to identify hacks and nullify malicious pakets before they even reach the server.

Xeon™ 01/09/2017 09:29 PM

Re: Pawn.RakNet - write the best anticheat
 
this is something that my brain can't understand, awesome work.

coool 03/09/2017 03:59 PM

Re: Pawn.RakNet - write the best anticheat
 
Maybe some one writes a tutorial of this plugin for beginners.

asri 03/09/2017 04:10 PM

Re: Pawn.RakNet - write the best anticheat
 
Yes.i need it.


All times are GMT. The time now is 06:41 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.