Commit Graph

775 Commits

Author SHA1 Message Date
shavitush
3c7159ab87 Added 'shavit_misc_resettargetname'.
This setting will cause target names to reset upon timer start. This is
a solution to unfair skips.
2017-07-31 05:52:40 +03:00
shavitush
0a3b3ed2d4 Store player targetnames in checkpoints. (#401) 2017-07-31 05:41:34 +03:00
shavitush
cba7578df8 Added duck status saving to checkpoints. (#401)
Also added stamina saving.
2017-07-31 05:33:13 +03:00
shavitush
4902098570 Smoothen last frame of replay playback. (#446)
Now instead of straight up teleporting the bot to the last frame, I
change its velocity to make it as smooth as possible.
2017-07-31 05:20:14 +03:00
shavitush
9f220c0459 Added per-style sv_enablebunnyhopping. (#441)
Recompile all plugins after this commit to avoid weird issues.

The `shavit-styles.cfg` setting is `bunnyhopping`. This allows you to
add a _strafe style.
It does not respect _strafe map settings (they force
sv_enablebunnyhopping to 0) just like the custom airaccelerate doesn't
respect `sv_airaccelerate` changes done by maps.

Removed `shavit_core_forcebunnyhopping`.
2017-07-30 14:01:19 +03:00
shavitush
b46f12621d Reworked per-style airacceleration.
Made it replicate in a smoother way to clients.
Allowed airaccelerate to be a floating value.
2017-07-30 11:55:11 +03:00
shavitush
636b9f7a18 Add AA change message. (#442) 2017-07-30 11:42:07 +03:00
shavitush
3586a02d5c Fix hide cookie not being changed. 2017-07-30 05:41:50 +03:00
shavitush
ef8da0245e Minor optimization. 2017-07-30 04:08:08 +03:00
shavitush
9c697ecdae Use correct bounding box for CS:S. (#424) 2017-07-30 04:07:20 +03:00
shavitush
085e57a067 Adjust replay menu pagination. 2017-07-30 03:46:48 +03:00
shavitush
e5aa147310 Fix replays only working after a plugin reload. (#438) 2017-07-30 01:35:29 +03:00
shavitush
7fc0411131 Added multiple tracks support for replays. 2017-07-29 12:57:56 +03:00
shavitush
dc07ea7f0f Added shavit_stats_mvprankones_maintrack. 2017-07-29 11:09:06 +03:00
shavitush
16a9f3f105 Added multiple tracks support for mapsleft/mapsdone. 2017-07-29 11:03:16 +03:00
shavitush
e903614ca0 Add track to Shavit_OnWRDeleted. 2017-07-29 08:55:33 +03:00
shavitush
5f2ce3b359 Fixed WRName being incorrect for main track. 2017-07-29 08:28:55 +03:00
shavitush
7a325a41b5 Add a more complete version of bonuses. 2017-07-29 08:21:14 +03:00
shavitush
67caaf8d07 Barebones bonus timer. 2017-07-29 06:46:49 +03:00
shavitush
c385adb50d Added shavit-common.phrases.txt, made tracks be grabbed dynamically. 2017-07-29 05:27:27 +03:00
shavitush
ec8c8264ab Minor optimization in GetRankForTime. 2017-07-28 21:34:06 +03:00
shavitush
1573385823 Allowed reloading of shavit-core. 2017-07-28 21:22:23 +03:00
shavitush
217f1d5bef Allowed shavit-zones to be reloaded while the server is running. 2017-07-28 21:12:03 +03:00
shavitush
bfcc337598 Allowed shavit-wr to be reloaded while the server is running. 2017-07-28 21:09:29 +03:00
shavitush
7063e86cfa Fixed bot teleporting to last frame of a replay randomly. (#416) 2017-07-28 20:55:00 +03:00
shavitush
c996e29982 Added some checks to make sure the bot will not float around (UNTESTED, #416). 2017-07-28 20:47:07 +03:00
shavitush
69b621bdb1 Remove debugging. 2017-07-28 20:37:34 +03:00
shavitush
c47903e11e Format seconds now. (#414) 2017-07-28 20:00:41 +03:00
shavitush
7a25dedadb Fix invalid handle. 2017-07-28 07:20:48 +03:00
shavitush
08fb809619 Clean up handles in shavit-replay. 2017-07-28 07:19:28 +03:00
shavitush
a04e3463a7 Force sv_disable_immunity_alpha. (#419) 2017-07-28 07:16:21 +03:00
shavitush
4c524341a3 Move chat/rankings to disabled folder. 2017-07-28 06:18:45 +03:00
shavitush
d3a0d5b7f9 Remove Dynamic as a dependency. (#417) 2017-07-28 06:15:56 +03:00
shavitush
0b7b92f94d Show world record time in relevant menus. (#414) 2017-07-28 04:01:55 +03:00
shavitush
088f82996e Fixed text being printed incorrectly. 2017-07-28 03:45:20 +03:00
shavitush
9b0fc4001a Added Shavit_GetReplayBotStyle(). Fixes #429. 2017-07-28 03:41:19 +03:00
shavitush
f944b3d936 Implemented Shavit_OnUserCmdPre. (#425) 2017-07-28 03:10:13 +03:00
shavitush
315de440b8 Removed hardcoded "!replay" string. 2017-07-28 02:42:11 +03:00
shavitush
a57ea29fab Fix central replay playing without a command. 2017-07-28 02:31:02 +03:00
shavitush
600443534f Sanitize hashtags in names. (#428) 2017-07-28 02:22:16 +03:00
shavitush
02471700b7 Fix merge conflict. 2017-07-28 02:11:30 +03:00
shavitush
423b9119c9 Move noclip timer stopping to Shavit_OnStart. (#427) 2017-07-28 02:07:16 +03:00
shavitush
a13679632d Unhook zones before killing the entities at round start. 2017-07-28 01:55:04 +03:00
strafe
29702e4405 Add dynamic HUD gradient #426 2017-07-27 10:48:34 +01:00
shavitush
f9ef644ac6 Fixed invalid entity issue (#423) 2017-07-26 20:32:41 +03:00
shavitush
375b863adf Removed <dynamic> from shavit.inc. 2017-07-23 21:09:26 +03:00
shavitush
c208245173 A better implementation for the MySQL issue. 2017-07-23 16:04:55 +03:00
shavitush
bba36ba02a Fixed rowid issue for MySQL. (#406) 2017-07-22 20:35:44 +03:00
Unknown
ae579f10d6 Moved fBonusVelocity before fMinVelocity 2017-07-19 17:16:30 +02:00
Unknown
7b9a96909a Add "bonus_velocity" to the style settings 2017-07-18 16:56:20 +02:00
Unknown
c69508700a Add "Minimum Velocity" style 2017-07-17 22:58:37 +02:00
strafe
0a06ab6b70 Remove current style text from style menu 2017-07-17 15:40:48 +01:00
shavitush
d5d89ac129 Fix shavit_core_forcebunnyhopping. 2017-07-17 03:13:27 +03:00
shavitush
84fbbf6a6f Made sm_save increment the current checkpoint. (#399) 2017-07-16 23:00:28 +03:00
shavitush
d655a13220 Fixed CP exploit fix no.2 doing nothing. 2017-07-16 22:20:49 +03:00
shavitush
0b738c4c2f Made sm_tele use the checkpoint from the CP menu with 0 arguments. (#399) 2017-07-16 22:18:59 +03:00
shavitush
5c52fd10f8 Fixed more CP exploits. 2017-07-16 22:14:45 +03:00
shavitush
38f1b30b8c Fixed WR cache update for SQLite. 2017-07-16 22:14:45 +03:00
shavitush
d85f63e92e Added pre-style mass record deletion. (#397) 2017-07-16 22:14:45 +03:00
shavitush
99f89ef82a Blocked an exploit that could result in server errors. 2017-07-16 21:51:27 +03:00
shavitush
5f843aeb47 Disabled pagination for style selection menu. 2017-07-16 21:41:11 +03:00
shavitush
6acd53b47b Made teleports from start zones disable the practice mode timer. 2017-07-16 21:16:44 +03:00
shavitush
8d07a23574 Disallowed teleportation to empty CPs. (#399) 2017-07-16 21:14:16 +03:00
shavitush
590018f12b Don't allow SHSW movements unless a combination is set. (#239) 2017-07-16 20:59:38 +03:00
shavitush
410b005ccf Made WR cache pick the oldest record out of 2 if they have the same time. (#377) 2017-07-16 19:28:48 +03:00
shavitush
e89db2e808 Included physics settings into checkpoints. (#398) 2017-07-16 16:58:03 +03:00
shavitush
3047b32b96 Check for matching maps in WR cache. (#377) 2017-07-16 16:38:12 +03:00
shavitush
3b2cf99b11 Add timestamp sorting (thanks Technoblazed, #377). 2017-07-16 12:48:26 +03:00
shavitush
b585e80bc7 Fixed player stats not opening from the WR submenu. 2017-07-15 11:57:47 +03:00
shavitush
f46d5782d5 Added SHSW combinations to snapshots. 2017-07-15 11:40:08 +03:00
shavitush
349f1ff29a Implemented "smart surf-HSW". (#239) 2017-07-15 10:43:59 +03:00
shavitush
80554b5bea Removed pagination for 9 (8 in CS:GO) menu items for !replay. 2017-07-15 10:24:50 +03:00
shavitush
2e25bf171c Attempt to fix the clantag time bug. (#395) 2017-07-15 03:00:38 +03:00
shavitush
6788716930 Made wall snapping change grid snap to 32+ to avoid confusions. 2017-07-15 00:15:48 +03:00
shavitush
64dcc37374 Made wall snapping snap to walls (and not just corners lol). (#375) 2017-07-15 00:13:13 +03:00
shavitush
64ec287640 Added configuration file for replay bot name styling. (#390) 2017-07-14 23:56:09 +03:00
shavitush
2f7ce5bc25 Fixed various bugs with replay bot stopping. 2017-07-14 22:03:13 +03:00
shavitush
ad8c9f0612 Fixed the goddamned wall snapping. (#375) 2017-07-14 21:29:28 +03:00
shavitush
aae7fc4f0a Removed pagination and lifetime from the checkpoints menu. (#392) 2017-07-14 19:20:00 +03:00
shavitush
746a5b603c Added sm_checkpoint and sm_checkpoints aliases. 2017-07-14 19:18:21 +03:00
shavitush
2b3caf8ed7 Fix no2. Completely forgot what I did this week.. 2017-07-14 19:16:18 +03:00
shavitush
309614e87f Fix for gB_InsideZone status. (#388) 2017-07-14 19:00:47 +03:00
shavitush
bcd01135a1 Fixed a typo. 2017-07-14 10:09:14 +03:00
shavitush
83aa940c33 Fixed shavit_replay_defaultteam changes not taking effect. 2017-07-13 20:23:50 +03:00
shavitush
9c23e1552c Fixed not being able to toggle the new central bot. 2017-07-13 20:22:26 +03:00
shavitush
9334951f39 Removed the BhopStyle enum. (#389) 2017-07-13 20:06:24 +03:00
shavitush
d537102e78 Added the ability to open the replay menu by pressing USE. 2017-07-13 19:53:56 +03:00
shavitush
66ead30cd8 Made it so every style WRs are saved regardless of if the noreplay flag is set. 2017-07-13 19:44:14 +03:00
shavitush
37f331ba2c Added a central replay bot. (#195) 2017-07-13 19:38:48 +03:00
shavitush
949f4473f9 Implemented shavit_misc_dropall to allow dropping of every weapon. 2017-07-13 12:21:19 +03:00
shavitush
91a4ad888a Removed the boolean status from GuessBestMapName. 2017-07-13 12:01:13 +03:00
shavitush
4e39d10402 Added 'smart' map lookup for sm_wr. (#268) 2017-07-13 11:56:34 +03:00
shavitush
ddce025077 Added sounds for worst record, added Shavit_OnWorstRecord. (#293) 2017-07-13 09:50:54 +03:00
shavitush
87da7cc94c Fixed zone editing for multiple-type zones. (#299) 2017-07-13 09:08:48 +03:00
shavitush
c95e8c30f4 Added zone edit capabilities. (#299) 2017-07-13 08:24:02 +03:00
shavitush
3a6ee6dd97 Fixed spectators list including unassigned players. (#288) 2017-07-12 21:35:04 +03:00
shavitush
dbb027dd00 Fixed compilation for shavit-chat. (#387) 2017-07-12 21:31:08 +03:00
shavitush
1f2392b826 Implemented custom clan tags. (#385) 2017-07-12 21:27:40 +03:00
shavitush
86acf777f6 Added the ability to delete records straight from the WR menu. (#383) 2017-07-12 20:47:00 +03:00
shavitush
f56b0eb6e2 Fix compilation for shavit-replay. (#386) 2017-07-12 20:21:13 +03:00