MohFill Fix 2.0 (must have for AA server owners)

Made a map or mod? Announce it in this forum!

Moderator: Moderators

Post Reply
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

MohFill Fix 2.0 (must have for AA server owners)

Post by Elgan »

oki, i start coding it like 2 months ago and i put it back a lil while i had important other things to do, but last 2 days i decided to get it out the way. I just wanted to rescript the admin.ini file. I also wanted wombat to check it over however he is in switzerland i think. I also wanted to add alot more. However, i decided to get it done, redo admin bit and release as is. I thought why add as much and keep ppl waiting, it was also playing on my mind. New things and fixes can always be added, easier to update.

use at your own risk, i dont have time to test everything but im pretty sure at least everything works to a degree... :D

The main reason for the update was 1.0 fix could be by passed with a new mohfill programme that basicaly thrashes and bombards the server. (see my picture), In the picture i pressed the button, god knows how many times... The server still seems to be running tho :)


Apart from an update to the actual Moh fill fix i added some more things, wombats admin mod also got in there.

Description:
------------
Fix and enhancement for Medal of honor Allied Assault.

Contains:

* chat filter.
Works on a point based system. If the chatter used words in the chatfilter.cfg
then they will receive a point. If they match or exceed the points given as badchatlimit cvar.
They will be kicked from the server.

* Ip Filter.
Ip's entered into the ipfilter.cfg will not be able to connect to the server.

* Name Filter.
Name's entered into the Namefilter.cfg will not be able to connect to the server.

* Fixes
For skin fps crash bug
moh fill crash bug
bad command crash bugs

* Bad command filter
cheat cmds like noclip,
some dangerous cmds that case a crash.

* Admin mod

Admins can be assigned using the admin.ini. This allows you to give
admins some abilities without giving them the actual rcon password.
This is safer and easier way to manage admins.

Rights:
1 = Protected name
no cmds:

2 = Can Change Maps.
admin_map <map>

4 = Can restart map.
admin_restart

8 = Can change game type.
admin_gametype <gametype #>

16 = Can change fraglimit and time limit.
admin_timelimit <timelimit #>

32 = Can kick players on server.
admin_clientkick <client id #>
admin_kick <name>

64 = Can use "bad" cmds on server. This is mainly for scriptures. noclip, dog etc.
no cmds:

128 = Can ban players on the server.
admin_addname <name>
admin_addip <ip>
admin_listnames
admin_iplist

256 = Can un ban players on the server.
admin_listnames
admin_iplist
admin_removename <name>
admin_removedip <ip>

512 = Can add and remove, view chat filter.
admin_chatfilteradd < word >
admin_chatfilterremove < word >
admin_chatfilterlist

1024 = Can use Admin Pro
admin_cmd <cmd string>

2048 = Can list admins
adminlist

4096 = Can do anything. Same as normal rcon. (super admin)
admin_rcon

All together total added is 16383

You can add rights together.
eg1. map(2) + restart(4) = 6
eg2. Protected name(1) + Map(2) + restart(4) = 7
just like dmflags

Admins must setu the cvar "admin_auth" in their game. This cvar should contain the password
apointed them in the admin.ini admins list.

eg, in my config for my game, i put setu "admin_auth" "password"


* Some new cvars

New cvars:
------------

sv_kickbadcmd ( # ) default: 1.
Kicks a player for entering a bad command.

g_teamforcebalance ( # ) default: 0.
Force even teams.

filterban ( # ) default: 1.
Turn on ip and name banning.

badchatlimit ( # ) default: 3.
limit , how many times can an offender use
filtered words in chat before kicked.

sv_disablechat ( # ) default: 0.
Disable chat for everyone.
No one will be able to use chat and a message will display
"chat disabled" if they try.



again. i only have a compiled version for windows. i installed linux vwmware hwoever i cant get damn net sharing with windows so cant download a compiler and sompilers ive tried on windows to compile for linux get some stupid error, either i am compiling wrong or as the erropr says it still compiles as an AMD 64 windows executable or something.

There is 2 downloads. 1 is the windows fix, dll, read me and filter configs. The other contains the source code for windows and linux.

For windows AA, combined with bof fix and AP, your server should be prety stable

Oki , have fun. back to boring work now :(


http://www.mods-r-us.net/datas/users/75 ... ohfill.jpg
http://www.mods-r-us.net/datas/users/75-disablechat.jpg

http://www.mods-r-us.net/datas/users/75 ... %202.0.rar
http://www.mods-r-us.net/datas/users/75 ... %202.0.rar
Post Reply