James R
1cedb32e51
Let access spectator mobj
2020-11-05 20:05:04 -08:00
James R
3386ff6b90
Allow accessing a player even if there is no mobj
...
The worst part is you could've just saved the player userdata and accessed it
later anyway while player.mo is nil.
2020-11-05 20:04:14 -08:00
James R
745b293c47
Always allow access to the serverplayer
2020-11-05 20:00:21 -08:00
Sally Coolatta
c9755131bf
Merge branch 'master' into next
2020-11-05 16:15:42 -05:00
Sal
c33c24ae9a
Merge branch 'spb-polyobject-fix' into 'next'
...
Fix polyobject and SPB 'lastlook' interaction crash
See merge request KartKrew/Kart-Public!239
2020-11-05 16:14:25 -05:00
Sal
1aaddb9ea7
Merge branch 'download-wrong-checksum' into 'master'
...
Download files if they are found with wrong checksum
See merge request KartKrew/Kart-Public!238
2020-11-03 13:05:26 -05:00
Sal
9e70ee086e
Merge branch 'mute-music' into 'master'
...
Mute music instead of pausing if lose focus
See merge request KartKrew/Kart-Public!235
2020-11-03 13:05:06 -05:00
Sal
307a8aa778
Merge branch 'http-downloads-auth' into 'master'
...
Command for http downloads with basic auth
See merge request KartKrew/Kart-Public!233
2020-11-03 13:04:43 -05:00
Sal
7aeec3a95b
Merge branch 'instant-askjoin' into 'master'
...
Fix servers having a long delay before starting
See merge request KartKrew/Kart-Public!236
2020-11-03 13:04:10 -05:00
Sal
a1cc723007
Merge branch 'stun' into 'master'
...
Implement STUN for fetching your public IP address for RPC
See merge request KartKrew/Kart-Public!237
2020-11-03 13:03:54 -05:00
JugadorXEI
5d22277aed
Polyobject and SPB 'lastlook' interaction fix
2020-11-03 16:41:00 +01:00
James R
c59d456772
Count any files not already loaded toward filestoload?
2020-10-07 16:09:21 -07:00
James R
67df3cdb12
Download files that were found with wrong checksum
2020-10-07 16:06:49 -07:00
James R
8a7044a4ef
Add STUN to CMakeLists.txt
2020-09-30 21:15:49 -07:00
James R
186cdea8d5
Reset asksent before CL_ASKJOIN
...
It gets pushed forward for ASKINFO.
2020-09-30 12:42:53 -07:00
James R
cf73df38b4
Use rand_s for Windoze
...
unsigned int is always 4 bytes on windows btw, so this should align properly.
2020-09-30 12:22:09 -07:00
James R
f7a4667bc3
Use STUN instead of curl to fetch the public IP address for Discord
...
RFC 5389 is a standard protocol that can be used for this instead of ip4.me.
I may have gone overboard on the CSPRNG... It was fun though.
2020-09-30 03:57:50 -07:00
James R
70eec29992
Mute music instead of pausing if lose focus
2020-09-28 11:58:24 -07:00
James R
96e30e42b7
Include d_main.h
2020-09-25 11:25:15 -07:00
Sal
e1cf8e052c
Merge branch 'luafiles-srb2home' into 'master'
...
Open lua files in srb2home
See merge request KartKrew/Kart-Public!234
2020-09-24 23:23:02 -04:00
James R
1c35df36ac
Prepend srb2home to luafiles
2020-09-24 14:43:21 -07:00
Sal
1208a81429
Merge branch 'engine-sounds-fix' into 'master'
...
Fix engine sound volume
See merge request KartKrew/Kart-Public!231
2020-09-20 17:07:31 -04:00
Sal
e64b120fc1
Merge branch 'link-with-exchndl' into 'master'
...
Link with exchndl, instead of dynamically loading it.
See merge request KartKrew/Kart-Public!230
2020-09-19 15:42:00 -04:00
Sal
b18ea4faf1
Merge branch 'silly-numbers' into 'master'
...
Kill some nonsense
See merge request KartKrew/Kart-Public!232
2020-09-19 15:41:51 -04:00
James R
9f8c9b6026
Kill some nonsense
2020-09-18 13:11:49 -07:00
Sally Coolatta
d03cbdbba0
Make it a bit louder
2020-09-18 01:10:59 -04:00
Sally Coolatta
3b7681718c
Fix engine sounds' dampening to a sane value, now that the bug preventing it from working properly was fixed.
...
You can hear engines in 16P again, but it's not as obnoxiously loud as it was before. Additionally, I commented this function better.
2020-09-17 18:58:44 -04:00
Steel Titanium
e656a7d92d
Link with exchndl, instead of dynamically loading it.
...
It caused problems with crash reports not being made if the current working directory gets changed. Not even recommended anymore per the drmingw readme
https://github.com/jrfonseca/drmingw#exchndl
2020-09-17 15:59:02 -04:00
Sal
00515e2b6a
Merge branch 'disable-rpc-in-dedicated' into 'master'
...
Disable Discord Rich Presence on dedicated servers
See merge request KartKrew/Kart-Public!229
2020-09-16 01:43:40 -04:00
James R
2d5b48e08c
Disable DRPC if dedicated
2020-09-15 19:56:08 -07:00
Sal
4019005cfd
Merge branch 'advertisement-for-rpc' into 'master'
...
Move master server presence updates to Advertise_OnChange
See merge request KartKrew/Kart-Public!227
2020-09-15 16:22:32 -04:00
Sal
f76ec5cba3
Merge branch 'more-helpful-lua-error' into 'master'
...
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened
See merge request KartKrew/Kart-Public!228
2020-09-15 16:22:13 -04:00
Steel Titanium
11e2fb4110
Make "divide by zero" or "modulo by zero" errors show the file and line of where it happened
...
Shouldn't break scripts as it stops execution as soon it happens, like it already does.
2020-09-14 23:01:47 -04:00
Sally Coolatta
9d3a49e4ae
Move master server presence updates to Advertise_OnChange
...
This will probably call DRPC_UpdatePresence slightly less?
2020-09-14 16:34:17 -04:00
Sal
b0ee729f01
Merge branch 'small-to-issmall' into 'master'
...
Rename the "small" variable to "isSmall"
See merge request KartKrew/Kart-Public!226
2020-09-14 13:07:17 -04:00
Sally Coolatta
9f775a169d
Rename the "small" variable to "isSmall"
...
Reported by MK, apparently "small" is considered a data type for some systems. After a little bit of research, apparently it can happen when including <windows.h>... whatever, just rename the variable :p
2020-09-14 12:47:55 -04:00
James R
5c623f191f
Merge branch 'master' into next
2020-09-13 14:39:01 -07:00
James R
e4622cfeb3
Makefile: add WINDOWSHELL=1 for the Windows detect
...
(cherry picked from commit 6f51c68c7248d616ad16f66b72cfcc36b7c952f5)
2020-09-13 14:25:08 -07:00
James R
538c27f2fa
Makefile: automatically detect system to compile for, if no system was specified
...
This should work for mingw and linux so far.
(cherry picked from commit f92026f98b168f4556d50d3dde403ab6bfd97ff3)
2020-09-13 14:25:08 -07:00
James R
e415b4b475
Makefile: Make WARNINGMODE the default, optionally disable with RELAXWARNINGS
...
(cherry picked from commit 9495e6354fed1028c6fc502cc9d946cfdd0b7896)
2020-09-13 14:25:07 -07:00
James R
ce894b7837
Is it GCC is it gcc, is it????
...
(cherry picked from commit 246e71a463 )
2020-09-13 14:24:49 -07:00
James R
ec8cab9a3a
Update LATEST_GCC_VERSION too
...
(cherry picked from commit 4931d82393 )
2020-09-13 14:22:46 -07:00
James R
6e102db9c5
Add missing GCC version flags to the Makefile
...
(cherry picked from commit f939cf973b )
2020-09-13 14:22:45 -07:00
James R
ccefaa77e9
It's not always GCC, but it probably is gcc (I hope)
...
(cherry picked from commit 38ce80317d )
2020-09-13 14:12:36 -07:00
James R
599add9ad4
Forgot a comma
...
(cherry picked from commit 6cddbf7afb )
2020-09-13 14:12:36 -07:00
James R
c9463d90b6
Makefile: Move the PREFIX stuff up so version detection can take advantage of
...
(cherry picked from commit 2a059632a1 )
2020-09-13 14:12:36 -07:00
James R
8f3e2dd2dd
Detect the compiler version and set the correct GCC flag
...
If the version is not supported by the Makefile, the flag for the latest
version supported is set instead.
(cherry picked from commit 9963d38ce2 )
2020-09-13 14:12:36 -07:00
James R
8bbd6e1b19
Make cv_advertise no by default, do not save
2020-09-12 18:54:44 -07:00
James R
d437bac34f
Make cv_advertise NETVAR
2020-09-12 18:36:25 -07:00
James R
15cb3202e2
Merge branch 'master-server-2' into 'next'
...
Master Server 2
See merge request KartKrew/Kart-Public!224
2020-09-12 20:25:42 -04:00