[MUTATOR] AntiTK — protects players from teamkillers

This forum is related to alpha maps and mods only.

Moderator: Forum Guards

Postby ~ô¿ô~Nobody~ » Wed Jul 12, 06 7:56 am

well.. i can't ban his IP... it's as random as the wingdings of my sister

i'll try to ban him somehow else.. possibly by something like IP to DNS and banning a static part of the DNS :?
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby jesus » Wed Jul 12, 06 2:33 pm

ok well we just tested it again nd the damage u cause to ur team m8 goes to u now so :P
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby Dae » Wed Jul 12, 06 3:34 pm

Update: MMAntiTK105
  • 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.


Fresh installation of the mod: do as it says in the first message, just change 100 to 105 where needed. So you will need to add this line
Code: Select all
ServerActors=MMAntiTK105.AntiTKMutator

instead of old one with "100".

Updating the mod.
    * is any version of the mod!
  1. Extract files (of course lol)
  2. Delete MMAntiTK*.u and MMAntiTK*.ini
  3. Open DeusEx.ini
  4. Find
    Code: Select all
    ServerActors=MMAntiTK*.AntiTKMutator
  5. Replace with
    Code: Select all
    ServerActors=MMAntiTK105.AntiTKMutator
  6. Open Mutators.ini
  7. Find
    Code: Select all
    [MMAntiTK*.AntiTKMutator]
  8. Replace with
    Code: Select all
    [MMAntiTK105.AntiTKMutator]
  9. Add after (or somewhere inside that block of variables):
    Code: Select all
    bNoPoisonVisionEffect=True
    VictimExplosionReduction=0.500000
  10. Save/close all files.


Thanks to Derek for idea of removing poison effect.
Thanks to Jesus and Derek for testing the new features.
Attachments
MMAntiTK105.zip
(4.04 KiB) Downloaded 1121 times
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Allan » Wed Jul 12, 06 3:45 pm

Wow, another awesome update to an already awesome mutator =)

Good job Dae =D
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby jesus » Wed Jul 12, 06 4:28 pm

yer realy good job dae :P
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby Mr. Tastix » Wed Jul 12, 06 11:30 pm

Ah, very nice. VERY nice. LAM's can be fucken annoying if one of your team-mates throws one at someone and you just happen to be there, lol.
Blood is thicker than water and sweeter than candy.
User avatar
Mr. Tastix
Forum Legend
 
Posts: 5247
Joined: Fri Dec 16, 05 6:10 am
Location: New Zealand

Postby jesus » Wed Jul 12, 06 11:35 pm

just have to get all the servers useing it now lol
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby Mr. Tastix » Thu Jul 13, 06 12:19 am

¤[ß2S]¤jesus wrote:just have to get all the servers useing it now lol


Agreed, but that'd be a fucken hard job to do, lol.
Blood is thicker than water and sweeter than candy.
User avatar
Mr. Tastix
Forum Legend
 
Posts: 5247
Joined: Fri Dec 16, 05 6:10 am
Location: New Zealand

Postby jesus » Thu Jul 13, 06 11:18 am

im tryen to push it on clix nd the rest of the GM admins but their hatrid 4 A goes to the bone so...
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby ~ô¿ô~Nobody~ » Thu Jul 13, 06 11:24 am

but they installed miniMTL though :?
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby jesus » Thu Jul 13, 06 11:40 am

so wa that gota do with it?
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby Krieg » Thu Jul 13, 06 11:41 am

that would make the admins on gm irrelevant though and actually on other servers aswell lol
-Elitist-
Image
Krieg
Forum Super Hero
 
Posts: 3357
Joined: Wed Apr 06, 05 1:02 pm
Location: in front of my comp =]

Postby ~ô¿ô~Nobody~ » Thu Jul 13, 06 11:43 am

eh.. i made miniMTL2xx
and as far as i know i'm in [A]
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby jesus » Thu Jul 13, 06 1:34 pm

yer i no but cant they use this mod nd MTL at the same time?
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby ~ô¿ô~Nobody~ » Thu Jul 13, 06 2:06 pm

i'm sure it does.. but i don't know how far it will disturb the mutator.. or the other way around..
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby jesus » Thu Jul 13, 06 3:03 pm

isnt this another mod?
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby ~ô¿ô~Nobody~ » Thu Jul 13, 06 3:11 pm

err. yes

"it" was in this case miniMTL and the mutator was dae's ober 1337 anti TK haxmutator :lol:
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby rjjb » Sat Jul 29, 06 4:30 am

Just tried adding v105 to my server and it crashed (from the in-game server config menu) with the following:

-------------------------server.log snippets
...
Init: Command line: DXMP_Skyline?Game=DXMTL152b1.MTLDeathMatch?Mutator=MMAntiTK105.AntiTKMutator?-server?log=server.log
...
...
Init: Unreal engine initialized
Log: Browse: DXMP_Skyline?Name=rjjb?Class=DXMTL152b1.MTLUNATCO?Team=128?Game=DXMTL152b1.MTLDeathMatch?Mutator=MMAntiTK105.AntiTKMutator?-server?log=server.log
Log: Doing load, not loadgame
Log: Current mission number is -1, next is -1
Log: LoadMap: DXMP_Skyline?Name=rjjb?Class=DXMTL152b1.MTLUNATCO?Team=128?Game=DXMTL152b1.MTLDeathMatch?Mutator=MMAntiTK105.AntiTKMutator?-server?log=server.log
Log: Loading: Package DXMP_Skyline
...
...
Log: Loading: Package miniMTL210
Log: Spawning: MMAntiTK105.AntiTKMutator
Log: Loading: Package MMAntiTK105
Log: Bringing Level DXMP_Skyline.MyLevel up for play (20)...
DXMTL: InitGame: ?Name=rjjb?Class=DXMTL152b1.MTLUNATCO?Team=128?Game=DXMTL152b1.MTLDeathMatch?Mutator=MMAntiTK105.AntiTKMutator?-server?log=server.log
DXMTL: Base Mutator: DXMP_Skyline.CBPMutator0
DXMTL:
DXMTL: Starting anti-cheat mutator...
DXMTL: Allow CenterView: True
DXMTL: Continuous CenterView: False
DXMTL: CenterView Delay: 2.500000
DXMTL:
DXMTL: DeusExLevelInfo Created!
DXMTL: Mutators MMAntiTK105.AntiTKMutator
DXMTL: Add mutator MMAntiTK105.AntiTKMutator
Critical: appError called:
Critical: AntiTKMutator DXMP_Skyline.AntiTKMutator1 (Function Engine.Mutator.AlwaysKeep:0000) Infinite script recursion (250 calls) detected
Critical: Windows GetLastError: The operation completed successfully. (0)
Exit: Executing UObject::StaticShutdownAfterError
Critical: FFrame::Serialize
Critical: UObject::ProcessEvent
Critical: (LevelInfo DXMP_Skyline.LevelInfo0, Function Engine.LevelInfo.PreBeginPlay)
Critical: BeginPlay
Critical: UGameEngine::LoadMap
Critical: LoadURL
Critical: UGameEngine::Browse
Critical: UGameEngine::Init
Critical: XGameEngineExt::Init
Critical: DDeusExGameEngine::Init
Critical: InitEngine
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, 07/28/06 20:13:23
-------------------------server.log snipets

Any thoughts on what's causing this? (Missing dependency, pebkac, ...?)

Thanks,
rjjb.
rjjb
Newbie
 
Posts: 3
Joined: Sat Jul 29, 06 4:16 am

Postby rjjb » Sat Jul 29, 06 7:01 am

Seems like it was activated twice (once in the deusex.ini and once in the miniMTL mutator selection page in the server setup).

When I disabled it in the mutator selection page, the server didn't crash and the anti-tk code was still working. Found this out by running a deathmatch and noticed that I was taking damage by killing people.

Kill people in a deathmatch with this activated and you get banned.. lol

Any way to modify this so that it can be left on regardless of whether you're in a deathmatch or team game? (ie: make people in a deathmatch join as their own team, or disable it for non team gametypes)

Other than the minor deathmatch issue it looks like a great mod.
rjjb
Newbie
 
Posts: 3
Joined: Sat Jul 29, 06 4:16 am

Postby Dae » Thu Aug 10, 06 8:38 pm

Thanks for reporting a deathmatch bug.

I'm working on new release.
Thanks to Jon for good suggestions.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Jon » Thu Aug 10, 06 8:47 pm

Can't wait until the next version... should finally shut up complaints about the excessive amount of session bans :wink:
User avatar
Jon
Alpha
 
Posts: 1081
Joined: Mon Dec 12, 05 10:20 pm
Location: Derbyshire, England

Postby Dae » Wed Aug 16, 06 4:16 pm

There is a big problem with the upcoming version of the mutator. I have discovered that in Deus Ex mutators don't have any access to the talking functions unlike in UT, when coders can work with MutatorTeamMessage, MutatorBroadcastMessage, MutatorBroadcastLocalizedMessage functions. Therefore I'm forced to deal with HUD :smt076
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby jesus » Thu Aug 17, 06 10:29 pm

but ur makeing progress?
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby Dae » Thu Aug 17, 06 10:53 pm

Almost done :)
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby jesus » Thu Aug 17, 06 11:42 pm

yey let me know if yea need anything else
jesus
Elite
 
Posts: 801
Joined: Wed Mar 22, 06 6:25 pm

Postby Dae » Fri Aug 18, 06 10:49 pm

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.
    * is any older version of the mod!
  1. Delete all the files which contain MMAntiTK* in their names.
  2. Extract files from the new archive.
  3. Open DeusEx.ini
  4. Find
    Code: Select all
    ServerActors=MMAntiTK*.AntiTKMutator
  5. Replace with
    Code: Select all
    ServerActors=MMAntiTK110.AntiTKMutator
  6. Add after that:
    Code: Select all
    ServerPackages=MMAntiTK110
  7. Open Mutators.ini
  8. Find
    Code: Select all
    [MMAntiTK*.AntiTKMutator]
  9. Replace with
    Code: Select all
    [MMAntiTK110.AntiTKMutator]
  10. Add after (or somewhere inside that block of variables):
    Code: Select all
    bAskVictim=True
  11. Set bAskVictim to False if you don't want victims to decide whether to give a team killer a warning or not.
  12. 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 8)
Attachments
MMAntiTK110.zip
(8.93 KiB) Downloaded 1099 times
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby ICE » Fri Aug 18, 06 11:18 pm

yea it was fun testing and funny punishing dea and then getting him banned on his own server. keep up the good work (modz) :D
ЛЕДImage
The recent message was not spam but was a topic warmer and the message was copyrighted for eternity!Im in czech at the moe.
User avatar
ICE
Poster
 
Posts: 155
Joined: Fri Jul 14, 06 9:40 pm
Location: UK

Postby Dae » Fri Aug 18, 06 11:22 pm

Oh, forgot to say: note that the source code wasn't protected. But unless you're a advanced scripter i wouldn't recommend raping your own brains with it - even I don't understand some lines in it sometimes 8)
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Allan » Sat Aug 19, 06 12:04 am

Wow, that's a great improvement =D. At least fr00bs can be punished now, without accidental bannings. One thing though, what would happen if you die while the screen is up?
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby Spiderbot01 » Sat Aug 19, 06 12:25 am

lol anyone who tks me on the DXMS server just gets kicked anyway.. Nazi admining FTW..
<center>------</center><center>
Image</center>
<center>Image</center><
User avatar
Spiderbot01
Alpha
 
Posts: 5363
Joined: Wed Nov 30, 05 8:24 pm
Location: LONDON!!!!

PreviousNext

Return to alpha laboratories

Who is online

Users browsing this forum: No registered users and 11 guests
cron