Do it for First Strike too! I'll send you a copy of BF2142 if you don't have it
I apperciate the offer, but I have never played the game and am not familiar with it. Also, I am not sure there is a direct API/SDK for the server files of BF2142, if not, it would be harder to as I am assuming it has log files and you would have to make some clumsy resource hog that did lots of disk I/O to work "properly".
If there is some sort of direct programming interface it would make it easier...
Let me give you some hints on pitfalls I ran into with TS3 query:
- TS3 query closes the connection after being idle for 10 minutes. There is no proper way to prevent this afaik, so what I do currently is send a newline to the server to make it realize the connection didn't die.
- TS3 bans you for 10 minutes or so if you send too many messages. The only way around this I found so far is to make sure you connect to localhost/127.0.0.1 and not to the network/external ip. It seems the anti flood measures are bypassed then.
If you want I can send you the source code, but I assume you will want to do it yourself.
Also: EWD was correct on mumble, it was clientside only (which actually made it rather convenient to implement). I haven't looked at the TS3 implementation of it yet.
I appreciate the heads up, little things like that can drive a guy crazy... I already found out about the spam thing banning you, while I was waiting for the ban to time out, I googled a bit and found adding myself to the whitelist.txt file seemed to work (although could be because I waited out the ban too, but I think whitelist.txt is just a list for allowed IP's, would make sense and tie in with what you was saying, because the loop-back addy is already there...).
I think I will also be using that sneaking \n send to keep the connection alive.
I found typing a sentence weird with the sendtextmessage function and the fact the string format uses invalid C++ escape sequences...
Hello\\sWorld!\\sI\\sLike\\sweird\\sstrings\n
If I get stuck I might ask kindly for the source code, but normally you write very differently to me anyway (better, lol). I would prefer to do it myself. :-)
That mumble thing sounds cool, can't believe I never heard about BI's/your mod for it before.