Page 1 of 3

[MUTATOR] MMAdvBan — ban those irritating dynamic IPs

PostPosted: Thu May 03, 07 9:10 pm
by Alex
<center>MMAdvBan</center>

Description
This mod enables you to ban users on a different way than normal. This banning method is not based on a client's IP, thus cannot be evaded with dynamic IP's.

Installation
Installation is quite easy. You place the 2 file's, provided below, in your System folder, and open your DeusEx.ini. Find the following part:
Code: Select all
[DeusEx.DeusExGameEngine]

Below that, add the following:

ServerPackages=MMAdvBan110
ServerActors=MMAdvBan110.AdvBanMutator

Then scroll down to the end of your DeusEx.ini, and add this:

[MMAdvBan110.AdvBanMutator]
bKickPlayer=True
BanCommand=

Updating
Open your DeusEx.ini and find
Code: Select all
[MMAdvBan100.AdvBanMutator]

Replace it with
[MMAdvBan110.AdvBanMutator]

Usage
This mod is fairly easy. You go into your server, login as admin, and type the following:
Code: Select all
Mutate AdvBan [PlayerID]

Of course, you replace [PlayerID] with the player ID of the player you want to ban. You can retrieve the list by typing "playerlist".

When a banned player tries to join, he enters the server, and after 2 or 3 seconds, he gets kicked automatically.

Explanation
bKickPlayer means if the player gets kicked when he gets banned. If you set it to false, the player does get banned, but doesn't get kicked.
BanCommand is the command that will be executed on the banned player when he joins. You can add multiple commands, by adding a | symbol between them. Do mind: Some commands are executed faster, causing the other commands to be disabled.
You don't need to fill BanCommand, the player gets kicked automatically when he joins & he is banned.

As soon as you load up the mod, your DeusEx.ini gets filled a bit more, with things like this:
Banned[0]=
BanInfo[0]=

The Banned[] part contains the value that is being compared with, when the player joins, so do not empty this variable, unless you want to unban someone! BanInfo[] contains info about the player you banned. It will contain the IP & PlayerName of the person you banned. It has no further use.

Known Bugs
None so far. Please, report if found asap!

Special Thanks
Nobody. Even though he doesn't know he helped with this, he did, quite a while ago.
DJ. The bastard who kept asking for the administrator password. The bastard who got banned as the first with this mod.

Updates
110: Fixed a small bug & now it also logs the ban hash in the server-console, so you can ban a player when he isn't in the server.

PostPosted: Thu May 03, 07 9:17 pm
by IllerKiller
A interested idea. What parameter does this use to ban, instead of the I.P.?

PostPosted: Thu May 03, 07 9:21 pm
by Alex
IllerKiller wrote:A interested idea. What parameter does this use to ban, instead of the I.P.?

Hard to explain. It's an UC based variable, which doesn't seem to change [& is unique per computer]. But I don't want to make it public, in case someone suddenly finds a way to change it.

PostPosted: Thu May 03, 07 9:38 pm
by ~[T]GrimRaPeR~
Just a question, what happens if a player resets their ip but not the last digits change but the whole range, does it still kick that player?

PostPosted: Thu May 03, 07 9:42 pm
by clyzm
~[T]GrimRaPeR~ wrote:Just a question, what happens if a player resets their ip but not the last digits change but the whole range, does it still kick that player?


Spaz's dynamic won't work :O

PostPosted: Thu May 03, 07 9:57 pm
by Imperial
we will enjoy using this on our gm server

Did I see it has mute there?

PostPosted: Thu May 03, 07 10:03 pm
by synthetic
ste will love this on his server, soon nobody will play there besides him and his favourite non-cheating players :D


On the other hand, with dejavu gone, nobody who gets banned from ste's will feel like being banned from dxmp, so screw bad admins :D

PostPosted: Thu May 03, 07 10:39 pm
by ~[T]GrimRaPeR~
Only nobeaters got banned from Ste's for being hotheaded or being a prick.Although, Ste sure did like to ban people for haxing.I've been banned countless times for "impossible shots" and having "unlimited health".

PostPosted: Thu May 03, 07 10:59 pm
by Jon
~[T]GrimRaPeR~ wrote:Just a question, what happens if a player resets their ip but not the last digits change but the whole range, does it still kick that player?


Thats the beauty of it.

PostPosted: Thu May 03, 07 11:03 pm
by ~[T]GrimRaPeR~
Bets is I'd say with the uber router Spaz has, he could bypass it after a reset :p

PostPosted: Thu May 03, 07 11:07 pm
by Jon
~[T]GrimRaPeR~ wrote:Bets is I'd say with the uber router Spaz has, he could bypass it after a reset :p


You really have no idea.

PostPosted: Thu May 03, 07 11:27 pm
by synthetic
Id rather try dx reinstall instead of router reset :P Doubt that would work either.

Great job Alex, this puts players like VincentMCDOOM to past and adds an element of responsibility.
Something tells me soviet wont like it either.

PostPosted: Fri May 04, 07 7:08 am
by Alex
~[T]GrimRaPeR~ wrote:Only nobeaters got banned from Ste's for being hotheaded or being a prick.Although, Ste sure did like to ban people for haxing.I've been banned countless times for "impossible shots" and having "unlimited health".

As I got banned for the use of a spydrone :D

~[T]GrimRaPeR~ wrote:Bets is I'd say with the uber router Spaz has, he could bypass it after a reset :p

This banning method isn't per IP. It's not IP-based at all. So resetting your router has no effect ;)

[REN]UNDEAD wrote:Id rather try dx reinstall instead of router reset :P Doubt that would work either.

Great job Alex, this puts players like VincentMCDOOM to past and adds an element of responsibility.
Something tells me soviet wont like it either.

Reinstall DX? * cough * reinstall Windows while you're at it * cough *

& Thanks.

PostPosted: Fri May 04, 07 7:20 am
by synthetic
Yeah, second thought would've been windoze install :P

PostPosted: Fri May 04, 07 7:35 am
by Professor Layton
Justice, finally. -_- I got pretty sick of me being about the only one affected by bans, the rest would just change their IP and play on.

Good riddance :]

PostPosted: Fri May 04, 07 8:52 am
by synthetic
cruel world :'(

PostPosted: Fri May 04, 07 3:45 pm
by Jon
Alex, I'm not sure if its a transcript error or you've uploaded a previous version, but the mutator doesn't work with the command lines stated in the readme you've provided - for now, I'm running with my serverpackages set as MMAdvBan100 as opposed to MMAdvBan100B.

PostPosted: Fri May 04, 07 5:12 pm
by Kaiden
Yes! Bye-bye MJ12!

PostPosted: Fri May 04, 07 9:55 pm
by Cozmo
The first time I read it I thought it said MMAdvManB00B.

Great mod, btw. :) :shock:

PostPosted: Fri May 04, 07 10:05 pm
by Alex
Jon wrote:Alex, I'm not sure if its a transcript error or you've uploaded a previous version, but the mutator doesn't work with the command lines stated in the readme you've provided - for now, I'm running with my serverpackages set as MMAdvBan100 as opposed to MMAdvBan100B.

Heh, thanks, I corrected it. MMAdvBan100B was the beta test mod. It's the exact same as the normal mod, just used it for the public.

PostPosted: Sat May 05, 07 12:42 am
by Zantinzuken
Awesome, finally people will stay away :)

PostPosted: Sat May 05, 07 2:37 pm
by Alex
Hehe, thanks ^_^

Update: Added the .int file as download aswell. Just place it in your System folder & you will have a sub-menu in your Advanced Options (When hosting a server) where you can configure MMAdvBan.

PostPosted: Mon May 07, 07 3:43 pm
by chinny
[REN]UNDEAD wrote:ste will love this on his server, soon nobody will play there besides him and his favourite non-cheating players :D


On the other hand, with dejavu gone, nobody who gets banned from ste's will feel like being banned from dxmp, so screw bad admins :D


No such thing as a bad admin, only bad players.

PostPosted: Mon May 07, 07 3:49 pm
by Dae
10 year old idiots which "ghost" around and kill people on their servers with "tantalus" cheat are good admins?

PostPosted: Mon May 07, 07 4:08 pm
by Imperial
the bad players drove them to it!

PostPosted: Mon May 07, 07 4:18 pm
by Dae
Sounds like еmo.

PostPosted: Mon May 07, 07 4:22 pm
by MJ12
~[A]Kaiden~ wrote:Yes! Bye-bye MJ12!


Hey i didnt do anything :P i do always what a more players U ban manias

PostPosted: Mon May 07, 07 4:22 pm
by Imperial
~[A]Daedalus~ wrote:Sounds like еmo.



They need to lash out on someone!

oH dEAR:

MJ12 wrote:
What a problem with me? i play normal on servers

I'll block that too (Please Alex stop make banning programs ^^)

Back to top


mj12 YOU ARE A MORON.
And I personally will make it my job to fuck you sideways until you get it through your head that when you're banned, you stay banned and have been banned for a good reason

Kids like this make me mad

PostPosted: Mon May 07, 07 4:26 pm
by MJ12
-indigo- wrote:mj12 YOU ARE A MORON.
And I personally will make it my job to fuck you sideways until you get it through your head that when you're banned, you stay banned and have been banned for a good reason

Kids like this make me mad


Hey dont make me angry!i dont want be ur enemy

PostPosted: Mon May 07, 07 4:28 pm
by Imperial
What a problem with me? i play normal on servers

I'll block that too (Please Alex stop make banning programs ^^)


Lol

Hey, when you make comments like that, you give me reason to.
Don't make me angry if anything and accept your ban like a man and instead of giving people reasons for it, just behave