Solved

Detecting Quake

Posted on 2003-11-11
4
514 Views
Last Modified: 2011-04-14
Hello,
 I would like to create a program that logs how much time is spent playing quake 1.  I know the ip address and port of each computer on our network, what I need is to know is how can I tell if a computer is playing the game or not. What I would like is something like a ping command that the game responds to. I'm sure something like this exists because there are many web sites and programs dedicated to detecting quake servers.
Does anyone know if quake will respond to any command that I can detect?
thanks
ff
0
Comment
Question by:funkyfinger
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Brad Dobyns, CSM
ID: 9734909
Have you looked at this or am I off base:

http://www.cowboyscripts.org/?page=superip

Brad
0
 
LVL 1

Expert Comment

by:Snyke
ID: 9781174
The sites and programs that 'detect' the game servers request the server list from a master-server (nearly always hosted by the developers) that has all the needed information.
Every newly created server notifies the master-server that it exists so it will show up on the list of the master-server.

You could probe the ports of the games in a certain range of IP-Addresses and then check if the protocols used match with the ones used by the game.

Snyke
0
 
LVL 2

Author Comment

by:funkyfinger
ID: 9781698
This is what I am asking what is a protocol that I can scan for?
0
 
LVL 1

Accepted Solution

by:
Snyke earned 50 total points
ID: 9782841
I found the Quake protocol specification:
http://www.gamers.org/dEngine/quake/QDP/qnp.html
It uses UDP so you will have to send some UDP packets (like a ping packet) to the IP and the standard ports (or a range around the standard ports to be sure) and wait for an answer. Then you extract the port and ip of the answer and you have a server for your list.
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question