RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
erics216



PostPosted: Tue Mar 03, 2009 10:39 am    Post subject: CS server won't start - command problem? Reply with quote

I'm new to GameCreate, and have been trying to set up a CS 1.6 server. When I try to start it, goes into a restart loop and I don't think it actually ever starts. The error in the GC console is "Query Failure". I am able to get the server to start through SSH, and I've stripped down the GC command to the following:

hlds_run -game cstrike -console +ip 69.90.134.69 +port 27015 +maxplayers 14

I'm running on Debian 4.0 - the command I use with SSH starts with ./hlds_run, which I think may be my problem, as the GC command doesn't have the ./ . However, I can't find a way to edit that part of the command, just the parameters (-game, -console, etc.) Does anyone have any insight on this?
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Steve
Mammoth


PostPosted: Tue Mar 03, 2009 10:42 am    Post subject: Reply with quote

Are you able to query the server that you've started via the command line with something like hlsw or ase from a machine outside of the network?
Back to top
View user's profile Send private message
erics216



PostPosted: Wed Mar 04, 2009 4:45 am    Post subject: Reply with quote

I can query it through HLSW and through the Steam client.

Thanks,
Eric
Back to top
View user's profile Send private message
Steve
Mammoth


PostPosted: Wed Mar 04, 2009 10:27 am    Post subject: Reply with quote

Sorry I should have also asked if you were able to query the server with steam or hlsw when you had it running through GameCreate also.

Also to see how turning off server queries and player monitoring on the host goes.
Back to top
View user's profile Send private message
erics216



PostPosted: Wed Mar 04, 2009 10:47 am    Post subject: Reply with quote

I've had no success querying it when starting it via GameCreate. I'm not sure it ever really starts at all though, as it just keeps restarting. I don't see any option to turn off server queries or player monitoring in GameCreate - I'm assuming that's a command I'd need to input on the server. I'll search and see if I can find out how to do it.

Also, when I start the server from SSH it hangs for quite a while, and then says

"
No masters loaded
Using default master
Could not establish connection to Steam servers
VAC secure mode is activated.
"
The test server I set up without GameCreate never had that problem...could that error have something to do with it?
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu Mar 05, 2009 8:37 am    Post subject: Reply with quote

Note that when you start the server with GameCreate, its pretty much doing what you would be doing from the command line.

So its not something GameCreate is doing per-se, rather perhaps its a configuration issue.

Try starting the server manually via SSH using the same command line shown on the Server Overview tab.

Those errors however look like its a firewall issue to the Steam master servers?
Back to top
View user's profile Send private message
erics216



PostPosted: Fri Mar 06, 2009 4:19 am    Post subject: Reply with quote

Hmm, it looks like it may have been a firewall issue. I had a working server which I had installed using hldsupdatetool (I copied the install into the gamecreate directory), and it had ports 27015 and 80 open. I decided to try opening 80 on the problem box in addition to 27015, and it seems to be working now. Should that have happened, or is it just a coincidence? Are there recommended firewall settings for the client?
Back to top
View user's profile Send private message
erics216



PostPosted: Fri Mar 06, 2009 4:43 am    Post subject: Reply with quote

Also, could the problem with communication to the master servers be due to having an old version of the server? The one that worked is v1.1.2.6/Stdio, Protocol 48, while the questionable one is v1.1.2.0+, Protocol 47.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Fri Mar 06, 2009 8:13 am    Post subject: Reply with quote

erics216 wrote:
Also, could the problem with communication to the master servers be due to having an old version of the server? The one that worked is v1.1.2.6/Stdio, Protocol 48, while the questionable one is v1.1.2.0+, Protocol 47.

I'd be sure to run hldsupdatetool and make sure your game is up to date.
Back to top
View user's profile Send private message
erics216



PostPosted: Fri Mar 06, 2009 8:42 am    Post subject: Reply with quote

I've actually tried running it, but it outputs:

"
Checking bootstrapper version
Updating Installation
Cannot open output file gamecreate/hlserver/InstallRecord.blob
"

When I run this command : ./steam -command update -game cstrike -dir gamecreate/hlserver

I've also tried using /gamecreate/hlserver as the directory and get a similar error.

Is this a GameCreate thing or a Steam thing? Googling this error has been pretty fruitless so far...
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Fri Mar 06, 2009 8:50 am    Post subject: Reply with quote

That would be a Steam problem.

First, what I would do is try cd'ing to where your server is installed:

bash: cd gamecreate/hlserver
bash: /path/to/steam -command -update -game cstrike -dir .

Also make sure that your current user has read/write access to the directory.
Back to top
View user's profile Send private message
erics216



PostPosted: Sat Mar 07, 2009 4:39 am    Post subject: Reply with quote

Looks like it's resolved. I cd'd to the root directory and then entered the full path to steam and to the install directory (after -dir), and it worked, similar to below:

/root/.../steam -command update -game cstrike -dir /root/.../hlserver

This Steam Forum post had the info I needed:

http://forums.steampowered.com/forums/showthread.php?t=620153&page=2&highlight=installrecord.blob

Thanks guys for all your help, this seems like a great product and I'm looking forward to working with it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.