SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 31/08/2017, 06:02 PM   #1
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 120
Reputation: 236
Post Pawn.RakNet

Pawn.RakNet 1.2.0


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

This plugin is compatible with almost any version of SA:MP (newer than 0.3z).

Main features:
  • Intercept and reprocess incoming/outcoming RPCs, incoming/outcoming packets
  • Sending RPC and packets to player

Simple example:
PHP Code:
const AIM_SYNC 203;

IPacket:AIM_SYNC(playeridBitStream:bs)
{
    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

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

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

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

Last edited by YourShadow; 06/05/2018 at 02:19 PM.
YourShadow is offline   Reply With Quote
Old 31/08/2017, 06:11 PM   #2
povargek
Big Clucker
 
Join Date: Oct 2012
Posts: 79
Reputation: 16
Default 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!
__________________
Sorry for my bad English
povargek is offline   Reply With Quote
Old 31/08/2017, 06:38 PM   #3
SoNikMells
Huge Clucker
 
SoNikMells's Avatar
 
Join Date: Feb 2014
Location: Belarus
Posts: 281
Reputation: 62
Default 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.
__________________

Code:
[FilterScript] aview — Animations Browser
[FilterScript] SearchCode
SoNikMells is offline   Reply With Quote
Old 31/08/2017, 07:05 PM   #4
Salik
Big Clucker
 
Salik's Avatar
 
Join Date: Aug 2015
Location: Russia
Posts: 88
Reputation: 0
Default Re: Pawn.RakNet - write the best anticheat

Very suitable work for this person, a very experienced person.
Salik is offline   Reply With Quote
Old 01/09/2017, 06:55 PM   #5
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 587
Reputation: 34
Default Re: Pawn.RakNet - write the best anticheat

Very Nice plugin
__________________
coool is offline   Reply With Quote
Old 01/09/2017, 07:58 PM   #6
Unrea1
Gangsta
 
Unrea1's Avatar
 
Join Date: Oct 2013
Location: Venezuela
Posts: 867
Reputation: 123
Default Re: Pawn.RakNet - write the best anticheat

Don't understand, this support all types of hacks (godmode, infinite ammo, armour/health hack's...)?
__________________
Unrea1 is online now   Reply With Quote
Old 01/09/2017, 08:39 PM   #7
Mauzen
Banned
 
Join Date: Jun 2007
Location: Western Germany
Posts: 5,093
Reputation: 1597
Default Re: Pawn.RakNet - write the best anticheat

Quote:
Originally Posted by Unrea1 View Post
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.
Mauzen is offline   Reply With Quote
Old 01/09/2017, 09:29 PM   #8
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 492
Reputation: 96
Default Re: Pawn.RakNet - write the best anticheat

this is something that my brain can't understand, awesome work.
Xeon™ is offline   Reply With Quote
Old 03/09/2017, 03:59 PM   #9
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 587
Reputation: 34
Default Re: Pawn.RakNet - write the best anticheat

Maybe some one writes a tutorial of this plugin for beginners.
__________________
coool is offline   Reply With Quote
Old 03/09/2017, 04:10 PM   #10
asri
Big Clucker
 
Join Date: May 2017
Location: Malaysia
Posts: 150
Reputation: 2
Default Re: Pawn.RakNet - write the best anticheat

Yes.i need it.
asri is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Packets - Pawn.RakNet Jelly23 Tutorials 5 13/10/2018 09:56 PM
[Tutorial] Pacotes - Pawn.RakNet Jelly23 Lançamentos/Releases 33 23/06/2018 10:49 PM
[Tutorial] Handlers - Pawn.RakNet Jelly23 Tutorials 6 30/01/2018 12:46 AM
[Tutorial] Handlers - Pawn.RakNet Jelly23 Lançamentos/Releases 14 03/01/2018 12:04 AM
[Tutorial] RPC - Pawn.RakNet Jelly23 Tutorials 21 13/12/2017 10:51 PM


All times are GMT. The time now is 02:03 AM.


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