[quake3-commits] [ioquake/ioq3] 973e0a: Refresh master server address cache every 24 hours

Zack Middleton zack at cloemail.com
Fri Jun 2 23:16:00 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 973e0a7e9ce72bf9434aef0f6b2d31b5d12696af
      https://github.com/ioquake/ioq3/commit/973e0a7e9ce72bf9434aef0f6b2d31b5d12696af
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M code/server/server.h
    M code/server/sv_main.c

  Log Message:
  -----------
  Refresh master server address cache every 24 hours

Resolve master server addresses every 24 hours instead of keeping
result forever. Don't clear sv_master[1-5] cvar if the address fails
to resolve; it might work later.


  Commit: f6f2710f94bcb35c5af82405da667fb1592725e1
      https://github.com/ioquake/ioq3/commit/f6f2710f94bcb35c5af82405da667fb1592725e1
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/q3_ui/ui_main.c
    M code/ui/ui_main.c

  Log Message:
  -----------
  Make server browser default to Internet

The default use to be local. In q3_ui you have to press spacebar or
wait for scan to time out before you can switch to Internet.


  Commit: e8f092637c7fd286555e84a2754f9599d30bb42b
      https://github.com/ioquake/ioq3/commit/e8f092637c7fd286555e84a2754f9599d30bb42b
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Automatically get initial Internet servers in Team Arena UI

Having to manually request the list, with two buttons (get new
list, refresh list) is somewhat confusing. Also since it looks
like there are no servers, users might not try to figure out
how to get the server list.

The first time viewing a master server list in Team Arena UI,
automatically request a new server list. After that the cache
will be available with a timestamp of the last refresh time.
I think this will make it easier to understand how the menu
works.

This may cause unneeded updating of the server cache because the
last refresh timestamp is per-fs_game but the server cache is
shared by all games. This will only occur once for each game
though so it's not a big concern.


  Commit: 2bbe178bc8bcc7d293748a2821652da7de890318
      https://github.com/ioquake/ioq3/commit/2bbe178bc8bcc7d293748a2821652da7de890318
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

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

  Log Message:
  -----------
  Replace constant value with UIAS_GLOBAL1


  Commit: 0b853a659a2c76023389f88ae40938dd5e9f73e7
      https://github.com/ioquake/ioq3/commit/0b853a659a2c76023389f88ae40938dd5e9f73e7
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/client/cl_ui.c

  Log Message:
  -----------
  Make Team Arena server list sub-sort clients by max clients

The player column in Team Arena UI lists clients and max clients
in format of "clients [maxclients]". When sorting by clients the
max clients is ignored which results in player column being
disorganized.

When servers have the same number of clients, sort based on max
clients. Otherwise client sort is sub-sorted based on order of
getinfo responses (ping).


  Commit: 6b5674e6bb493d09880776df10f81a7890ff72c6
      https://github.com/ioquake/ioq3/commit/6b5674e6bb493d09880776df10f81a7890ff72c6
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Fix filtering favorite servers in Team Arena UI

Filter favorite servers based on cached server info and new info
instead of only the cached info.

If cached server info is filtered out, don't add it to server list
but wait for getinfo response before marking server as invisible.


  Commit: 2091a2e2d5f6e88bded029d4d1b93ea2b712f37d
      https://github.com/ioquake/ioq3/commit/2091a2e2d5f6e88bded029d4d1b93ea2b712f37d
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Fix favorite servers player count message in Team Arena UI

The console message "1 servers listed in browser with 2 players."
would count clients multiple times when viewing favorite servers.

When viewing favorite servers in Team Arena UI, servers are added
to list before getting ping response. Each time UI checked pings
and inserted server it incremented the player count.


  Commit: 0a19ae0306165ada0fe8e04b897c4869b6209046
      https://github.com/ioquake/ioq3/commit/0a19ae0306165ada0fe8e04b897c4869b6209046
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Fix levelshot displayed in Team Arena server browser

Levelshot was not updated when server list was initially loaded or
server list was sorted.


  Commit: bd067540f5670185624e100818936654516490a0
      https://github.com/ioquake/ioq3/commit/bd067540f5670185624e100818936654516490a0
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Fix hitch when opening Team Arena find friend menu

Opening the find friend menu in the Team Arena server browser
hitches due to trying to resolve blank host names.

In UI_BuildFindPlayerList() status requests that are initial or
completed state or have timed out get reset. This means it starts
with MAX_SERVERSTATUSREQUESTS (16) blank host names. So just ignore
them in UI_GetServerStatusInfo().


  Commit: 4506ebd5d7690b8677aaa598c173dcc71f013426
      https://github.com/ioquake/ioq3/commit/4506ebd5d7690b8677aaa598c173dcc71f013426
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M code/game/g_cmds.c

  Log Message:
  -----------
  Fix joining team when starting local team play server

AKA fix joining team in Team Arena single player. Though it also
affects starting Q3 skirmish in team dm or ctf modes.


  Commit: 4227d97958d7ba1915ecdfc8b8039472c26145d2
      https://github.com/ioquake/ioq3/commit/4227d97958d7ba1915ecdfc8b8039472c26145d2
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M code/game/g_main.c

  Log Message:
  -----------
  Make Team Arena win logic handle more game types/blue team

The Team Arena menu uses red team for single player but q3_ui
(and mods could) use blue. Also handle all the game types, not
just the ones used by Team Arena. Fixes FFA and Team DM.


  Commit: 4006358492b800db0602ed0eca600166caec22e4
      https://github.com/ioquake/ioq3/commit/4006358492b800db0602ed0eca600166caec22e4
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M code/game/g_utils.c

  Log Message:
  -----------
  Fix spawn/freed entity logic (specifically harvester skulls)

- Actually use the second 'force' pass in G_Spawn when out of
available slots.
- Make G_EntitiesFree return qtrue if we can open a new slot.
(Only used when spawning Harvester skulls.)

Fixes not spawning Harvester skulls when there are no 'open freed
slots', but we have other slots available to open.


  Commit: 1066214548d6a154c05332c86610f60f03bd4193
      https://github.com/ioquake/ioq3/commit/1066214548d6a154c05332c86610f60f03bd4193
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M code/game/g_team.c

  Log Message:
  -----------
  Fix "brought in 1 skulls" Harvester message

Use correct singular/plural form of skulls for Harvester's brought in
skulls message.

Reported by Tobias.


  Commit: 082376ed9e82e578d78678c47d6be21826fa767e
      https://github.com/ioquake/ioq3/commit/082376ed9e82e578d78678c47d6be21826fa767e
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M code/cgame/cg_draw.c
    M code/cgame/cg_local.h
    M code/cgame/cg_scoreboard.c

  Log Message:
  -----------
  Enable tourney scoreboard in Team Arena

"/team score" draws an oversized scoreboard in Q3. In Team Arena
it draws nothing. They probably intended to replace it with the
new .menu UI. But since it didn't happen, go ahead and use the Q3
tournament scoreboard.


  Commit: c14cb70f15039c90f36a0ece95dd574a7ad172d1
      https://github.com/ioquake/ioq3/commit/c14cb70f15039c90f36a0ece95dd574a7ad172d1
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M code/cgame/cg_draw.c

  Log Message:
  -----------
  Draw disconnect icon over lagometer in Team Arena too

The blinking disconnect icon is drawn over lagometer in Q3.
Team Arena moved the lagometer location. Now let's draw the
disconnect icon over lagometer in Team Arena too!


Compare: https://github.com/ioquake/ioq3/compare/8a50e2aa09e0...c14cb70f1503


More information about the quake3-commits mailing list