Saturday, October 2, 2010

Having fun with game servers

Past week I was bored and I needed to do something to keep me busy. I thought it would be nice to write a simple script that monitors my favorite game servers (Wolfenstein: Enemy Territory), so I know which map is currently being played as well as the number of players.

I wrote two scripts: the first one is the desktop version and the second one for my Android telephone.  It took me only some hours to finish, so it is not impressive but it was funny :D

The desktop version uses libnotify to pop-up a window everytime a new map is being played. It displays the map name and the number of used slots for each server.


The Android version does pretty much the same but alerts me, vibrating or with text to speech, when one of the servers is unreachable.

No comments:

Post a Comment