RegisterRegister    Log inLog in    SearchSearch   

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



PostPosted: Sat Feb 20, 2010 2:33 am    Post subject: GameCreate and Debian Reply with quote

I'm trying to start a CS 1.6 server under Debian Linux. GameCreate is running well, but CS 1.6 doesn't work. I installed it without any problem and created a server.

I can't reach the server, although GC says it's running and without problems. The servers seems to be offline...
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

theWeird



PostPosted: Sun Feb 21, 2010 1:15 am    Post subject: Reply with quote

Did you open the required ports on your server?
Perhaps your firewall still blocks the server.
If you did so, try the following steps:

Stop the server via gamecreate interface
Stop the GC client on your server
Run the GC client on your server in foreground mode: gamecreate.x86 -f
Start the CS server via GC Interface
Look in GC client's output for the used startup command for the server and copy it
Stop the server in the interface and stop the GC client (STRG+C)
Try to run the server using the startup command you copied out from GC clients output

Does the server start up?
If not, there is an error in your installation, the startup command or the configuration
Back to top
View user's profile Send private message
Vash



PostPosted: Sun Feb 21, 2010 1:43 am    Post subject: Reply with quote

Yes, all ports are opened. It's a dedicated server without firewall.

I followed your steps and tried to start the server manually by using the command line of GC. But there is an error message:

Code:
bash: hlds_run: command not found


What's wrong?
Back to top
View user's profile Send private message
theWeird



PostPosted: Sun Feb 21, 2010 2:00 am    Post subject: Reply with quote

Can you post the comment you used?
Is the file that is executed by the command named 'hlds_run'?
If yes, have you checked that this file exists in the game's directory?
Back to top
View user's profile Send private message
Vash



PostPosted: Sun Feb 21, 2010 3:13 am    Post subject: Reply with quote

This is the command I used:
Code:
hlds_run -game cstrike -norestart -sport 27020 -console +ip 78.46.XXX.XXX +port 27015 +maxplayers 14 +servercfgfile port27015.cfg +exec port27015.cfg +exec banned_user.cfg +map "de_dust2" +logsdir gclogs/9426507 +localinfo mm_pluginsfile "addons/metamodx/plugins27015.ini" +localinfo amx_plugins "addons/amx/plugins/plugins27015.ini" +localinfo amx_modules "addons/amx/modules27015.ini"


Yes, the file exists.
Back to top
View user's profile Send private message
theWeird



PostPosted: Sun Feb 21, 2010 3:23 am    Post subject: Reply with quote

You are shure that this is the full command that was executed by GC?
Normally the commandline looks like this:
/absolute/path/to/game/hlds_run -params...

the file hlds_run is not in one of the global binary folders, so if you want to run it you have to run it with the absolute path or you must go to the folder that contains hlds_run and run this:
./hlds_run -params...
I'd expect you to run it with the absolute path. this is what GC does.
Back to top
View user's profile Send private message
Vash



PostPosted: Sun Feb 21, 2010 3:34 am    Post subject: Reply with quote

theWeird wrote:
You are shure that this is the full command that was executed by GC?

Yes.

theWeird wrote:
Normally the commandline looks like this:
/absolute/path/to/game/hlds_run -params...

Uhm, no. When GC is running with the "-f" command, the full commandline appears in the console, but no server starts.

I checked the processes and there is a hlds.... but it says it's "sleeping".

theWeird wrote:
or you must go to the folder that contains hlds_run and run this:
./hlds_run -params...
I'd expect you to run it with the absolute path. this is what GC does.

Oh wow, my bad. I forgot to use the "./".

Anyways, the server still doesn't work, or atleast, I can't reach it. This is what comes:

Code:
Auto detecting CPU
Using Pentium II Optimised binary.

Console initialized.
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./valve/SAVE
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 20:02:49 Oct 24 2006 (3651)
STEAM Auth Server
couldn't exec language.cfg
Server logging data to file logs/L0220002.log
L 02/20/2010 - 18:28:02: Log file started (file "logs/L0220002.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3651")
logaddress:  usage
logaddress ip port
current: 
couldn't exec banned_user.cfg
Server IP address 78.46.XXX.XXX:27015
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./valve/SAVE
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./platform/SAVE
L 02/20/2010 - 18:28:02: Log file closed
Server logging data to file gclogs/9426507/L0220005.log
L 02/20/2010 - 18:28:02: Log file started (file "gclogs/9426507/L0220005.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3651")
L 02/20/2010 - 18:28:02: Loading map "de_dust2"
L 02/20/2010 - 18:28:02: Server cvars start
L 02/20/2010 - 18:28:02: Server cvar "_tutor_bomb_viewable_check_interval" = "0.5"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_debug_level" = "0"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_examine_time" = "0.5"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_hint_interval_time" = "10.0"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_look_angle" = "10"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_look_distance" = "200"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_message_character_display_time_coefficient" = "0.07"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_message_minimum_display_time" = "1"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_message_repeats" = "5"
L 02/20/2010 - 18:28:02: Server cvar "_tutor_view_distance" = "1000"
L 02/20/2010 - 18:28:02: Server cvar "allow_spectators" = "1.0"
L 02/20/2010 - 18:28:02: Server cvar "coop" = "0"
L 02/20/2010 - 18:28:02: Server cvar "deathmatch" = "1"
L 02/20/2010 - 18:28:02: Server cvar "decalfrequency" = "30"
L 02/20/2010 - 18:28:02: Server cvar "edgefriction" = "2"
L 02/20/2010 - 18:28:02: Server cvar "hostage_debug" = "0"
L 02/20/2010 - 18:28:02: Server cvar "hostage_stop" = "0"
L 02/20/2010 - 18:28:02: Server cvar "humans_join_team" = "any"
L 02/20/2010 - 18:28:02: Server cvar "max_queries_sec" = "3.0"
L 02/20/2010 - 18:28:02: Server cvar "max_queries_sec_global" = "30"
L 02/20/2010 - 18:28:02: Server cvar "max_queries_window" = "60"
L 02/20/2010 - 18:28:02: Server cvar "mp_allowmonsters" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_autokick" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_autoteambalance" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_buytime" = "1.5"
L 02/20/2010 - 18:28:02: Server cvar "mp_c4timer" = "45"
L 02/20/2010 - 18:28:02: Server cvar "mp_chattime" = "10"
L 02/20/2010 - 18:28:02: Server cvar "mp_consistency" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_fadetoblack" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_flashlight" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_footsteps" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_forcecamera" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_forcechasecam" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_fragsleft" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_freezetime" = "6"
L 02/20/2010 - 18:28:02: Server cvar "mp_friendlyfire" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_ghostfrequency" = "0.1"
L 02/20/2010 - 18:28:02: Server cvar "mp_hostagepenalty" = "13"
L 02/20/2010 - 18:28:02: Server cvar "mp_kickpercent" = "0.66"
L 02/20/2010 - 18:28:02: Server cvar "mp_limitteams" = "2"
L 02/20/2010 - 18:28:02: Server cvar "mp_logdetail" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_logfile" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_logmessages" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_mapvoteratio" = "0.66"
L 02/20/2010 - 18:28:02: Server cvar "mp_maxrounds" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_mirrordamage" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_playerid" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_roundtime" = "5"
L 02/20/2010 - 18:28:02: Server cvar "mp_startmoney" = "800"
L 02/20/2010 - 18:28:02: Server cvar "mp_timeleft" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_timelimit" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_tkpunish" = "0"
L 02/20/2010 - 18:28:02: Server cvar "mp_windifference" = "1"
L 02/20/2010 - 18:28:02: Server cvar "mp_winlimit" = "0"
L 02/20/2010 - 18:28:02: Server cvar "pausable" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_accelerate" = "10"
L 02/20/2010 - 18:28:02: Server cvar "sv_aim" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_airaccelerate" = "2"
L 02/20/2010 - 18:28:02: Server cvar "sv_airmove" = "1"
L 02/20/2010 - 18:28:02: Server cvar "sv_allowupload" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_bounce" = "1"
L 02/20/2010 - 18:28:02: Server cvar "sv_cheats" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_clienttrace" = "1"
L 02/20/2010 - 18:28:02: Server cvar "sv_clipmode" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_contact" = ""
L 02/20/2010 - 18:28:02: Server cvar "sv_friction" = "4"
L 02/20/2010 - 18:28:02: Server cvar "sv_gravity" = "800"
L 02/20/2010 - 18:28:02: Server cvar "sv_logblocks" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_maxrate" = "20000"
L 02/20/2010 - 18:28:02: Server cvar "sv_maxspeed" = "320"
L 02/20/2010 - 18:28:02: Server cvar "sv_minrate" = "2000"
L 02/20/2010 - 18:28:02: Server cvar "sv_password" = ""
L 02/20/2010 - 18:28:02: Server cvar "sv_proxies" = "1"
L 02/20/2010 - 18:28:02: Server cvar "sv_region" = "5"
L 02/20/2010 - 18:28:02: Server cvar "sv_restart" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_restartround" = "0"
L 02/20/2010 - 18:28:02: Server cvar "sv_stepsize" = "18"
L 02/20/2010 - 18:28:02: Server cvar "sv_stopspeed" = "100"
L 02/20/2010 - 18:28:02: Server cvar "sv_uploadmax" = "0.5"
L 02/20/2010 - 18:28:02: Server cvar "sv_voiceenable" = "1"
L 02/20/2010 - 18:28:02: Server cvar "sv_wateraccelerate" = "10"
L 02/20/2010 - 18:28:02: Server cvar "sv_waterfriction" = "1"
L 02/20/2010 - 18:28:02: Server cvars end
L 02/20/2010 - 18:28:02: Server cvar "sv_maxspeed" = "900"
L 02/20/2010 - 18:28:03: Server cvar "sv_accelerate" = "5"
L 02/20/2010 - 18:28:03: Server cvar "sv_stopspeed" = "75"
L 02/20/2010 - 18:28:03: Started map "de_dust2" (CRC "1159425449")

L 02/20/2010 - 18:28:03: Server cvar "allow_spectators" = "1"
L 02/20/2010 - 18:28:03: Server cvar "mp_buytime" = "0.5"
L 02/20/2010 - 18:28:03: Server cvar "mp_c4timer" = "35"
L 02/20/2010 - 18:28:03: Server cvar "mp_flashlight" = "1"
L 02/20/2010 - 18:28:03: Server cvar "mp_freezetime" = "5"
L 02/20/2010 - 18:28:03: Server cvar "mp_ghostfrequency" = "0"
L 02/20/2010 - 18:28:03: Server cvar "mp_hostagepenalty" = "4"
L 02/20/2010 - 18:28:03: Server cvar "mp_limitteams" = "1"
L 02/20/2010 - 18:28:03: Server cvar "mp_roundtime" = "3"
L 02/20/2010 - 18:28:03: Server cvar "mp_timelimit" = "30"
L 02/20/2010 - 18:28:03: Server cvar "mp_winlimit" = "15"
L 02/20/2010 - 18:28:03: Server cvar "sv_maxspeed" = "320"
L 02/20/2010 - 18:28:03: Log file closed
Server logging data to file gclogs/9426507/L0220006.log
L 02/20/2010 - 18:28:03: Log file started (file "gclogs/9426507/L0220006.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3651")
logaddress:  usage
logaddress ip port
current: 


EDIT: I moved GC to the folder "/opt/gamecreate". Still doesn't work. >.>
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Sun Feb 21, 2010 12:44 pm    Post subject: Reply with quote

theWeird wrote:

Try to run the server using the startup command you copied out from GC

FYI; you can see the command line that GameCreate uses via the Server Overview page.

It looks like GameCreate *is* starting the server; but perhaps GameCreate does not have permission (for its user account) to access the entire game files.

I notice in your console output things like:

Quote:
Auto detecting CPU
Using Pentium II Optimised binary.

Console initialized.
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./valve/SAVE
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
...
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./valve/SAVE
scandir failed:/home/mehran/Desktop/Downloads/gamecreate/hlserver/./platform/SAVE



Does GameCreate have access to these folders? It sounds like a permission denied error, possibly?

Try running the game server in a Screen session (via Game Configuration - and make sure you are using the GC Client beta, found as a sticky thread in this forum).

When GC reports the server has started, load the screen session and view the server console.

Type 'status' into the server console. Most likely; the server is reporting a failure in coming online.
Back to top
View user's profile Send private message
Vash



PostPosted: Sun Feb 21, 2010 1:39 pm    Post subject: Reply with quote

Andrew wrote:
Does GameCreate have access to these folders?

I "chowned" everything to root now, still same problem.

Andrew wrote:
It sounds like a permission denied error, possibly?

Maybe, I don't know. I'm not a Linux expert...

Andrew wrote:
Try running the game server in a Screen session (via Game Configuration

How?

Andrew wrote:
- and make sure you are using the GC Client beta, found as a sticky thread in this forum).

Okay.

Andrew wrote:
When GC reports the server has started, load the screen session and view the server console.

How do I load the screen session?

EDIT: I noticed that the server starts working fine, when I close GC and run it via commandline manually after I "chowned" the files to root.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Sun Feb 21, 2010 2:17 pm    Post subject: Reply with quote

On the Game Configuration tab, you can make the game require a 'screen' session.

You should look into what a screen is on Linux - its pretty handy, and lets you put a process 'in the background' and come back to it later by looking at its console.

By doing this; you will be able to see what errors the server is spamming.
Back to top
View user's profile Send private message
daddelmania



PostPosted: Sat Apr 03, 2010 8:55 pm    Post subject: Reply with quote

got the same problem, im using screen.

i start the server with the follow command line

Quote:
-game cstrike -norestart -sport <gc:eval>%server:port% + 5</gc:eval> -console +ip %server:ip% +port %server:port% +maxplayers %numplayers% +servercfgfile port%server:port%.cfg +exec port%server:port%.cfg +exec banned_user.cfg +map "%mapname%" +logsdir gclogs/%server:id% +localinfo mm_pluginsfile "addons/metamodx/plugins%server:port%.ini" +localinfo amx_plugins "addons/amx/plugins/plugins%server:port%.ini" +localinfo amx_modules "addons/amx/modules%server:port%.ini"


it starts but stops @

Quote:
.....
L 04/03/2010 - 12:47:58: Server cvar "mp_winlimit" = "15"
L 04/03/2010 - 12:47:58: Server cvar "sv_maxspeed" = "320"
L 04/03/2010 - 12:47:58: Log file closed
Server logging data to file gclogs/9428144/L0403003.log
L 04/03/2010 - 12:47:58: Log file started (file "gclogs/9428144/L0403003.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3651")
logaddress: usage
logaddress ip port
current:


i really dont know the problem ...
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Mon Apr 05, 2010 4:07 pm    Post subject: Reply with quote

The server appears to crash?

Try running the server manually using the command line shown on the Server Overview page.
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.