26 Jul 10, 07:04PM
\source\src\protocol.h
Line 8,You can change 1129 to a negative number so normal clients can still use the /modconnect command.
These comments at the top of server.h are also useful.
Line 8,
[SELECT ALL] Code:
#define PROTOCOL_VERSION 1129 // bump when protocol changes (use negative numbers for mods!)
These comments at the top of server.h are also useful.
[SELECT ALL] Code:
#define SERVER_PROTOCOL_VERSION (PROTOCOL_VERSION) // server without any gameplay modification
//#define SERVER_PROTOCOL_VERSION (-PROTOCOL_VERSION) // server with gameplay modification but compatible to vanilla client (using /modconnect)
//#define SERVER_PROTOCOL_VERSION (PROTOCOL_VERSION) // server with incompatible protocol (change PROTOCOL_VERSION in file protocol.h to a negative number!)