(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects DEBUG() to a remote connection over TCP
For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982 Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9 And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
This commit is contained in:
@@ -166,6 +166,7 @@ bool NetworkChangeCompanyPassword(byte argc, char *argv[]);
|
||||
void NetworkPopulateCompanyInfo(void);
|
||||
void UpdateNetworkGameWindow(bool unselect);
|
||||
void CheckMinPlayers(void);
|
||||
void NetworkStartDebugLog(const char *hostname, uint16 port);
|
||||
|
||||
void NetworkStartUp(void);
|
||||
void NetworkUDPCloseAll();
|
||||
|
Reference in New Issue
Block a user