A renumbering of the SP_BADVERSION reason codes, consistent with
current Microsoft Windows and Linux clients.  Not yet checked
against MacTrek.

Sat Jun 21 13:13:16 EST 2008  quozl at us.netrek.org
  * SP_BADVERSION, renumbering

diff -rN -u old-netrek-server/Vanilla/include/packets.h new-netrek-server/Vanilla/include/packets.h
--- old-netrek-server/Vanilla/include/packets.h	2008-06-21 13:15:05.000000000 +1000
+++ new-netrek-server/Vanilla/include/packets.h	2008-06-21 13:15:06.000000000 +1000
@@ -408,14 +408,13 @@
     char pad3;
 };
 
-/* numbering and ordering per current usage as at 2008-06-21 */
-#define BADVERSION_SOCKET  0 /* CP_SOCKET version does not match, exiting */
-#define BADVERSION_DENIED  1 /* access denied by netrekd */
-#define BADVERSION_NOSLOT  1 /* no slot on queue */
-#define BADVERSION_BANNED  2 /* banned */
-#define BADVERSION_DOWN    6 /* game shutdown by server */
-#define BADVERSION_SILENCE 6 /* daemon stalled */
-#define BADVERSION_SELECT  6 /* internal error */
+#define BADVERSION_SOCKET   0 /* CP_SOCKET version does not match, exiting */
+#define BADVERSION_DENIED   1 /* access denied by netrekd */
+#define BADVERSION_NOSLOT   2 /* no slot on queue */
+#define BADVERSION_BANNED   3 /* banned */
+#define BADVERSION_DOWN     4 /* game shutdown by server */
+#define BADVERSION_SILENCE  5 /* daemon stalled */
+#define BADVERSION_SELECT   6 /* internal error */
 /* as at 2008-06-21 netrek-client-cow and netrek-client-xp report 0 as
    invalid version, 1-6 as cannot play, others are not valid, and
    netrek-client-xp uses a popup message box for 1-6 */

-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/