========================================================================================================== StatsMe Installation Instructions - By [ZHE]Storm and JustinHoMi ---------------------------------------------------------------------------------------------------------- Here are some steps you can use to install StatsMe correctly and get it working on your server. If you have any problems during your installation, please post and list your server specs, current versions of what you run on that server, the OS, and what you have attempted so far in the installation of the latest version of StatsMe. First a little preface. All directories and paths mentioned in here can be replaced with their equivalent values. Some OS's use / some use \. Some install to a folder called Counter-Strike, cstrike, tfc, etc so just work out whatever is correct for your installation. In my examples, I will assume that 'hlserver\cstrike' is your folder name. This installation FAQ assumes you have no other mods installed, so if you have adminmod/clanmod/csguard etc... then skip straight to "Step 2, Part B". Otherwise, please start here with the installation of MetaMod. If you are "Upgrading" from a previous version of StatsMe please skip to "Step 2, Part C". ---------------------------------------------------------------------------------------------------------- Step One - Installation of Metamod ---------------------------------------------------------------------------------------------------------- Our first step is to change the mod game dll to metamod. If you do not already have the current version of metamod, you will need to go to http://www.metamod.org and grab the latest version (it's a simple *.dll file, which you will need to put into your game dir's ./dll folder). Next, you need to open the chosen mod subdirectory (in this instance ./cstrike) and find your way to the liblist.gam file. You will open this with a text editor such as notepad (or vi/pico for linux). The piece of text we are interested in is this: code: gamedll "dlls\mp.dll" gamedll_linux "dlls/cs_i386.so" this is currently loading the game dll for counter strike. We need to change the game dll for metamod, so we change it like so code: gamedll "dlls\metamod.dll" gamedll_linux "dlls/metamod_i386.so" Now we are loading metamod first, so that we can use useful plugins like StatsMe. So now we need to move onto the installation of our StatsMe plugin. ---------------------------------------------------------------------------------------------------------- Step Two - Installing StatsMe as a Metamod plugin ---------------------------------------------------------------------------------------------------------- Part A) Create a new text file, and then save it as file type "all files" and give it the name "metamod.ini" (those who have other server mods - csguard,clanmod,adminmod, etc.. will already have this and can skip this bit) Part B) To load StatsMe into metamod, the entry in the metamod.ini looks like this : code: win32 dlls/statsme_mm.dll for linux it would be like so code: linux dlls/statsme_mm_i386.so If you have other plugins in your metamod.ini, it is important that StatsMe be on the last line. Part C) Now that we have told metamod to load the plugin, we need to copy statsme into the proper location. All relevant binaries (metamod.dll statsme_mm.dll etc..) need to go in hlserver\cstrike\dlls. You'll also need to copy statsme.cfg into hlserver\cstrike. ---------------------------------------------------------------------------------------------------------- Step Three - Finishing off the StatsMe Installation ---------------------------------------------------------------------------------------------------------- Now we need to add a couple lines to either our server.cfg file or listenserver.cfg file. You need to make sure logging is turned on. code: log on ---------------------------------------------------------------------------------------------------------- Step Four - Upgrade Section (read here if you are upgrading a previous version of StatsMe) ---------------------------------------------------------------------------------------------------------- If you are upgrading from a version prior to 2.1.7, please be sure to DELETE the statsme.log file in the hlserver\cstrike folder. If you do not, you will most likely get an error. Any version from 2.1.7 on up, you can safely leave the statsme.log file and have no problems. Extra tips on upgrading are to rename the statsme.cfg file to statsme.old, rename statsme_mm.dll to statsme_mm.old. Then copy over the new statsme.cfg and statsme_mm.dll to their respective places. This way if the newest beta causes you problems, you can easily delete the new versions files, and rename your *.old files back to the version that last worked for your setup. If you do this, you will most likely need to delete the statsme.log file, as it might've been corrupted from the previous upgrade. I would say try this out before doing so. ---------------------------------------------------------------------------------------------------------- Step Five - Restart your server and verify that it is working ---------------------------------------------------------------------------------------------------------- Your statsme should now be up and running. Try typing /statsme within the game to verify or from console/rcon type "statsme_version" and it should spit back the version of statsme. You can also type "rcon meta list" to confirm that metamod is running. ---------------------------------------------------------------------------------------------------------- For Extra Help: ---------------------------------------------------------------------------------------------------------- StatsMe Forums: http://forums.unitedadmins.com/forumdisplay.php?s=&forumid=36 Latest StatsMe: http://www.olo.counter-strike.pl (check Files section) ---------------------------------------------------------------------------------------------------------- Credits: ---------------------------------------------------------------------------------------------------------- OLO - for making such an AWESOME plugin and adding new features to it JustinHoMi - for helping on writing this FAQ [ZHE]Storm - for helping on writing this FAQ [JP]MrLOL - for writing install FAQ for CSG from which first 2 steps were taken (slighty modified). ==========================================================================================================