Solved

Detecting Quake

Posted on 2003-11-11
4
482 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
Comment Utility
Have you looked at this or am I off base:

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

Brad
0
 
LVL 1

Expert Comment

by:Snyke
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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 …
Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now