Commit graph

5590 commits

Author SHA1 Message Date
fickleheart
bca918cdbf Let titledemos play while game is unfocused 2019-02-18 20:51:28 -06:00
fickleheart
97a663745a Use generic resync message for RNG desyncs 2019-02-18 20:51:02 -06:00
Latapostrophe
2b61d81011 Fix dedicated server extra lua variables not being synched for joiners 2019-02-18 22:19:28 +01:00
Latapostrophe
2b47818d66 Fix respawning in reverse gravity 2019-02-18 14:00:36 +01:00
james
fbc017165c Remove extra whitespace 2019-02-17 23:09:52 -08:00
Steel Titanium
141338c7c1 Save when quitting the game.
Also use default reason if not custom reason is given.
2019-02-18 02:04:58 -05:00
Steel Titanium
5e2cea3980 Save ban list right after banning. 2019-02-18 01:03:39 -05:00
Steel Titanium
a1df64a365 Add command to ban an IP address. 2019-02-18 00:58:08 -05:00
James
fcb82af329 Some items have 30 sec cooldown on match start 2019-02-18 00:23:40 -05:00
James
d272342db7 Shrink timer is consistent 20sec 2019-02-18 00:17:58 -05:00
fickleheart
60b952ea2a Add some P_MobjWasRemoved checks around code that shrink touches
It's the only place in the vanilla game where K_DropItems
is called that isn't from a direct collision with the player
it's being called on. It's also a syncfail that doesn't happen
anywhere else, and I saw my sync state appear to get slightly
corrupted when it happened. Let's see if this fixes anything...
2019-02-17 22:09:37 -06:00
wolfy852
096cd50bae Merge branch 'upsidedown-brain' into next
# Conflicts:
#	src/k_kart.c
#	src/k_kart.h
2019-02-17 20:45:12 -06:00
james
c689100e65 Create the correct dummy function 2019-02-17 15:50:42 -08:00
Latapostrophe
9a12967020 Expose battlefullscreen and battlecomebacktimer huds to lua 2019-02-17 23:39:00 +01:00
fickleheart
0b92743244 Support netreplays in titledemos
TDEMO###, where ### is a number from 1 to 255.
2019-02-17 13:13:45 -06:00
fickleheart
786e8875ae Whoops, saving the wrong file list 2019-02-17 11:52:23 -06:00
fickleheart
ed16a35795 Don't force loading files for replays 2019-02-17 10:04:48 -06:00
fickleheart
c00fcfe2ea Missed a ResetView line 2019-02-17 10:03:34 -06:00
fickleheart
20b83c84ef Merge remote-tracking branch 'remotes/james/netreplays-autoaddons' into new_netreplays 2019-02-17 08:52:21 -06:00
james
76f2df2c40 Expose splitscreenplayer (from Got_AddPlayer) as splitscreen in player_t 2019-02-16 23:25:50 -08:00
fickleheart
63d07acc38 Fix duplicated player views from ResetViews 2019-02-16 22:24:37 -06:00
fickleheart
15f6e3de48 Remove unnecessary ResetViews call 2019-02-16 22:19:17 -06:00
fickleheart
fb8ca7c760 Fix replays crashing upon completion 2019-02-16 22:19:05 -06:00
fickleheart
53fa9299c1 Fix views getting automatically changed in netreplays 2019-02-16 22:06:47 -06:00
fickleheart
5a5264e5dd Fix multiplayer ghosts crashing the game sometimes 2019-02-16 21:55:08 -06:00
fickleheart
d68e3efc72 Reset views away from spectators 2019-02-16 21:07:11 -06:00
fickleheart
68266a7250 Fuck you 2019-02-16 20:53:15 -06:00
fickleheart
8ae26d24e3 Merge remote-tracking branch 'remotes/james/netreplays-viewcommand' into new_netreplays
# Conflicts:
#	src/g_game.c
2019-02-16 20:20:11 -06:00
fickleheart
d2b34a0e20 Add cvar for netreplay saving options 2019-02-16 18:29:51 -06:00
james
5d3a657a41 Actually support no apng patch 2019-02-16 14:39:33 -08:00
james
488285e510 Support libpng without the apng patch and fix mingw (?) compiler errors 2019-02-16 14:20:55 -08:00
fickleheart
d7d029eb9e Don't prevent exiting games while recording at all 2019-02-16 16:16:35 -06:00
fickleheart
ffd7bca18a Merge remote-tracking branch 'remotes/james/netreplays-responder-fix' into new_netreplays 2019-02-16 15:50:46 -06:00
fickleheart
712bdfd4b6 Double default replay size 2019-02-16 15:49:54 -06:00
fickleheart
7c6226ee91 Try to keep the RNG seed in sync 2019-02-16 14:24:00 -06:00
fickleheart
bceebf7e3e Remove debug-related code 2019-02-16 13:58:32 -06:00
fickleheart
82b8590fbc Backwards compat for old replays 2019-02-16 13:49:31 -06:00
fickleheart
7c0290795e Resync items and bumpers in replays 2019-02-16 13:42:21 -06:00
fickleheart
73639b6504 ??? 2019-02-16 13:10:58 -06:00
fickleheart
0bbff7f6d4 [WIP, CRASHES] Save ghost data in netreplays 2019-02-16 12:42:24 -06:00
fickleheart
b0ea03af2a Improve replay resyncing code
Notably, it should no longer cause immediate
desync warnings if a track starts on a slope.
2019-02-16 11:52:35 -06:00
fickleheart
4df98e6e1f Simulate fractional precision on item odds
This notably prevents some items from disappearing
completely above 8 players in netgames.
2019-02-16 10:33:18 -06:00
wolfy852
5172deb345 Fix compiler warnings 2019-02-16 08:32:14 -06:00
wolfy852
736bc77330 Incomplete: Split files added with -file into their own array
Compiles with no errors but the game errors on launch. With no files added, it gives "W_InitMultipleFiles: no files found". With files loaded via -file it gives "W_GetNumForName: PLAYPAL not found!"
2019-02-16 08:16:56 -06:00
wolfs
a1aff2ec9f Merge branch 'fix-battle-boost' into 'next'
Set flashing tics to 0 after boosting

See merge request KartKrew/Kart-Public!67
2019-02-16 08:31:08 -05:00
wolfy852
f8da7f3d8b Don't kill flashing tics for floor boosts 2019-02-16 07:03:56 -06:00
Latapostrophe
4129dae3af Move ping display in i_video for consistency with showfps display 2019-02-16 13:38:50 +01:00
wolfy852
b8dc9127d5 Set flashing tics to 0 after boosting 2019-02-16 06:37:09 -06:00
wolfs
3fdbf2f476 Merge branch 'fix-offroad' into 'next'
Fix drift sparks not generating on offroad with Hyudoro, Invincibility, or sneaker boosts

See merge request KartKrew/Kart-Public!62
2019-02-16 07:02:13 -05:00
wolfy852
eb55cddd35 Merge branch 'master' into next 2019-02-16 06:00:31 -06:00