views:

46

answers:

1

Is it possible to host a game say counterstrike on ftp. eg. http://www.gamecp.com/

This provides a game control panel to handle server from website. How game gets started on hosting server. Do we needs to install game on hosting server though commands given in its API. or is it there some other procedure to host game on hosting server

EDIT

Try referring to this link which show requirement of the control panel. I want to develop a same kind of thing with only starting and stopping server

I apologizes for not being able to explain my question clearly as even I dont know how to make my question clear as I used to play this game host server on my system. But want to host server on web hosting server.

+2  A: 

Based on your most recent comment in response to mine...

Let's break down the concerns to be separated here:

  1. A server (either self-hosted or professionally hosted).
  2. A game service installed on that server. CS is your example, stick with that. Note that each game is probably going to be different.
  3. A website hosted on that server.
  4. (Unimportant for this discussion, but a way to get things to the server. FTP :) It depends on the hosting, though.)

In the simplest description of the website so far, all it needs is a start/stop button of some kind to, well, start and/or stop the game service.

You'll need to find out from the game documentation/API/etc. how to accomplish this. It could be as simple as executing a command on the command line, or something a little more involved like having the game service always running and listening on a local service (web service, maybe?) for instructions on what to do.

Your website will need to simply respond to the button click events within its interface with a call to that game's API/command/etc. telling it what to do. Basically, just passing the message along.

As we get more specific, we can possibly start diving into code. But at this point we're not at the coding stage here.

David
+1 for taking a step back and breaking the problem down
pkaeding
@pkaeding: Thanks, I've been on a big separation-of-concerns kick lately :)
David