Web Hosting Talk







View Full Version : start gameserver in website


xtreme2490
12-23-2004, 09:49 AM
Does anyone know how to start a gameserver (Counter-Strike) in a website ?
Step by step explanation pls , am trying for days now, and can't get it to work

Os = Linux RH 7.3

azizny
12-23-2004, 10:48 AM
I really dont know how... but try searching in this forum and google in general... im sure there are loads of info..

btw, isn't there enough game servers around.... too much games is not good :P

Peace,

xtreme2490
12-23-2004, 02:17 PM
I've been searching and trying for 2 days :blush:

FrozenWire
12-23-2004, 03:44 PM
It is actually quite tricky becuase most scripting languages cant execute shell commands. And if you do execute a shell script to run the server, it gets executed as the web server user and not the user the files are installed under.

Problem? You will have game servers running as "nobody" or "apache".

If you have full access to the server you can install a suPHP module and run add a php script that will execute a shell script and it works fine.

tacoX
12-23-2004, 03:45 PM
You need shell access to do it, do you have that?

benplanet
12-23-2004, 05:37 PM
shell access .. login and type in "./server"

to disply server commands

or type in "cd hdls_l"

thats all iknow :)
take care

FrozenWire
12-24-2004, 12:54 AM
Originally posted by benplanet
shell access .. login and type in "./server"

to disply server commands

or type in "cd hdls_l"

thats all iknow :)
take care
I think that is specific to your host. Most default hlds installs dont have that feature.

xtreme2490
12-24-2004, 03:44 AM
yes , i have shell access.

hiryuu
12-24-2004, 06:32 AM
As FrozenWire said, server launching is fairly host-specific. If they don't provide a web interface for starting & stopping, it's not something you will be able to bolt on yourself. I suppose you could setup your own little web server and run the needed cgi/php to launch the server, but that will likely piss off your host.

xtreme2490
12-24-2004, 09:13 AM
It's my own server (hardware) , so i can do whatever i want .