[Engine] Changed protocol version to 1001, [Engine] Changed port for the master server to 12950 [Engine] Changed port for the dedicated server to 12960 [Engine] Changed port for the authorize server to 12952 [Engine] Changed port for the message of the day server to 12950

[Engine] Changed protocol version to 1001,
[Engine] Changed port for the master server to 12950
[Engine] Changed port for the dedicated server to 12960
[Engine] Changed port for the authorize server to 12952
[Engine] Changed port for the message of the day server to 12950

diff --git a/src/docs/Changelog b/src/docs/Changelog
new file mode 100644
index 0000000..7677d95
--- /dev/null
+++ b/src/docs/Changelog
@@ -0,0 +1,6 @@
+2021-04-01 Dusan Jocic <dusanjocic@msn.com>
+	* [Engine] Changed protocol version to 1001, 
+	* [Engine] Changed port for the master server to 12950
+	* [Engine] Changed port for the dedicated server to 12960
+	* [Engine] Changed port for the authorize server to 12952
+	* [Engine] Changed port for the message of the day server to 12950
diff --git a/src/docs/Notes b/src/docs/Notes
new file mode 100644
index 0000000..e72b78e
--- /dev/null
+++ b/src/docs/Notes
@@ -0,0 +1 @@
+Developer notes. Just anything odd, interesting etc out of the source goes in here.
diff --git a/src/engine/qcommon/qcommon.hpp b/src/engine/qcommon/qcommon.hpp
index 9cbae0e..191d43a 100644
--- a/src/engine/qcommon/qcommon.hpp
+++ b/src/engine/qcommon/qcommon.hpp
@@ -259,10 +259,10 @@ You or the server may be running older versions of the game. Press the auto-upda
 #define GAMENAME_STRING GAMENAME_FOR_MASTER
 
 #ifndef PRE_RELEASE_DEMO
-#define ETPROTOCOL_VERSION    1
+#define PROTOCOL_VERSION    1001
 #else
 // the demo uses a different protocol version for independant browsing
-#define ETPROTOCOL_VERSION    1
+#define PROTOCOL_VERSION    1000
 #endif
 
 // NERVE - SMF - wolf multiplayer master servers
@@ -297,10 +297,10 @@ You or the server may be running older versions of the game. Press the auto-upda
 #define AUTOUPDATE_SERVER5_NAME   AUTOUPDATE_SERVER_NAME
 #endif
 
-#define PORT_MASTER         27950
-#define PORT_MOTD           27950
-#define PORT_AUTHORIZE      27952
-#define PORT_SERVER         27960
+#define PORT_MASTER         12950
+#define PORT_MOTD           12950
+#define PORT_AUTHORIZE      12952
+#define PORT_SERVER         12960
 #define NUM_SERVER_PORTS    4	// broadcast scan this many ports after
 // PORT_SERVER so a single machine can
 // run multiple servers
diff --git a/src/engine/server/serverCcmds.cpp b/src/engine/server/serverCcmds.cpp
index f477f90..4b8a240 100644
--- a/src/engine/server/serverCcmds.cpp
+++ b/src/engine/server/serverCcmds.cpp
@@ -1646,7 +1646,7 @@ void idServerCcmdsSystemLocal::Demo_Record_f( void )
     
     if( cmdSystem->Argc() == 2 )
     {
-        Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%s.svdm_%d", cmdSystem->Argv( 1 ), ETPROTOCOL_VERSION );
+        Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%s.svdm_%d", cmdSystem->Argv( 1 ), PROTOCOL_VERSION );
     }
     else
     {
@@ -1654,7 +1654,7 @@ void idServerCcmdsSystemLocal::Demo_Record_f( void )
         // scan for a free demo name
         for( number = 0; number >= 0; number++ )
         {
-            Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%d.svdm_%d", number, ETPROTOCOL_VERSION );
+            Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%d.svdm_%d", number, PROTOCOL_VERSION );
             if( !fileSystem->FileExists( sv.demoName ) )
                 break;	// file doesn't exist
         }
@@ -1704,10 +1704,10 @@ void idServerCcmdsSystemLocal::Demo_Play_f( void )
     
     // check for an extension .svdm_?? (?? is protocol)
     arg = cmdSystem->Argv( 1 );
-    if( !strcmp( arg + strlen( arg ) - 6, va( ".svdm_%d", ETPROTOCOL_VERSION ) ) )
+    if( !strcmp( arg + strlen( arg ) - 6, va( ".svdm_%d", PROTOCOL_VERSION ) ) )
         Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%s", arg );
     else
-        Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%s.svdm_%d", arg, ETPROTOCOL_VERSION );
+        Q_vsprintf_s( sv.demoName, sizeof( sv.demoName ), sizeof( sv.demoName ), "svdemos/%s.svdm_%d", arg, PROTOCOL_VERSION );
         
     fileSystem->FOpenFileRead( sv.demoName, &sv.demoFile, true );
     if( !sv.demoFile )
@@ -1754,7 +1754,7 @@ void idServerCcmdsSystemLocal::CompleteDemoName( valueType* args, sint argNum )
     {
         valueType demoExt[16];
         
-        Q_vsprintf_s( demoExt, sizeof( demoExt ), sizeof( demoExt ), ".svdm_%d", ETPROTOCOL_VERSION );
+        Q_vsprintf_s( demoExt, sizeof( demoExt ), sizeof( demoExt ), ".svdm_%d", PROTOCOL_VERSION );
         cmdCompletionSystem->CompleteFilename( "svdemos", demoExt, true );
     }
 }
diff --git a/src/engine/server/serverInit.cpp b/src/engine/server/serverInit.cpp
index 8b9d90b..0875893 100644
--- a/src/engine/server/serverInit.cpp
+++ b/src/engine/server/serverInit.cpp
@@ -1054,7 +1054,7 @@ void idServerInitSystemLocal::Init( void )
     cvarSystem->Get( "timelimit", "0", CVAR_SERVERINFO, "Sets the amount of time before a game will end if fraglimit is not reached or set. Setting to 0 disables timelimit. " );
     
     cvarSystem->Get( "sv_keywords", "", CVAR_SERVERINFO, "Variable holds the search string entered in the internet connection menu" );
-    cvarSystem->Get( "protocol", va( "%i", ETPROTOCOL_VERSION ), CVAR_SERVERINFO | CVAR_ARCHIVE, "Display network protocol version. Useful for backward compatibility with servers with otherwise incompatible versions." );
+    cvarSystem->Get( "protocol", va( "%i", PROTOCOL_VERSION ), CVAR_SERVERINFO | CVAR_ARCHIVE, "Display network protocol version. Useful for backward compatibility with servers with otherwise incompatible versions." );
     sv_mapname = cvarSystem->Get( "mapname", "nomap", CVAR_SERVERINFO | CVAR_ROM, "Display the name of the current map being used" );
     sv_privateClients = cvarSystem->Get( "sv_privateClients", "0", CVAR_SERVERINFO, "The number of spots, out of sv_maxclients, reserved for players with the server password (sv_privatePassword)" );
     sv_hostname = cvarSystem->Get( "sv_hostname", "OpenWolf Host", CVAR_SERVERINFO | CVAR_ARCHIVE, "The name of the server in server browsers." );

GitHub
sha: 8316e004