Changeset 185 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Sep 9, 2014, 9:59:56 PM (10 years ago)
- Location:
- binary-improvements/7dtd-server-fixes/src/NetConnections/Servers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Telnet/TelnetConnection.cs
r184 r185 40 40 if (endpoint is IPEndPoint) { 41 41 endpointAddressHash = ((IPEndPoint)endpoint).Address.GetHashCode(); 42 Log.Out ("Hash: " + endpointAddressHash);42 //Log.Out ("Hash: " + endpointAddressHash); 43 43 } else { 44 44 Log.Out ("EndPoint is not an IPEndPoint but: " + endpoint.GetType().ToString()); … … 97 97 } else { 98 98 WriteLine ("Too many failed login attempts!"); 99 Log.Out ("Telnet connection closed for too many login attempts: " + endpoint);99 Thread.Sleep(100); 100 100 //TODO: owner.FailedLogins(); 101 101 Close (); 102 Log.Out ("Telnet connection closed for too many login attempts: " + endpoint); 102 103 break; 103 104 } -
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/Web.cs
r183 r185 20 20 try { 21 21 int webPort = GamePrefs.GetInt (EnumGamePrefs.ControlPanelPort); 22 if ( !GamePrefs.GetBool (EnumGamePrefs.ControlPanelEnabled) ||webPort < 1 || webPort > 65533) {23 Log.Out ("Webserver not started (ControlPanel not enabled or ControlPanelPort not within 1-65534)");22 if (webPort < 1 || webPort > 65533) { 23 Log.Out ("Webserver not started (ControlPanelPort not within 1-65534)"); 24 24 return; 25 25 }
Note:
See TracChangeset
for help on using the changeset viewer.