[MUTATOR] MMAdvBan — ban those irritating dynamic IPs

This forum is related to alpha maps and mods only.

Moderator: Forum Guards

[MUTATOR] MMAdvBan — ban those irritating dynamic IPs

Postby Alex » Thu May 03, 07 9:10 pm

<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.
Attachments
MMAdvBan110.u
(31.2 KiB) Downloaded 1529 times
MMAdvBan110.int
(123 Bytes) Downloaded 1406 times
Last edited by Alex on Wed May 16, 07 4:52 pm, edited 3 times in total.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby IllerKiller » Thu May 03, 07 9:17 pm

A interested idea. What parameter does this use to ban, instead of the I.P.?
IllerKiller
Banned user
 
Posts: 15
Joined: Sun Apr 22, 07 8:38 am

Postby Alex » Thu May 03, 07 9:21 pm

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.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby ~[T]GrimRaPeR~ » Thu May 03, 07 9:38 pm

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?
Image
~[T]GrimRaPeR~
Poster
 
Posts: 227
Joined: Thu Mar 30, 06 2:47 pm

Postby clyzm » Thu May 03, 07 9:42 pm

~[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
Image
User avatar
clyzm
Forum Master God
 
Posts: 16023
Joined: Sun Nov 28, 04 2:48 am
Location: Chiraq

Postby Imperial » Thu May 03, 07 9:57 pm

we will enjoy using this on our gm server

Did I see it has mute there?
I sell donuts, if you want my donuts, give me a call.

DONUTS
User avatar
Imperial
Forum Hero
 
Posts: 2450
Joined: Thu Feb 23, 06 11:23 pm
Location: North Pole

Postby synthetic » Thu May 03, 07 10:03 pm

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
[TSS][¥]{¥+EoD}{RF}{MoH}[G][NEM][UE][N]{U}[REN][BM][FGS][THC][:¤:]
User avatar
synthetic
Forum Hero
 
Posts: 2918
Joined: Thu Apr 21, 05 4:04 pm
Location: land of green elephants

Postby ~[T]GrimRaPeR~ » Thu May 03, 07 10:39 pm

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".
Image
~[T]GrimRaPeR~
Poster
 
Posts: 227
Joined: Thu Mar 30, 06 2:47 pm

Postby Jon » Thu May 03, 07 10:59 pm

~[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.
User avatar
Jon
Alpha
 
Posts: 1081
Joined: Mon Dec 12, 05 10:20 pm
Location: Derbyshire, England

Postby ~[T]GrimRaPeR~ » Thu May 03, 07 11:03 pm

Bets is I'd say with the uber router Spaz has, he could bypass it after a reset :p
Image
~[T]GrimRaPeR~
Poster
 
Posts: 227
Joined: Thu Mar 30, 06 2:47 pm

Postby Jon » Thu May 03, 07 11:07 pm

~[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.
User avatar
Jon
Alpha
 
Posts: 1081
Joined: Mon Dec 12, 05 10:20 pm
Location: Derbyshire, England

Postby synthetic » Thu May 03, 07 11:27 pm

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.
[TSS][¥]{¥+EoD}{RF}{MoH}[G][NEM][UE][N]{U}[REN][BM][FGS][THC][:¤:]
User avatar
synthetic
Forum Hero
 
Posts: 2918
Joined: Thu Apr 21, 05 4:04 pm
Location: land of green elephants

Postby Alex » Fri May 04, 07 7:08 am

~[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.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby synthetic » Fri May 04, 07 7:20 am

Yeah, second thought would've been windoze install :P
[TSS][¥]{¥+EoD}{RF}{MoH}[G][NEM][UE][N]{U}[REN][BM][FGS][THC][:¤:]
User avatar
synthetic
Forum Hero
 
Posts: 2918
Joined: Thu Apr 21, 05 4:04 pm
Location: land of green elephants

Postby Professor Layton » Fri May 04, 07 7:35 am

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 :]
User avatar
Professor Layton
Forum Hero
 
Posts: 2333
Joined: Mon Apr 04, 05 3:17 pm
Location: Critical thinking is the key to success!

Postby synthetic » Fri May 04, 07 8:52 am

cruel world :'(
[TSS][¥]{¥+EoD}{RF}{MoH}[G][NEM][UE][N]{U}[REN][BM][FGS][THC][:¤:]
User avatar
synthetic
Forum Hero
 
Posts: 2918
Joined: Thu Apr 21, 05 4:04 pm
Location: land of green elephants

Postby Jon » Fri May 04, 07 3:45 pm

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.
User avatar
Jon
Alpha
 
Posts: 1081
Joined: Mon Dec 12, 05 10:20 pm
Location: Derbyshire, England

Postby Kaiden » Fri May 04, 07 5:12 pm

Yes! Bye-bye MJ12!
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby Cozmo » Fri May 04, 07 9:55 pm

The first time I read it I thought it said MMAdvManB00B.

Great mod, btw. :) :shock:
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Alex » Fri May 04, 07 10:05 pm

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.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby Zantinzuken » Sat May 05, 07 12:42 am

Awesome, finally people will stay away :)
Image
User avatar
Zantinzuken
NINNY BOYYYYY
 
Posts: 3016
Joined: Wed Apr 13, 05 4:36 pm

Postby Alex » Sat May 05, 07 2:37 pm

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.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby chinny » Mon May 07, 07 3:43 pm

[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.
[url=http:///dxfactory.freeforums.org]Image[/url]
chinny
Wannabe
 
Posts: 75
Joined: Fri Dec 29, 06 8:08 pm
Location: East London

Postby Dae » Mon May 07, 07 3:49 pm

10 year old idiots which "ghost" around and kill people on their servers with "tantalus" cheat are good admins?
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Imperial » Mon May 07, 07 4:08 pm

the bad players drove them to it!
I sell donuts, if you want my donuts, give me a call.

DONUTS
User avatar
Imperial
Forum Hero
 
Posts: 2450
Joined: Thu Feb 23, 06 11:23 pm
Location: North Pole

Postby Dae » Mon May 07, 07 4:18 pm

Sounds like еmo.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby MJ12 » Mon May 07, 07 4:22 pm

~[A]Kaiden~ wrote:Yes! Bye-bye MJ12!


Hey i didnt do anything :P i do always what a more players U ban manias
User avatar
MJ12
Wannabe
 
Posts: 88
Joined: Thu Mar 22, 07 5:09 pm

Postby Imperial » Mon May 07, 07 4:22 pm

~[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
Last edited by Imperial on Mon May 07, 07 4:23 pm, edited 1 time in total.
I sell donuts, if you want my donuts, give me a call.

DONUTS
User avatar
Imperial
Forum Hero
 
Posts: 2450
Joined: Thu Feb 23, 06 11:23 pm
Location: North Pole

Postby MJ12 » Mon May 07, 07 4:26 pm

-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
User avatar
MJ12
Wannabe
 
Posts: 88
Joined: Thu Mar 22, 07 5:09 pm

Postby Imperial » Mon May 07, 07 4:28 pm

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
I sell donuts, if you want my donuts, give me a call.

DONUTS
User avatar
Imperial
Forum Hero
 
Posts: 2450
Joined: Thu Feb 23, 06 11:23 pm
Location: North Pole

Next

Return to alpha laboratories

Who is online

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