AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   TF2 Unassigned Team Exploit Prevention (https://forums.alliedmods.net/showthread.php?t=85260)

UMTeleporter 02-07-2009 19:43

TF2 Unassigned Team Exploit Prevention
 
2 Attachment(s)
UPDATE Feb 08 5PM est I have fixed the arena spectate false detection.
UPDATE have added some tools to prevent warning spams. See below.

Prevents players from joining the unassigned team as well as other 'strange' teams, and warns in admin chat who may be attempting the exploit.

VARS

sm_bu_enable - 1 or 0, enables or disables this plugin respectively.

sm_bu_prevent - 1 or 0, prevents users from joining the unassigned team.

sm_bu_admin_chat_warn - 1 or 0, alerts in admin chat who may be attempting the exploit.

sm_bu_action - Default 0 Actions to do to the one attempting the exploit.
Available actions:
0 = Do nothing.
1 = Privately warn that user (similar to sm_psay)
2 = Publically warn that user (similar to sm_say)
3 = Kick that user
4 = sm_ban that user
5 = Force that user to join team SPECTATOR - sm_bu_prevent MUST be > 0

sm_bu_ban_time - If the action is set to 4, they will be banned for the minutes specified (or 0 for perm ban) with this cvar.

NEW:
sm_bu_alert_delay - Default 15, does not warn the player again (if the action is #2) or warn in admin chat again until X seconds have elapsed.

Antithasys 02-07-2009 20:04

Re: TF2 Unassigned Team Exploit Prevention
 
awesome.

lobo87 02-07-2009 22:48

Re: TF2 Unassigned Team Exploit Prevention
 
hey m8....

so many thx for that plugin! it helped a lot....Finally ppl are not joining anymore and trying that! today we had about 35+ kicks in 2 hours!

THANKS lob

sirmoe 02-07-2009 23:15

Re: TF2 Unassigned Team Exploit Prevention
 
Could you make it to Ban?

your mom 02-08-2009 00:22

Re: TF2 Unassigned Team Exploit Prevention
 
Thanks! Great job on this. Caught 4 players already :)

UMTeleporter 02-08-2009 08:19

Re: TF2 Unassigned Team Exploit Prevention
 
New version.

your mom 02-08-2009 16:19

Re: TF2 Unassigned Team Exploit Prevention
 
When I use this plugin & go spec on my arena server it gives the msg that I may be attempting to join an unassigned team.

UMTeleporter 02-08-2009 16:57

Re: TF2 Unassigned Team Exploit Prevention
 
I'll attempt to recreate that and try to make a fix.

UMTeleporter 02-08-2009 17:06

Re: TF2 Unassigned Team Exploit Prevention
 
It was really simple to fix. New version up.

sirmoe 02-08-2009 17:44

Re: TF2 Unassigned Team Exploit Prevention
 
Ban time 0 = Perm?

Chris-_- 02-08-2009 18:02

Re: TF2 Unassigned Team Exploit Prevention
 
You wanna permban people who uses this minor exploit :|

msleeper 02-08-2009 18:08

Re: TF2 Unassigned Team Exploit Prevention
 
Quote:

Originally Posted by Chris-_- (Post 758388)
You wanna permban people who uses this minor exploit :|

Yes. People who use one exploit will likely use others.

DontWannaName 02-08-2009 18:26

Re: TF2 Unassigned Team Exploit Prevention
 
Got my first suspect, tried it when joining a team, then auto chose a team, then tried again, then left. http://steamcommunity.com/id/Apathy/ :P

Chris-_- 02-08-2009 18:28

Re: TF2 Unassigned Team Exploit Prevention
 
Far ahead of you, stopped counting xD

sirmoe 02-08-2009 18:28

Re: TF2 Unassigned Team Exploit Prevention
 
Quote:

Originally Posted by Chris-_- (Post 758388)
You wanna permban people who uses this minor exploit :|

Yes, if they wanna use server glitches and exploits they can go elsewere

Chris-_- 02-08-2009 18:30

Re: TF2 Unassigned Team Exploit Prevention
 
Well well, just seemed a bit dramatic =/

DontWannaName 02-08-2009 19:05

Re: TF2 Unassigned Team Exploit Prevention
 
I would just kick them, the wait to rejoin will piss them off :P

your mom 02-08-2009 20:04

Re: TF2 Unassigned Team Exploit Prevention
 
if i will use the ban option will it work with sourcebans?

sirmoe 02-08-2009 22:15

Re: TF2 Unassigned Team Exploit Prevention
 
confirmed works with sourcebans

CnB|Omega 02-08-2009 22:36

Re: TF2 Unassigned Team Exploit Prevention
 
Would it be possible to add a logging feature to this? There is not always an admin online, and it would be nice if it logged who tries to use the exploit to a file for later review.
Time, Date, Name, Steam ID

abelp 02-08-2009 22:41

Re: TF2 Unassigned Team Exploit Prevention
 
can you make it work with 1.0.4 ?
i have nothing but problems with 1.1 and 1.2 sm

your mom 02-09-2009 08:03

Re: TF2 Unassigned Team Exploit Prevention
 
Does sm_bu_ban_time 0 = perma ban?

UMTeleporter 02-09-2009 08:24

Re: TF2 Unassigned Team Exploit Prevention
 
Yes, 0 = perm ban, just like sm_ban

dimzon541 02-09-2009 10:05

Re: TF2 Unassigned Team Exploit Prevention
 
1) this plugin contains a bug
Code:

if (strcmp(vall, "red") == 0 || strcmp(vall, "blue") == 0 || strcmp(vall, "Spectator") == 0 || strcmp(vall, "spectate") == 0 ||
      strcmp(vall, "auto") == 0 || strcmp(vall, "spectatearena") == 0) {
      return Plugin_Continue;
  }

this means it will make false positive detection on command like
Code:

jointeam Red
according too many tired admins make a permaban for it's really bad!

2) Now there are new form of greefing. Do You remember well-known "press F10 to view new Heavy weapoons" spam? Some unaware and newbie players press F10 and immediatly close TF2?

Now it's possible to spam something like "type 'jointeam TrialVIP' in console to try premium membership for free" etc...

UMTeleporter 02-09-2009 11:29

Re: TF2 Unassigned Team Exploit Prevention
 
For 1), that is not an issue unless someone is using strange team switch binds

It's fine, it works perfectly with the client side team switch menu utility.

For 2), no. It only alerts in ADMIN CHAT the attempted value. Meaning only admins would see it. In addition, you can use
sm_bu_alert_delay SECONDS (default: 15)
to set the amount of time per attempt warning.

dimzon541 02-09-2009 12:19

Re: TF2 Unassigned Team Exploit Prevention
 
Quote:

Originally Posted by UMTeleporter (Post 758803)
For 1), that is not an issue unless someone is using strange team switch binds

It's fine, it works perfectly with the client side team switch menu utility.

For 2), no. It only alerts in ADMIN CHAT the attempted value. Meaning only admins would see it. In addition, you can use
sm_bu_alert_delay SECONDS (default: 15)
to set the amount of time per attempt warning.

1) for example for fast team switching:
bind F1 "jointeam RED"
bind F2 "jointeam BLU"
2) You don't understand me! ATM sometimes someone can spam in gamechat something like "press F10 for something good"... Another player read this and press F10 wich result in instant game exit...
Now sometimes someone can spam in gamechat something like "exec 'jointeam someteam' for something good". Another player can do this (hi doesn't know this is exploit) and got a ban/kick

UMTeleporter 02-09-2009 13:41

Re: TF2 Unassigned Team Exploit Prevention
 
I see. I hadn't thought of anyone actually trying to do something like that.

But then they might as well be tricked into joining the unassigned team.

Simply set the action to 0 (for nothing) or better yet, 1 for private warning and there is no concern.

your mom 02-09-2009 15:39

Re: TF2 Unassigned Team Exploit Prevention
 
This is working very nicely. Thank you!

MGDomination 02-09-2009 23:53

Re: TF2 Unassigned Team Exploit Prevention
 
I hate to seem like a total noob, but I'm fairly new to admin'ing a server. I've taken over the responsibilities of my server, as my "tech" is no longer available. I'm trying to install this plugin, I've copied block_unassigned.smx to my plugins folder, and the block_unassigned.sp to my scripting folder.... it works, but I have no way of changing the cvars for the plugin. Any help would be greatly appreciated!

-SouthernStyle ( mGDa )

DontWannaName 02-09-2009 23:55

Re: TF2 Unassigned Team Exploit Prevention
 
When a plugin doesnt make its own config in cfg/sourcemod just add the commands to sourcemod.cfg in that location and it will work.

dimzon541 02-10-2009 04:12

Re: TF2 Unassigned Team Exploit Prevention
 
Quote:

Originally Posted by UMTeleporter (Post 758895)
I see. I hadn't thought of anyone actually trying to do something like that.

But then they might as well be tricked into joining the unassigned team.

Simply set the action to 0 (for nothing) or better yet, 1 for private warning and there is no concern.

I'm not admin, I'm just a player. But I know some servers where tired admins setup this pluging for permanent ban. So I think adding a ban ability to this plugin was a big mistake.

Zmathue 02-10-2009 17:21

Re: TF2 Unassigned Team Exploit Prevention
 
I agree. The ban option is a mistake, it should just prevent the for using the command, a fix to the bug.

dimzon541 02-11-2009 10:25

Re: TF2 Unassigned Team Exploit Prevention
 
Quote:

Originally Posted by Zmathue (Post 759575)
I agree. The ban option is a mistake, it should just prevent the for using the command, a fix to the bug.

Yeah, I have show jointeam RED to one of the server admin, he immediatly switch from kick to notify

naris 02-19-2009 20:03

Re: TF2 Unassigned Team Exploit Prevention
 
Quote:

Originally Posted by dimzon541 (Post 758749)
1) this plugin contains a bug
Code:

if (strcmp(vall, "red") == 0 || strcmp(vall, "blue") == 0 || strcmp(vall, "Spectator") == 0 || strcmp(vall, "spectate") == 0 ||
      strcmp(vall, "auto") == 0 || strcmp(vall, "spectatearena") == 0) {
      return Plugin_Continue;
  }

this means it will make false positive detection on command like
Code:

jointeam Red
according too many tired admins make a permaban for it's really bad!

change the code as show below and it will do case insensitive compares to prevent the problem mentioned above:
Code:

if (strcmp(vall, "red", false) == 0 || strcmp(vall, "blue", false) == 0 || strcmp(vall, "Spectator", false) == 0 || strcmp(vall, "spectate", false) == 0 ||
      strcmp(vall, "auto", false) == 0 || strcmp(vall, "spectatearena", false) == 0) {
      return Plugin_Continue;
  }


Kevin_b_er 02-20-2009 23:19

Re: TF2 Unassigned Team Exploit Prevention
 
Or you COULD just patch your "[TF2] Respawn System" plugin to the updated version that removes this.

Angel Bot 12-18-2014 20:08

Re: TF2 Unassigned Team Exploit Prevention
 
Ya use this and the plugin that i am making and everytime you use my plugin you will be kicked

local tf2 player 03-27-2024 21:23

Re: TF2 Unassigned Team Exploit Prevention
 
now do the opposite


All times are GMT -4. The time now is 00:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.