Commit graph

489 commits

Author SHA1 Message Date
fickleheart
ebd688f32f Cleanup :3c 2019-03-03 20:25:22 -06:00
fickleheart
d560fef930 Assign a server player in replays for Lua purposes
Unfortunately this doesn't seem to help sync much. It
at least prevents constant Lua errors I guess....
2019-03-03 20:24:35 -06:00
fickleheart
7a80195ed7 Fix count limiter not always working right for titledemo netreplays 2019-02-19 17:33:02 -06:00
fickleheart
188552e069 Allow viewing karma bombs during replays 2019-02-18 21:23:05 -06:00
fickleheart
96972c9ae9 Remove debug print 2019-02-18 20:54:37 -06:00
fickleheart
3a3b623e34 Use generic resync message for RNG desyncs 2019-02-18 20:51:02 -06:00
fickleheart
c260e27cd9 Support netreplays in titledemos
TDEMO###, where ### is a number from 1 to 255.
2019-02-17 13:13:45 -06:00
fickleheart
a6dff0a324 Whoops, saving the wrong file list 2019-02-17 11:52:23 -06:00
fickleheart
d1d270c09d Don't force loading files for replays 2019-02-17 10:04:48 -06:00
fickleheart
28b4d4a152 Merge remote-tracking branch 'remotes/james/netreplays-autoaddons' into new_netreplays 2019-02-17 08:52:21 -06:00
fickleheart
a6bc581520 Fix duplicated player views from ResetViews 2019-02-16 22:24:37 -06:00
fickleheart
b6cc96ad68 Fix replays crashing upon completion 2019-02-16 22:19:05 -06:00
fickleheart
1c5e525db1 Fix views getting automatically changed in netreplays 2019-02-16 22:06:47 -06:00
fickleheart
3bd47b3beb Fix multiplayer ghosts crashing the game sometimes 2019-02-16 21:55:08 -06:00
fickleheart
be353c9260 Reset views away from spectators 2019-02-16 21:07:11 -06:00
fickleheart
6e44952d50 Fuck you 2019-02-16 20:53:15 -06:00
fickleheart
7a7ea255bf 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
276373123e Add cvar for netreplay saving options 2019-02-16 18:29:51 -06:00
fickleheart
450efc3180 Merge remote-tracking branch 'remotes/james/netreplays-responder-fix' into new_netreplays 2019-02-16 15:50:46 -06:00
fickleheart
fcfce0bd49 Double default replay size 2019-02-16 15:49:54 -06:00
fickleheart
ca401aac8a Try to keep the RNG seed in sync 2019-02-16 14:24:00 -06:00
fickleheart
b006ac447f Remove debug-related code 2019-02-16 13:58:32 -06:00
fickleheart
e7488f8d76 Backwards compat for old replays 2019-02-16 13:49:31 -06:00
fickleheart
4bea570143 Resync items and bumpers in replays 2019-02-16 13:42:21 -06:00
fickleheart
78adae109a [WIP, CRASHES] Save ghost data in netreplays 2019-02-16 12:42:24 -06:00
fickleheart
1fa32a4b9d 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
James R
462e4fb863 Add support for an optional file list embeded in demos
Ghosts are also supported. The playback function can read demos without this
file list--it is a flag.
2019-02-14 14:02:47 -08:00
james
1b604273d4 Wait for HU_Responder and friends to finish eating before viewpoint control 2019-02-13 20:21:09 -08:00
james
fb4cd26aed Support splitscreen views in netreplays with less than four players
The first view is also not changed if there are no players to view.
2019-02-13 16:22:32 -08:00
fickleheart
dd75c1621c Fix compile warnings 2019-02-06 21:03:05 -06:00
fickleheart
6da810a994 Merge remote-tracking branch 'remotes/upstream/master' into new_netreplays
# Conflicts:
#	src/g_game.c
#	src/k_kart.c
2019-02-06 20:47:35 -06:00
fickleheart
e140127180 Format for better consistency with the codebase 2019-02-06 20:25:45 -06:00
fickleheart
61bb44463f Fix views not setting properly when adding multiple at once 2019-02-06 20:25:27 -06:00
james
e52641d15a Expose G_ResetView and amend G_ResetViews
(fickle's suggestion.)
2019-02-04 20:13:30 -08:00
james
ac9356a02b Automatically load splits up to new viewpoint
Basically, you can start viewing your third split and the second one views
another!
2019-02-04 17:58:55 -08:00
James R
ee8948d627 Add support for changing viewpoint via console
This isn't just a shameless console-empowerement. More precise "spying" can
benefit everybody. But especially in net-replays, this is almost necessary.
2019-02-04 03:09:40 -08:00
fickleheart
7aa83635ae Record net replays to replay/online/ 2019-02-03 14:29:54 -06:00
fickleheart
fe7c6c7f83 Add support for encore and battle replays 2019-02-03 13:55:29 -06:00
toaster
06b3e265f5 Merge branch 'master' of https://git.magicalgirl.moe/KartKrew/Kart-Public.git into next 2019-02-02 21:12:49 +00:00
fickleheart
ce59b705a4 Play generic intermission music after netreplays
Mostly because I kept cycling to other people after the
top half finished and always got the lose music as a
result lol
2019-02-02 10:54:24 -06:00
fickleheart
c407f811af Fix map name not showing right on replay intermission 2019-02-02 00:24:15 -06:00
fickleheart
71d1d10ef6 Play intermission after net replays 2019-02-01 21:06:52 -06:00
fickleheart
ba07224a8f Make replays single-view by default unless requested 2019-02-01 20:19:52 -06:00
fickleheart
3724d02e3b Allow changing all players' viewpoints in replays 2019-02-01 19:53:52 -06:00
fickleheart
4de79f13af Refactor view changes a bit 2019-02-01 19:46:58 -06:00
wolfy852
85f3be5889 Comment out type 2019-02-01 15:45:53 -06:00
wolfy852
b5b4e1fcc8 Skip over type
CORRECTLY, this time.
2019-02-01 15:42:29 -06:00
fickleheart
09eef5f6b1 Make the join sync hack a little more robust 2019-02-01 07:50:42 -06:00
fickleheart
7f7dd0097b wip replay viewpoint stuff heck im tired zzz good night 2019-02-01 01:32:35 -06:00
fickleheart
e5be5e80ba Make joins/quits/enters/spectates sync in replays
I'm not 100% sure on joins. That P_RandomByte() call
looks ugly. It'll probably be a source of trouble.
2019-02-01 00:44:35 -06:00