Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] how to catch messages
Home

[Freeciv-Dev] how to catch messages

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] how to catch messages
From: maHo <lukaszmach@xxxxxxxxx>
Date: Sat, 8 Jan 2005 16:59:16 +0100

Hello

I'm writing patch to freeciv server, which would allow disconnected
players receive all messages (chat messages and all game messages, I
mean everything what would appear on game console if player is
connected) via jabber client. It would be usable in longturn game.

Unfortunately, I can't find good place where I could "intercept" such messages. 

I'd like to avoid adding code to every place where messages are
generated (ie. capturing city,  attacking enemy, being attacked by
enemy). Is it  possible?

Could someone give a hint, where to do it with minimal effort?. 

regards

maHo



[Prev in Thread] Current Thread [Next in Thread]