PDA

View Full Version : Administration Bot for CoD Released


chmod
11-29-2003, 12:36 AM
Hello all, I wanted to let the server admins here know that I have just released version 0.3 of the UDPB-COD admin bot.

The bot makes it nice and easy to run your servers, and also tracks player stats at a central location. Below is a list of changes leading to version 0.3..

OK, after much hacking. 0.3 is ready for download. You can get it at http://www.udpviper.com/html/downloads.php

Among the new stuff...

* !help command shows general help for the bot, and can be combined with other commands for detailed help. like '!help kick'.
* The bot now traps signals, like SIGINT and SIGTERM for clean shutdowns
* The bot now writes its proccess ID to a file called run.pid. This makes it easy to write scripts for monitoring/restarting the bot from the shell. It also serves to prevent duplicate copies from running
* The bot now has an extensive team damage system. The admin can set an ammount of teamdamage that will kick players. All the admin needs to do is edit the config file and set a team damage limit. Default is 200. If users do more team damage than the limit, they are automatically kicked.
* Players can use the command !forgive to clear someone of these TK points. So if it was an accident, the victim can forgive the TKer and keep him from being kicked.
* The command !clearpoints allows an admin to clear TK points from any user.
* The admin can set a ping limit in the config file, and the bot will kick any players whose ping is over this limit.
* Time alive per round is now tracked for stats.
* Fixed the !setlevel command to work on existing IP addresses, and to gracefully handle wrong arguments.
* All command configuration is now in the file command_list.cfg. This file can be edited with a simple text editor. Each command's help message can be edited/translated to the admin's liking. Also command levels may be set without having to poke around in the code.
* An extensive logging system has been added. The admin can start the bot with the -d flag to enable debug logging (which will make very large log files). Default logging is much less noisy.
* The bot now can be started with a -v flag, to print the version and exit
* Admins can now not kick/ban admins of a higher level
* The admin can now set a protected level in the configuration file. Any user at or above the protected level, will not be autokicked. For example on my server I have several level 1 admins who can use no extra commands, but are protected from autokicking. They are regulars I know, and do not intentionally TK. You can do the same for your server quite easily.
* There is now a zero-tolerance time period setting. The admin can change this time period in the config file. If a player does *ANY* teamdamage in this window of time, they will be autokicked.
* There is now a detailed installation document that ships with the bot.
* The bot now attempts to reconnect to the stats server every so often. If the stats server is down, or can not be reached, the bot will buffer stats locally, until the server is up again. This ensures your stats will not be lost, even if the stats server is down.

One last thing... If you plan on running the stats portion, you need to register your server at http://codstats.udpviper.com/html/signup.php

The stats server will not accept stats from your bot until your IP is registered. You can also check out your stats at the above address by searching for a name. Try "chmod" if you're bored. The stats site is not yet complete, so please do not make it public to your players. But feel free to poke around in the mean-time.

Whew. OK. If you have any questions, please post to this thread, or find me in the udpviper.com forums. I appreciate everyone giving the bot a chance!

-chmod

chmod
11-29-2003, 02:15 AM
quick update...

The bot now has its own homepage at http://bot.udpviper.com

chmod
11-29-2003, 01:12 PM
One more update. 0.3.1 has been released to fix a connection issue with the stats server.

imported_Eroc
11-29-2003, 07:15 PM
We have this working on our server and it runs great !!!!

Few minor issues but for a beta... it's awesome !!

Gotta have linux though !

chmod
11-29-2003, 09:41 PM
Eroc, thanks for trying it! Also just another note, the latest version is now 0.3.2.

Keep the bug reports coming in, and it will only get better faster. :D

imported_Eroc
11-30-2003, 11:56 AM
I am willing to be your tester... I have 4 COD servers running in linux.


Give me a yell if your interested...

Eroc

chmod
12-01-2003, 12:50 AM
Eroc, without a doubt, I'd love for you to test the bot/stats. Please feel free to mail me. My address is all over the http://bot.udpviper.com site.

Cobra
12-02-2003, 06:53 AM
Would it be possibel to make ServerWatch send this same info as you send to your stats page ?
Or would you not like other programs to send stats to your webpage ?

chmod
12-02-2003, 09:09 PM
I'm not familiar with serverwatch. But I have talked to some other modders about pushing stats to my system. I'm fine with it. If someone wants to add my stats to their bot/mod, let's do it :D

Cobra
12-02-2003, 09:37 PM
I have sendt you a PM message with Msn adress and icq.

Then we will make this work.

DPG_Omaha
12-06-2003, 02:59 PM
I don't know where to tell it the log file address is.
Our server hosting company only gave us ftp access to our main folder...
How do I find out exact location of my server log file? I can see it with my ftp client.

chmod
12-10-2003, 09:37 PM
Hello all, just wanted to let everyone know 0.4.0 is now out. With several bugfixes and some new features. Please visit the webiste to read about the new features and download.

http://bot.udpviper.com

imported_Eroc
12-11-2003, 11:00 AM
I'm using this on my 3 US servers and it's working great. I'd say that if you want true admin capabilities then definitely get this installed.

Eroc

Daffy
12-11-2003, 06:29 PM
Hey chmod,

I am shopping for server providers and most are running Win2k servers. How much testing have you done with your adminBot under win2k?

I like lotsa the features yours has and your stats are cool. Is there any reason a provider may not want the Python interpreter running on their win2k server? Can it run as a service?

I'm looking for some positive reasons to run your stuff but Linux aint the mainstream (yet) among game server providers. I should mention that I am only seriously considering west coast providers which does eliminate some of the top Linux providers.

greenfalcon
12-21-2003, 05:05 AM
Yo daffy, i run servers, and i run them all off of linux, its way better than win i think. anyways hit me up if you want to find out the prices (cheep cheep)

My msn is

jasongrant15@yahoo.com (yes that is for msn instant messanger)

and my email is admin@trtombraiders.com