A while back I created a mod for UT that allows one to send log information to some other computer using syslog: http://www.oldephartes.co.uk/stuff/syslog02.zip
Essentially, the mod opens a UDP port to wherever the info is to be sent then, when the appropriate function is called, sends the info wrapped in syslog header stuff. It works fine for server side mods.
With mods that run on the client too, it also works fine up until one tries to record a server side demo, and then the UT server crashes. I've tried various things to pin down what the problem is: disabling it (that is, the code is there but the first statement is a return), making sure the calling mod never actually makes any call, etc. I've even taken the code and placed it inside the target mod (again, making sure the code is never actually called) but still the server crashes if a demo is attempted.
So far as I can make out, the situation is: if a class extends UdpLink and is included in a mod that gets downloaded to the client, the demo user barfs on it.
Naturally, since I'm posting here some time after pulling all my hair out over this you may assume I'm completely stuck for ideas as to why this happens. Does anyone have a clue as to what I should be looking at, or how I can track down further what's going wrong?
Essentially, the mod opens a UDP port to wherever the info is to be sent then, when the appropriate function is called, sends the info wrapped in syslog header stuff. It works fine for server side mods.
With mods that run on the client too, it also works fine up until one tries to record a server side demo, and then the UT server crashes. I've tried various things to pin down what the problem is: disabling it (that is, the code is there but the first statement is a return), making sure the calling mod never actually makes any call, etc. I've even taken the code and placed it inside the target mod (again, making sure the code is never actually called) but still the server crashes if a demo is attempted.
So far as I can make out, the situation is: if a class extends UdpLink and is included in a mod that gets downloaded to the client, the demo user barfs on it.
Naturally, since I'm posting here some time after pulling all my hair out over this you may assume I'm completely stuck for ideas as to why this happens. Does anyone have a clue as to what I should be looking at, or how I can track down further what's going wrong?