-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grab Z from replay origin for dynamic time diff #970
Merged
kidfearless
merged 1 commit into
shavitush:very_good_yes
from
rtldg:dynamic-time-diff-1
Oct 17, 2020
Merged
grab Z from replay origin for dynamic time diff #970
kidfearless
merged 1 commit into
shavitush:very_good_yes
from
rtldg:dynamic-time-diff-1
Oct 17, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should probably be implemented as a client preference like 2d Vs 3d velocity in the HUD. Either that or a convar. |
I don't think that should be an option as it'd just be an option for having a broken time difference. |
It would be for reducing the variation from the replay being at the peak of their jump and the player being at the start of their jump. |
SaengerItsWar
added a commit
to SaengerItsWar/bhoptimer
that referenced
this pull request
Jan 18, 2021
* Add Convar to restrict noclip in start zone * remove unused translation file * Require the enum struct size to be passed to natives This should hopefully prevent Invalid memory access from plugins compiled on older version of the timer. If an enum struct is changed then plugins compiled on older version of the timer will be forced to be recompiled to match the version they are using. * Fix save states not tracking preframes Misc. name changes for natives. And a somehow possible exception fixed when getting a record. * Add hitbox/center mass cvar (shavitush#930) * Add optional cvar for player center of mass/player hitbox for touching zones * 2.5.7a Final Changes fix spelling mistake add missing optional native tabify spaces * add ProcessMovement forwards * shavitush#939 Move tick calculations outside of EndTouch event * fix bhopstats include for latest sm * re-implement z-axis check for start zone offset calculation * Add convar to enable and disable dynamic time differences * Optimize Shavit_GetClosestReplayTime * Add convar for max search length for dynamic time differences * Fix Typo * fix another typo (shavitush#947) * Add sanity check for zone offsets * fixup GetClosestReplayTime part 1 * Add delete checkpoint & convert checkpoints to lists (shavitush#946) * Update shavit-misc.phrases.txt * Update shavit-misc.sp * remove debug lines * Update shavit-misc.phrases.txt * Update shavit-misc.sp * Works. deadwinter Today at 17:44 i fixed it myself so it is safe to merge now @kid * Add forward for when checkpoints are deleted * Adjust OnTeleport forward to match other checkpoint natives * Create function for DeleteCheckpoint. Added documentation. Co-authored-by: KiD Fearless <kidfearless1@gmail.com> * Added Shavit_OnPlaySound and shavit_sounds_enabled * Add round start fix to shavit-timelimit, Enabled by default * Add enabled convar for shavit-timelimit * cp bug fix (shavitush#951) deadwinter says the blame is 33% him, 33% me and 34% shavit cus it's his timer * begin moving persist replay frames out of shavit-misc * remove replay data from shavit-misc * Wrap dynamic time difference in shavit-replay library check * Fixed bugs * Make it optional * no empty line * Update shavit-core.sp * How can I didn't notice this before * Revert "remove replay data from shavit-misc" This reverts commit 5ad62fa. * Revert "begin moving persist replay frames out of shavit-misc" This reverts commit d2cfeee. * Update shavit-sounds.sp * Fix offset bug and add GetStageZone native (shavitush#948) * fix bug and add GetStageZone native * Update Native Now preloads stage zone data on map start. * fix using -1 for shavit_misc_persistdata (shavitush#961) * fix using -1 for shavit_misc_persistdata * fix formatting Co-authored-by: KiD Fearless <kidfearless1@gmail.com> * reset stamina to 0 on restart (so scroll is less cancer) (shavitush#967) * reset stamina to 0 on restart (so scroll is less cancer) * fix formatting Co-authored-by: KiD Fearless <kidfearless1@gmail.com> * fix error that happens if you 'sm_tele 0' with no checkpoints (shavitush#962) * don't set FL_ATCONTROLS when dead/spec so you can freecam while paused (shavitush#968) * don't set FL_ATCONTROLS when dead/spec so you can freecam while paused... * fix formatting Co-authored-by: KiD Fearless <kidfearless1@gmail.com> * just spectate the bot 4head (shavitush#969) * [CSS] continuously set m_flFlashDuration so the radar goes away (shavitush#964) * continuously set m_flFlashDuration so the radar goes away * fix formatting Co-authored-by: KiD Fearless <kidfearless1@gmail.com> * Add missing closing brace * grab Z from replay origin for dynamic time diff (shavitush#970) * Don't include preframe count for dynamic time diff (shavitush#971) "Also, when you go back to startzone (not with !r) your dynamic time is not back to 0 when you have more than 10 seconds on the timer (you can have even 30 on it, walk back to startzone, walk out and it will show -10 sec on dynamic timer right away)." * Wr suggestions (shavitush#972) * make !wr say map not found when map not found... * use translation string for 'map was not found' * stockify GuessBestMapName() and also use in sm_tier * fix formatting Co-authored-by: KiD Fearless <kidfearless1@gmail.com> * shavit-chatsettings fix "this breaks the parsing and it always parses CS:S section" made a PR on behalf of GAMMACASE also removed the useless " \t \n \r " cus it's already in there defined as hex, pointless to have it defined twice * add checks for config parsing "might also as well add some checks to config parsing" // GAMMACASE * Improve player name truncation in spec panel * add turn binds to !keys (shavitush#980) * add turn binds to !keys * move turn keys to a newline * Update documentation and change some verbage * Update README.md Dhooks is required in latest version * Fixed incorrect kv traversal for shavit-chatsettings.cfg * Tidy up dynamic time difference so that both cheap and expensive methods are available. dynamic time difference is now disabled by default, and will be using a shortened convar name. it is reccomended that if you do use the cheap method to set it to 2 or 3 as not having an early reference point was the main cause for time skipping. * move replay check to actual usage location * Remove The Loop * Revert "Remove The Loop" This reverts commit 60599ee. * shavitush#985 fix create checkpoint list if it doesnt exist * remove unused variable * Implement the ProcessMovment forwards * Fix Shavit_SaveCheckpoint Native * Update version to signify dev builds * Allow !goto/!tpto from start/end zone (shavitush#963) * allow !goto/!tpto from start/end zones * also remove translation phrase for TeleportInZone * only print the stage time message once per stage (shavitush#965) * only print the stage time message once per stage * show stage message every time when segmenting * add missing Shavit_OnStageMessage forward include * allow !resume when not on the ground (shavitush#966) * allow !resume when not on the ground * block !pause if moving / velocity != 0.0 * fix ApplyFlags for the replay bot (shavitush#977) * Multiple bonuses (shavitush#982) * cleanup GetTrackName() * a few more changes to change mod_zone_bonus & add Track_Bonus_Last * fix undefined symbol sTrack * fixup !bwr for multiple bonuses * fix GetTrackName() after I broke it * add bonus number param to help text of sm_bwr * fix !wr after I broke it adding !bwr [bonus number] * ignore checkpoint zones for now because nothing is ready for them * update points for bonus #2 through shavitush#8 at same time so instead of something like `9 (track count) * 22 (style count)` queries, it'll do `3 (main, bonus1, rest of bonuses) * 22 (style count)` queries and the rest of the bonuses on the recalc all in the same query * Added Shavit_GetStyleSetting, deprecated Shavit_GetStyleSettings * use smcparser for style loading * Removed shavit_getstylesettings from shavit-hud * Removed shavit_getstylesettings from shavit-replay * Removed shavit_getstylesettings from shavit-rankings * Add helper natives for Shavit_GetStyleSetting * Removed shavit_getstylesettings from shavit-stats * Removed shavit_getstylesettings from shavit-misc * Removed shavit_getstylesettings from shavit-wr * fixup compile errors * Update README.md * csgo menu fix (shavitush#995) * csgo menu fix * Update shavit-misc.sp * csgo menu fix works according to GAMMACASE * Update shavit-misc.sp * editing shit via git website is cancer * Update shavit-misc.sp * re-work shavit-core to use GetStyleSetting stocks. Log error when using Shavit_GetStyleSettings. * implement force_timescale in configs * Fix exploit allowing extra height on spawn * wrong team... * Change Shavit_GetStyleStrings to use style keys * Speculatory exploit fix * Delete frames from cpcache on entry deletion (shavitush#1001) * Delete frames from cpcache on entry deletion * Handle few more cases * One more case Co-authored-by: KiD Fearless <kidfearless1@gmail.com> Co-authored-by: Nairda <38843773+Nairdaa@users.noreply.github.com> Co-authored-by: Q <smshisb@gmail.com> Co-authored-by: deadw1nter <65445419+deadw1nter@users.noreply.github.com> Co-authored-by: Herman Simensen <herman.simensen@gmail.com> Co-authored-by: Joe <55846624+rtldg@users.noreply.github.com> Co-authored-by: GAMMACASE <darknesss456@mail.ru> Co-authored-by: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a part of the fix for #953