View Single Post
Author Message
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 09-28-2007 , 11:57   CSS:DM troubleshooting guide/FAQ
Reply With Quote #1

So, you can't get CSSDM running correctly... let's see what we can do to make it run
Please note that this is only for LEGITIMATE Steam server, and non-steam servers will not be supported.
You need some basic things to get CSSDM running, as stated in the install guide: A srcds server, Metamod:Source, and Sourcemod.
Please make sure you have followed the installation instructions to the letter before asking for help; most problems are caused by people not reading the instructions thoroughly and missing an important (yet small) step.
Metamod:Source install instructions
Sourcemod install instructions
CSSDM install instructions <--References the previous two as well

First and foremost, are you running a listen server (Starting up the CS:S game and running the server through that) or running a dedicated server (srcds.exe/srcds_run)?
If it's a listen server, make sure you follow the instructions for a listen server (http://wiki.alliedmods.net/Using_Met...Listen_Servers)! If dedicated, let's continue.

Checking vanilla (plain) server
Now, does the server run fine without Metamod? You can check this easiest by editing the gameinfo.txt file in srcds/cstrike and commenting out the GameBin line (do so by putting // before it). If the server does not run without Metamod, then something else is amiss (Try an update with -verify_all, such as ./steam -command update -game "Counter-Strike Source" -dir . -verify_all). Perhaps a different plugin is causing the issue? If you still cannot get the server to run correctly with no plugins, then either try a fresh install or go ask on the Steam forums; this is not a srcds support forum.

Checking Metamod:Source
Ok, now that we have verified that the server runs without Metamod, let's make sure it runs with Metamod. Uncomment the line in gameinfo.txt (remove the //), save it, then open up cstrike/addons/metamod/metaplugins.ini (you did create that file too, right? ). Comment out any listings you may have in there (again, by adding // to the beginning of the line), and try to run the server. If you get a crash, make sure you have the correct Metamod file in the correct directory (.dll for windows/.so for Linux; both go in cstrike/addons/metamod/bin). If it still fails, re-download it; it may have been corrupted. If the server does start up, type "meta" in console. If you get unrecognized command, you need to troubleshoot some more (most likely misplaced files), otherwise Metamod is working

Checking Sourcemod
Now we move onto Sourcemod. Make sure all the files are in the correct locations, and then uncomment the lines for Sourcemod (remove the // in the front) in metaplugins.ini (if they weren't there, that's another problem ). Just do Sourcemod for now, as maybe your other Metamod plugins (if any) are causing problems). Once uncommented, save, and start the server. If it crashes, make sure all the files are in the correct locations again, try getting the newest version of Sourcemod, and remove any third party plugins (maybe even all) by placing them in the cstrike/addons/sourcemod/plugins/disabled folder (instead of cstrike/addons/sourcemod/plugins), and try to run the server. If the server starts up, type sm in console. If you get unrecognized command, you need to figure out why Sourcemod isn't loading (meta list may help); otherwise Sourcemod is now correctly installed.

Checking CSSDM
Now we move onto CSSDM. This is simply a matter of extracting the files to the proper locations (you can configure later). Once extracted, try to run the server. If it crashes, make sure you have a good download and try again. If it runs, test out the server. It should be fine

All other plugins
Now you can re-enable all other plugins (Both Metamod and Sourcemod) one by one to make sure they are not causing any problems.


Please also check the official CSSDM FAQ at http://www.bailopan.net/cssdm/index.php?page=faq

Directory structure
This is how your directory should look (just the addons directory, and there are some missing files that come default with sourcemod, but if you don't have these, then DM probably won't run ; there are also files in cfg folder as well, not shown as they are not critical to running but necessary to configure it):
Code:
#  ls -lR addons
addons:
drwxr-xr-x  3 srcds srcds 4096 Sep 17 09:26 metamod
drwxr-xr-x 11 srcds srcds 4096 Sep 17 09:10 sourcemod

addons/metamod:
drwxr-xr-x 2 srcds srcds 4096 Aug 22 20:23 bin
-rw-r--r-- 1 srcds srcds  117 Sep 17 09:26 metaplugins.ini

addons/metamod/bin:
-rw-r--r-- 1 srcds srcds 147724 Jun 25 08:39 server_i486.so (or .dll for windows)

addons/sourcemod:
drwxr-xr-x 2 srcds srcds  4096 Sep 17 09:10 bin
drwxr-xr-x 6 srcds srcds  4096 Sep 20 10:09 configs
drwxr-xr-x 3 srcds srcds  4096 Sep 18 15:03 data
drwxr-xr-x 2 srcds srcds  4096 Sep 17 09:33 extensions
drwxr-xr-x 2 srcds srcds  4096 Sep 17 11:13 gamedata
drwxr-xr-x 2 srcds srcds  4096 Sep 28 06:22 logs
drwxr-xr-x 4 srcds srcds  4096 Sep 19 10:14 plugins
drwxr-xr-x 7 srcds srcds  4096 Sep 19 09:21 scripting
drwxr-xr-x 2 srcds srcds  4096 Sep 18 15:01 translations

addons/sourcemod/bin:
-rwxr-xr-x 1 srcds srcds 1238558 Sep 17 09:37 sourcemod_mm_i486.so
-rwxr-xr-x 1 srcds srcds   68452 Sep 17 09:37 sourcepawn.jit.x86.so

addons/sourcemod/configs:
All your config files

addons/sourcemod/extensions:
-rwxr-xr-x 1 srcds srcds   13800 Sep 17 09:37 bintools.ext.so
-rw-r--r-- 1 srcds srcds  209836 Sep 17 09:33 cssdm.ext.so
-rwxr-xr-x 1 srcds srcds 1939060 Sep 17 09:37 dbi.mysql.ext.so
-rwxr-xr-x 1 srcds srcds  575776 Sep 17 09:37 dbi.sqlite.ext.so
-rwxr-xr-x 1 srcds srcds   28108 Sep 17 09:37 geoip.ext.so
-rwxr-xr-x 1 srcds srcds  175624 Sep 17 09:37 sdktools.ext.so

addons/sourcemod/gamedata:
-rw-r--r-- 1 srcds srcds   494 Sep 17 09:37 core.games.txt
-rw-r--r-- 1 srcds srcds  3080 Sep 17 09:33 cssdm.games.txt
-rw-r--r-- 1 srcds srcds 12774 Sep 17 09:37 sdktools.games.txt

addons/sourcemod/plugins:
drwxr-xr-x 2 srcds srcds  4096 Sep 19 10:14 disabled
-rw-r--r-- 1 srcds srcds  5309 Sep 17 09:43 dm_basics.smx
-rw-r--r-- 1 srcds srcds  2162 Sep 17 09:43 dm_bot_quotas.smx
-rw-r--r-- 1 srcds srcds  9062 Sep 17 09:43 dm_equipment.smx
-rw-r--r-- 1 srcds srcds  7635 Sep 17 09:43 dm_preset_spawns.smx
-rw-r--r-- 1 srcds srcds  3697 Sep 17 09:43 dm_spawn_protection.smx


addons/sourcemod/scripting:
-rw-r--r-- 1 srcds srcds   7842 Sep 17 09:34 dm_basics.sp
-rw-r--r-- 1 srcds srcds   2835 Sep 17 09:34 dm_bot_quotas.sp
-rw-r--r-- 1 srcds srcds  21362 Sep 17 09:34 dm_equipment.sp
-rw-r--r-- 1 srcds srcds  11749 Sep 17 09:34 dm_preset_spawns.sp
-rw-r--r-- 1 srcds srcds   4494 Sep 17 09:34 dm_spawn_protection.sp


addons/sourcemod/translations:
-rw-r--r-- 1 srcds srcds 2354 Sep 17 09:32 cssdm.phrases.txt
Example metaplugins.ini:
Code:
addons/sourcemod/bin/sourcemod_mm
addons/stripper/bin/stripper_mm
//addons/some/commented/plugin  <-- Notice the //, that means this plugin will not be loaded
__________________
Dan o.O - connect dansbasement.us:27015


Last edited by TSCDan; 09-28-2007 at 15:22.
TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan