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: 111
Reputation: 174
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

Tutorials by Jelly23:
[Tutorial] RPC
[Tutorial] Packets

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; 16/11/2017 at 04:27 PM.
YourShadow is offline   Reply With Quote
Old 31/08/2017, 06:11 PM   #2
povargek
Big Clucker
 
Join Date: Oct 2012
Posts: 78
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: 282
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: 79
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
Huge Clucker
 
Join Date: Feb 2013
Location: Pakistan, Sindh
Posts: 450
Reputation: 23
Default Re: Pawn.RakNet - write the best anticheat

Very Nice plugin
__________________
My Writing Works
Lost In Future

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

Don't understand, this support all types of hacks (godmode, infinite ammo, armour/health hack's...)?
Iszcegg is offline   Reply With Quote
Old 01/09/2017, 08:39 PM   #7
Mauzen
Godfather
 
Mauzen's Avatar
 
Join Date: Jun 2007
Location: Western Germany
Posts: 5,118
Reputation: 1535
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™
Huge Clucker
 
Xeon™'s Avatar
 
Join Date: Jul 2017
Location: Earth
Posts: 419
Reputation: 59
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
Huge Clucker
 
Join Date: Feb 2013
Location: Pakistan, Sindh
Posts: 450
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 offline   Reply With Quote
Old 03/09/2017, 04:10 PM   #10
asri
Big Clucker
 
Join Date: May 2017
Location: Malaysia
Posts: 151
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] Using y_xml to write/read xml files. [Another way to write CFG data but better] Ahmad45123 Tutorials 8 13/03/2015 03:41 AM
VC:MP RakNet Version? Christopher. Everything and Nothing 1 27/01/2010 10:17 PM


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


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