Commit graph

6267 commits

Author SHA1 Message Date
James R
7b714a225b WHY THE FUCK DID I DO THIS 2020-04-15 22:04:55 -07:00
James R
60bc61ef70 Oops 2020-04-14 19:41:32 -07:00
James R
30b5ec14fd Handle NULL hms buffer 2020-04-14 16:55:14 -07:00
James R
7488991ecd Compiler errors: won't stop, can't stop 2020-04-13 23:31:26 -07:00
James R
a0de059235 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
ee6de3800e Don't try to update right after registering 2020-04-13 22:54:58 -07:00
James R
2c5566b013 Add a hack so the 'All' room isn't display for hosting 2020-04-13 22:31:11 -07:00
James R
1201e89132 Kill the old mserv, long live HMS! 2020-04-13 22:23:01 -07:00
James R
7255d360e1 Clean up header text 2020-04-13 21:20:29 -07:00
James R
032adadd86 HTTP update alert 2020-04-12 20:37:46 -07:00
James R
48b2112af7 Fix some goofs 2020-04-12 18:33:53 -07:00
James R
03caf27d92 Bruh 2020-04-12 18:27:01 -07:00
James R
269746fe01 Clean up a bunch of stuff and follow the Master Server API more closely 2020-04-12 18:25:59 -07:00
James R
3f4224ed37 Windows certs do work, thanks Steel! 2020-04-12 17:51:30 -07:00
James R
969fe0b28e Handle more errors 2020-04-12 17:51:05 -07:00
James R
ef71bef6f3 Kill masterserver_token 2020-04-12 17:15:39 -07:00
James R
f0cc851b29 This will be the Master Server in 2020 2020-03-20 20:37:26 -07:00
James R
3f9f07af84 Use https because my web server redirects 2020-03-01 12:31:49 -08:00
James R
56fac10b14 strtok can return NULL 2020-03-01 12:15:48 -08:00
James R
9d42a5ad5e This time I fucked up 2020-03-01 11:59:54 -08:00
James R
aca2e97c84 Windows gaysed: the sequel 2020-03-01 11:54:21 -08:00
James R
ceb332e580 Windows is weird 2020-03-01 11:46:02 -08:00
James R
32a34cc1b2 masterserver_debug to set CURLOPT_VERBOSE 2020-03-01 11:39:27 -08:00
James R
1959a9b107 Don't show "All" room when hosting 2020-03-01 11:19:59 -08:00
James R
8756ef15a2 I don't even know my own website 2020-03-01 11:17:56 -08:00
James R
47a5f9ef94 lol 2020-03-01 10:59:25 -08:00
James R
e2507f390f 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
3cd5b3a33e Merge branch 'fix-port-connect' into 'master'
Don't use client port as default peer port

See merge request KartKrew/Kart-Public!152
2019-07-05 11:54:28 -04:00
Sryder
cab34bee6f Merge branch 'add-floats-command' into 'master'
Fix the Add command when floats

See merge request KartKrew/Kart-Public!153
2019-07-05 11:49:46 -04:00
James R
14be24dfb6 Support adding to CV_FLOAT cvars with the Add command 2019-07-04 17:48:17 -07:00
James R
0a2eac682b Don't use client port as default peer port 2019-07-04 16:38:00 -07:00
Sryder
e276faf819 Merge branch 'opengl_match_software_wallclip' into 'master'
OpenGL: Try and Match Software Wallclipping Better

See merge request KartKrew/Kart-Public!150
2019-07-02 14:08:10 -04:00
Sryder
815f237b22 Merge branch 'revert-mserv' into 'master'
Revert mserv

See merge request KartKrew/Kart-Public!144
2019-06-30 15:56:17 -04:00
Sryder
56ad1340a2 Merge branch 'replay-code-sucks' into 'master'
Fix SIGSEGV when saving replays and invalid extrainfo offset

See merge request KartKrew/Kart-Public!149
2019-06-30 05:51:21 -04:00
Sryder
bcae3898dd Merge branch 'lemme-outa-room-menu' into 'master'
Don't get stuck in room menu in a modified game

See merge request KartKrew/Kart-Public!145
2019-06-27 14:16:37 -04:00
Sryder
c3f6f263d4 Update Skywall handling
I've tried to make this so it almost never under-compensates, and over-compensates very little where possible.
I don't think it's 1:1 to software's current behaviour, and probably never will be due to software being very strange.
2019-06-26 23:17:45 +01:00
James R
59bbab1fff Someone doesn't know how pointers or WRITE macros work...
Fixes SIGSEGV when saving a replay.
2019-06-25 00:44:12 -07:00
Sryder
414eee58ba checkforemptylines can be static 2019-06-24 20:50:37 +01:00
Sryder
d67ea859e3 Match CheckClip to software's clipping check in R_AddLine
Has the added benefit of fixing noclip camera for opengl
Unfortunately SkyWalls are kinda broken with this. I'll be looking into them shortly.
2019-06-24 20:21:30 +01:00
Sryder
777695aa88 Merge branch 'replay-typo' into 'master'
Spell it "forward"

See merge request KartKrew/Kart-Public!147
2019-06-23 12:34:07 -04:00
James R
5f4f10fdbe Spell it "forward" 2019-06-22 21:40:20 -07:00
Sryder
18e2e4ec8f Merge branch 'fileneededconfig-fix' into 'master'
Fix fileneeded overflow

See merge request KartKrew/Kart-Public!146
2019-06-21 13:13:14 -04:00
James R
bbee4a2554 Cover edge case of WRITESTRINGN 2019-06-20 15:29:55 -07:00
James R
d5e1c1af42 Add a comment by Sryder's request 2019-06-20 15:24:50 -07:00
James R
7f99ebc692 Also count terminating byte in fileneeded filename 2019-06-20 15:16:23 -07:00
James R
ec369e8d21 Don't get stuck in room menu in a modified game 2019-06-19 14:32:11 -07:00
Sryder
db24665856 Merge branch 'print-correct-view' into 'master'
Print the correct player for the view command

See merge request KartKrew/Kart-Public!141
2019-06-19 16:58:11 -04:00
Sryder
257ad438ef Merge branch 'nomoreendlessclouds' into 'master'
Stop OpenGL having infinite precipitation draw distance

See merge request KartKrew/Kart-Public!143
2019-06-19 16:56:26 -04:00
Sryder
1b46553d43 Integer comparison warning 2019-06-19 21:54:11 +01:00
Sryder
11c94d3312 Stop OpenGL having infinite precipitation draw distance 2019-06-19 20:05:20 +01:00