Originally Posted by
bobsobol
I'm not convinced that external program could do much, unless it logs in as an Admin player.
Some form of inter-process communication would be required, be it TCP/IP, Named-Pipe or SQL entry or such. What-ever, the server would have to listen to the pipe, and the program would have to leave messages for the server to process. It does this for logged in clients in any case, so that's the easy method. Emulate a client which logs in, authenticates as Admin user, and makes PMs or server Notifications or WHY.
But you could get the server to spawn a listner thread, listening to messages in your IPC of choice, and directly calling the server packet send routines passing appropriately filled out memory structures. I guess. :\
--- EDIT ---
Oh! Third method would be if you had a Gateway Proxy for PT. That could, under normal circumstances forward player packets to the actual server, and server packets to the correct player, then it could also listen to your IPC and send extra packets to clients.