How do I change protocol for a modded server?
#9
\source\src\protocol.h
Line 8,
Code:
#define PROTOCOL_VERSION 1129 // bump when protocol changes (use negative numbers for mods!)
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.
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!)
Thanks given by:


Messages In This Thread
RE: HELP please - by Lightning - 25 Jul 10, 05:35PM
RE: HELP please - by [3D][Raver] - 25 Jul 10, 05:36PM
RE: HELP please - by Brahma - 25 Jul 10, 06:13PM
RE: HELP please - by [3D][Raver] - 25 Jul 10, 06:16PM
RE: HELP please - by [3D][Raver] - 26 Jul 10, 03:02AM
RE: How do I change protocol for a modded server? - by Gibstick - 26 Jul 10, 07:04PM