Advertisement

Game Server Search

Started by May 24, 2004 02:24 PM
3 comments, last by Setrio 20 years, 8 months ago
Hi, I need to make somethin like All Seen Eye or GameSpy Arcade but for lan games. Mi idea was to make a full scan of the computers ports and obtain wich game server is running. The problem is, how do i now which port to scan and the protocol to obtain information of the game server? I mean, how do i know if the machine 1 has an Unreal Tournament server running? Any idea where to get that info for the games? Thanks Bye PD: Sorry for my english
if the game uses Direct Play, you can search for any instance of the game so long as you know its GUID. if that''s not the case i''m afraid i dont know the answer to your question.

Dredd
________________________________________

"To die with your sword still in its sheath is most regrettable" -- Miyomoto Musashi


"Let Us Now Try Liberty"-- Frederick Bastiat
Advertisement
You might want to try aGSM, it does exactly what you''re explaining. It works by broadcasting various "hello, are you there?" messages for each game via the UDP protocol to ports at which the server will be listening. The server then responds with info like the current map, players, etcetc.
if you want to scan the ports,you can use the fport.exe that can be download from the internet, if you want to find the host, you can use the UDP protocol, wait the active!
As Zanthos hinted, you''d have to have a list of games you want to scan for as well as the port each one would be listening on. Each game will have a different protocol call, so you''d also need to know what message to send to which game to get a meaningful reply. Even if you were to scan the ports, you''d still be stuck trying to figure out what "ping" to send, so a better choice is to do what aGSM does. Or use aGSM

This topic is closed to new replies.

Advertisement