Nairda
f2ae4b050d
Fix hud error bug spam in server console and prespeed on replay ( #918 )
...
#BlameNairdaIfItBreaks
2020-06-05 22:00:53 -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
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
Nairda
85670b1e49
very big bug
...
at least check if it works before pulling:(
2020-04-02 03:02:02 +02: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
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
38a46cd5c1
Added shavit_misc_bhopsounds to block bhop sounds
2019-12-29 21:00:39 -07:00
KiD Fearless
ea00c86026
Added overflow parameter to Shavit_OnSave
2019-12-14 12:51:47 -07:00
KiD Fearless
0fd6d6507c
Added Checkpoint Natives
...
Added 6 new natives to better interact with the checkpoint system of the timer. As well as moving the cp_cache_t into shavit.inc to allow 3rd party plugins to modify the checkpoint cache.
Update .gitignore
2019-12-06 18:22:08 -07:00
KiD Fearless
f7ae606467
Added checkpoint index to checkpoint forwards
2019-11-24 11:31:47 -07:00
strafe
e4b9d7a898
Don't override teamjoin argument when joining spectator
2019-11-04 00:01:36 +00:00
shavit
de1fa353ff
Added shavit_misc_wrmessages finally. See commit description for info.
...
Oh, oh-oh
Oh
Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
(Kio, Kio)
I got the horses in the back
Horse tack is attached
Hat is matte black
Got the boots that's black to match
Ridin' on a horse, ha
You can whip your Porsche
I been in the valley
You ain't been up off that porch, now
Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'
Ridin' on a tractor
Lean all in my bladder
Cheated on my baby
You can go and ask her
My life is a movie
Bull ridin' and boobies
Cowboy hat from Gucci
Wrangler on my booty
Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'
Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
Hat down, cross town, livin' like a rockstar
Spent a lot of money on my brand new guitar
Baby's got a habit: diamond rings and Fendi sports bras
Ridin' down Rodeo in my Maserati sports car
Got no stress, I've been through all that
I'm like a Marlboro Man so I kick on back
Wish I could roll on back to that old town road
I wanna ride 'til I can't no more
Yeah, I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
I'm gonna take my horse to the old town road
I'm gonna ride 'til I can't no more
Scum Gang
2019-07-28 03:10:22 +03:00
shavit
04e5db5420
Fixed the fix for the fix of dropall errors ( #807 ).
2019-05-30 01:50:20 +03:00
shavit
dca53d61c6
Reverted the dropall change, doesn't seem like the proper solution.
...
(seems like a csgo issue, let me know if anyone has a fix)
2019-05-29 09:12:54 +03:00
shavit
8cea924063
Got rid of a ResumeTimer that I don't remember why I added ( #806 ).
2019-05-28 18:12:20 +03:00
shavit
0b4e82fae4
Fixed "weapon %d is not owned by client %d" ( #807 ).
2019-05-28 18:02:34 +03:00
shavit
547f90ef62
Added automatic database migrations and revamped overall database structure.
...
Now I can push database migrations without making the plugin's users do the querying on their own.
List of migrations:
* **Converted all SteamIDs in the database from SteamID3 to Steam Account ID format. The difference is simply stripping of the [U:1: prefix and ] suffix. This change speeds up the queries and reduces the database's size by a lot.**
* Removal of `workshop/` paths from all map names in the database.
* Added index to `lastlogin` to speedup the filtering I added to rankings with `shavit_rankings_llrecalc`.
* Removed `country` from database. It was completely unnecessary.
* Converted IP addresses from plaintext to a single 4 bytes integer.
* Converted `date` of records from a string to integer.
2019-05-12 07:57:04 +03:00
shavit
24e8ba76fa
Added new CS:GO radio commands to block list
2019-05-01 15:00:47 +03:00
shavit
55bd4fba1b
Re-persist KZ menu after opening it manually
2019-04-18 22:30:12 +03:00
shavit
203644d1d2
Added prespeed setting 2 which also respect shavit_core_nozaxisspeed.
2019-04-17 22:57:37 +03:00
shavit
02530f5b56
Made KZ CP menu only persist until exited manually.
2019-04-15 03:43:51 +03:00
shavit
6942523464
Fixed error when using !r while dead on KZ style.
2019-04-15 03:34:15 +03:00
shavit
e298dbbc67
Fixed errors in KZ CP menu.
2019-04-15 03:33:44 +03:00
shavit
ba1dd8b256
Added warning on checkpoint clearing, and took it one item menu below
2019-04-15 03:29:06 +03:00
shavit
c61e646785
Added shavit_misc_stoptimerwarning
2019-04-14 23:25:17 +03:00
shavit
a30da28d69
Made KZ CP menu persist
2019-04-14 22:46:22 +03:00
shavit
ea670471d4
Added pause button to KZ checkpoint menu
2019-04-14 22:45:20 +03:00
shavit
d4e09db495
matched code styling
2019-03-29 15:26:02 +03:00
Sachin
d6641f9ee6
Fixes error: Client 3 not in game
2019-03-29 17:47:11 +05:30
shavit
3e8df4214b
Fixed a game breaking exploit with persisted data.
2019-03-29 08:40:07 +03:00
shavit
39572abfd9
Added persisting timer data ( #757 ).
2019-03-27 19:50:03 +02:00
shavit
4d2308ef1f
Fixed shavit-misc not respecting mp_humanteam properly ( #716 ).
2019-03-26 02:47:23 +02:00
shavit
f2c3517943
Added "shavit_misc_hidechatcmds" ( #650 ).
2019-03-25 14:50:35 +02:00
shavit
7365cbcb53
Added "kzcheckpoints" mode ( #759 ).
2019-03-25 02:48:50 +02:00
shavit
655d41ef41
Fixed bug that allowed teleporting to deleted checkpoints.
2019-03-25 02:20:29 +02:00
shavit
5ec325aa35
Added checkpoint forwards ( #759 ).
2019-03-25 02:19:35 +02:00
shavit
96e856fe29
When !replay fails, display menu will display at the same item. ( #763 )
2019-03-24 22:37:00 +02:00
KiD Fearless
ef8af7807d
Add topleft hud and clantag forwards
2019-03-08 18:08:02 -07:00
shavit
feec3f0a2f
Removed debug message
2019-02-25 00:19:29 +02:00
shavit
dd8e5a76dd
Fixed improper targetname/classname set for CP ( #700 ).
2019-02-22 21:42:18 +02:00
shavit
875d71be3e
Added {rank} to scoreboard clan tag ( #702 ).
2019-02-22 17:51:59 +02:00
shavit
5be987828b
Fixed checkpoints exploit and CP menu bug.
2019-02-22 17:24:20 +02:00
strafe
683e75c474
Remove semicolon after closing brace on enum structs
...
https://github.com/alliedmodders/sourcepawn/pull/319
2019-02-21 23:32:15 +00:00
shavit
5c0a7cd55c
Fixed wrong flags and netprops for fake clients in checkpoints.
2019-02-02 01:02:33 +02:00
shavit
9fc2b72504
Fixed exploit allowing segments for save states.
2019-02-02 00:35:33 +02:00
shavit
4e72ed2c8a
Another attempt at this. Let's hope it works.
2019-02-02 00:18:24 +02:00
shavit
26534c1d18
Added shavit_core_nochatsound
2018-12-27 07:42:17 +02:00
shavit
3114eec03f
Got rid of the cached cvars bullshit
...
protip: don't follow hosties' coding conventions that shit sucks mad dick
2018-12-27 06:42:02 +02:00
shavit
2ab6c57e1f
Refactored whole plugin to use enum structs
...
SourceMod 1.10 is now a requirement.
2018-12-24 00:31:50 +02:00
shavit
fd44ba68b6
Fixed out of bounds error in Shotgun Shot sound hook
2018-12-23 20:41:11 +02:00
shavit
7e8eb0c861
Fixed classname not resetting bug
2018-12-07 07:47:28 +02:00
shavit
0de22f4026
Fixed naming and CS:GO offset for CCSPlayer::GetPlayerMaxSpeed
2018-12-07 07:45:24 +02:00
shavit
e77478d159
monkaS
2018-11-28 22:47:12 +02:00
shavit
fc69bd38ab
fixed target/classnames not saving what the frick how did i forget this
2018-11-28 22:42:51 +02:00
shavit
2b0e549150
fixed cpmenu next button
2018-10-12 23:21:33 +03:00
shavit
d1d594503e
Dropped dynamic arrays for strings, unless necessary.
2018-09-23 04:16:23 +03:00
shavit
6d7980c035
Fixed exploit that allowed you to escape practice mode in segmented run.
2018-09-14 10:49:50 +03:00
shavit
b473265a3b
Fixed teleporting to stolen CP from start zone not showing alert.
2018-09-14 01:53:57 +03:00
shavit
90cd1ba53c
Fixed shavit_misc_prespeed 4.
...
Set to 4 and combine with shavit_core_nozaxisspeed 1 to get the same behavior that SourceCode timer has.
2018-09-13 23:06:57 +03:00
shavit
791fc7c3b3
fixed memory leak with cps
2018-09-13 22:41:14 +03:00
shavit
5a933fd135
Fixed segmented CPs and made !save match !cp's save behavior.
2018-09-13 22:04:44 +03:00
shavit
a584082fd7
bandaid fix for checkpoint theft exploit
2018-08-10 17:23:55 +03:00
shavit
fbf7736ae1
fixed menu saving
2018-07-09 02:49:36 +03:00
shavit
ea339ed6c7
rewrote some of the save/tele code
...
for the 100000000th time
2018-06-29 00:50:56 +03:00
shavit
15a36a2e2f
cya basevelocity (fix for prediction issue)
2018-06-28 19:12:43 +03:00
shavit
519756bd70
fixed the !save issues
2018-06-28 19:07:37 +03:00
shavit
36b4ed4a94
Fixed !save behaving differently from the !cp menu option.
2018-06-23 11:36:33 +03:00
shavit
74239a3639
Fixed wrong classname variable in CP saving.
2018-06-23 11:27:33 +03:00
shavit
682932ed2e
Changed velocity in misc to use vecAbsVelocity
2018-06-23 11:26:43 +03:00
shavit
1cd46a71c2
(untested) Added base velocity saving
2018-05-14 03:16:56 +03:00
shavit
fca8eccdcc
Changed ArrayList sizes to 32 bytes instead of cells.
2018-05-14 03:16:00 +03:00
shavit
f872a39981
Removed viewangle hijacking from CPs as we record real viewangles now.
2018-05-13 21:17:19 +03:00
shavit
26493c85a8
Fixed invalid client error on CP save.
2018-05-13 21:17:00 +03:00
shavit
535fee9785
Changed m_vecAbsVelocity to m_vecVelocity.
2018-05-13 21:16:50 +03:00
shavit
11c1e67933
Added shavit_misc_maxcp and shavit_misc_maxcp_seg.
2018-05-13 21:16:31 +03:00
shavit
cbb1af3bd0
Made CP save targetname/classname, both are very efficient now!
2018-05-13 21:16:06 +03:00
shavit
cc6b622d54
Added shavit_hud_speclist for HUD's spectator list.
...
Who to show in the spectators list?
* 0 - everyone
* 1 - all admins (admin_speclisthide override shavit_misc_speclist to bypass)
* 2 - players you can target
2018-05-08 16:26:53 +03:00
shavit
7e5f9c7c85
Added shavit_misc_speclist for misc's !speclist
...
Who to show in !specs?
* 0 - everyone
* 1 - all admins (admin_speclisthide override shavit_misc_speclist to bypass)
* 2 - players you can target
2018-05-08 15:58:12 +03:00
shavit
e3c8aaed70
Ensured SCPs with deleted replay data are gone.
2018-05-08 15:51:29 +03:00
shavit
d9222adaa3
Changed clan tag {time} to display only at 1 second or above.
2018-05-08 15:42:53 +03:00
shavit
a0c13d466c
Fixed possible memory leak.
2018-05-07 18:24:27 +03:00
shavit
2cd0d3e2db
Pop up SCP menu when changing from a segmented style.
2018-05-04 14:15:28 +03:00
shavit
e5ab100053
Fixed checkpoints triggers exploit and bumped version to 2.1.1.
...
Thanks @SlidyBat :)
2018-05-03 15:58:41 +03:00
shavit
e357131299
Changed weapon removal method.
2018-05-02 12:34:11 +03:00
shavit
a82a983b52
Fixed weapon cleanup when dropped by disconnected players.
2018-05-02 10:52:05 +03:00
shavit
fa78e70dbb
Fixed manually going to spectator team.
2018-05-02 09:54:15 +03:00
shavit
ee713d829f
Respect mp_humanteam in jointeam hook.
2018-05-02 09:45:12 +03:00
shavit
96bf46fdb9
Allow menu to reopen in case of missing frame array.
...
If you ever see this error happen and know how to reproduce it, report ASAP.
2018-05-01 22:31:04 +03:00
shavit
f8b5b1ef52
Adjusted max segmented CPs to 10.
...
In order to save server memory when many players are doing segmented runs.
2018-05-01 22:27:05 +03:00
shavit
66a2820808
Fixed segmented CP exploit 2.
...
Thanks @cytrus224.
You could borrow others' CPs on segmented styles and use their route.
2018-05-01 22:15:03 +03:00
shavit
647701c28d
Fixed segmented CP exploit 1.
...
Thanks @kidfearless.
Bug allowed you to build up speed unintentionally in segmented runs.
2018-05-01 22:10:50 +03:00
shavit
91696294c4
Fixed memory leak and a bug with segmented checkpoints.
...
The bugs allowed you to save more than 25 segmented checkpoints, and create replay data over the existing data which caused a memory leak.
2018-04-30 12:42:14 +03:00
shavit
afe0a261a7
Added segmented run support with replay integration.
...
Use `segments` in the `specialstring` property to enable segmented checkpoints.
2018-04-30 12:04:48 +03:00
shavit
43727c15fe
Micro optimization in spawn point generation.
2018-04-28 09:41:50 +03:00
shavit
26a5e946cb
Reworked gun shot muting behavior + TF2 support.
...
* TF2 is now supported for gun shot muting.
* The parameter mismatch issue in CS:GO is now fixed.
* Now gun shots will be muted for you only when you use !hide. Everyone else's gun shots except your own and of the player you spectate will be muted.
2018-04-15 21:56:31 +03:00
shavit
de78f1ceb0
Also use m_bDucking for CS:GO.
2018-04-06 03:38:15 +03:00
shavit
7ff9f4e2a8
Fixed teleporting to ducked CPs in both CS:S/CS:GO.
2018-04-06 01:35:34 +03:00
shavit
29df19b1b3
Adjusted misc's description.
2018-04-06 01:34:52 +03:00
shavitush
0f0628719c
Added proper ducktime for checkpoints (CS:S).
2018-03-31 19:52:14 +03:00
shavit
431287cd56
Fixed being able to cycle to non-existent CPs. ( #607 )
2018-03-24 02:01:55 +03:00
shavit
4176d68b86
Fixed errors when saving checkpoints on inactive bots.
2018-03-24 01:46:09 +03:00
shavit
8a7d3d4de0
Fixed targetname exploit.
...
Thanks Reeve/acer.
2018-03-24 01:42:08 +03:00
shavit
02beaad597
Reverted footstep muting.
...
Not that great in CS:GO unfortunately, and makes scroll styles unplayable in CS:S
2018-03-15 00:17:41 +02:00
shavit
a01bbefe39
Reset targetname upon restarting with practice mode.
...
Might not be the ideal solution, hope it is though.
2018-03-10 18:19:05 +02:00
shavit
2ac410926a
Added the ability to save CPs from the replay bot. ( #525 )
...
This isn't perfect due to limitations, but it motsly works well!
* Surf-HSW styles won't save their WASD settings.
* Stamina will not be valid for scroll styles.
* Strafes/sync won't be saved from the bot.
2018-02-06 11:14:49 +02:00
shavit
34a4f9e4bb
Fixed CP saving while not spectating a valid player. ( #525 )
2018-02-06 11:12:20 +02:00
shavit
5d3034664e
Added setting 4 to shavit_misc_prespeed.
...
It allows you to stop prespeeding after a certain amount of velocity (shavit_misc_prestrafelimit), rather than only limit prestrafing.
2018-02-06 10:42:31 +02:00
shavit
36686e37b0
Fixed restart not removing pause status. ( #590 )
2018-02-04 15:38:38 +02:00
shavit
7cd9fbef9b
Fixed states not applying correctly on style/track changes. ( #588 )
2018-02-04 10:26:10 +02:00
shavit
bb2571cd08
Add TF2 spawn point generation.
2018-02-04 10:25:27 +02:00
shavit
d7f9ed3186
Remove custom IsNullVector function.
2018-01-26 05:56:24 +02:00
shavit
1eda6a2616
just pretend that the previous commit never existed
2018-01-25 01:45:15 +02:00
shavit
132d3d80e2
Hacky fix for autorespawn.
...
L 01/24/2018 - 08:49:06: Info (map "bhop_forest") (file "errors_20180124.log")
L 01/24/2018 - 08:49:06: [SM] Exception reported: Invalid data pack handle 11503 (error 4)
L 01/24/2018 - 08:49:06: [SM] Blaming: shavit-misc.smx
L 01/24/2018 - 08:49:06: [SM] Call stack trace:
L 01/24/2018 - 08:49:06: [SM] [0] DataPack.Reset
L 01/24/2018 - 08:49:06: [SM] [1] Line 2059, E:\git\bhoptimer\addons\sourcemod\scripting\shavit-misc.sp::Respawn
2018-01-25 01:18:13 +02:00
shavit
917fe7e683
Fixed style changes not restarting with built in zones. ( #582 )
2018-01-22 18:58:17 +02:00
shavit
757e9de8c6
Fixed zone offset being wrong for point 1 ( #585 )
2018-01-22 18:33:47 +02:00
shavit
6690947e5f
Added track letter ("{tr}") to scoreboard tag. ( #584 )
2018-01-18 18:24:47 +02:00
shavitush
72bb86eeef
Merge remote-tracking branch 'origin/master'
2018-01-17 13:03:13 +02:00
shavit
56d37bb871
Added 'infinite checkpoints' ( #575 )
...
* Soft cap is 1000 to avoid going above the set heap size.
Also fixes:
* Adds entity flags to checkpoint data.
* Only sets your movetype to the one in the checkpoint data if it's either the walk or ladder types, so you can save while noclipping but teleport normally.
2018-01-16 11:47:34 +02:00
strafe
7e79b02167
Styling ✨
2018-01-13 13:36:07 +00:00
strafe
623360a02a
Account for track when respawning on restart ( #554 )
2018-01-13 10:58:22 +00:00
shavit
03074283ab
Changed arg-less !spec to automatically forward to replay bot. ( #574 )
2018-01-13 09:54:25 +02:00
shavit
74e3e74f32
Added shavit_misc_jointeamhook
2018-01-03 21:28:27 +02:00
shavit
16cc4caea2
Rewrite clan tag handling.
2017-12-24 23:40:23 +02:00
shavit
f06437084f
Added Discord server to README
2017-12-11 09:56:12 +02:00
shavit
cfde142e92
Added TF2 support. ( #549 )
...
Tested most of the things in-game, should be good to go!
2017-12-10 09:30:08 +02:00
shavit
5b34eaf3a4
Fixed compilation on SourceMod 1.9
2017-12-09 23:24:35 +02:00
shavit
d26ad819a6
Adjusted snapshots' behavior and timer start conditions
...
It feels smoother now, nothing major.
2017-12-01 00:05:56 +02:00
shavit
1d84cfe866
Default convar usage changes, see commit description.
...
`shavit_misc_prespeedlimit`'s behavior was changed and is now `shavit_misc_prestrafelimit`. The value determines the maximum allowed prestrafe in the start zone *added* to the style's run speed. So i.e., Scroll can prestrafe up to 280 (in reality, 278) and Normal can up to 290.
The default settings for `shavit_core_blockprejump` and `shavit_misc_prespeed` were changed due to this commit.
`shavit_misc_createspawnpoints`'s default setting was changed to 6 as 32 didn't make much sense.
2017-11-22 18:24:45 +02:00
shavit
db441dd28c
Fixed checkpoint translation/speed.
2017-11-15 02:46:57 +02:00
shavit
934fc5d1e7
Extend checkpoints to work while spectating ( #525 )
2017-11-15 02:31:05 +02:00
shavit
26acaf57fb
Changed default value for shavit_misc_resettargetname ( #523 )
2017-11-15 01:49:02 +02:00
shavitush
70e885c25f
Restructured files.
2017-10-24 01:05:09 +03:00