Anti TeamKill Mutator

Multiplayer Modifications
Post Reply
User avatar
IchoTolot
invisible in background
Posts: 1912
Joined: 22 Feb 2005, 19:38
Location: Quad 1,0,0 - 3rd Planet - 50.6909 North - 11.5947 South
Contact:

Anti TeamKill Mutator

Post by IchoTolot »

made by ~[A]Daedalus~
You do not have the required permissions to view the files attached to this post.
Image
pi/100*1337=42
User avatar
IchoTolot
invisible in background
Posts: 1912
Joined: 22 Feb 2005, 19:38
Location: Quad 1,0,0 - 3rd Planet - 50.6909 North - 11.5947 South
Contact:

Post by IchoTolot »

The bug of punishing for killing animals has been fixed in this version.
You do not have the required permissions to view the files attached to this post.
Image
pi/100*1337=42
User avatar
IchoTolot
invisible in background
Posts: 1912
Joined: 22 Feb 2005, 19:38
Location: Quad 1,0,0 - 3rd Planet - 50.6909 North - 11.5947 South
Contact:

Post by IchoTolot »

* A new variable has been added - VictimExplosionReduction. It controls a reduction of explosion damage given to a team mate. In another words your LAMs and LAWs will make less damage to your team mate. This may be helpful for small maps.
In config: VictimExplosionReduction=0.5 means 50% of explosion damage will be reduced.
* A server admin may now disable the vision effect given by a poison dart of a team mate (it's also useful for servers where there is no team damage, but crossbow is allowed. Some bozos like to use this weapon just to affect teammate's vision). Note that the mutator removes only vision effect, but not the actual damage.
In config: bNoPoisonVisionEffect=True means that the vision effect will be removed.
* A public message of banning is now in red color (the color is changeable).
* Defaults have been changed.
* A bug of IPPolicies[0] has been fixed.
You do not have the required permissions to view the files attached to this post.
Image
pi/100*1337=42
User avatar
Patch
Angel/0A
Angel/0A
Posts: 21
Joined: 15 Feb 2006, 01:27
Location: U.K.

Post by Patch »

Ok, I tried this last night, but with no success.
When I hosted it by turning it on in the Mutators list, it tried to host but kept crashing to the desktop with this error message.

Image

However, when I didn't turn it on in the Mutators list, and added the line ServerActors=MMAntiTK105.AntiTKMutator, it hosted fine.
Does anyone know what is wrong here, because the message appears to be saying something about an "infinite script recursion"?

Also, while I'm here, could someone change my name to just "Patch" please, as KICKASS doesn't exist anymore.

Thanks


Editby Icho: Name is changed
Last edited by Patch on 06 Aug 2006, 13:43, edited 3 times in total.
User avatar
IchoTolot
invisible in background
Posts: 1912
Joined: 22 Feb 2005, 19:38
Location: Quad 1,0,0 - 3rd Planet - 50.6909 North - 11.5947 South
Contact:

Post by IchoTolot »

AntiTKMutator 0 ? ... wich version ?
Image
pi/100*1337=42
User avatar
Patch
Angel/0A
Angel/0A
Posts: 21
Joined: 15 Feb 2006, 01:27
Location: U.K.

Post by Patch »

AntiTKMutator 0 ? ... wich version ?
It is V 1.05 (the latest version I believe)

PS I fixed the screenshot of the error message so that you can now see it. :lol:
And thanks for changing the name. :)
User avatar
IchoTolot
invisible in background
Posts: 1912
Joined: 22 Feb 2005, 19:38
Location: Quad 1,0,0 - 3rd Planet - 50.6909 North - 11.5947 South
Contact:

Post by IchoTolot »

open you Mutator.ini and add

Code: Select all

[MMAntiTK105.AntiTKMutator]
bNoPoisonVisionEffect=True
VictimExplosionReduction=0.500000
TeamDamageReflection=0.700000
bTeamKillPenalty=True
bTeamDamagePenalty=True
MaxTeamKills=3
NoticeColor=2
BanLength=2
MissedGames[0]=0
MissedGames[1]=0
MissedGames[2]=0
MissedGames[3]=0
MissedGames[4]=0
MissedGames[5]=0
MissedGames[6]=0
MissedGames[7]=0
MissedGames[8]=0
MissedGames[9]=0
MissedGames[10]=0
MissedGames[11]=0
MissedGames[12]=0
MissedGames[13]=0
MissedGames[14]=0
MissedGames[15]=0
MissedGames[16]=0
MissedGames[17]=0
MissedGames[18]=0
MissedGames[19]=0
MissedGames[20]=0
MissedGames[21]=0
MissedGames[22]=0
MissedGames[23]=0
MissedGames[24]=0
MissedGames[25]=0
MissedGames[26]=0
MissedGames[27]=0
MissedGames[28]=0
MissedGames[29]=0
MissedGames[30]=0
MissedGames[31]=0
MissedGames[32]=0
MissedGames[33]=0
MissedGames[34]=0
MissedGames[35]=0
MissedGames[36]=0
MissedGames[37]=0
MissedGames[38]=0
MissedGames[39]=0
MissedGames[40]=0
MissedGames[41]=0
MissedGames[42]=0
MissedGames[43]=0
MissedGames[44]=0
MissedGames[45]=0
MissedGames[46]=0
MissedGames[47]=0
PosInBanList[0]=0
PosInBanList[1]=0
PosInBanList[2]=0
PosInBanList[3]=0
PosInBanList[4]=0
PosInBanList[5]=0
PosInBanList[6]=0
PosInBanList[7]=0
PosInBanList[8]=0
PosInBanList[9]=0
PosInBanList[10]=0
PosInBanList[11]=0
PosInBanList[12]=0
PosInBanList[13]=0
PosInBanList[14]=0
PosInBanList[15]=0
PosInBanList[16]=0
PosInBanList[17]=0
PosInBanList[18]=0
PosInBanList[19]=0
PosInBanList[20]=0
PosInBanList[21]=0
PosInBanList[22]=0
PosInBanList[23]=0
PosInBanList[24]=0
PosInBanList[25]=0
PosInBanList[26]=0
PosInBanList[27]=0
PosInBanList[28]=0
PosInBanList[29]=0
PosInBanList[30]=0
PosInBanList[31]=0
PosInBanList[32]=0
PosInBanList[33]=0
PosInBanList[34]=0
PosInBanList[35]=0
PosInBanList[36]=0
PosInBanList[37]=0
PosInBanList[38]=0
PosInBanList[39]=0
PosInBanList[40]=0
PosInBanList[41]=0
PosInBanList[42]=0
PosInBanList[43]=0
PosInBanList[44]=0
PosInBanList[45]=0
PosInBanList[46]=0
PosInBanList[47]=0
Image
pi/100*1337=42
User avatar
Patch
Angel/0A
Angel/0A
Posts: 21
Joined: 15 Feb 2006, 01:27
Location: U.K.

Post by Patch »

All of that is already in there, I assume it created it itself.
You do not have the required permissions to view the files attached to this post.
Daedalus
Angel/0A
Angel/0A
Posts: 11
Joined: 13 Aug 2005, 13:52

Post by Daedalus »

"Infinite recursion" error appears when you enable mutator in the mutators list in your Deus Ex "host server" screen. Please, disable it and install it as it is supposed to be installed (edit DeusEx.ini and add it to ServerActors).
User avatar
Patch
Angel/0A
Angel/0A
Posts: 21
Joined: 15 Feb 2006, 01:27
Location: U.K.

Post by Patch »

Ok, I already worked it out already, and got it working the other day. I would have posted earlier but i forgot to :lol:

By the way,
"Infinite recursion" error appears when you enable mutator in the mutators list in your Deus Ex "host server" screen.
I already knew this, because I tried it both ways and found that this way gave me the error, as I said in my first post:-
When I hosted it by turning it on in the Mutators list, it tried to host but kept crashing to the desktop with this error message.
However, when I didn't turn it on in the Mutators list, and added the line ServerActors=MMAntiTK105.AntiTKMutator, it hosted fine.
Thanks for all of your help anyway. :)

Patch
User avatar
Jon
Principality/2C
Principality/2C
Posts: 211
Joined: 17 Dec 2005, 21:06
Location: Derby, England
Contact:

Post by Jon »

Ok, new update released today!
Update: MMAntiTK110
  • The new variable has been added: bAskVictim which is true (on) by default. It's a serious implementation and this is why I marked this release as 1.1.0 (the last one was 1.0.5).
    In case when bAskVictim is true, when someone gets killed by his or her team mate, he or she (victim) gets a small popup message asking whether the team kill was a deliberate act:
    Image
    So now it is up to victim whether to punish the team killer or not. Punishment as usually is a warning.
  • The mutator now disables itself in deathmatch. It will enable itself automatically as soon as you just change the gametype to Team Deathmatch.
  • All messages are now in red color (the color is changeable).


Fresh installation of the mod: do as it says in the first message, just change 100 to 110 where needed. So you will need to add this line

Code: Select all

ServerActors=MMAntiTK110.AntiTKMutator
instead of old one with "100".
Important: you need to add this mutator to ServerPackages too. Basically, all you need is to add this line:

Code: Select all

ServerPackages=MMAntiTK110
after "ServerActors" code.

Of course, use the package below, not the one from the first post.

Updating the mod.
  1. * is any older version of the mod!
  2. Delete all the files which contain MMAntiTK* in their names.
  3. Extract files from the new archive.
  4. Open DeusEx.ini
  5. Find

    Code: Select all

    ServerActors=MMAntiTK*.AntiTKMutator
  6. Replace with

    Code: Select all

    ServerActors=MMAntiTK110.AntiTKMutator
  7. Add after that:

    Code: Select all

    ServerPackages=MMAntiTK110
  8. Open Mutators.ini
  9. Find

    Code: Select all

    [MMAntiTK*.AntiTKMutator]
  10. Replace with

    Code: Select all

    [MMAntiTK110.AntiTKMutator]
  11. Add after (or somewhere inside that block of variables):

    Code: Select all

    bAskVictim=True
  12. Set bAskVictim to False if you don't want victims to decide whether to give a team killer a warning or not.
  13. Save/close all files.
Thanks to rjjb for reporting a deathmatch issue.
Thanks to Jon for a great idea of this window and rephrasing my RusEnglish sentences. About asking - it is entirely his idea =D>
Thanks to Smuggler (author of DXMTL and many other mods) for those genios "walk-arounds" in his scripts! I couldn't have invented that by myself.
Thanks to Jon, Ice, Klop, Jesus, [A]lex, Derek aka Cataclyzm and Bobo for the boring work called testing. This release wouldn't have happened without your help, guys :gj:
Thanks to everyone who <s>still</s> host the mod
You do not have the required permissions to view the files attached to this post.
Post Reply