Commit Graph

549 Commits

Author SHA1 Message Date
Herman Simensen
dec640f2b4
New timer method, tick fractions & StartReplay native (#931)
* 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 (#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

* Tick offsets, new timing method

Added the tick fraction system from Momentum Mod. Timer is now run within ProcessMovement

* Add StartReplay Native

* Remove debug code

* remove extra gamedata

* Change Hook To Post.

* Increment version

Co-authored-by: KiD Fearless <kidfearless1@gmail.com>
Co-authored-by: Nairda <38843773+Nairdaa@users.noreply.github.com>
2020-07-08 18:00:28 -06:00
kidfearless
48f051f78c
Update very_good_yes from master (#932)
* 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 (#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

Co-authored-by: Nairda <38843773+Nairdaa@users.noreply.github.com>
2020-07-07 17:37:17 -06:00
KiD Fearless
26c9f0381d Save the proper frame count to the replay files 2020-06-17 19:31:23 -06:00
KiD Fearless
b2057fcf7b Fix missed merge conflict 2020-06-16 21:04:02 -06:00
KiD Fearless
8f0fd02f32 Merge branch 'very_good_yes' 2020-06-16 21:01:24 -06:00
KiD Fearless
2b16a8d2e9 Fix replay bots desyncing after WR 2020-06-16 20:49:45 -06:00
KiD Fearless
97eb4bfc00 re-add silly percentage 2020-06-16 19:32:06 -06:00
Nairda
54a53db13b
nairda bad-Fix FormatSeconds stock (#923) 2020-06-14 15:26:28 -06:00
Nairda
469785b80c
Update to current api standards (#922) 2020-06-10 11:45:14 -06:00
Nairda
d1308939bd
Add dynamic timer difference (#921) 2020-06-10 11:16:15 -06:00
Nairda
747e79f922
eh! (#920)
* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit.inc

* Update shavit-misc.sp

* tested... my ass

fuck you sourcemod

* award goes to deadwinter again

L 06/03/2020 - 00:30:18: [SM] Exception reported: Invalid index 47081 (count: 3743)
L 06/03/2020 - 00:30:18: [SM] Blaming: shavit-replay.smx
L 06/03/2020 - 00:30:18: [SM] Call stack trace:
L 06/03/2020 - 00:30:18: [SM]   [0] ArrayList.Get
L 06/03/2020 - 00:30:18: [SM]   [1] Line 1806, D:\steamcmd\css\cstrike\addons\sourcemod\scripting\shavit-replay.sp::OnPlayerRunCmd


Bug fixed.

* oops

* even more bugs ok

* Update shavit-hud.sp
> just merge it, trust me im clueless
- Nairda
2020-06-09 09:46:20 -06:00
Nairda
f2ae4b050d
Fix hud error bug spam in server console and prespeed on replay (#918)
#BlameNairdaIfItBreaks
2020-06-05 22:00:53 -06:00
Nairda
dff6f61145
fix replay bug (#906)
Speculatory fix for "replay bug"
2020-05-05 08:19:54 -06:00
deadw1nter
e753b7bdd8
Remove extra prerun frame, Add dynamic time difference (#890)
* Make clearpreframe optional

* Remove extra prerun frame, Add dynamic time difference
2020-04-25 16:13:52 -06:00
KiD Fearless
15942d05ff properly fix perf jumps 2020-04-24 13:18:07 -06:00
Nairda
606e3e70c0
removed the debug lines
they were only for you to see what I did to test the stuff
2020-04-21 03:12:48 +02:00
hermansimensen
35b608af88 Fix timescale being reset to styles default
This new line will fix the native Shavit_SetClientTimescale by not
resetting the timescale of the player to the style default after each
jump
2020-04-15 21:36:51 +02:00
KiD Fearless
9a4cdef528 Update documentation 2020-04-12 13:23:03 -06:00
KiD Fearless
1671f8380c Update FormatSeconds to handle negative time
* Remove shavit_hud_prerun_countdown

* Replace %with %%
2020-04-10 11:38:31 -06:00
deadw1nter
91f83e2c2a
Clean up prerun code + Add prerun countdown to hud (#886)
* remove timer preframe variables

* Prerun should only record when you are in start zone

* Make clearpreframe optional

* add prerun countdown to hud
2020-04-10 09:57:21 -06:00
KiD Fearless
3846122367 Change language of prerun convar 2020-04-07 14:16:59 -06:00
deadw1nter
db5ee570f0
Prerun should only record when you are in start zone (#885)
* Make clearpreframe optional
2020-04-07 14:12:32 -06:00
KiD Fearless
9fc6f83e8c Fix SQL Syntax error in MySQL 8.0 2020-04-07 13:35:03 -06:00
KiD Fearless
9affa982cf remove shavit_replay_maxlength_instart 2020-04-06 10:29:24 -06:00
KiD Fearless
12e0df79e0 increment version 2020-04-04 15:17:18 -06:00
KiD Fearless
d590934324 Add jump multiplier and jump bonus to shavit-styles.cfg 2020-04-04 14:35:14 -06:00
KiD Fearless
94693fc6d8 overwrite older preframes instead of clearing them upon reaching the max list limit 2020-04-04 13:28:30 -06:00
KiD Fearless
8650fe86b7 always return the actual run time 2020-04-04 12:39:27 -06:00
KiD Fearless
44a6b1646f Show hud data during prerun 2020-04-04 12:39:04 -06:00
Nairda
986ebcd427
segmented prespeed fix (#883)
* Update shavit-misc.sp

* Update shavit-replay.sp

* Update shavit.inc

* Update shavit.inc

* Update shavit-misc.sp

* Update shavit-replay.sp
2020-04-04 11:17:31 -06:00
KiD Fearless
88ca8c8159 Implement set current checkpoint 2020-04-03 15:07:08 -06:00
KiD Fearless
1387b5451a Added more checkpoint natives and forwards 2020-04-02 21:28:26 -06:00
deadw1nter
d8fbcbb780 Implement prerun feature for replay (#882)
* Implement prerun feature for replay

* Update shavit-replay.sp

* Update shavit-replay.sp

* Using blacky's method to handle prerun

I know it is kinda copy-pasta, but it is the best way that I can come up with :(

* I suck at naming 👎
2020-04-02 14:15:19 -06:00
KiD Fearless
2ad6152c82 Fix build 2020-03-25 08:00:53 -06:00
kidfearless
2b6e09bc85
Merge pull request #870 from shavitush/very_good_yes
Merge into master
2020-03-25 07:44:16 -06:00
deadw1nter
daf2783071
Fix a bug
You still can save a segmetned checkpoint when you are dead via menu
2020-03-25 15:47:01 +08:00
KiD Fearless
53d71509bd Merge branch 'very_good_yes' 2020-03-07 00:47:10 -07:00
Kyle
e75617e191 Fix admin menu
Fix for adminmenu late load or reload
2020-03-07 13:28:31 +08:00
KiD Fearless
8fb6312b89 Add csgo hint fix text by default and block hooking it.
Thanks @gammacase
2020-03-05 16:40:38 -07:00
KiD Fearless
ec5888d1f6 Changed pragma dynamic to allow for longer replay bots 2020-02-24 11:20:43 -07:00
KiD Fearless
3283a26d45 Added Convar_class methodmaps for timer convars 2020-01-22 17:16:37 -07:00
KiD Fearless
3d2b51a27a Supress command teleport messages 2020-01-22 14:55:36 -07:00
KiD Fearless
41d17befd7 Set speed multiplyer even if it's the default 2020-01-22 14:54:19 -07:00
KiD Fearless
135242af3d Update Version 2019-12-29 21:01:54 -07:00
KiD Fearless
38a46cd5c1 Added shavit_misc_bhopsounds to block bhop sounds 2019-12-29 21:00:39 -07:00
KiD Fearless
8f39aa6521 Added stages to shavit-zones 2019-12-29 21:00:06 -07:00
KiD Fearless
ac8a4f30f8 Parse permission flag even without command override. Moved late-loading check to the end of OnPluginStart 2019-12-22 16:33:09 -07:00
KiD Fearless
0313239eed Add check for unset timescales 2019-12-20 11:22:07 -07:00
KiD Fearless
3eaaba3a70 Selecting an unfinished map nominates it 2019-12-19 13:09:15 -07:00
KiD Fearless
32e994aa18 Added dynamic timescales.
Start zone will no longer enforce 1.0 style speed.
2019-12-19 11:53:21 -07:00