Commit graph

5424 commits

Author SHA1 Message Date
Sal
0bdc0d0e78 Merge branch 'notluaconsoleplayer' into 'next'
Not Lua Consoleplayer

See merge request KartKrew/Kart-Public!38
2019-01-29 15:03:52 -05:00
Sal
c26da663f7 Merge branch 'i-gotta-get-more-sleep' into 'master'
Better cpusleep

See merge request KartKrew/Kart-Public!41
2019-01-29 15:03:13 -05:00
Steel Titanium
366d320cc3 Remove CV_HIDEN flag for serversort 2019-01-29 13:27:43 -05:00
Sally Cochenour
1928721218 Better cpusleep
- Default to 1, which means potential for a 1-frame loss every once in a while but no longer a complete cpu hog
- New minimum is 0, since -1 just did the exact same thing as 0.
2019-01-28 14:12:08 -05:00
Sal
1fc76e48b5 Merge branch 'thin-intermission-names' into 'master'
Thin names for 9+ player intermission

See merge request KartKrew/Kart-Public!37
2019-01-28 13:38:58 -05:00
Sally Cochenour
bbde175224 Reduce frequency of Eggman items, give some of those points to Orbinaut or Banana 2019-01-28 12:47:23 -05:00
toaster
56f67c9db5 You will never have Lua consoleplayer.
(This is a quick, cheap hack to make splitscreen not almost impossible to support in major mods like Wipezones.)
2019-01-28 17:28:15 +00:00
toaster
2e232b67ba * Did some reviewing, turns out there's literally no reason to disable savemoddata when majormods gets tripped and it's just a stupid thing vanilla did for modifiedgame for some reason that we almost inherited with our new solution?
* Adjusted the save system to acknowledge the new status quo. Instead of trying to save modifiedgame in the file like some sort of extremely boneheaded honour system everyone and their mothers hacks around, we just use it to determine whether the save is for a mod with savedata or not (this keeps backwards compatibility based on how we were using it, anyways, especially with the *force* parameter...)
* Added a menu message for attempting to play a demo set on a map that isn't loaded, as opposed to letting it I_Error.
* Minor tweaks to addons menu representing modded status.
2019-01-28 16:32:07 +00:00
Sally Cochenour
090ba300df Sparks can't be started in offroad 2019-01-27 23:25:03 -05:00
Sally Cochenour
753083a457 Change offroad leniency from 1 second to 0.5 seconds, don't make friction more forgiving in offroad 2019-01-27 23:18:40 -05:00
Sally Cochenour
f12972c377 Wipeout slowdown in offroad is static 2019-01-27 22:28:44 -05:00
Sally Cochenour
240252fe08 Wipeout slowdown is x2 strength 2019-01-27 21:58:44 -05:00
Sally Cochenour
1c2ff9310e Wipeout slowdown timer is set to 20 tics if below, instead of adding up per bump. 2019-01-27 21:58:17 -05:00
Sally Cochenour
60c62b7a93 Remove offroad leniency bias
Everyone now has flat, equal 1-second leniency
2019-01-27 21:57:18 -05:00
fickleheart
8473194e8a Fix replay viewer discarding aim keys 2019-01-27 20:36:13 -06:00
Sally Cochenour
d6e5be72e0 Apply to TAB rankings too 2019-01-27 21:11:49 -05:00
fickleheart
63dd29564e Write respawn command usage to replays 2019-01-27 19:30:20 -06:00
fickleheart
5f0fc3f681 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
f1048d2b5a Fix crashing at the end of netreplays 2019-01-27 19:09:29 -06:00
fickleheart
4116c11152 Write skin/color/name changes to replay 2019-01-27 19:07:30 -06:00
fickleheart
c944a524d1 Fix invalid numlaps value being written when set to map default 2019-01-27 17:58:13 -06:00
fickleheart
08582fa7cc Fix spectators spawning as players in netreplays 2019-01-27 17:48:39 -06:00
fickleheart
cc5bcd1676 Reset oldcmd when recording netreplays 2019-01-27 17:09:25 -06:00
Sally Cochenour
95251808d4 Thin names for 9+ player intermission 2019-01-27 17:52:53 -05:00
Sally Cochenour
f7d8c3877e Scale number of allowed invuln items w/ player count
0-5 players: 1 invincibility/grow allowed out at once
6-9 players: 2 invincibilities (how it was before)
10-13 players: 3 invincibilities
14+ players: 4 invincibilites
2019-01-27 17:51:46 -05:00
fickleheart
30649b0574 broken spectator stuff? 2019-01-27 16:23:34 -06:00
fickleheart
d9f1345701 [HACK] Save correct lap count on netreplays 2019-01-27 15:45:42 -06:00
fickleheart
5b4b5ec302 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
28da2d2a85 Store cmd.latency in replays 2019-01-27 15:09:58 -06:00
fickleheart
2ec0673af9 Fix players spawning in the wrong spots when watching replays 2019-01-27 14:34:22 -06:00
fickleheart
5a6ad744b1 Separate oldtic for each player 2019-01-27 14:34:19 -06:00
fickleheart
2b47af32fb Record all players' ticcmds in multiplayer 2019-01-27 14:34:01 -06:00
fickleheart
61ba4ac123 Fix compile errors 2019-01-27 14:33:57 -06:00
fickleheart
aea82da5fc lol test net replay stuff 2019-01-27 14:33:54 -06:00
fickleheart
11837576a1 I don't wanna deal with ghosts right now 2019-01-27 14:33:51 -06:00
fickleheart
7d881e7af1 Store initial player data in net replay 2019-01-27 14:33:45 -06:00
fickleheart
b0792aed46 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
Sally Cochenour
10433c4e32 Merge branch 'master' into item-experiment 2019-01-27 15:14:56 -05:00
Sryder
fdc2cc9437 Merge branch 'master' of git@git.magicalgirl.moe:KartKrew/Kart-Public.git into next 2019-01-26 21:46:20 +00:00
Sryder
6fb2b733da 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
f12f154f87 Use actual characters instead of ASCII codes as per Sryder's suggestion 2019-01-26 14:15:37 -07:00
Sryder
ae64884e59 Merge branch 'no-cheese' into 'next'
No respawn cheese

See merge request KartKrew/Kart-Public!32
2019-01-26 16:08:36 -05:00
toaster
4e4d663b3e Do a bit more cleanup. Notably, prevent skins setting a bunch of things in preperation for this branch hitting the mainstream.
Also, make SF_RUNONWATER set off majormods. I was under strong pressure to remove it and almost did but honestly it's kind of endearing and I think like one character in Releases uses it..?
2019-01-26 19:13:49 +00:00
Latapostrophe
5882f8ac66 Changed condition to being mid-air, changed print and changed the kick to a return 2019-01-26 19:40:12 +01:00
Sal
809138e285 Merge branch 'expose-more-lua-stuff' into 'next'
More Lua stuff + PlayerCmd hook

See merge request KartKrew/Kart-Public!28
2019-01-26 13:19:41 -05:00
toaster
004cde8a57 Code cleanup as requested by Sal and Sryder.
* majormods and savemoddata cannot coexist as true values, so going through and making situations that involve both only reference one.
* Clean up comments in `dehacked.c`.
2019-01-26 16:58:45 +00:00
Latapostrophe
ae6373f014 Only prevent respawn if spun out in midair and added a Got_Respawn check to kick cheaters 2019-01-26 17:40:05 +01:00
Latapostrophe
60bbea9de1 No more ghetto check, and some more descriptive comments on the Hook 2019-01-26 16:55:26 +01:00
ThatAwesomeGuy173
ea13f606ca I accidentally the numpad
also reduced the range of usable characters
2019-01-26 02:41:05 -07:00
ThatAwesomeGuy173
1141c2c1f2 Allow letters to be used in the "Specify IPv4 Address:" field 2019-01-25 21:50:58 -07:00