Skip to content
devicenull edited this page Sep 13, 2010 · 4 revisions

This is a python daemon that listens to UDP log events from Half Life 1 or Half Life 2 and does stuff with them.

The code layout looks something like this:

  1. input/* – Input methods, currently udp.py (uses Twisted) is the only one that’s really supported. file.py is there, but may or may not work.
  2. events/* – Event handlers, these are responsible for matching and parsing all log events that come through. They are loaded dynamically at runtime.
  3. plugins/* – Plugins, these are responsible for actually doing things with the events. They can register themselves as handlers for various events
  4. eventhandler.py – This is the core of the program right here, this is responsible for actually calling the events/plugins.
Clone this wiki locally