mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
9f239d647b
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. |
||
---|---|---|
.. | ||
ui_atoms.c | ||
ui_gameinfo.c | ||
ui_local.h | ||
ui_main.c | ||
ui_players.c | ||
ui_public.h | ||
ui_shared.c | ||
ui_shared.h | ||
ui_syscalls.asm | ||
ui_syscalls.c |