16.10.2017, 19:22
[Plugin] Pawn.RakNet
16.10.2017, 20:34
Quote:
You have a nice efficient alternative by Gamer_Z
https://github.com/grasmanek94/GPB/t...r/Anti%20Cheat
Tho, I wouldn't recommend to rely on any anticheat in 100%.
@Dima, I don't understand the "Anti SpeedSkin", can you elaborate what this SpeedSkin is?
16.10.2017, 20:54
Quote:
@Dima, I don't understand the "Anti SpeedSkin", can you elaborate what this SpeedSkin is?
|
16.10.2017, 21:10
Emmets include isnt efficient, NEX-AC is better because, it counts in more exceptions and therefore is more accurate.
18.10.2017, 20:40
I like to see what the people are making with this plugin.
To the creator nice job!
To the creator nice job!
20.10.2017, 00:27
Hey man great plugin thumbs up! But one here here....
In english the expression is "Out Going" not "Out Coming" it's not your fault though
Код:
forward OnOutcomingPacket(playerid, packetid, BitStream:bs); forward OnOutcomingRPC(playerid, rpcid, BitStream:bs);
20.10.2017, 12:56
Anti-BulletCrasher (Anti-Crasher) to s()beit blue eclipse and s()beit red eclispe
Код:
const PLAYER_SYNC = 207; IPacket:PLAYER_SYNC(playerid, BitStream:bs) { new onFootData[PR_OnFootSync]; BS_IgnoreBits(bs, 8); BS_ReadOnFootSync(bs, onFootData); if(onFootData[PR_position][2] == -5.5) { new string[144],name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string,sizeof(string),"{FF0000}[Anti-BulletCrasher]: {FFFF00}%s {999999}(ID:%d) {00FF00}auto-kicked {FF0000}[Reason: BulletCrasher]", name,playerid); SendClientMessageToAll(-1, string); string[0] = EOS; Kick(playerid); return false; } return true; }
20.10.2017, 14:38
Well, when you ignore bits it doesn't send it anymore? Like you intercept the data?
I still don't understand why 8 and not 9 or 7 ?
I still don't understand why 8 and not 9 or 7 ?
20.10.2017, 15:20
Quote:
Well, when you ignore bits it doesn't send it anymore? Like you intercept the data?
I still don't understand why 8 and not 9 or 7 ? |
test, and you'll see what's the difference!
or contact the author of the plugin!
I know that all sync works 8 bytes!
20.10.2017, 18:12
Because the first 8 bytes are meaningless
I debugged samp udp messages once and it returned
I debugged samp udp messages once and it returned
Код:
SAMP\u0000\u0000\u0001\u001d
20.10.2017, 19:25
Quote:
Because the first 8 bytes are meaningless
I debugged samp udp messages once and it returned Код:
SAMP\u0000\u0000\u0001\u001d |
Ontopic: Each SA-MP netgame packet starts with an 8-bit (1 byte) header which is the packet identificator (there's a list of all packets posted somewhere in this topic)
Since pawn.raknet provides a simple interface with callbacks for intercepting packets (IPacket:**PACKET_ID**), the header is no more needed, so it is ignored.
//LE: DimaShift, most of those protections you wrote can already be scripted using current SA-MP callbacks. Going so low-level is just overkill.
20.10.2017, 19:37
20.10.2017, 21:32
Post Anti-Airbreak please :v
21.10.2017, 04:09
Quote:
//Spmn: DimaShift, most of those protections you wrote can already be scripted using current SA-MP callbacks. Going so low-level is just overkill. |
if we remember (optimization) the server does not like "SetTimer" or "OnPlayerUpdate"! this plug-in is perfect for the server, in them is all we can for "anti-cheat"!
21.10.2017, 04:26
Anti-Jetpack (Anti-Cheat)
Tt is allowed to use jetpack, only rcon admin!
Tt is allowed to use jetpack, only rcon admin!
Код:
const PLAYER_SYNC = 207; IPacket:PLAYER_SYNC(playerid, BitStream:bs) { new onFootData[PR_OnFootSync]; BS_IgnoreBits(bs, 8); BS_ReadOnFootSync(bs, onFootData); if(!IsPlayerAdmin(playerid) && onFootData[PR_specialAction] == SPECIAL_ACTION_USEJETPACK) { new string[144],name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string,sizeof(string),"{FF0000}[Anti-JetpackHack]: {FFFF00}%s {999999}(ID:%d) {00FF00}auto-kicked {FF0000}[Reason: JetpackHack]", name,playerid); SendClientMessageToAll(-Unu, string); string[0] = EOS; Kick(playerid); return false; } return true; }
21.10.2017, 06:47
Quote:
I agree with you that it is possible! but with this plugin works "anti-cheat" faster server!
if we remember (optimization) the server does not like "SetTimer" or "OnPlayerUpdate"! this plug-in is perfect for the server, in them is all we can for "anti-cheat"! |
There is no performance difference between OnPlayerUpdate and callbacks added by raknet manager.
21.10.2017, 06:51
(
Последний раз редактировалось DimaShift; 21.10.2017 в 08:23.
)
Anti - CleoFly (Anti-Cheat)
He catches only cleo fly!
He catches only cleo fly!
Код:
const PLAYER_SYNC = 207; IPacket:PLAYER_SYNC(playerid, BitStream:bs) { new onFootData[PR_OnFootSync]; BS_IgnoreBits(bs, 8); BS_ReadOnFootSync(bs, onFootData); if(onFootData[PR_animationId] == 958 && onFootData[PR_weaponId] != WEAPON_PARACHUTE || onFootData[PR_animationId] == 959 && onFootData[PR_weaponId] != WEAPON_PARACHUTE){ new string[144],name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string,sizeof(string),"{FF0000}[Anti-CleoFly]: {FFFF00}%s {999999}(ID:%d) {00FF00}auto-kicked {FF0000}[Reason: CleoFly]", name,playerid); SendClientMessageToAll(-1, string); string[0] = EOS; Kick(playerid); return false; } return true; }
21.10.2017, 07:11
21.10.2017, 07:44
Quote:
Anti - CleoFly (Anti-Cheat)
He catches only cleo fly! Код:
const PLAYER_SYNC = 207; IPacket:PLAYER_SYNC(playerid, BitStream:bs) { new onFootData[PR_OnFootSync]; BS_IgnoreBits(bs, 8); BS_ReadOnFootSync(bs, onFootData); if(onFootData[PR_animationId] == 958 && onFootData[PR_weaponId] != WEAPON_PARACHUTE){ new string[144],name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string,sizeof(string),"{FF0000}[Anti-CleoFly]: {FFFF00}%s {999999}(ID:%d) {00FF00}auto-kicked {FF0000}[Reason: CleoFly]", name,playerid); SendClientMessageToAll(-Unu, string); string[0] = EOS; Kick(playerid); return false; } return true; } |
EDIT: this include checks for more animations
https://github.com/pds2k12/OnPlayerF...yerFly.inc#L59
(Ain't sure what they are)
There is a hack as I remember to fly with swimming animation.
21.10.2017, 07:57
Quote:
afaik animation id 959 is also used for fly hack.
EDIT: this include checks for more animations https://github.com/pds2k12/OnPlayerF...yerFly.inc#L59 (Ain't sure what they are) There is a hack as I remember to fly with swimming animation. |
I just made this type fly of cleo https://www.youtube.com/watch?v=6W0r1LWlQ8c&t=42s
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)