Web Hosting Talk







View Full Version : how does a game server comunicte with pc


jonsimms
09-08-2007, 04:00 AM
Hi i'm not sure if i'm in the right section to ask these questions. but i'm having a programmer help set me up a web site which i want to be able to link straight to game servers , and he has asked me a couple of questions i'm not sure of.
1. Is there any API provided by the game vendors which is used by the server to remotely control the game?
2. we need some technical help to understand the actual communication between the game running on local system and the game server.
3. how will the game server control the game
i would appreciate if you could help me in this matter (the servers we want to use are counter strike and call of duty)
many thanks
jon

sirius
09-08-2007, 10:03 AM
* Moved to Emerging Technologies and Markets....

Sirius

Frimon86
09-08-2007, 10:43 AM
www.google.com

Sir P
09-08-2007, 11:16 AM
hi jon
for the API you need to ask the game vendor... thats something they could answer in a split second :)

the other two questions im sure I could help you with but need more info on your exact setup...

let me know what exactly your trying to achieve and I may be able to help you out.

cheers
Sir P

HG-Daniel
09-08-2007, 11:39 AM
Depends on the game really

What games are you looking for?

What exactly would the site be communicating with the game server for? (player list, etc)

Adam H
09-08-2007, 06:15 PM
Are you talking about something similar to what game-monitor.com does?

jonsimms
09-09-2007, 08:25 AM
we are trying to create an online tournament site the two games we are starting with are call of duty and counter strike. I've tried looking on goolgle but cant find info i'm after. I'm not that technical minded

thanks jon

tnndotnet
09-10-2007, 12:36 AM
Answer to question number 2 is pretty simple.

Server installation of the game is on the Game Server. Clients connect to the Game Server. Shots are fired by clients and registered by the Game Server, the Game Server processes shots and delivers them to the clients.

However I think that is irrelevant, and if your looking for some sort of controlling of a game from a website, your going to need:

A) Alot of money to pay a developer (you need to explain in exact detail what your looking to do)
B) To become technically minded. (some things to look into is simple queries using sockets to connect to the server to pull server data from)

Overall, what are you trying to accomplish at your site? I understand you want a tournament site, but what kind of information do you need from the server, or what do you need to control on the server?

Dan

NeiSep
09-10-2007, 01:06 AM
there is a remote administration of Counter-Strike called rcon there is also a interface to get how many users online etc.
check this: http://www.phpclasses.org/browse/package/1815.html
It is a php class for query a counter strike server.

Defcon|Rich
09-11-2007, 01:01 AM
Geez, All the big time GSP's on the forums here and nobody has any idea how their bread and butter operates? :eek:

It's called rcon or "remote connect or connection". You only need to know what port the specific game communicates on or the rcon port. It's a pretty simple process to query a gameserver but building a GUI to interface with it is something else which might be better answered in the programmers forum.

Personally I would take a look at some of the different script sites for ideas or ready made scripts since this kind of thing can get complicated in a hurry.