Commit Graph

700 Commits

Author SHA1 Message Date
KiD Fearless
9ea63fab11 Merge branch 'very_good_yes' 2021-03-07 14:15:56 -07:00
KiD Fearless
1f81b4116e lowercase Timer variable name 2021-03-07 12:06:20 -07:00
KiD Fearless
70ae9bc4cb Add shavit_misc_prespeed 5 for 2d velocity limit. 2021-03-07 12:05:13 -07:00
Joe
99ac213a2e
Merge pull request #1022 from GAMMACASE/restart_warn_on_seg_removed
Remove restart warning for a segmented style
2021-03-07 03:31:47 +00:00
Joe
a78d797d42
use existing CanSegment(client) 2021-03-07 03:29:18 +00:00
rtldg
65f58219bd misc changes & stockify GetSpectatorTarget 2021-03-07 03:25:56 +00:00
GAMMACASE
0d3dd2bf2e Removed restart warning for a segmented style 2021-03-07 05:58:38 +03:00
rtldg
dc9f39bdf3 improve map point recalculation 2021-03-06 22:32:30 +00:00
rtldg
ec31464b1b add parentheses around ternary conditionals 2021-03-06 21:04:42 +00:00
rtldg
5f59c57c4f brackets and oversights 2021-03-06 09:54:03 +00:00
rtldg
3df3943dea move unindexed variables out of loop 2021-03-06 09:48:22 +00:00
rtldg
4da249c6fb cleanup comments 2021-03-06 09:31:54 +00:00
rtldg
3ca87e27c8 new natives & chat rank stuff & translations
natives:
Shavit_GetWRCount(client) -> Shavit_GetWRCount(client, track, style, usecvars)
Shavit_GetWRHolders(track, style, usecvars)
Shavit_GetWRHolderRank(client, track, style, usecvars)

configs/shavit-chat.cfg:
added w (WR Count) and W (rank out of WR holders) to ranks prefix options
added {pts}, {wrs}, and {wrrank}

translations/shavit-chat.phrases.txt:
added a lot here... make sure you update your #format, parameter numbers, and translations...
2021-03-06 09:14:35 +00:00
rtldg
b19ce52efc make chatrank say ranked at #1 2021-03-05 17:25:03 +00:00
rtldg
0caa746290 initial DynamicChannels stuff 2021-03-04 10:31:11 +00:00
rtldg
ee11fa10d4 add Shavit_DeleteWR. refactor run deletion & wipeplayer 2021-03-04 05:53:41 +00:00
rtldg
45dd960d3e remove PrintToChatAll from shavit-zones 2021-03-04 05:30:13 +00:00
rtldg
9d26e5cddb add sm_fling back for testing whoops 2021-03-04 05:29:28 +00:00
Joe
83b82f2355
Merge pull request #1016 from deadw1nter/delete_replay
Add map name check to DeleteReplay
2021-03-04 05:19:20 +00:00
rtldg
25f07e70e1 move sample text into shavit-chat.phrases.txt 2021-03-02 22:20:27 +00:00
rtldg
720ddeed1d add Shavit_GetPlainChatrank. add {cr} to shavit_misc_clantag 2021-03-02 22:05:03 +00:00
rtldg
41f62f0a8f add the steamid to cpcache so segmented checkpoints don't keep starting in practice mode 2021-03-02 18:56:13 +00:00
rtldg
a186e25b4e save cps on disconnect. fix ->spec->rejoin->lose pos. merged savestate stuff into persistent_data_t stuff 2021-03-02 18:17:10 +00:00
rtldg
62862ec2b5 fix persistent_data_t frames being cleared early 2021-03-02 03:12:25 +00:00
rtldg
14741a66c1 this stuff is stored in the timer_snapshot_t 2021-03-02 02:37:25 +00:00
deadw1nter
2d9c1037a0 better implementation from rellog, huge shoutout to him 2021-03-01 18:08:20 +08:00
deadw1nter
7477c7780f A shitty implementation 2021-03-01 17:41:59 +08:00
Joe
b62352835f
Merge branch 'very_good_yes' into delete_replay 2021-03-01 02:12:30 +00:00
Joe
025e35397b
Merge pull request #1020 from rtldg/replay-file-stealing2
add timestamp to finish-forwards. add Shavit_ShouldSaveReplayCopy and Shavit_OnReplaySaved
2021-03-01 02:05:02 +00:00
Joe
7a27fe262f
Merge pull request #1018 from hermansimensen/very_good_yes
Fixed bad replay timer playback.
If any plugin changes the tickrate of the server (i.e Tickrate Control by Rostu), the playback of the replay's timer might be at the wrong speed. To fix this we just make sure gF_Tickrate is up to date when starting the replay.
2021-03-01 02:04:06 +00:00
Joe
d3eede84f8
no sm_fling in timer 2021-03-01 02:01:12 +00:00
rtldg
020a218fa6 lowercase parameters in shavit.inc 2021-02-28 21:03:16 +00:00
rtldg
0e5eef338d newline + path -> sPath 2021-02-28 00:38:47 +00:00
Joe
27dfcd740f add timestamp to finish-forwards. add Shavit_ShouldSaveReplayCopy and Shavit_OnReplaySaved 2021-02-27 19:39:21 +00:00
Nairda
5730148d0a
add brackets (#1019) 2021-02-27 18:49:15 +00:00
Joe
a6ff5dd94c
Avg and max velocity (#1017)
Adds Shavit_GetAvgVelocity(), Shavit_GetMaxVelocity(), Shavit_SetAvgVelocity(), Shavit_SetMaxVelocity().
Adds `float avgvel, float maxvel` to Shavit_OnWorldRecord, Shavit_OnFinish_Post, Shavit_OnFinish, Shavit_OnWorstRecord.
Adds avg/max velocity to cp_cache_t and timer_snapshot_t
Prints avg/max velocity to run-finish message.
2021-02-27 18:33:07 +00:00
hermansimensen
423c7299d3 Fix bad replay playback time. 2021-02-26 21:53:56 +01:00
Joe
4b97af25d8 add avg/max velocity to run completion message 2021-02-26 20:41:58 +00:00
Joe
ee2ed22af0 fix forward param count 2021-02-26 19:25:35 +00:00
Joe
f869498af3 fuck 2021-02-26 19:19:51 +00:00
Joe
e38eceedbe remove preframes from avg vel calc 2021-02-26 19:17:32 +00:00
Joe
5351e49e76 spread avg/max velocity into as many places as possible 2021-02-26 18:28:40 +00:00
Joe
7b2fb3be65 store avg/max velocity in persistent data & cpcache 2021-02-26 17:53:42 +00:00
Joe
71e804420c change avg/max velocity to work off frames 2021-02-26 17:34:29 +00:00
Joe
07e07fd7c8 fix typos for avg/max velocity 2021-02-26 02:46:08 +00:00
KiD Fearless
f84e271c55 Add SetStyleSetting Natives #877 2021-02-25 18:28:08 -07:00
GAMMACASE
e091c186fe
Fixed queries to support mysql v8 (#1015) 2021-02-26 00:42:30 +00:00
deadw1nter
6ae4ce15d9 Add mapname param to OnWRDeleted 2021-02-24 20:04:34 +08:00
deadw1nter
5eb1c9ab1a Add map name check in DeleteReplay 2021-02-24 10:56:38 +08:00
deadw1nter
32336e5ab6 Merge remote-tracking branch 'upstream/very_good_yes' into delete_replay 2021-02-24 10:44:29 +08:00