SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 12/09/2017, 06:08 PM   #31
Debjit
Big Clucker
 
Debjit's Avatar
 
Join Date: Feb 2017
Location: A Small Town in Hell
Posts: 120
Reputation: 12
Default Re: Pawn.RakNet - write the best anticheat

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.
__________________
Debjit is offline   Reply With Quote
Old 13/09/2017, 05:19 PM   #32
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 107
Reputation: 152
Default Re: Pawn.RakNet - write the best anticheat

New example AntiVehicleSpawn.

Original "OnVehicleDeath" ignores return value.
YourShadow is offline   Reply With Quote
Old 14/09/2017, 04:25 PM   #33
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,896
Reputation: 881
Default Respuesta: Pawn.RakNet - write the best anticheat

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
adri1 is offline   Reply With Quote
Old 14/09/2017, 06:08 PM   #34
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 107
Reputation: 152
Default Re: Respuesta: Pawn.RakNet - write the best anticheat

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 
YourShadow is offline   Reply With Quote
Old 15/09/2017, 02:33 AM   #35
Fpwn
Little Clucker
 
Join Date: Jul 2017
Location: Canada
Posts: 22
Reputation: 0
Default Respuesta: Pawn.RakNet - write the best anticheat

Hi, good job, I'll start to try some things because I'm not that expert
__________________
Hola Mundo
Fpwn is offline   Reply With Quote
Old 15/09/2017, 08:15 PM   #36
Meller
Huge Clucker
 
Meller's Avatar
 
Join Date: Dec 2016
Posts: 422
Reputation: 77
Default Re: Respuesta: Pawn.RakNet - write the best anticheat

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.
__________________

Under dev', ;d
Meller is offline   Reply With Quote
Old 15/09/2017, 08:30 PM   #37
DTV
Huge Clucker
 
DTV's Avatar
 
Join Date: Dec 2010
Posts: 447
Reputation: 54
Default Re: Respuesta: Pawn.RakNet - write the best anticheat

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.
__________________
Quote:
Originally Posted by Sanel123 View Post
Calculator will you update when a samp client needs a new version to return players
DTV is offline   Reply With Quote
Old 16/09/2017, 08:55 AM   #38
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,391
Reputation: 579
Default Re: Pawn.RakNet - write the best anticheat

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?
kurta999 is offline   Reply With Quote
Old 16/09/2017, 09:38 AM   #39
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 107
Reputation: 152
Default Re: Pawn.RakNet - write the best anticheat

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.
YourShadow is offline   Reply With Quote
Old 16/09/2017, 12:19 PM   #40
Aliassassin123456
Huge Clucker
 
Aliassassin123456's Avatar
 
Join Date: Apr 2013
Posts: 274
Reputation: 44
Default Re: Pawn.RakNet - write the best anticheat

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
__________________
My GitHub.
My Skype.
Aliassassin123456 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 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 03:54 AM.


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