SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 31/08/2017, 05:02 PM   #1
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 107
Reputation: 152
Post Pawn.RakNet - write the best anticheat

Pawn.RakNet 1.0.2


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

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; 12/09/2017 at 04:55 PM.
YourShadow is online now   Reply With Quote
Old 31/08/2017, 05:11 PM   #2
povargek
Big Clucker
 
Join Date: Oct 2012
Posts: 73
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, 05:38 PM   #3
SoNikMells
Huge Clucker
 
SoNikMells's Avatar
 
Join Date: Feb 2014
Location: Belarus
Posts: 279
Reputation: 61
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 online now   Reply With Quote
Old 31/08/2017, 06:05 PM   #4
Salik
Big Clucker
 
Salik's Avatar
 
Join Date: Aug 2015
Location: Russia
Posts: 66
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, 02:12 AM   #5
Jelly23
Little Clucker
 
Join Date: Aug 2017
Posts: 25
Reputation: 32
Default Re: Pawn.RakNet - write the best anticheat

Pretty useful, already making use of it.
Jelly23 is offline   Reply With Quote
Old 01/09/2017, 05:55 PM   #6
coool
Huge Clucker
 
Join Date: Feb 2013
Location: Pakistan, Sindh
Posts: 444
Reputation: 23
Default Re: Pawn.RakNet - write the best anticheat

Very Nice plugin
__________________
My Writing Works
Lost In Future
coool is online now   Reply With Quote
Old 01/09/2017, 06:58 PM   #7
Unrea1
Gangsta
 
Unrea1's Avatar
 
Join Date: Oct 2013
Location: Venezuela
Posts: 821
Reputation: 70
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 offline   Reply With Quote
Old 01/09/2017, 07:39 PM   #8
Mauzen
Godfather
 
Mauzen's Avatar
 
Join Date: Jun 2007
Location: Western Germany
Posts: 5,099
Reputation: 1523
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, 08:29 PM   #9
Xeon™
Huge Clucker
 
Xeon™'s Avatar
 
Join Date: Jul 2017
Location: Earth
Posts: 308
Reputation: 37
Default Re: Pawn.RakNet - write the best anticheat

this is something that my brain can't understand, awesome work.
__________________
My Work:


- [FilterScript] Xeon's Speedmeter (Analog Speedmeter)
Xeon™ is offline   Reply With Quote
Old 03/09/2017, 02:59 PM   #10
coool
Huge Clucker
 
Join Date: Feb 2013
Location: Pakistan, Sindh
Posts: 444
Reputation: 23
Default Re: Pawn.RakNet - write the best anticheat

Maybe some one writes a tutorial of this plugin for beginners.
__________________
My Writing Works
Lost In Future
coool is online now   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] Using y_xml to write/read xml files. [Another way to write CFG data but better] Ahmad45123 Tutorials 8 13/03/2015 02:41 AM
VC:MP RakNet Version? Christopher. Everything and Nothing 1 27/01/2010 09:17 PM


All times are GMT. The time now is 05:02 PM.


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