SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/08/2019, 10:04 PM   #1
Ravson
Little Clucker
 
Join Date: Aug 2019
Posts: 5
Reputation: 0
Default AC - flying car

Hi guys,
I have a problem, my server is getting a lot of cheaters using script for flying car and i have no idea how to block it.
They somehow don't need license, fuel or anything, just a car to jump into. I'm struggling a lot with them and so are my players, i'd like to stop it but don't know how.
So i'm writing here, asking for help, thanks.
Ravson is offline   Reply With Quote
Old 31/08/2019, 06:27 AM   #2
GTLS
High-roller
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 1,048
Reputation: 115
Default Re: AC - flying car

https://forum.sa-mp.com/showthread.php?t=618884 - You need to translate it though.
__________________

I don't help for rep. I help cuz I was helped in the past.


Retired from SAMP Scene. Might open SAMP Forums once in a while.

Some treats for ya. Click em
Basic House System
Simple Speedo
Base Login/Register Script

GTLS is offline   Reply With Quote
Old 31/08/2019, 11:51 AM   #3
Ravson
Little Clucker
 
Join Date: Aug 2019
Posts: 5
Reputation: 0
Default Re: AC - flying car

Will it work on 0.3dl? Coz i forgot to mention in my previous post, that server is currently using 0.3DL.

Also i've checked code really fast and description of AC, i don't see anything about flying cars, just flying people.
Ravson is offline   Reply With Quote
Old 31/08/2019, 12:27 PM   #4
darkdrago
Huge Clucker
 
darkdrago's Avatar
 
Join Date: Nov 2009
Location: Italy
Posts: 290
Reputation: 38
Default Re: AC - flying car

Quote:
Originally Posted by Ravson View Post
Will it work on 0.3dl? Coz i forgot to mention in my previous post, that server is currently using 0.3DL.

Also i've checked code really fast and description of AC, i don't see anything about flying cars, just flying people.
You're right, i checked the code myself and it doesn't seems to have anything related the flying cars, i think you gotta do some tests thinking about what it could trigger, in the past i was using this, i don't know if it's still working or not, it's for airbreak but i think it might work for fly too, give it a try (It's pretty old so idk)
https://forum.sa-mp.com/showthread.php?t=602927
__________________
darkdrago is offline   Reply With Quote
Old 31/08/2019, 11:35 PM   #5
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,202
Reputation: 390
Default Re: AC - flying car

Quote:
Originally Posted by GTLS View Post
https://forum.sa-mp.com/showthread.php?t=618884 - You need to translate it though.
That is one shitty 'anti cheat'

Nevertheless,

Here' a script that detects airbreak and teleport:
https://github.com/RogueDrifter/Anti...aster/Opba.inc

Callback:
Code:
OnPlayerBreakAir(playerid, breaktype);
break types:
pawn Code:
breaktype 1: airbreak on foot.
breaktype 2: airbreak as driver.
breaktype 3: airbreak as passenger.
breaktype 4: teleport on foot.
breaktype 5: teleport as driver.
breaktype 6: teleport as passenger.
__________________
Quote:
Originally Posted by Andy
I offer paid scripting services, I can do anything except mapping because fuck mapping.

[Github]:Link [Gists]:Link [Forum]:Link [Server]:Link [Discord]:Link
RogueDrifter is offline   Reply With Quote
Old 01/09/2019, 01:56 PM   #6
Ravson
Little Clucker
 
Join Date: Aug 2019
Posts: 5
Reputation: 0
Default Re: AC - flying car

Quote:
Originally Posted by RogueDrifter View Post
That is one shitty 'anti cheat'

Nevertheless,

Here' a script that detects airbreak and teleport:
https://github.com/RogueDrifter/Anti...aster/Opba.inc

Callback:
Code:
OnPlayerBreakAir(playerid, breaktype);
break types:
pawn Code:
breaktype 1: airbreak on foot.
breaktype 2: airbreak as driver.
breaktype 3: airbreak as passenger.
breaktype 4: teleport on foot.
breaktype 5: teleport as driver.
breaktype 6: teleport as passenger.
Thanks, will try it, but won't AC detect someone entering building as teleporting and ban/kick them for it?
Ravson is offline   Reply With Quote
Old 01/09/2019, 02:41 PM   #7
darkdrago
Huge Clucker
 
darkdrago's Avatar
 
Join Date: Nov 2009
Location: Italy
Posts: 290
Reputation: 38
Default Re: AC - flying car

Quote:
Originally Posted by Ravson View Post
Thanks, will try it, but won't AC detect someone entering building as teleporting and ban/kick them for it?
I think it checks the difference between the last coord and the new one, so basically a teleport would have too much difference to be detected as Airbreak
__________________
darkdrago is offline   Reply With Quote
Old 02/09/2019, 03:18 PM   #8
GTLS
High-roller
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 1,048
Reputation: 115
Default Re: AC - flying car

Yes It could if the player is lagging or is desynced. That is why, instead of directly banning, show warnings to admin about it and afterwards they can check manually.
__________________

I don't help for rep. I help cuz I was helped in the past.


Retired from SAMP Scene. Might open SAMP Forums once in a while.

Some treats for ya. Click em
Basic House System
Simple Speedo
Base Login/Register Script

GTLS is offline   Reply With Quote
Old 02/09/2019, 11:10 PM   #9
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,202
Reputation: 390
Default Re: AC - flying car

@Ravson, no it will not, my anti-cheat works on extesnive checks it literally checks for everything, i've been using it for a wholesome period and it worked fine on my sever,

@darkdrago you're right

@GTLS not my anti cheat, that's why i provide it with the include 'FLaggers' which detects lagging and desynced players,

That's why i said it operates on extensive checks, it just checks for everything.

View the code and you'll know what im talking about.
__________________
Quote:
Originally Posted by Andy
I offer paid scripting services, I can do anything except mapping because fuck mapping.

[Github]:Link [Gists]:Link [Forum]:Link [Server]:Link [Discord]:Link
RogueDrifter is offline   Reply With Quote
Old 08/09/2019, 12:14 PM   #10
Ravson
Little Clucker
 
Join Date: Aug 2019
Posts: 5
Reputation: 0
Default Re: AC - flying car

Great, people aren't flying anymore, so thanks for help guys.
But i have a new problem, cheaters aren't flying anymore, now they send players into air.
Idk how, i guess it's some kind of slapper? A guy is just standing in the middle sending everyone, including cars into air and killing them.
Ravson 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
[FilterScript] [FS] Flying Tornado Filterscripts 85 01/07/2012 06:16 PM
Flying car Ihsan_Cingisiz Scripting Help 8 27/06/2012 09:57 PM
Flying Car Urefeu Help Archive 9 11/08/2011 12:07 PM
Flying? anumaz Help Archive 7 09/06/2010 01:50 PM


All times are GMT. The time now is 12:17 AM.


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