Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How hard is it to monitor LAN games?

How hard is it to monitor LAN games?
Thread Tools
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
May 16, 2002, 10:59 PM
 
OK, first, I have no experience in programming yet (other than RB) and I'm interested in learning Objective-C and making Cocoa apps.

Now, how hard is it to make an app which will monitor LAN games? I want to make an app which will display Starcraft games and Quake games, distinguishing between them, so the actual apps don't have to be open to tell if a game is going on (or being created, in the case of Starcraft).

Both games (and all mods for Quake, as well as games using the Quake engine) pretty much live update on the games and having it refresh every 5 seconds or so wouldn't be horrible either.

Would this be a bad first program for me? With summer approaching, this is my free time and if I want to dive into programming, this is my chance.
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
May 17, 2002, 11:58 PM
 
Are you looking to monitor the game (i.e. read the data and understand what's going on), or just detect the fact that a game is in progress?

One is clearly more involved than the other.

In either case, EtherPEG might not be a bad starting point. It's an old MacHack submission that displays images seen passing across the network. You may be able to modify the code to detect StarCraft or Quake packets rather than http.
Gods don't kill people - people with Gods kill people.
     
Xeo  (op)
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
May 19, 2002, 01:09 PM
 
Well, I just want to see that the game is in progress. Right now, in Starcraft, you can see if a game is currently at the "set up" screen where people are still joining. Once the game starts, it goes away and you can't tell a game is in progress. Initially, that was my idea for this as well, but if possible, it would be really cool to see if a game is going but already started.

As for Quake, well anyone can join those games at any time, assuming it's not full yet. Those are always visible while being played. There are plenty of PC apps which just let you see they are going on and even let you click a button to open Quake and join it. I don't need the button. I just want to see that one is going on without having Quake.app open.

Actually monitoring the game would be interesting, but wouldn't satisfy the goal I have set already. Not to mention it'd be that much harder.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2