Administrators. Any interest?

This is used for general discussion that is not necessarily server-related.
Post Reply
tacticious
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue May 28, 2013 12:33 pm

Administrators. Any interest?

Post by tacticious »

I wrote a PHP script for when I was running CoD 4 servers that does most of what B3 does (the features I was interested in) and some that it doesn't. Though it could have been coded more effectively (and I'm sure if you saw it you'd see things you'd want to change), it's decently optimized and runs with minimal impact on Memory/CPU. It parses the log file per line, instead of opening the entire file, and will also delete the log file and switch the server to a new one seamlessly (with a certain byte-limit).

I don't run servers for CoD 4 any more. I have no use for this script. I'm curious if you guys want to check it out and see if it's anything you're interested in incorporating into NFO. If not, that's fine. I just noticed that you guys have the more "home grown" scripting look, which is one of the reasons I decided to go with you for my BF3 server, and I wondered if you'd have any interest. Obviously with it working on CoD 4, it'll pretty much work with any game on that engine with minor tweaking.

The "bot" contains a class file, and a tiny loop file that calls upon functions when necessary. Due to the nature of it, it provides nearly instantaneous (< 50 ms) results with in-game chat commands while also having a pretty small impact on RAM/CPU.

I had this all integrated with an online Admin Panel I made which would allow administrators to chat to in-game players, kick, ban, change maps, gametypes, etc. It was all pretty decent, and quite fun to code (for the most part). None of it is really ground breaking (other than in-game chat showing up live (updated every so often with AJAX) on our main page -- didn't see that anywhere else), but when all of the minor features combined it made for one awesome social gaming experience. The persistent awards gave our gamers a goal and made the game a lot different/a lot more fun at times. Honestly, I only stopped hosting the servers when I switched jobs and didn't have servers to play with any more.

I've included the FAQ I used to have about it on my old website. Read through it if you have any interest, see if any of it appeals to you, and contact me if there's any slight interest at all. Again, if you don't care about it, that's fine. I'm not trying to tell you how to do your job(s). You're obviously good at what you do.
Fusion Bot is a proprietary program written to monitor all of our servers. It extends far beyond any bot you've ever seen. Some advanced bots will track how many rounds you've played and such. That's cool. Fusion Bot, however, does everything other bots do and more.

Key features

Real-time stats - Okay, so stats are no big deal. However, most servers run a third party stats program (with a really bad interface) every so often to collect stats. You have to wait until they have run their scheduled log-parsing to even see updated stats. Fusion Bot updates stats per-round. You can see everything you did as soon as the next map starts and awards are announced. XLRStats will claim they are real-time, but all they do is upload files frequently. I warn you, that is INCREDIBLY inefficient, and if your host throttles your bandwidth like 99% do, you will pay for it in the end. That is an absolutely horrible way to do it, and again, will eat up your bandwidth faster than you can pay the burst rates. For example, they upload the HTML files over and over again. Each HTML file is probably pushing ~5KB, depending on how many players are on your server. That is approximately twice per minute. Uploading ONE 5KB file twice per minute equates to 432MB per month of bandwidth consumption in STATS ALONE. Do you REALLY want to use that much bandwidth for stats? Now if you have a slightly popular server, your file will be pushing 10-50 KB, or 864MB - 4.32GB per month of bandwidth. Yikes! Why someone would ever do that over a minuscule database update is beyond me, but don't be fooled, it is absolutely NOT an efficient way of collecting stats. Also, they use their own SQL file to store data instead of letting you use your own. That is also inefficient.

Awards/achievements - Some bots will announce awards after each map. That's cool, it's not really THAT complex. Fusion Bot, however, has persistent awards and achievements. Whoever has the most kills on the server, most deaths, best ratio, etc. will have an unlocked achievement which brings a whole set of features for the player. That player gets a custom title (The Shark, for example), a custom message when joining one of our servers (e.g. Tacticious the Everlasting enters the server...), and a custom phrase displayed with the command #whoami (e.g. You are Tacticious, the everlasting machine of destruction!)

Real-time status pages - Everyone has a status page. However, NO ONE (and I mean no one!) has a Fusion Bot status page! OUR status page shows the teams, spectators, everyone's kills, deaths, suicides, melees, explosive kills, etc. Check it out, you will not see that status page ANYWHERE else. Oh, and, the status page updates in real-time without consuming bandwidth.

In-game chat displayed on website - Yeah that's pretty much Fusion Bot exclusive. I've not seen anyone else with this feature, anyway.

Admin paging - Typing #admin sends an sms text-message and an email to all admins, as well as notifying everyone logged into the proprietary Fusion Admin client. Some servers have this to an extent, but not as in-depth as us.

Zero delay log parsing - Some bots have this, others don't. However, none compare to the responsiveness of Fusion Bot. Commands are instant, and will remain that way. The bot will never get bogged down, no matter how large the log file becomes.

Log file archiving - Fusion Bot will automatically switch the CoD4 server to a new log file after it gets to a defined size. It then renames the old log file to the date, and archives it for later review.

Unprecedented logging - Everything that happens on the server is logged. All commands, all chat, all kills, all damage. Right down to the smallest detail, nothing gets past Fusion Bot. If anything is ever questioned, Fusion Bot logs everything for future review. Map changes, kicks, bans, joins, quits, swearing, etc. I am not joking when I say EVERYTHING is logged.

Seamless integration - Fusion Bot (obviously) integrates flawlessly to a website. From live in-game chat, to controlling the commands a player can use. From the website, you can have Fusion Bot ban someone on sight, change someone's welcome message, select the award you'd like to use (with the custom title, etc.), change map rotation, change message rotation, message someone in-game, etc. Some of this has been done before, however, not like this. Fusion Bot queues ALL commands sent from the website so an administrator will NEVER have to worry about too many commands being sent at once.

DoS/DDoS prevention - Fusion Bot protects servers from DoS attacks by blocking IPs that send too many similar commands. This will never interfere with anyone's gaming, however. Fusion Bot also prevents your server from taking part in DDoS attacks (status packet bug, anyone?) by COMPLETELY blocking the status port and handling ALL status requests. Trust me on this, our servers get hammered daily while I sit back and laugh. -- This was a separate script not included. It was an entirely other beast and I lost it when I left my old employer.

Ban on Sight - Did a hacker leave before you could ban him? No problem. Don't worry about him hopping back on when you're gone. Add him to the ban on sight list and forget about him.

Automated hack detection - Newbie hackers will sometimes enable spamming on their hacks which will spout a message every time they kill someone. Fusion Bot will catch them as well as name-changers, automatically, and ban them for life.

Tag based automated banning - Enter something that can be found in a name, a clan tag for example, and Fusion Bot will ban anyone joining the server with that tag in their name. Very useful for defending against hacking clans.

Phrase based automated banning - Enter a word or phrase that will trigger an automatic ban. Anyone who says this phrase/word will be banned without warning. Useful when you see a hacker spamming messages about their hack.

Unparalleled Traffic Stats - Fusion Bot gathers traffic statistics (like you see on Gametracker) and creates graphs based on these stats. The difference, however, is that Gametracker scans thousands upon thousands of servers, and therefor can only scan your server every so often. Fusion Bot has much more accurate readings on traffic, and delivers REAL stats, not stats gathered every 5-10 minutes. You can see as far back as a month, and as close up as thirty minutes. All stats are gathered MORE than once a minute, which delivers astounding accuracy. The stat gathering, however, does not bog your server down or consume bandwidth any more than Gametracker does, guaranteed.

Custom server status banners - A lot of places do status banners. The real kicker is that Fusion Bot will take images you provide and stack them to form whatever effect you're looking for. For example, the banners we use now are glossy. All I did to make the glossy effect is provide Fusion Bot with the "gloss" overlay. It generates the stats, then puts my PNG over the top of the image. If I wanted it to look like wood, I'd upload a wood image. If I wanted it to look like metal, I'd upload a metal image. Fusion Bot simply throws stats on images and overlays other images on top -- just as you would in Photoshop. Graphs can be included (30 day, 24 hour, 30 minute). The current map image can be included. It's all a matter of preference.

Unique Kick-Kick-Ban System - Upon warning someone, Fusion Bot logs the warning. If a player gets three warnings within 24 hours, they get a kick. If a player gets three kicks within a week, they will then be banned. This persists no matter what; If the bot gets restarted, the server restarts, etc. the bot will still have record of all warnings and kicks. Upon administering the kicks and ban, the bot logs the reason, just in case someone wants to know why they were banned.

Player Notifications - Fusion Bot allows players to setup alerts for when a designated number of players are on the server. The alerts send an email to the player during designated allowed times/days, up to once an hour. Very useful for those who like your server but don't know exactly when to hop on.

999 Ping Prevention / Scheduled Reboots - Fusion Bot will allow you to schedule reboots based on day of week, time of day, and whether players are in the server or not. This allows you to keep your CoD4 server from displaying (inaccurately) 999 ping for everyone after so much uptime.

Traffic Notifications - Fusion Bot will notify you when servers reach a certain amount of players. This can be scheduled to not happen during work, school, or any other time you choose not to receive them. You can, for example, set Fusion Bot to email you on weekends between 10:00 AM and 5:00 PM if the main server has 12 or more players on it.

Random Goals - Upon a player joining, they have a chance to receive a random goal. A goal lasts one round, and will challenge a player to get a random amount of a random variable (kills, headshots, knives, etc.) for a large amount of points.

Zero Player Map Cycling - Fusion Bot will cycle between all maps every 5 minutes to attempt to attract players, when the server has no players on it.



There are quite a bit more features, but these are the ones I wanted to list. If you have any questions, contact me. I can let you know whatever you'd like.
Post Reply