I've made this thread separate from Roulette so that thread won't go off topic-
Here is Oxide :: Hasher- our proof of concept for Roulette. Didn't think we could actually do it? Think again:
§§}Oxide:
This is my first server mod. It's really simple/small. All it does is patches a halo dedicated server so that it will log the hashes and names of all players who join. This information will be printed to the console and logged to file. The file log will include the time the player joined, the console will not.
There isn't a whole lot of error checking in the patcher, mainly because it's soooo boring to add. If you follow these instructions you should be fine though.
Download the below archive, it includes Patcher.exe and Halo_ServerMod.dll. Put Halo_ServerMod.dll into the folder that contains the dedicated server you're running, for example:
E:\Program Files (x86)\Microsoft Games\Halo Dedicated Server
If you don't do this, the server will crash each and every time.
Patcher.exe can go anywhere on your computer.
Drag and drop the haloded.exe file into Patcher- it will automatically set the path. Patch the file and run the server.
Before the patch is applied to the file, it will create a backup of the server you're applying the mod to. It will be called <your server name>.bak, simply rename .bak to .exe and you'll have the original back. This is the only way to "remove" the patch.
Changelog:
Version v0.11 has been released!
There is a new command that can be used via the console or ingame, it's called sv_kill. To use it simply type: rcon password sv_kill <number> where <number> corresponds to the player's number. Obviously if you're entering this directly into the server console you don't need the rcon password bit.
If someone is killed via this command, their death count will not increment out of fairness to them, the game will say "so and so died" in response to this command.
Version v0.10 has been released!
Included are two new rcon commands, "sv_banlog # T" where # is the line index number of the entry in the hash log and T is the length of the ban.
Version v0.03 has been released!
New version is out, name change for public release.
Bug Fixes:
* Profile names [%] will now be resolved to the ingame name. Same with when someone attempts to join and their name is already in use.
Changes:
iatread.dll has been made redundant.
Patcher.exe has been imporved .. A lot. There is now a check to see if the file is already patched, error checking has been added to the patched exe.
This will be the last version (from me, Church may add stuff, not sure) until I'm back, which should be about the 10th of January.
Version v0.02 has been released!
This build addresses a few issues, and adds a new feature.
Bug Fixes:
* Fixed API redirection, won't crash after a computer reboot. (was fixed in v0.01a)
* Fixed server crashing with the following symbols in its name: '/', '\', ':', '*', '?', '"', '<', '>', '|'
* Added sv_banhash (usage is below).
* Added mm/dd to the log files (was added in v0.01a)
(sv_banhash [hash] opt: ["name"] [duration] opt: [duration (#)(s,m,h,d)])
* When specifying a name, duration is the third param. W/o name it's second. *
*** Include NO SPACES in the name ***
Some examples:
sv_banhash thehash123 - Bans the hash, enters the entry under manual_add
sv_banhash thehash123 "Oxide" - Bans the hash and saves the entry under Oxide.
sv_banhash thehash123 1d - Bans the specified hash for one day.
sv_banhash thehash123 "Oxide" 1d - Bans the specified hash for one day. The entry is saved under Oxde.
What NOT to do:
sv_banhash "thehash123"
sv_banhash thehash123 "A Player"
sv_banhash thehash123 player
sv_banhash thehash123 "1d"
Note, it only supports s, m, h and d for the time bans. No weeks or years. It (like the server) can't ban past 19:14:07, January 18, 2038. When you ban someone with the hash and they're in the server, they won't be kicked. Bans are effective immediately.
DOWNLOAD HERE:
OXIDE :: HASHER
If you choose to download, please post so we can get a general census on how many servers are using it.
Updates are released in the form of new DLLs- you only have to patch the server once unless otherwise noted on the update.
[Edited on 02.20.2010 12:52 PM PST]