Commit graph

39 commits

Author SHA1 Message Date
NepDisk
0450f45635 Kill MSVC
We are a GCC and Clang household, get this shit outta here
2025-10-16 20:42:11 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
Alug
2350f98aed disable compiling with ipv6 support
see commit before
2025-04-02 16:25:37 -04:00
Alug
c0b1458acc bugfixes for sock stuff + kinda fix ipv6
thx srb2!
sadly we cannot really make use of ipv6 since vanilla clients cant really handle stuff well ontop of the server browser not supporting them anyways, sad!
its probably better to just disable ipv6 compile completely
however this also has minor cleanups and bugfixes for ipv4 too (server browser now should work proper if you rerfresh it often and then close and open it again etc)
2025-04-02 16:24:54 -04:00
Eidolon
d08b923f06 Merge branch 'extern-c-everything' into 'master'
Add extern "C" in C++ to all headers

See merge request KartKrew/Kart!842
2024-10-15 14:14:43 -04:00
James R
9e801c66d5 Merge branch 'universal-typedef' into 'master'
Move all typedef into one file

See merge request KartKrew/Kart!791
2024-10-15 04:16:58 -04:00
James R
c8d4ef64f9 Hole punching 2020-11-12 17:08:34 -08:00
Sally Coolatta
b5fcd74ef9 Merge master
Slopes in a few maps are really broken ... think it's anchors, I'm gonna leave that to jart :V
2020-09-25 12:00:50 -04:00
James R
7b1f974397 Basically, update master server code to v2
Removes rooms, replaced with cv_advertise and "Advertise" on the host menu.

According to the new API, SRB2APPLICATION is sent instead of MODID. A contact
field was added, but there is no means of accessing it or setting it.

As a slight change, the server list will be populated even on an outdated
version of the game. (The new API was designed with this in mind.) The update
alert is still presented first of course.
2020-09-11 06:11:41 -07:00
James R
44e1b6cd22 masterserver_token is back
(cherry picked from commit 44af4705bb)
2020-07-11 17:41:09 -07:00
James R
63ca2cb5ff Set timeout on HMS connections
(cherry picked from commit 42484ae5ca)
2020-07-11 17:41:09 -07:00
James R
44af4705bb masterserver_token is back 2020-06-12 23:47:08 -07:00
James R
42484ae5ca Set timeout on HMS connections 2020-05-15 13:20:40 -07:00
James R
94e77ba652 Rename hms123311.c to http-mserv.c
HMS lives on in our hearts!

(cherry picked from commit 8a006fef18)
2020-05-14 17:28:55 -07:00
James R
8a006fef18 Rename hms123311.c to http-mserv.c
HMS lives on in our hearts!
2020-05-14 17:26:10 -07:00
James R
374fed02ad Fix switching the master server 2020-05-13 17:26:34 -07:00
James R
635e55e993 Fucking multithreading in the server registration
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2020-05-13 17:25:52 -07:00
James R
1e64eae0c7 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-05-13 17:24:27 -07:00
James R
9bf1f11f91 Compiler errors: won't stop, can't stop 2020-05-13 17:21:18 -07:00
James R
5bcce64053 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-05-13 17:20:59 -07:00
James R
8893243c78 Kill the old mserv, long live HMS! 2020-05-13 17:20:59 -07:00
James R
c08d9a1329 Kill masterserver_token 2020-05-13 17:18:27 -07:00
James R
a5d65b2ede masterserver_debug to set CURLOPT_VERBOSE 2020-05-13 17:18:27 -07:00
James R
65ff8e2f00 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-05-13 17:18:26 -07:00
Monster Iestyn
be0e7e63bf added missing extern keyword for ms_RoomId in mserv.h (the definition is already in the .c file in this case) 2020-05-12 18:42:16 +01:00
James R
d1fb8f42f2 Fix switching the master server 2020-04-28 14:21:57 -07:00
James R
c5beebbd48 Fucking multithreading in the server registration
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2020-04-28 12:33:50 -07:00
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
d15024482d Kill the old mserv, long live HMS! 2020-04-13 22:23:01 -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
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
James R
2274129f57 Update copyright year to 2020 2020-02-19 14:08:45 -08:00
Steel Titanium
a5cdb0a4b3 Update copyright date on source files 2019-12-06 13:49:42 -05:00
mazmazz
c91b2b4456 Update source copyrights to 2018 2018-11-25 07:35:38 -05:00
Inuyasha
f07585191b copyright dates/statements updated and such
(no actual SLOC changes)
2016-05-17 17:42:11 -07:00
Alam Ed Arias
b93cb1b65a SRB2 2.1 release 2014-03-15 13:11:35 -04:00