LamerBuster v1.05

Introduction:

There are players, which make the game less enjoyable for all that play, because of their bad behavior. 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.

Okay. Here you go. LamerBuster is released!

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

Features:

  1. Spawn protection
  2. Damage reflection (like in Call of Duty, damage will be thrown back to killer. How much can be defined.)
  3. Keep unwanted players off the server by nick name, not IP
  4. Kick lamer automatically off the server, when a amount of violations against server rules is committed.
  5. 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 make the lamer toss every picked-up weapon. Hehe...

Change Log:

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 LamerBuster.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=LamerBuster105
  4. Restart the server.
  5. Now you can select LamerBuster at the web admin page.

Starting server by using a start-up script, e.g.:

startmap=DM-1on1-DavidM
gametype=Botpack.TeamGamePlus
mutators=LamerBuster105.LamerBuster
ini=server.ini

Start with ucc:

./ucc-bin server DM-1on1-DavidM?game=Botpack.TeamGamePlus?Mutator=LamerBuster105.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

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.

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.

selflimit
Selflimit defines the number of violations 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!
kickMessage=was kicked because of violation of server rules.
ProtectorMsg1=Protection expired!
ProtectorMsg2=Now you can shoot or be shot.
KickByNickMsg=is on the lamer-list and was kicked by LamerBuster.

EnableRespawnProt
Enables spawn protection. Default = true

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

ScaleGlowBy
Default = 1.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.

EnableKickByNick
Defines if LamerBuster will kick a player off the server if the players nick is on the bad nick name list. Default = True.

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 = 15

BadNick[]
Here you can add your lamers ;-) Max. amount in this version is 64. Bahhh!

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 addnick Playernick: adds the nickname "Playernick" to the list of banned player nicknames.
  • mutate lb gandhimode on: activates the Gandhi-mode
  • ...

 

Copyright notice:

Use at your own will and risk. Respawn-protection Protector_230 is (c) by Armando A. Barlaam.