This is an old revision of the document!


OpenArena

IPv6 Master Server

There is now a test OpenArena master server running, with both IPv4 and IPv6 connectivity support.

  • IPv6 clients see both IPv4 and IPv6 servers;
  • IPv4 clients see IPv4 servers only.

The address is dpmaster.version6.ru.

It probably will be turned off if/when dpmaster.deathmask.net adds IPv6 support.

To try it out, enter

\sv_master2 "dpmaster.version6.ru"

in the console, then go to the Multiplayer menu, select “Servers: Internet (2)” at the top of the screen and click “Refresh” at the bottom.

If you run an IPv6-capable OpenArena dedicated server, you can use this master server in addition to dpmaster.deathmask.net, in this case add to your server config:

sv_master2 "dpmaster.version6.ru"

and your server will register on both dpmasters automatically.

For testing purposes the following hostnames are also available:

  • dpmaster6.version6.ru - IPv6 address only;
  • dpmaster4.version6.ru - IPv4 address only.

Links

IPv6 dirty-hack to dpmaster

This is required only if you intend to run your own IPv6-capable OpenArena Master Server.

diff -ru dpmaster-2.2/src//games.c dpmaster-2.2-rm2/src//games.c
--- dpmaster-2.2/src//games.c	2011-07-23 12:29:48.000000000 +0600
+++ dpmaster-2.2-rm2/src//games.c	2011-08-11 15:44:14.329620304 +0600
@@ -544,7 +544,7 @@
 			GAMENAME_Q3A,
 			2,
 			{
-				"protocols=66,67,68",
+				"protocols=66,67,68,71",
 				"heartbeat=QuakeArena-1",
 			},
 		},
diff -ru dpmaster-2.2/src//messages.c dpmaster-2.2-rm2/src//messages.c
--- dpmaster-2.2/src//messages.c	2011-07-23 12:29:48.000000000 +0600
+++ dpmaster-2.2-rm2/src//messages.c	2011-08-11 15:42:20.811916626 +0600
@@ -41,6 +41,7 @@
 // Maximum size of a reponse packet
 #define MAX_PACKET_SIZE_OUT 1400
 
+#define GAMENAME_Q3A "Quake3Arena"
 
 // Types of messages (with samples):
 
@@ -377,7 +378,7 @@
 		if (space)
 			*space = '\0';
 		msg_ptr = msg_ptr + strlen (gamename);
-		
+    if (strcmp (gamename, "openarena") == 0) strncpy (gamename, GAMENAME_Q3A, sizeof (GAMENAME_Q3A));
 		game_options = Game_GetOptions (gamename);
 
 		// Read the protocol number

Links


en/oa.1313778045.txt.gz · Last modified: 2011-08-19 18:20 UTC by rm
Personal Tools