I've documented to my full knowledge the protocol used by `logaddress_add` (remote UDP logging). I have also thrown together a simple JS function, which parses the raw packet into something usable.
If you don't know about the Source Engine's UDP logging, it allows for logging of in-game events (chat and such), as well as logging from Lua using [URL=http://wiki.garrysmod.com/page/Global/ServerLog]ServerLog[/URL] without any addons.
You can read about the protocol [URL=https://github.com/jackwilsdon/logaddress-protocol/blob/master/protocol.md]here[/URL].
[URL=https://github.com/jackwilsdon/logaddress-protocol/]I have posted both the code and my documentation on GitHub[/URL].
It's weird how there is pretty much no official (or unofficial) documentation for S2A_LOGSTRING or it's "secure" cousin S2A_LOGSTRING2.
If you have any questions about how `logaddress_add` works, I'll do my best to answer them.
[B]EDIT[/b]: Thanks to Cyberuben for some info about the logging (and sv_logsecret).
Sorry, you need to Log In to post a reply to this thread.