[quake3-commits] [ioquake/ioq3] 9f239d: Make 'globalservers 0' fetch all masters

Zack Middleton zack at cloemail.com
Thu Jul 20 16:39:54 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 9f239d647b5e7d21e437ad6f012af436b30bb456
      https://github.com/ioquake/ioq3/commit/9f239d647b5e7d21e437ad6f012af436b30bb456
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

  Changed paths:
    M code/client/cl_main.c
    M code/q3_ui/ui_servers2.c
    M code/ui/ui_main.c

  Log Message:
  -----------
  Make 'globalservers 0' fetch all masters

This commit fixes the vanilla Q3 UI VMs not displaying a server list
when id Software's master server is down.

Originally master 0 for the globalservers command was Internet and
master 1 was MPlayer (defunct). In 2008 ioquake3 changed it so that
master 0 to 4 were five separate master servers with no affect on
original Quake3/Team Arena UI VMs; they continued to get the server
list from master.quake3arena.com.

id Software's master server (master.quake3arena.com) goes down
occasionally. Using ioq3's UI VM additional master servers can be
accessed but players using the original UI VMs are unable to get a
server list.

In order to fix the original UI VMs in Quake3/Team Arena's pk3s this
commit makes 'globalservers 0' fetch all master servers. So players
get a combined list of id Software's and ioquake3's master list. Or
just ioquake3's list if id Software's master is down.

Getting lists from individual master servers using globalservers has
changed from 0 through 4 to 1 through 5 to accommodate using 0 for
other purposes. This commit modifies ioq3's UI code to support the new
values for globalservers command.

A side affect of these changes is that UI VMs based on ioq3 since 2008
will have Internet1 fetch all master servers and Internet2 request
sv_master1 instead of sv_master2 and so on. It may be worth noting that
getting server list from masters 3-5 could not be done using ioq3's UI
before 2011.




More information about the quake3-commits mailing list