Plan B

General => Suggestions => Added => Topic started by: YoMama on September 03, 2016, 10:31:48 am

Title: [Added]Anticheat and President suggestions
Post by: YoMama on September 03, 2016, 10:31:48 am
I've been told that my posts are too long, so I'm making this one a bullet list:


Also, other little details that I'd like to mention that are too small to go in another post:
Title: Re: Anticheat and President suggestions
Post by: Uthar_Smith on September 03, 2016, 10:53:16 am
  • The anticheat isn't picking up weapon hacking or even jetpack spawning.
I'm pretty sure the anticheat does detect it, but just doesn't ban because there are some bugs with it.
Title: Re: Anticheat and President suggestions
Post by: YoMama on September 03, 2016, 10:59:35 am
  • The anticheat isn't picking up weapon hacking or even jetpack spawning.
I'm pretty sure the anticheat does detect it, but just doesn't ban because there are some bugs with it.
Yeah, bad choice of words on my part.
Title: Re: Anticheat and President suggestions
Post by: Vishwas on September 03, 2016, 11:01:15 am
Rather than applying the formula,there is a function which can calculate the distance of player from a point.
Maybe set a timer for 5 secs,create a point at 0 secs and a point at the 5th second. Compare it to the maximum distance one can travel without hacks. If its greater by a high amount,he's hacking,if not he's fine.
Title: Re: Anticheat and President suggestions
Post by: YoMama on September 03, 2016, 11:18:10 am
I just realized that I posted this in the bugs section- stupid mistake on my part. I meant it to be in the suggestions section.

Moved to suggestions :D - Quido
Title: Re: Anticheat and President suggestions
Post by: Spectre on September 03, 2016, 02:07:21 pm
Damn, you just perfectly summarized everything that needs to be re-worked/fixed, good job :)

And as for the smaller things, yeah, that "Don't repeat yourself!" is stupid, definitely needs to be removed because it's not really that useful.
Concerning not being able to chat while not spawned, I always thought it was maybe to prevent everyone from seeing your password if you mistyped it during login. But I guess that's not what it does, so yeah, it would be good if we were able to chat in between map changes or after we die.
Title: Re: Anticheat and President suggestions
Post by: Alcor on September 03, 2016, 09:08:33 pm
I would like to chat between map changes too, I support that.
Title: Re: Anticheat and President suggestions
Post by: YoMama on September 03, 2016, 09:14:47 pm
Thanks Quido!

Concerning not being able to chat while not spawned, I always thought it was maybe to prevent everyone from seeing your password if you mistyped it during login.
I forgot about that reason, but I do remember my solution when I suggested this in the old server. Just check, if the player is registered, whether or not they are logged in before allowing them to chat.
Title: Re: Anticheat and President suggestions
Post by: Aksel on September 04, 2016, 01:29:38 am
there are alot of ready AC scriptes on samp forum!
Title: Re: Anticheat and President suggestions
Post by: Faro0s on September 04, 2016, 10:47:05 am
Damn, you just perfectly summarized everything that needs to be re-worked/fixed, good job :)

And as for the smaller things, yeah, that "Don't repeat yourself!" is stupid, definitely needs to be removed because it's not really that useful.
Concerning not being able to chat while not spawned, I always thought it was maybe to prevent everyone from seeing your password if you mistyped it during login. But I guess that's not what it does, so yeah, it would be good if we were able to chat in between map changes or after we die.

Spoctre, I thought the same, but Jonne can do something regarding that.
A player cannot chat untill he is logged in.
When he logs in he will be able to chat and please remove the Don't repeat yourself sentence, it is really annoying.

Thanks YoMama for the chapter you explained.
Title: Re: Anticheat and President suggestions
Post by: Jonne on September 05, 2016, 01:06:46 pm
The anticheat is picking everything up already, including weapon hacks, jetpacks and teleporting. I didn't have a lot of time to update it the past weeks, but I'll work on it more now. Weapon hacks like minigun, HS and RPG are already getting autobanned, the rest still needs some finetuning. Teleporting will be a bit harder to detect, because it's getting a lot of false positives of people not sending updates fast enough due to lag or desync. So, I'm working on improving the AC, but I can't tell when it will be ready to start autobanning.

  • If the President is killed by a hacker and he is banned before the President can become President again, then the President/Vice President spots should be unlocked for the player.
You can request an admin to reset your timer in that case.

  • I think it would also be nice to add a system where the President/Vice President spots could be opened up for a player if enough people vote on it. In the old server, if no one became president after a minute or so and I wanted to be President again, I would check if it was OK with the other players and evade the timer by reconnecting. It would be nice to be able to do that without being in a legal grey area in the new server.
You can do that with the new /rc p I've added, that opens up when there's no pres 1 minute after the map change. /rc p doesn't check if you've been pres already, so you can use that to 'evade' the timer.

  • The President spot doesn't actually tell you that it's unavailable when the timer is stopping you from selecting it. It would be nice to have a countdown telling you how long you have to wait (and/or perhaps a command to tell you).
It should tell you when you click spawn (if I check for it every time you view the class it would use a lot of resources). I'll look into setting a countdown.

  • I was really hoping that the "Don't repeat yourself" thing wouldn't come back in the new server, but it did. It's really annoying and almost entirely useless. It's easy to evade by adding a space to the beginning of whatever you're typing- I know this because I go through periods where I don't chat much and I'll write something like a "haha" or ":-)" for the second time in a few minutes and it won't let me send it. I'd like to see it removed or made much smarter.
Removed.

  • I guess the people who are at the class selection screen aren't allowed to talk because they could spam the chat with variations of "kil teh presi i wana be vp!!!!!!1", but it would be nice if players in the class selection screen were muted after a minute or so instead. It often gets in the way when maps are changing and you want to congratulate someone before it goes out of context.
It was added but then removed a short while later. It just looked very 'off' when you have people in with grey names chatting and it didn't really serve any purpose. Maybe a command would be a better idea?

  • (https://i.imgflip.com/19z02a.jpg)
    Specifically, the walls blocking off SF in NSA and WV (like the one at the Golden Gate bridge). I hit them when I'm flying well above them and they're completely invisible.
Well, if anyone wants to make a better one, I'll replace it.
Title: Re: Anticheat and President suggestions
Post by: Uthar_Smith on September 05, 2016, 08:55:51 pm
  • (https://i.imgflip.com/19z02a.jpg)
    Specifically, the walls blocking off SF in NSA and WV (like the one at the Golden Gate bridge). I hit them when I'm flying well above them and they're completely invisible.
Well, if anyone wants to make a better one, I'll replace it.
Are you talking about this one? Quido and me discovered it a few weeks ago:
(http://i.imgur.com/9wbpeXO.png)
(http://i.imgur.com/qxfZyME.png)
Title: Re: Anticheat and President suggestions
Post by: YoMama on September 06, 2016, 11:59:40 am
Weapon hacks like minigun, HS and RPG are already getting autobanned...
Is this a recent fix? As of 3-4 days ago it wasn't banning for any of those or jetpacks that I could see (and I certainly saw those a lot :) ).

Teleporting will be a bit harder to detect, because it's getting a lot of false positives of people not sending updates fast enough due to lag or desync. So, I'm working on improving the AC, but I can't tell when it will be ready to start autobanning.
At least from my understanding, if they're respawning, you pretty much know that they're synced, so why not just check within the first 15/30 seconds or so after they spawn (and maybe only do it for a certain time after they were reported)?

Also, I thought of a few other things since I wrote the original that may or may not be reasonable (and might be resource-intensive enough to only check on reports): for armor hacking, checking to see if they are within a certain radius of an armor pickup when armor increases (health would be a pain in the ass because you'd have to account for vending machines); to catch stupid health hackers, set health to 90 or some non-full number after spawn protection ends, check to see if it goes to 100, then ban or immediately set it back to 100 if they weren't hacking it back up; for airbraking/teleporting/flying cars, checking height against MapAndreas (if the resource cost isn't too great).

  • If the President is killed by a hacker and he is banned before the President can become President again, then the President/Vice President spots should be unlocked for the player.
You can request an admin to reset your timer in that case.
Yes, but that depends on an admin being in the server or on IRC, which, at the times that I play, isn't so often that this would happen (however, there is a large turnover of hackers fucking up gameplay, then getting banned by the AC).

/rc p doesn't check if you've been pres already, so you can use that to 'evade' the timer.
I think I should have been more clear- I was suggesting a way to vote to reset the timer so it is possible to take the Vice President spot again as well as the President spot. I often get really excited and /rc t when certain people are President, then they die prematurely. I'm probably not the only one who loves the challenge of certain Presidents and gets annoyed when they have to wait another 15 minutes before going again, during which time there is often a succession of morons who end up dying so quickly that the map changes to a map where the challenge President is uninterested in trying again.

... the "Don't repeat yourself" thing ...
Removed.
<3

  • I guess the people who are at the class selection screen aren't allowed to talk because they could spam the chat with variations of "kil teh presi i wana be vp!!!!!!1", but it would be nice if players in the class selection screen were muted after a minute or so instead. It often gets in the way when maps are changing and you want to congratulate someone before it goes out of context.
It was added but then removed a short while later. It just looked very 'off' when you have people in with grey names chatting and it didn't really serve any purpose. Maybe a command would be a better idea?
Part of my problem with it, which I forgot to mention when writing my original post, is that it gives you the "must be spawned to chat" message when you try to chat between deaths. By command, do you mean a special command to chat from the class selection screen? If so, you could maybe use !, since they don't have a team.

Are you talking about this one?
Yep!
Title: Re: Anticheat and President suggestions
Post by: Uthar_Smith on September 06, 2016, 05:09:47 pm
Are you talking about this one?
Yep!
I'll get to it when I get home
Title: Re: Anticheat and President suggestions
Post by: Jonne on September 09, 2016, 11:45:16 pm
Are you talking about this one?
Yep!
I'll get to it when I get home

Bridge objects were replaced, thanks to Uthar for making new ones :)
Title: Re: Anticheat and President suggestions
Post by: Uthar_Smith on September 12, 2016, 06:08:52 pm
  • I was really hoping that the "Don't repeat yourself" thing wouldn't come back in the new server, but it did. It's really annoying and almost entirely useless. It's easy to evade by adding a space to the beginning of whatever you're typing- I know this because I go through periods where I don't chat much and I'll write something like a "haha" or ":-)" for the second time in a few minutes and it won't let me send it. I'd like to see it removed or made much smarter.
Removed.

I agree that this is annoying, but since it has been removed players have been spamming like madmen
Some examples:

Quote
[17:38] <@PBBot2> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:38] <@PBBot3> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:38] <@PBBot1> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:38] <@PBBot3> *** Jay_Maness killed fares_neji (Distance: 11) (AK47)
[17:38] <@PBBot1> *** The President was killed by the Terrorist!
[17:38] <@PBBot2> [Terrorist ID: 5] hicham: thanks dizzy
[17:38] <@PBBot3> [12] *** Jay_Maness is now Terrorist.
[17:38] <@PBBot1> *** Rage killed Jay_Maness (Distance: 407) (Helikill)
[17:38] <@PBBot2> *** SwirlyMan killed Richard_RD12 (Distance: 1) (Chainsaw)
[17:38] <@PBBot3> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:38] <@PBBot1> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:38] <@PBBot2> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:38] <@PBBot3> [Civilian ID: 8] Rage: DISTANCE 404
[17:38] <@PBBot3> [Civilian ID: 8] Rage: LOL
[17:38] <@PBBot1> *** MaKaVaLisKa killed Bensor (Distance: 1) (UZI)
[17:38] <@PBBot2> *** Niks[GgT] killed farru (Distance: 5) (UZI)
[17:38] <@PBBot1> [36] *** fares_neji is now Police.
[17:38] <@PBBot2> [12] *** Jay_Maness left the game. (Timeout) + [Report: X: 0 , Y: 0 , Z: 0 | H: 0 , A: 0 ]
[17:38] <@PBBot3> [Police ID: 36] fares_neji: fucking nooobs !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[17:38] <@PBBot1> *** MaKaVaLisKa killed Bryan (Distance: 5) (UZI)
[17:38] <@PBBot2> *** Don_Carlos killed Niks[GgT] (Distance: 6) (TEC9)
[17:38] <@PBBot3> *** Adem died. (Splat)
[17:38] <@PBBot1> *** MaKaVaLisKa killed Don_Carlos (Distance: 6) (M4)
[17:38] <Alpha[GgT]> !say test
[17:38] <@PBBot1> *** Alpha[GgT] on IRC: test
[17:38] <@PBBot2> [Civilian ID: 8] Rage: 407 µ
[17:39] <@PBBot3> [Security ID: 1] kurt: go back in the mansion
[17:39] <@PBBot1> [Security ID: 13] Rooney5: respawn cars !!!!!!!
[17:39] <@PBBot2> [Civilian ID: 8] Rage: 407*
[17:39] <@PBBot3> *** tannie_singh killed Uchila (Distance: 5) (UZI)
[17:39] <@PBBot1> *** hicham killed snoweee (Distance: 26) (TEC9)
[17:39] <@PBBot3> *** The President has died!
[17:39] <@PBBot1> *** BAD Team has won the round! (The President was killed)
[17:39] <@PBBot2> *** gfsdsda died. (Splat)
[17:39] <@PBBot2> [Security ID: 2] [GFc]Luca_Brasi: oh damn
[17:39] <@PBBot3> [Police ID: 36] fares_neji: fucking nooobs !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[17:39] <@PBBot1> [Police ID: 43] Jessy: ..
[17:39] <@PBBot2> [42] *** snoweee left the game. (Left) + [Report: X: 1342 , Y: -1883 , Z: 23 | H: 3 , A: 0 ]
[17:39] <@PBBot3> [Terrorist ID: 5] hicham: wtf was that
[17:39] <@PBBot1> [Terrorist ID: 23] farru: DSJAHBDBASM,D.AS
[17:39] <@PBBot2> ** Dani[j]eL (ID: 39) was tagged off the server for being idle over 5 minutes
[17:39] <@PBBot3> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:39] <@PBBot2> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS
[17:39] <@PBBot3> [31] Teamchat from Maharshi (Security): THIS TIME LECTS GO TO DOCKS

Quote
[16:50] <@PBBot1> [Security ID: 31] Maharshi: IF U HAVE A DICK THEN COME ON THE TOWER
[16:50] <@PBBot3> [Security ID: 31] Maharshi: IF U HAVE A DICK THEN COME ON THE TOWER
[16:50] <@PBBot1> [Security ID: 31] Maharshi: IF U HAVE A DICK THEN COME ON THE TOWER

You could set a max of 2 identical messages, then display the "Don't repeat yourself" message?
Title: Re: Anticheat and President suggestions
Post by: Spectre on September 12, 2016, 07:39:49 pm
It's hardly that much annoying when it's repeated 3 times in a row, at least for me it's not. I think after 3 times you get auto-muted so no big deal. It's definitely much better than not being able to repeat a simple "haha" or "lol" 5 minutes after the first one.
Title: Re: Anticheat and President suggestions
Post by: Uthar_Smith on September 12, 2016, 07:44:26 pm
It's hardly that much annoying when it's repeated 3 times in a row, at least for me it's not. I think after 3 times you get auto-muted so no big deal. It's definitely much better than not being able to repeat a simple "haha" or "lol" 5 minutes after the first one.
I couldn't find it in the logs, but at one occasion a player spammed 8 messages within 5 seconds and he didn't get automuted. Maybe the automute should be a little more sensitive?
Title: Re: Anticheat and President suggestions
Post by: Spectre on September 12, 2016, 08:09:19 pm
I couldn't find it in the logs, but at one occasion a player spammed 8 messages within 5 seconds and he didn't get automuted. Maybe the automute should be a little more sensitive?

Yeah, I'm all for that, it needs to be more sensitive
Title: Re: Anticheat and President suggestions
Post by: Jonne on September 14, 2016, 11:29:36 am
I readded the "Do not repeat yourself", but it will now only get triggered when you repeat yourself more than 2 times in less than 10 seconds.
Title: Re: Anticheat and President suggestions
Post by: Mark[KTP] on September 14, 2016, 01:09:49 pm
Second and third suggestion are very smart