SRCDS Steam group


[RESOLVED] After install, can't launch gmod server.
#1
Server OS: Windows XP 64bit edition
Processor: Intel Pentium D (Dual Core, I think hyperthreaded? I'm not sure and can't find info)
Ram: 4GB
Game(s): garrysmod
Start Up Command: c:\srcds\srcds.exe -console -game garrysmod +map gm_construct -maxplayers 16 -autoupdate
Admin Mods: No mods as of yet. Will be installing ASSMod once it's working.

I just used "This" batch script to install my gmod server.
Code:
@echo off
cd c:\srcds\
hldsupdatetool -command update -game garrysmod -dir C:\srcds
hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds
hldsupdatetool -command update -game "hl2mp" -dir C:\srcds
hldsupdatetool -command update -game "tf" -dir C:\srcds
pause

I have installed garrysmod servers many times (4 or 5 times now), and never had this issue. After issuing my start up command (see above) after a seemingly successful installation, the window opens real fast, then closes. There has been no log file or error printed that I can tell. I tried to launch a counter strike source server, as I installed that content as well. It worked flawlessly. Any idea what could be causing this? I have manually added the ep1, ep2, and portal content, but i tried launching it before I added this and had no luck then either. I have tried Serverdoc, and serverchecker to launch it, and it keeps immediately crashing there too.

Halp!
[Image: 513233344.png]
Reply
#2
Try disable all content and then install GarrysMod from the beginning. Before launching it, install an OrangeBox game or Source Engine game.
Reply
#3
Ok, I will disable all addon content. I'll just move everything in my srcds folder to a different one, and keep it for a backup.

Now you mean I need to install garrysmod+srcds through hldsupdatetool, then also use hldsupdatetool to add, say teamfortress2 to the content? (or whats the smallest orangebox game to try this with for small download?)

then try to launch srcds garrysmod server?
[Image: 513233344.png]
Reply
#4
Yes. I don't know which one is the smallest.
Reply
#5
I think portal is, or at least that extracted from the gcf's the fastest though. but wait.. isn't the only orange box game that can be downloaded from hldsupdatetool Team Fortress 2? EP2 is single player, so no go there, same with portal. those were the only games included right? Anywho, garrysmod is redownloading. will post results.
[Image: 513233344.png]
Reply
#6
Okay.
Reply
#7
Oh wow... I may be an idiot. I was trying to launch garrysmod server from the srcds in the root of my server. I forgot you have to use the srcds.exe in the orangebox folder (or at least I always have had to...)

Well now it seems to be working. Now, something else I never figured out... the server.cfg file. Where is it? (or more, which one do I use?) and how do I get my server to read it? I always wound up giving up and just adding all of my cvars as arguments on the startup command (which resulted in a VERY long startup command...) it worked fine, but I should probably learn how to use the file instead. btw, my NEW startup command is:
Code:
c:\srcds\orangebox\srcds.exe -console -game garrysmod +map gm_construct -maxplayers 16 -autoupdate

Thanks for your help!
[Image: 513233344.png]
Reply
#8
You must create the server.cfg yourself.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)