I want to write a mod that writes game data out somehow. I don't really care how it is done but just want to know how to do it.
I actually want this for fifty reasons but for example - I want to write out number of engies for each team every second. Later I will write an app to process this data.
At the moment I am doing this by writing to the log file but it's pretty bad. I wonder if I could write a gpgnet proxy and just pass all the information backwards and forwards and then sneak in some extra messages from the game that are just for me (and dont get forwarded to real server).
I would love to
- be able to write to a my own file on the disc
- send some data to a my own url
- anything that is more cleaner and faster than writing to log file
Any ideas?
Thank you!