Commit Graph

496 Commits

Author SHA1 Message Date
KiD Fearless
c42d14f46d Added Shavit_OnTrackChanged and Shavit_OnReplaysLoaded 2019-12-18 12:14:22 -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
shavit
b0ec640b1e 2.5.5a (hotfix) 2019-08-08 04:53:08 +03:00
KiD Fearless
7e1c729bc1 Added "Shavit_GetClientFrameCount" and "Shavit_GetReplayFrames" 2019-08-05 16:31:47 -06:00
shavit
01b635543f Added missing semicolon. 2019-07-28 03:06:42 +03:00
shavit
89d33d91d4 Added Shavit_OnFinishMessage forward (#821).
(and changed PB cache to only update after the finish message is sent to the players)
2019-07-24 15:19:49 +03:00
shavit
fd121092c8 Refactored database handles so that there are multiple instead of a single one. 2019-05-31 17:32:03 +03:00
shavit
0650d20eff Removed ancient SetPrefix code and put it in a stock function instead. 2019-05-31 17:03:27 +03:00
shavit
70dd8f7c9c Added tracking for map completions (#804). 2019-05-28 18:32:24 +03:00
shavit
26dd200408 Changed "No Speed Limit" zones to "Custom Speed Limit" (#797). 2019-05-14 04:56:26 +03:00
shavit
a7c743cf29 Added custom airaccelerate zones and some natives. (#797)
Shavit_GetZoneData, Shavit_GetZoneFlags, and Shavit_InsideZoneGetID
2019-05-14 04:27:39 +03:00
shavit
058b88b98c Added zone flags and data to mapzones table. 2019-05-14 03:25:15 +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
44dfa5941e 2.5.5 2019-05-03 10:57:05 +03:00
shavit
203644d1d2 Added prespeed setting 2 which also respect shavit_core_nozaxisspeed. 2019-04-17 22:57:37 +03:00
shavit
f21ba64c84 2.5.4 2019-04-15 04:19:50 +03:00
shavit
b88915ba18 Added "force_groundkeys" style property. 2019-04-15 03:01:06 +03:00
shavit
e607b88d21 2.5.3 2019-04-14 23:35:35 +03:00
shavit
fb0b84878e Added "noimprovement" sound type (#783) 2019-04-14 23:35:35 +03:00
shavit
30264ef092 Added Shavit_OnStopPre 2019-04-14 23:25:13 +03:00
shavit
bac741e7f8 Added teleport parameter to Shavit_ResumeTimer 2019-04-14 22:45:19 +03:00
shavit
3150225755 Added Shavit_CanPause 2019-04-14 22:45:19 +03:00
shavit
3729ed23fa 2.5.2 2019-04-06 01:56:13 +03:00
shavit
a8673c9c78 2.5.1 2019-03-29 08:40:55 +03:00
shavit
7365cbcb53 Added "kzcheckpoints" mode (#759). 2019-03-25 02:48:50 +02:00
shavit
5ec325aa35 Added checkpoint forwards (#759). 2019-03-25 02:19:35 +02:00
shavit
79a6fef09c Added "enabled" and "inaccessible" style settings. (#761) 2019-03-24 23:10:00 +02:00
shavit
4efb36e5f6 Bumped version number.
When I'm done with this pull request, this should have a fair amount of new features.. so I figured this would be 2.5 rather than 2.4.2
2019-03-24 22:32:52 +02:00
shavit
da656d0f5d Bumped version number. 2019-03-09 17:21:34 +02:00
KiD Fearless
ef8af7807d Add topleft hud and clantag forwards 2019-03-08 18:08:02 -07:00
shavit
15c67cc317 Implemented Shavit_OnRankAssigned forward. 2019-03-08 10:57:36 +02:00
shavit
bf37674812 Implemented Shavit_ChangeClientStyle forward. 2019-03-08 09:37:37 +02:00
shavit
08f0224759 Added menu ordering for styles (#681).
Also added Shavit_GetOrderedStyles ofc.
2019-02-24 17:05:39 +02:00
shavit
78bba83fd0 Added Shavit_ReloadLeaderboards. 2019-02-24 15:53:51 +02:00
shavit
6fba2bca9c Added Shavit_DeleteReplay native. 2019-02-24 15:10:08 +02:00
shavit
942d6d9675 Added Shavit_IsPaused. 2019-02-22 17:11:55 +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
69b5dd3020 walao eh 2018-12-28 01:59:02 +02:00
shavit
26534c1d18 Added shavit_core_nochatsound 2018-12-27 07:42:17 +02:00
shavit
a0ab1b7147 Structified some of WR plugin, deprecated Shavit_GetPlayerPB
(and GetWRTime)
2018-12-27 00:12: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
c82ab35357 2.3.6 2018-12-23 20:42:13 +02:00
shavit
46c244a668 2.3.5 2018-12-07 07:46:03 +02:00
shavit
28d75bda21 2.3.4 2018-11-03 14:04:05 +02:00
shavit
d1cf273dd8 Merge branch 'master' into very_good_yes 2018-10-16 22:25:08 +03:00
shavit
5c22149b93 Deprecated halftime for timescale.
There's backwards compatibility of course. Untested but should work..
2018-10-16 22:24:34 +03:00
blackhawk74/sneaK
eed591f0b6 update steamworks inc 2018-10-12 19:31:52 -04:00
shavit
8fb3f0d23f prac mode alert thing !hud
[Promising] Promises : cud u make a setting to disable this:
[Promising] Promises : [ Timer ] WARNING: You're now in practice mode. Your times WILL NOT be saved and will be only displayed to you!
2018-10-11 19:16:13 +03:00
shavit
37413dd0d6 Shavit_OnReplayStart Shavit_OnReplayEnd #676 2018-10-10 19:33:52 +03:00
shavit
3813668f1c does anyone even read the commits 2018-10-03 09:38:37 +03:00
shavit
29415315b9 Fixed loading issue with rankings module. 2018-10-02 16:40:33 +03:00
shavit
82ac5c3e48 2.3.1 2018-09-22 23:32:06 +03:00
shavit
81dbdedfba Added !deletemap (#668) 2018-09-15 17:26:11 +03:00
shavit
bd4e75a85d 2.3.0 2018-09-14 17:43:01 +03:00
shavit
b6ca23d9f0 reduced size to 32 blablabla yes the usual things sql error nairda 2018-06-26 19:30:18 +03:00
shavit
5d3bfc45f5 despacito 2018-06-23 21:47:03 +03:00
shavit
a8a581e302 Bumped version to 2.1.3. 2018-05-08 19:04:30 +03:00
shavit
9461c29f71 Added my own minimal implementation of a chat processor.
* Removed Chat-Processor dependency.
* Added cvar `shavit_chat_colon`.
* Fixed inconsistencies with default chat messages.
2018-05-08 19:01:29 +03:00
shavit
7b3e61563b Bumped version to 2.1.2 2018-05-07 18:53:31 +03:00
shavit
f2887fabfa Changed default +left/right block behavior.
* 1 now blocks movement, 2 also stops timer.
2018-05-03 17:00:23 +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
8c25086471 Added perfect jump% measuring for scroll styles.
* Added `oldtime` and `perfs` parameters for forwards that missed them.
* Added `iMeasuredJumps` and `iPerfectJumps` to snapshots.
* Added a database migration to add `perfs` column.
* Added perfect jumps% to CS:S keyhint HUD. Not necessary in CS:GO due to annoying limitations.
* Added perfect jumps% to WR menu.
* Added `Shavit_GetPerfectJumps` native.
2018-05-02 12:21:38 +03:00
shavit
4712edc803 Bumped version to 2.1.0
This is a very quick jump from 2.0.3, but segmented runs were something that was requested for very long time so it's justified.
2018-04-30 12:07:41 +03:00
shavit
41c2136b42 Added Shavit_HijackAngles.
This native hijacks the replay recording so that the current tick will have your desired angles recorded to the replay data.
2018-04-30 11:51:50 +03:00
shavit
a03fc893c0 Bumped version to 2.0.3 2018-04-30 00:35:13 +03:00
shavit
f01ff69841 Merge branch 'master' into very_good_yes 2018-04-30 00:34:33 +03:00
shavit
050a77ca0a Merge remote-tracking branch 'origin/master' 2018-04-30 00:34:25 +03:00
strafe
e90b847f08 Typos 2018-04-28 17:19:13 +01:00
shavit
f63a05f2a9 Added documentation for Shavit_HasStyleAccess. 2018-04-26 18:59:30 +03:00
shavit
fabc24ca6f Added style permissions. (#622)
* Added `Shavit_HasStyleAccess` native.
* Added `permissions` setting to styles. Use like "p;style_tas" for example. First section is the flag needed, and the second section is the override for it.
2018-04-26 18:56:31 +03:00
shavit
daa04fbf21 Bumped version to 2.0.2 2018-04-19 03:40:20 +03:00
shavit
e004dd3d61 Bumped version to 2.0.1 2018-03-24 01:48:19 +03:00
shavit
b8d7c4173f Bumped version to 2.0.0! 2018-03-18 11:34:29 +02:00
shavit
6808b833d7 Fixed chat titles compatibility with latest Chat-Processor. 2018-03-16 05:07:28 +02:00
shavit
b46c7eadd7 Added Shavit_LogMessage native. 2018-03-15 00:06:12 +02:00
shavit
f726b6b05a Fixed a typo. 2018-03-14 23:59:09 +02:00
shavit
8f51d4c964 Added mouse[2] to OnUserCmdPre. 2018-01-31 05:48:59 +02:00
shavit
cb7bbce676 Changed block_pstrafe's behavior.
* Changed default (1) to block button inconsistencies.
* Made the duration of inconsistencies less annoying.
* Changed the first option to 2, which stops the timer on inconsistencies.
2018-01-28 20:57:22 +02:00
shavit
53456ffe38 Implemented GetGameFrameTime usage. (#440)
* Made pausing better.
* Added `Shavit_OnTimeIncrement` and `Shavit_OnTimeIncrementPost`. Use this for proper timescaling/save state usage.
2018-01-26 05:58:53 +02:00
shavit
1fcb7993fe Added oldtime parameter to Shavit_OnFinish 2018-01-16 10:15:41 +02:00
shavit
59b5664439 Added Shavit_GetReplayBotType and ReplayStatus enum. (#574) 2018-01-13 09:48:23 +02:00
shavit
ebb3203c05 Added native zones support (#491)
CPs aren't implemented because the timer itself doesn't support them.
2017-12-30 05:06:33 +02:00
shavit
990bbb802d Added slide zones (#558) 2017-12-16 10:27:02 +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
3b947e9b30 Added sSpecialString (specialstring) to style config (#543) 2017-12-09 23:35:41 +02:00
shavit
42ee76c742 Added new natives and complete replay bots. (#537) 2017-11-21 12:24:21 +02:00
shavit
35104f6d78 Added KZ support. (#472)
Going by KZ-Climb standards - climb_startbutton, climb_endbutton etc. Only supports one bonus due to the plugin's nature.
2017-11-17 11:18:45 +02:00
shavit
e875280f32 What typo..? 2017-11-17 07:39:34 +02:00
shavit
47c69d1621 Added Shavit_ReloadReplay and Shavit_ReloadReplays (#528) 2017-11-17 07:29:29 +02:00
shavit
6503b6573b Added Shavit_GetTimeForRank (#512)
Also fixed return value for Shavit_GetRankForTime's description.
2017-11-15 03:14:19 +02:00
shavit
f65f7f4411 Added "oldwr" parameter to Shavit_OnWorldRecord (#512) 2017-11-15 03:01:27 +02:00
shavit
934fc5d1e7 Extend checkpoints to work while spectating (#525) 2017-11-15 02:31:05 +02:00
shavit
f2146b6f9c Added Shavit_GetMapTier and Shavit_GetMapTiers (#504) 2017-11-04 18:58:15 +02:00
shavitush
70e885c25f Restructured files. 2017-10-24 01:05:09 +03:00