Commit graph

27 commits

Author SHA1 Message Date
James R
29bf51bc99 Make mod update, room list and server list multithreaded
This took fucking ages and it still fails sometimes in edge cases, but I
don't give a FUCK right now.
2020-04-26 19:46:35 -07:00
James R
ce4161d985 Compiler errors: won't stop, can't stop 2020-04-13 23:31:26 -07:00
James R
0e7678a5d5 masterserver_update_rate cvar determines wait between updates in minutes
The new default is 15 minutes as well. And if you think that's too long, I have
confirmed that the Master Server delists inactive servers after a whopping 40
minutes, at least.
2020-04-13 23:10:06 -07:00
James R
2a9ae68364 Don't try to update right after registering 2020-04-13 22:54:58 -07:00
James R
d15024482d Kill the old mserv, long live HMS! 2020-04-13 22:23:01 -07:00
James R
83464dbf1d Clean up header text 2020-04-13 21:20:29 -07:00
James R
219d8c9380 HTTP update alert 2020-04-12 20:37:46 -07:00
James R
b9f5eaa739 Kill masterserver_token 2020-04-12 17:15:39 -07:00
James R
73a6c58325 masterserver_debug to set CURLOPT_VERBOSE 2020-03-01 11:39:27 -08:00
James R
5a7ee3f3d8 Don't show "All" room when hosting 2020-03-01 11:19:59 -08:00
James R
e099ba0118 The big bad HTTP master server
Cvars:

http_masterserver is the url to the master server's API.
masterserver_token may be an authentication token.
2020-03-01 02:36:56 -08:00
Sryder
3ee34f7518 Integer comparison warning 2019-06-19 21:54:11 +01:00
James R
e3e8465a2d Open a new connection before we check socket errors
And somehow this applies if you use `addfile` after having added the server.
Some claim that there are other cases too.
2019-02-09 07:50:26 +00:00
TehRealSalt
4507ee18fd Merge remote-tracking branch 'srb2public/next' into merge-next 2018-11-29 08:49:50 -05:00
Monster Iestyn
72fc63eb8a Merge branch 'ms-cvars-fix' into 'master'
Update server name insantly

See merge request STJr/SRB2!344
2018-11-25 14:04:12 -05:00
mazmazz
c91b2b4456 Update source copyrights to 2018 2018-11-25 07:35:38 -05:00
Steel Titanium
0023f8d7eb Update server name instantly on change 2018-11-24 21:24:05 -05:00
Monster Iestyn
1fa80d57dd Make sure GetMODVersion and its console equiv properly detect failing to get a reply from the MS, also added extra console/menu messages 2018-11-19 17:46:38 +00:00
TehRealSalt
7e9bcf5a49 Merge remote-tracking branch 'refs/remotes/srb2public/master' 2018-01-02 22:59:43 -05:00
Alam Ed Arias
faf88cf2e5 TCP: remove BADSOCKET 2017-12-26 19:56:50 -05:00
TehRealSalt
5fe2f4928f Merge remote-tracking branch 'refs/remotes/srb2public/next' into zarrotsu
# Conflicts:
#	src/doomdef.h
#	src/sdl/i_main.c
#	src/sdl/i_video.c
#	src/y_inter.c
2017-10-17 15:53:34 -04:00
Monster Iestyn
900bab9b13 Fix includes for SDL 1.2-only ports' files 2017-09-14 21:15:38 +01:00
ZTsukei
f50ecc0dcd Most items work (netgame needs testing), will do fireballs later. 2017-02-26 17:38:24 -05:00
ZTsukei
e4a970f894 Starting from scratch. SRB2 v2.1.15 2016-07-06 00:10:19 -04:00
Inuyasha
f07585191b copyright dates/statements updated and such
(no actual SLOC changes)
2016-05-17 17:42:11 -07:00
Alam Ed Arias
d90536967d removed/remline ununsed code 2016-03-30 14:05:07 -04:00
Alam Ed Arias
b93cb1b65a SRB2 2.1 release 2014-03-15 13:11:35 -04:00