Commit Graph

5282 Commits

Author SHA1 Message Date
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 43c4917e96 Tack on a timestamp to replay filenames 2019-02-01 01:01:14 -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
fickleheart 6a131f368f Fix replay split breaking with less than four viewpoints 2019-01-31 23:03:44 -06:00
fickleheart 0c11562209 4p split views test 2019-01-31 00:00:28 -06:00
fickleheart e13e6c5c9b Fix replay viewer discarding aim keys 2019-01-27 20:36:13 -06:00
fickleheart d05a3a59c4 Write respawn command usage to replays 2019-01-27 19:30:20 -06:00
fickleheart f7e12165ba Write extra data before cmds
This will probably nip a possible issue
with player cmds getting read/wrote inconsistently
if a player joins or leaves.
2019-01-27 19:10:25 -06:00
fickleheart 49caebd2db Fix crashing at the end of netreplays 2019-01-27 19:09:29 -06:00
fickleheart c6248faa30 Write skin/color/name changes to replay 2019-01-27 19:07:30 -06:00
fickleheart 314b2769a9 Fix invalid numlaps value being written when set to map default 2019-01-27 17:58:13 -06:00
fickleheart 3a467889ae Fix spectators spawning as players in netreplays 2019-01-27 17:48:39 -06:00
fickleheart cf6e3a45d7 Reset oldcmd when recording netreplays 2019-01-27 17:09:25 -06:00
fickleheart 3cec3d9658 broken spectator stuff? 2019-01-27 16:23:34 -06:00
fickleheart 26770c5103 [HACK] Save correct lap count on netreplays 2019-01-27 15:45:42 -06:00
fickleheart ab226c1e39 Move where multiplayer replays are started
This particularly allows a server to record the
first map after startup as a replay. Players
joining mid-map can no longer record replays tho
2019-01-27 15:45:08 -06:00
fickleheart 894db0c6fd Store cmd.latency in replays 2019-01-27 15:09:58 -06:00
fickleheart 83738a20b7 Fix players spawning in the wrong spots when watching replays 2019-01-27 14:34:22 -06:00
fickleheart 6dcc4de979 Separate oldtic for each player 2019-01-27 14:34:19 -06:00
fickleheart 74c37ed06c Record all players' ticcmds in multiplayer 2019-01-27 14:34:01 -06:00
fickleheart 712dfdc3d1 Fix compile errors 2019-01-27 14:33:57 -06:00
fickleheart 1fb34ab65d lol test net replay stuff 2019-01-27 14:33:54 -06:00
fickleheart c9444116dd I don't wanna deal with ghosts right now 2019-01-27 14:33:51 -06:00
fickleheart dee45fdf62 Store initial player data in net replay 2019-01-27 14:33:45 -06:00
fickleheart 1f72df4edb Start with some strange multiplayer replay init stuff
Mostly just disabling the parts of the replay that assume
a single player, right now.

# Conflicts:
#	src/g_game.c
2019-01-27 14:33:38 -06:00
Sryder e45b2ea257 Merge branch 'ip-allow-letters' into 'master'
Allow letters to be used in the "Specify IPv4 Address:" field

See merge request KartKrew/Kart-Public!36
2019-01-26 16:45:22 -05:00
ThatAwesomeGuy173 eb29063ef1 Use actual characters instead of ASCII codes as per Sryder's suggestion 2019-01-26 14:15:37 -07:00
ThatAwesomeGuy173 fb6570cade I accidentally the numpad
also reduced the range of usable characters
2019-01-26 02:41:05 -07:00
ThatAwesomeGuy173 bcddbdbfbf Allow letters to be used in the "Specify IPv4 Address:" field 2019-01-25 21:50:58 -07:00
Sryder 5b9e6502f9 Merge branch 'md2-crash-fix' into 'master'
Hopefully fix the MD2 crash reported

Closes #1

See merge request KartKrew/Kart-Public!35
2019-01-24 14:27:25 -05:00
Sryder d959dd6934 Should hopefully fix the MD2 crash reported
I wasn't able to replicate it personally, but this should hopefully avoid it crashing where the RPT given pointed out.
2019-01-21 22:48:57 +00:00
Sal 7dd4b0aea8 Merge branch 'netticbuffer-crash-fix' into 'master'
Fix the netticbuffer command crashing 64-bit builds

See merge request KartKrew/Kart-Public!34
2019-01-21 15:52:27 -05:00
Sryder 29f31cd9f8 Fix the netticbuffer command crashing 64-bit builds 2019-01-21 20:40:28 +00:00
Sryder d28ab4df94 Merge branch 'upstream-merge' into 'master'
Merge upstream SRB2 changes

See merge request KartKrew/Kart-Public!33
2019-01-20 17:15:02 -05:00
Alam Arias 7b182d37b9 Merge remote-tracking branch 'upstream/master' into upstream-merge 2019-01-20 17:03:17 -05:00
Alam Ed Arias b8b605a9c7 Merge branch 'apng-conditional-disable' into 'master'
Disable the APNG code if the version of libpng is greater than 1.4.

See merge request STJr/SRB2!457
2019-01-20 17:00:50 -05:00
Sryder b18a8dbc8d Disable the APNG code if the version of libpng is greater than 1.4.
Since supposedly the current code *can't* work with newer versions of libpng that have the apng patch, it won't compile if that's what people have.
It seems like some distros are adding the apng patch to libpng and that'll make things annoying to compile for people.
I think it goes without saying, but if there's ever a fix to make newer libpng versions work with the APNG code then this can be reverted.
2019-01-20 18:50:28 +00:00
fickleheart c0c2ba4ca6 Fix clobbering error in MD2 texture code 2019-01-18 20:28:31 -06:00
wolfy852 4f38982968 Use SHORT on just the vars 2019-01-18 16:17:54 -06:00
wolfy852 de316f1ee1 Fix SHORT being used as a cast instead of a macro 2019-01-18 15:38:06 -06:00
TehRealSalt 4c8737da08 Final v1.0.2 commit (probably)
- Update chars.kart hash, AGAIN!
- Fix spectators being visible on minimap when F12ing people
- Optimize how splitscreen players are drawn on top of the minimap
- Remove duplicated cvar registrations
- Move cv_resynchattempts and cv_netticbuffer from D_ClientServerInit to D_RegisterServerCommands and D_RegisterClientCommands respectively, so they can save to config properly
- Increase "Frequent" gametype switch frequency even more
- "SRB2" version dehacked warning ignores srb2.srb
2019-01-18 04:30:38 -05:00
wolfy852 d389cececa Update chars.kart hash 2019-01-16 20:02:40 -06:00
wolfy852 31c911e88f Fix position numbers being off in 1P 2019-01-16 19:53:09 -06:00
TehRealSalt ad7b3dece0 Bump up the frequency of voting rule changes
This is in our changelog, but I didn't actually get around to doing it. Would've been foolish to ship with that :V
2019-01-16 16:19:16 -05:00
TehRealSalt 885d2e2965 Fix XD_REMOVEPLAYER not having a proper corresponding netxcmdname
Caught while working on power levels -- turns out it wasn't a total waste of time when I should've been working on the rest of v1.0.2!
2019-01-16 16:16:11 -05:00
TehRealSalt 146f2a1c0a Don't show COOL for spectators 2019-01-16 01:55:07 -05:00
TehRealSalt d4cf3f5dbc Merge branch 'master' of https://git.magicalgirl.moe/KartKrew/Kart 2019-01-16 01:15:21 -05:00
TehRealSalt 5e1aa0302f SHOULD be == 1, not < 2!!!! 2019-01-16 01:13:01 -05:00
Sal 860157a94b Merge branch 'movementchecks' into 'master'
Movement input checks

See merge request KartKrew/Kart!122
2019-01-16 01:08:32 -05:00