LamerBuster v1.07

Introduction:

There are players, which make the game less enjoyable for all that play, because of their bad behavior. An example can be seen here: www.lolman.tk. This mutator is intended to deal with this kind of players ;-)

At www.rockemhard.com I found that description below, that describes the common violations of server rules by lamers!

Spawn Killing
Whenever a player dies, they 'respawn' somewhere on the map. Every map has 'spawn points' planned out and placed at certain specific points in the map. Some players, "spawn killers", thinking they are clever, find one of these spawn points, then 'camp' right next to it with a powerful weapon of some sort. Now, whenever someone suddenly respawns in this spot, the 'spawn killer' instantly kills them before they can even move or defend themselves. This is an unfair practice. Of course, we are all guilty of spawn killing now and again -by accident, or because the person who just spawned immediately began attacking us, or perhaps we just happened to come across them after they spawned, or many other reasons. But to deliberately camp by a spawn point, intentionally waiting for someone to spawn so as to get an easy kill, is unfair, and might lead to you being kicked or banned if the right people notice you doing it.

Team Killing
Newbies tend to shoot their own teammates by accident, though most of the team killing is done deliberately by veteran players that are just bored or frustrated and take their aggressions out on other players. Its not allowed so don't do it. When playing Call of Duty I thought that a damage reflection mutator for UnrealTournament will be cool. I took the Protector_230 mutator and put some useful stuff into it.

Intentional Suicides
Some players use intentional suicides as a strategic option, e.g. in CTF-games to return fast to base, when enemy is carrying the flag. No problems with that. But some players want to spoil the game, especially in team-death-matches, by constantly committing intentional suicides and so decreasing the team-score.

Okay. Here you go. LamerBuster is released!

Have fun!
+++crowbar+++
e-mail: crowbar666@gmx.net

Features:

  1. Spawn protection
  2. Damage reflection for team game matches (like in Call of Duty, damage will be mirrored back to killer. How much can be defined.)
  3. Punish suicide lamers.
  4. Kick lamer automatically off the server, when a amount of violations against server rules is committed.
  5. Session-ban/temporary-ban: Lamers stay off the server for the rest of a match, when they are kicked by LamerBuster. When a new match starts they can reconnect again.
  6. Punish lamer by setting them into Gandhi-mode, what means, that they have to be non-violent until the end of the match, because LamerBuster will destroy every picked-up weapon. Hehe...

Change Log:

v1.07:

  • Added: Anti-Suicide function. When player commits more suicides than allowed, player can be punished --> kick, session ban or Gandhi mode.
  • Improved: Gandhi mode will now destroy weapons and not make the player toss the weapon.
  • Removed: KickByNickName option removed from mutator. See NickNameBan mutator for this function.
  • Improved: Temporary-ban will now use nick name and IP number.
  • Improved: Gandhi-mode will now use nick name and IP number.
  • Improved: Anti team killer function code stream-lined.
  • Added: bDebugging option will supress most log entries.

v1.06:

  • Fixed: RemoveNick command in console can now handle 200 nicks, not 64 like the previous versions. Damn, what a n00b bug!
  • Added: little sort algorithm to speed up the remove lamer function, therefore the records in the BadNick[]-array have not to be sorted.
  • Redesigned: timer() function for lower server performance usage. The remove lamer functions will now be called at least every 7 seconds, depending on if the value of the config var WaitDelay is not bigger, then WaitDelay defines the interval. I recommend 15 seconds.

v1.05:

  • Fixed: selfkills-handling. When using flak-cannon the damage mutator is called multiple times, what can lead to a wrong counting of violations. Rules for violations is now set to: 1 shot = 1 violation.
  • Fixed: temporary ban option can now handle 200 BadNick entries. Optimized for better performance.
  • Fixed: little bug in damage-reflection removed.
  • Added: Gandhi-mode
  • Added: change mutator options through command line, don't need to edit the ini file anymore.

v1.04:

  • Added: temporary ban player for rest of match option. Lamer has to wait until a new match is started, before he can join the match again.

v1.03:

  • Added: Kick player option can now be deactivated.
  • Fixed: general code streamlining.

v1.02:

  • Fixed: Bug in damage-reflection removed.
  • Fixed: Bug in dynamic protection removed.

v1.01:

  • Fixed: Dynamic protection works now.
  • Fixed: Mutator can now be used with death match and not only in team matches.
  • Fixed: Removed 'tick' function for better server performance.

v1.00:

  • Initial release.

Installation:

  1. Unpack all files and copy them into the "system" folder of your UnrealTournament installation.
  2. Edit the LamerBuster107.ini to suite your needs.
  3. Add the following line to your server ini under the [Engine.GameEngine] section (needs to be done, because of localized messages):
    ServerPackages=LamerBuster107
  4. Restart the server.
  5. Now you can select LamerBuster107 at the web admin page.

Start with ucc:

./ucc-bin server DM-1on1-DavidM?game=Botpack.TeamGamePlus?Mutator=LamerBuster107.LamerBuster Port=22900 Multihome=172.22.142.100 -nohomedir ini=server.ini log=server.log

Note:
Change "Multihome" and "Port" to the IP-address and the port for ut of your server.

Configuration:

FRIENDLY FIRE MUST BE SET TO A NUMBER BIGGER THAN NULL TO MAKE THE TEAM-KILL-PROTECTION WORK.

DamageReflection
Enables reflection of damage to shooter. Default = True

bAntiSuicide
Enables Anti-Suicide functions. Default = True

TransferScaling
Defines the amount of damage that is reflected back to instigator. 1.0 means that 100% of damage is going back to instigator and 0% to victim. 0.7 means that 70% of damage is going back to instigator and 30% is comitted to victim. With the "friendly fire" configuration under UnrealTournament the amount of damage is defined. Therefore with friendly fire set to zero the damage reflection will not work.

bKillKiller
When set to true, killer will be killed, when vicim dies.

bLogging, bDebugging
bLogging will display actions on player made by mutator, e.g. all kick and ban actions. bDebugging will display all internal actions, e.g. violations count.

rskPenalty
When a player or bot shot onto a protected player the resPenalty will be subtracted of instigators health. Setting the value to 199 will cause an imidiate suicide of the lamer. Default = 50.

iTKlimit
iTKlimit defines the number of team-kill violations a player can commit, before the player gets kicked off the server or put into Gandhi-mode.

iSuicideLimit
iSuicide Limit defines the number of suicides a player can commit, before the player gets kicked off the server or put into Gandhi-mode.

Messages
I think, this is self explaining. :-)
tkMessage=Team-Killing is not allowed!
rskMessage=Spawn-Killing is not allowed!

SuicideMessage=Intentional suicides are not allowed!

kickMessage=was kicked because of violation of server rules.
ProtectorMsg1=Protection expired!
ProtectorMsg2=Now you can shoot or be shot.

EnableRespawnProt
Enables spawn protection. Default = true

UseTranslucency
Use transparency with respawn protection, both bots and players. Default = True

ScaleGlowBy
Default = 0.000000

ProtectTime
Defines amount of time in seconds in which player and bots are protected.

ProtectHumans, ProtectBots
It think it's self explaining ;-)

DynamicProt
When player picks up something like weapons or shields protection will be disabled.

PlayAnimation
When a player dies because of respawn or team killing, the boom! animation can be played. Check it out if you like it. Default = True.

KickPlayer
Enable kicking player, when violating server rules. Set this variable to False, when playing offline! UT will crash. Default = True (for servers)

GandhiMode
The Gandhi-mode is a special kind of punishment for lamers, who have committed more violations, than is allowed on the server, just like the KickPlayer option with a slight difference: the lamer loses all his weapons. Yes, right! Everytime the lamer picks up a new weapon, LamerBuster will remove the weapon, so that the lamer has to survive somehow until the end of the match. When a new match starts, everything is reset again.

TempBan
Enable temporary ban of player. Effect will be, that a player, once kicked from the server, cannot reconnect to the server for the rest of the match. When a new match (map) starts player can reconnect to the server again. Default = True

WaitDelay
Defines time after player enters the server after which the players nick is checked against bad nick name list. Default = 3

Console commands:

Open the console and login as a server administrator, when playing online. When playing offline, no login attempt has to be done.

Next, type into the console (without the quotation marks):

  • "mutate lamerbuster" or "mutate lb"

What you see is a list of available commands to modify the mutator functions. To see, which configuration is actually set on the server, type:

  • "mutate lamerbuster list" or "mutate lb list"

To change a configuration parameter value, e.g. activate or deactivate the DamageReflection, type:

  • "mutate lamerbuster damagereflection on" or "mutate lb damagereflection off"

Some other examples:

  • mutate lb gandhimode on: activates the Gandhi-mode
  • mutate lb transferscaling 0.5: sets value of transferscaling to 0.5000
  • ...

 

Copyright notice:

Use at your own will and risk, mutator is licenced under LGPL. Respawn-protection Protector_230 is (c) by Armando A. Barlaam. Also inspired by Patrick Freemans' - a.k.a. "Mental" - AntiLamer_100.