Commit graph

917 commits

Author SHA1 Message Date
Louis-Antoine
c221b76716 Rewrite file transfer code
This code uses a custom packet acknowledgement system,
which is more suited for file transfer and does not suffer from
the small sender window used by the default acknowledgement system
2020-05-16 22:09:00 +02:00
Sally Coolatta
8be2d12b99 Merge remote-tracking branch 'public/master' 2020-05-16 00:08:53 -04:00
James R
8aced572c9 Some experimental commands to use auth when downloading from HTTP sources 2020-05-15 18:11:05 -07:00
Sal
c3f2c7618f Merge branch 'clearbans-please' into 'master'
Write empty file on clearbans

See merge request KartKrew/Kart-Public!156
2020-05-15 19:29:11 -04:00
Sally Coolatta
47c2c875d5 Increase bot difficulty every match based on placement, implement rival tag
Rival tag does not have an in-game indicator, but it is there & it gives the bot better odds
2020-05-14 02:18:32 -04: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
79ce8a4bfc WHY THE FUCK DID I DO THIS 2020-05-13 17:21:18 -07:00
James R
9bf1f11f91 Compiler errors: won't stop, can't stop 2020-05-13 17:21:18 -07:00
James R
8893243c78 Kill the old mserv, long live HMS! 2020-05-13 17:20:59 -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
Sally Coolatta
fa5fccffc5 Implement lives system
Lose a life & restart the current race if you place below the top half. Lose all of your lives, and you get kicked to the title screen.
2020-05-13 02:14:39 -04:00
Sally Coolatta
63797b35f7 Merge branch 'pet-robo' into grand-pricks 2020-05-12 22:40:02 -04:00
Sally Coolatta
1788d29263 Merge branch 'master' into pet-robo 2020-05-12 22:38:23 -04:00
James R
9056ca0525 Merge remote-tracking branch 'origin/master' into http-mserv 2020-05-12 17:50:32 -07:00
Louis-Antoine
70f4d12d38 Rename some file transfer functions 2020-05-12 19:06:40 +02:00
sphere
4d9d125a99 Fix some errors and add some comments. Also, actnum is not an INT32. 2020-05-12 17:20:28 +02:00
Sally Coolatta
15d18640de Merge remote-tracking branch 'public/master' into merge-12 2020-05-12 03:16:14 -04:00
Louis-Antoine
9326d18dbd Use W_CachePatchLongName in Snake minigame 2020-05-10 11:02:45 +02:00
Louis-Antoine
d4393925c7 Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2.git into snake 2020-05-10 11:00:30 +02:00
ThatAwesomeGuy173
972d052c67 Display refusal message if there is no HTTP source and internal downloads are disabled 2020-05-09 06:06:21 -06:00
Sally Coolatta
4a3262da41 Initial GP commit
Has a rudimentary option in the menu, which spawns the specific bots & spawns you on Green Hills in singleplayer.
2020-05-09 03:42:51 -04:00
Sally Coolatta
d2172fc54b Bot amount & difficulty is now controlled by cvars 2020-05-07 02:37:06 -04:00
Louis-Antoine
d3d01dd8eb Fix compiler warning 2020-05-05 14:05:19 +02:00
Sally Coolatta
2188391d42 add botvars to resynch packet 2020-05-04 20:37:52 -04:00
Sally Coolatta
766c6da005 Give bots servernode, D_NumPlayers no longer counts bots 2020-05-04 19:49:18 -04:00
Sally Coolatta
2dfa20f758 Merge branch 'master' into pet-robo 2020-05-03 23:08:00 -04:00
James R
77ddf635a5 Use a random port when connecting
(cherry picked from commit f584b61c93a97e1a9852f306acba673ced21e03a)
2020-05-03 18:35:51 -07:00
James R
d1fb8f42f2 Fix switching the master server 2020-04-28 14:21:57 -07:00
Louis-Antoine
0540548a98 Update sound and closed captions in connection screen 2020-04-28 00:37:58 +02:00
Louis-Antoine
829bb84b5e Minor adjustements in Snake minigame 2020-04-27 23:15:18 +02:00
Louis-Antoine
1c78e9cdfb Add bonuses and maluses to Snake minigame 2020-04-27 23:10:13 +02:00
Louis-Antoine
3ab29047bd Add pause and retry to Snake minigame 2020-04-27 22:06:32 +02:00
Louis-Antoine
0bdf93e48d Add a background to Snake minigame 2020-04-27 15:31:38 +02:00
Louis-Antoine
3c43515cbd Use sprites for snake and apple 2020-04-27 13:01:14 +02: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
Louis-Antoine
4b94ebd8fd Lower the download progress bar 2020-04-26 21:57:17 +02:00
Louis-Antoine
472be36b87 Prevent edge warping in Snake minigame 2020-04-26 21:17:15 +02:00
James R
908013f02e Download mismatched md5sum with http
This is from 7176aaf3
2020-04-26 01:29:40 -07:00
James R
9640cb1635 Fallback you doofus! 2020-04-26 01:28:01 -07:00
Wolfy
f35bdf3bb7 Revert basically every attempted join passwords fix 2020-04-26 01:20:46 -07:00
James R
6613b19220 Merge remote-tracking branch 'lat/remove-passwords' into awful-mix-fucked 2020-04-26 01:16:27 -07:00
James R
720e08c14d Revert "Reorder join process so password is authenticated before attempting to download"
This reverts commit 7176aaf36f.
2020-04-26 01:12:40 -07:00
James R
de9a156884 Revert "Don't send httpsource in SERVERINFO if join password is set"
This reverts commit ffd120f597.
2020-04-26 01:12:39 -07:00
James R
82b3649ad6 Revert "Request a download after completing the join challenge"
This reverts commit 98478d6712.
2020-04-26 01:11:25 -07:00
Louis-Antoine
90ef711412 Fix compiler warnings 2020-04-24 22:19:05 +02:00
Louis-Antoine
151fe6be07 Improve controls handling in connection screen minigame 2020-04-24 19:27:42 +02:00
Louis-Antoine
0928375bc4 Add a Snake minigame to the downloading screen 2020-04-24 19:27:29 +02:00
Louis-Antoine
ccf4bbe194 Add a minimum delay between connections 2020-04-24 14:05:15 +02:00
Sally Cochenour
372544d28f Merge branch 'master' into pet-robo 2020-04-22 21:54:40 -04:00
Wolfy
c40f1bf60d Shut the compiler up 2020-04-21 19:25:18 -05:00