Commit Graph

1291 Commits

Author SHA1 Message Date
rtldg
b6a3406dc3 revert to using RoundToCeil for the smc needed votes thing 2021-09-09 22:12:39 +00:00
rtldg
e8f2819837 add smc_anti_spam 2021-09-09 21:30:11 +00:00
rtldg
277211f6b0 add more people to smc authors list 2021-09-09 21:21:46 +00:00
rtldg
093d66f8b2 some more Shavit_GetMapTier -> Shavit_GetMapTiers 2021-09-09 21:17:27 +00:00
rtldg
9d8a7a4079 trim whitespace 2021-09-09 21:12:45 +00:00
rtldg
776832683d change tier default to 0 2021-09-09 21:11:48 +00:00
rtldg
cfbc059aab change nominate menu title 2021-09-09 21:10:41 +00:00
rtldg
83f2f72238 some speed improvements to nominate menu creation
this may help if you have 6.5k maps 😎😎😎
2021-09-09 21:09:46 +00:00
rtldg
698f1b8648 faster LowercaseString stock 2021-09-09 21:00:00 +00:00
rtldg
c908a90cf8 add smc_prefix 2021-09-09 20:53:29 +00:00
lilac1337
5fa45fb52b if there are 2 people on a server and smc_rtv_required_percentage is over 50, require both players to rtv 2021-09-09 19:55:39 +00:00
rtldg
811a106989 merge smc less-iterations patch 2021-09-09 19:41:27 +00:00
rtldg
27c1dd216c cleanup smc DEBUG usage 2021-09-09 19:22:03 +00:00
rtldg
92dbd1003f use convar_class for auto-filling the plugin cfg 2021-09-09 19:12:37 +00:00
rtldg
1484a0773a add note to shavit-mapchooser forwards 2021-09-09 19:03:12 +00:00
rtldg
c318154607 fix indentation warnings 2021-09-09 18:20:01 +00:00
rtldg
c8a119c3f5 add shavit-mapchooser forwards to shavit.inc 2021-09-09 18:17:19 +00:00
rtldg
f613fb55f1 update plugin info 2021-09-09 18:04:38 +00:00
rtldg
d79cf72559 add shavit-mapchooser from mbhound commit 09558202ce1ab21e3686b6576e21652768d86243 2021-09-09 18:00:55 +00:00
rtldg
1fd509cf52 change GetSpectatorTarget to work with OBS_MODE_POI & OBS_MODE_ROAMING 2021-09-08 20:26:20 +00:00
rtldg
24e6a0b937 fix bullet sound/impact hook 2021-09-08 20:23:08 +00:00
rtldg
ef5bf0c460 only show 'In End/Start Zone' for zones of your track 2021-09-08 17:43:08 +00:00
rtldg
bf9b73180f add !playtime menu 2021-09-07 09:01:26 +00:00
rtldg
d3b285f645 show playtime in !profile 2021-09-07 08:33:56 +00:00
rtldg
e30c46d41c run Shavit_OnDatabaseLoaded on shavit-stats lateload 2021-09-07 08:24:32 +00:00
rtldg
b23542c1d8 let !profile <steamid> work 2021-09-07 08:24:01 +00:00
rtldg
670f220b76 add playtime tracking 2021-09-07 08:13:30 +00:00
rtldg
6818151c4b some zone stuff. sorry commit msg hard 2021-09-07 05:20:59 +00:00
rtldg
b602c57440 add shavit_misc_prespeed_startzone_message for someone special 2021-09-06 19:34:56 +00:00
rtldg
cfa724f738 try to fix tf2 uncrouch spam from limiting velocity 2021-09-05 20:55:53 +00:00
rtldg
addf123025 precache zone stuff sooner in OnMapStart 2021-09-05 19:25:06 +00:00
rtldg
4d03e30e6f add dominatingme symbols for wr holders on a map 2021-09-05 17:42:43 +00:00
rtldg
f10fd5614c add disabled wrs_min removal thing 2021-09-05 16:27:15 +00:00
rtldg
6f87974938 recreate zones in case the entity randomly disappears. might fix a bug? 2021-09-05 16:26:52 +00:00
rtldg
6e3bd85c14 fix tf2 linux bot creation 2021-09-05 15:30:44 +00:00
rtldg
f88885bafc add another parameter to Shavit_OnReplayStart and Shavit_OnReplayEnd 2021-09-02 14:58:18 +00:00
rtldg
c0eaba7b37 still use angles even if setstart pos isn't in start zone 2021-09-02 13:33:04 +00:00
rtldg
f8eb56cd17 unload zones on plugin end (so reloading doesn't leave entities) 2021-09-02 13:18:45 +00:00
rtldg
831d46c4fa remove unnecessary check 2021-09-02 10:58:55 +00:00
rtldg
762c9a1923 swap GetTimerDatabaseHandle2 with Shavit_GetDatabase in a few places 2021-08-31 20:03:59 +00:00
rtldg
8bc2662418 less shitty wrholder queries 2021-08-31 19:58:21 +00:00
rtldg
c25e3404b4 fix mvp star queries not running 2021-08-31 18:45:43 +00:00
rtldg
5eae3f686a remove thing that was wiping !wr menu cache 2021-08-31 17:43:19 +00:00
rtldg
a62a5ca3bb increase zone life to help with flickering with a lot of zones 2021-08-28 21:23:31 +00:00
rtldg
05d50babf4 change string from 'invalid' to 'unknown' 2021-08-28 20:16:42 +00:00
rtldg
fe1d01e1fb add btimes replay support 🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝🤝 2021-08-28 20:16:06 +00:00
rtldg
ea5e6b8535 prebuilt zone cache fixes and menu changes 2021-08-28 17:52:49 +00:00
rtldg
36a468615d add Shavit_SetReplayCacheName 2021-08-28 02:41:33 +00:00
rtldg
c80515496a add !wrn, !wrpre, !wrsw, etc for style commands 2021-08-28 02:27:56 +00:00
rtldg
d8dfef5279 trim some hud code 2021-08-28 01:32:08 +00:00
rtldg
82c1605e94 make !wr menu remember page on back button 2021-08-28 01:11:59 +00:00
rtldg
4440b8d469 make CreateAllNavFiles use valve-fs 2021-08-28 00:41:23 +00:00
rtldg
1954583070 add !ihate!main 2021-08-28 00:39:37 +00:00
rtldg
b893486972 refresh player's cache when their time is deleted 2021-08-28 00:20:40 +00:00
rtldg
8ee42d6490 revert shavit-wr Shavit_OnStyleConfigLoaded changes that resulted in handles leaking 2021-08-28 00:03:11 +00:00
rtldg
2ca2509ae6 changed 'prepends' to 'appends' in comment 2021-08-23 19:52:47 +00:00
rtldg
33b2fdf935 bump to 3.0.7a until next release 2021-08-23 19:52:34 +00:00
GAMMACASE
94f30693c0 Move trim function to shavit.inc 2021-08-23 22:42:44 +03:00
GAMMACASE
60d9609b7d Increase buffer size for player names in !recent menu 2021-08-23 08:13:11 +03:00
rtldg
c00ab666be bump to 3.0.6 2021-08-21 05:49:13 +00:00
rtldg
4553286104 stop timescale from being set to 0 2021-08-21 05:31:52 +00:00
rtldg
f7cd8bf072 delay bot name change to prevent crash in Host_Changelevel 2021-08-21 04:24:47 +00:00
rtldg
599b276e42 add another sql handle check to shavit-chat 2021-08-20 23:53:58 +00:00
rtldg
09f34bcef3 empty wr cache on map end 2021-08-20 22:50:15 +00:00
rtldg
309421ad18 fix some errors that come up due to due to migrations 2021-08-20 22:37:37 +00:00
rtldg
fc801e8a01 fix resetting checkpoints menu from being overlayed by checkpoint menu reopening. thanks, haze 2021-08-20 22:20:19 +00:00
rtldg
5687095144 remove some non-threaded queries 2021-08-18 15:37:08 +00:00
rtldg
2b4d77d281 add sql logging define 2021-08-18 15:10:42 +00:00
rtldg
077cbe9a01 use lowercase strings when sending to GuessBestMapName 2021-08-17 23:50:51 +00:00
rtldg
2733faf57d fix up replay props finally 2021-08-17 20:25:41 +00:00
rtldg
d798de9cb2 fix some replay things 2021-08-17 17:22:58 +00:00
rtldg
14c10049ce insert prebuilt zones into db so !mapsleft and !loadunzonedmap work better 2021-08-17 14:45:15 +00:00
rtldg
c8bcd75fa0 make sure closestpos handles are deleted when a replay is unloaded 2021-08-17 11:33:12 +00:00
rtldg
4da5d528a6 short circuit cheat-impulses check sooner 2021-08-17 11:27:39 +00:00
rtldg
6663305cec use GetAngleDiff in another place 2021-08-17 11:18:32 +00:00
rtldg
d4b61a474f make wrhrankmain stuff use VIEWs instead of temp tables 2021-08-16 21:47:17 +00:00
rtldg
2eb78a2a14 stop postframes from increasing the replay time 2021-08-16 10:21:58 +00:00
rtldg
9f313ee0cf add more !DEBUG wrappers around sv_cheats stuff 2021-08-15 18:36:13 +00:00
rtldg
c5480e7087 adjust parameter count for kill commands 2021-08-15 13:53:29 +00:00
rtldg
c3ad16b418 cleanup all weapons on the ground if no-weapon-drops is enabled 2021-08-15 13:23:28 +00:00
rtldg
e00b394356 change zone-intersection checks to only happen for start & end zones 2021-08-15 12:39:21 +00:00
rtldg
aa78c6fc0e reopen checkpoint menu repeatedly in case someone has bad internet and the menu disappears 2021-08-15 12:28:25 +00:00
rtldg
1f32b9cbdc make persistent-data use real time, not engine time 2021-08-15 12:22:53 +00:00
rtldg
140b43dd40 add shavit_core_disable_sv_cheats and make some commands rcon-flag only 2021-08-15 12:15:35 +00:00
rtldg
f79335270d add Shavit_GetReplayCacheName 2021-08-12 15:03:27 +00:00
rtldg
a521b658c2 track wasn't set for Shavit_OnRestartPre 2021-08-12 14:20:07 +00:00
rtldg
3f14b65cc4 add Shavit_OnRestartPre 2021-08-12 12:46:50 +00:00
rtldg
958c87ccf4 remove unnecessary format for translation 2021-08-12 11:38:40 +00:00
rtldg
a373329499 only print wr message 2 for non-autohop 2021-08-12 11:32:11 +00:00
rtldg
048fee9569 make start position use PointInBox for moved zones 2021-08-12 11:32:05 +00:00
rtldg
11d2ae0785 another thing to fix hud display for custom-frame bots 2021-08-12 10:43:57 +00:00
rtldg
fc8b78ae43 make sure StartReplayFromFile uses delay and fix hud time for customframes 2021-08-11 13:20:42 +00:00
rtldg
6bcb16b361 touch up some zone intersect stuff 2021-08-11 13:20:05 +00:00
rtldg
eab31036a4 fix grid snap visualization 2021-08-08 22:47:36 +00:00
rtldg
c441fa4fa7 prevent zones from being placed inside another zone 2021-08-08 22:43:27 +00:00
rtldg
6b7f187090 make mp_humanteam always apply 2021-08-08 22:40:34 +00:00
rtldg
8009dbab88 replace some usages of TeleportEntity with setting m_vecAbsVelocity instead 2021-08-08 15:55:16 +00:00
rtldg
b38d875fd1 simplify Command_Jointeam 2021-08-08 15:55:16 +00:00
rtldg
0f21467ac7 make FindPersistentData faster 2021-08-08 15:55:16 +00:00
rtldg
9c344ee225 a few more mapname buffers adjusted to PLATFORM_MAX_PATH 2021-08-08 15:55:16 +00:00
rtldg
845223bf6f reduce some more loops 2021-08-08 15:55:16 +00:00
rtldg
525e7a93c1 make {styletag} & {style} work for !replay bots again 2021-08-08 15:55:16 +00:00
rtldg
aa5aaf9f6a change some wr stuff around again 2021-08-08 15:55:16 +00:00
rtldg
b4d1d8a8c0 fix some checkpoint/gravity/timescale/speed related stuff 2021-08-08 15:55:16 +00:00
rtldg
2d168ddb1f add missing parameters to function declaration 2021-08-08 15:55:16 +00:00
rtldg
d112d3dbd0 add dumb shavit_misc_resettargetname_main and shavit_misc_resettargetname_bonus 2021-08-08 15:55:15 +00:00
rtldg
c873f218a6 also make loadunzonedmap use lowercase 2021-08-08 15:55:15 +00:00
rtldg
1bb38a1a2c reopen replay-menu only if still open 2021-08-08 15:55:15 +00:00
rtldg
eba15ccf72 trim lines in convar_class so potentially remove erring crlfs 2021-08-08 15:55:15 +00:00
rtldg
6c5be61344 try to consistently use lowercase mapnames and PLATFORM_MAX_PATH for mapname buffers 2021-08-08 15:55:09 +00:00
rtldg
b68aba6fd2 reorganize some things to stop looping so much when a player joins 2021-08-01 18:07:06 +00:00
rtldg
a64a29263d make sm_loadunzonedmap use valve-virtual-fs 2021-07-31 07:53:02 +00:00
rtldg
202a2e642a fix shavit-sounds ArrayList sizes 2021-07-31 06:02:37 +00:00
rtldg
8a8db13c4a gH_SQL might be null in OnMapEnd after server-restart 2021-07-31 05:50:56 +00:00
rtldg
176dc76267 remove duplicate GetString from HasStyleSetting 2021-07-30 11:39:18 +00:00
rtldg
32658a029d bump to 3.0.1 and touch convar_class.inc & dhooks.inc so they reindex 2021-07-30 08:27:53 +00:00
rtldg
fea39ce643 make Shavit_OnDatabaseLoaded run after migration like it's supposed to and attempt to use it for things 2021-07-30 08:17:31 +00:00
rtldg
65f4cf6827 fix shavit_misc_hideteamchanges on css 2021-07-30 07:12:37 +00:00
rtldg
13c60c6b52 update eventqueuefix header 2021-07-29 21:38:15 +00:00
rtldg
9adf78d311 make prespeed checkpoints better and not use noclip 2021-07-29 19:53:41 +00:00
rtldg
7dea02e513 fix replay bots spawning glocks with burst fire... again 2021-07-29 14:52:45 +00:00
rtldg
506076723f try to improve timer accuracy by using ticks*tickinterval instead of time+=gameframetime 2021-07-29 00:25:02 +00:00
rtldg
fdc5c1e82e add more DEBUG profiler to shavit-replay closestpos stuff 2021-07-28 20:13:36 +00:00
rtldg
6c2a48aec5 cleanup some timescaling code 2021-07-28 12:56:19 +00:00
rtldg
8f4e29ddee type typo 2021-07-28 11:52:37 +00:00
rtldg
37b0d9a031 move shavit-misc late-load stuff around so I can reload the plugin and have the checkpoints menu pop back up on segmented 2021-07-28 08:19:05 +00:00
rtldg
88f716b767 refresh checkpoints menu on sm_save 2021-07-28 07:51:58 +00:00
rtldg
aff3f95813 add shavit_misc_experimental_segmented_eyeangle_fix 2021-07-28 06:11:16 +00:00
rtldg
da9144f1b5 also have sm_recalcall zero-out all users points 2021-07-27 08:12:03 +00:00
rtldg
0ddf5f5c70 move shavit-misc config stuff and mapfixes stuff around 2021-07-27 08:12:03 +00:00
rtldg
7b75eea957 add Shavit_OnStartPre and ignore Shavit_OnStart return value 2021-07-27 08:12:03 +00:00
rtldg
f2d304a918 some pause movement related stuff 2021-07-27 08:11:58 +00:00
rtldg
3de6f38f7d add cvar shavit_rankings_wrranks 2021-07-27 07:17:56 +00:00
rtldg
2c374eb924 make sm_recalcall wipe ALL points first 2021-07-26 11:42:42 +00:00
rtldg
4f23ec8791 stop spectators from getting aimpunched 2021-07-26 09:34:14 +00:00
rtldg
1f3502a708 use SwapAt instead of GetArray/SetArray -rellog 2021-07-26 08:35:53 +00:00
rtldg
c57479a8a1 adjust iFrameCount for preframes 2021-07-26 07:34:14 +00:00
rtldg
eb5d4cfc5d shift preframes down instead of creating a new arraylist 2021-07-26 07:13:57 +00:00
rtldg
1f2cc6a003 some comment updates 2021-07-25 19:30:50 +00:00
rtldg
99c3a7cc5e actually for real fix bots sometimes not doing a jump animation 2021-07-25 18:03:25 +00:00
rtldg
f1751fe74b remove debugging PrintToConsole 2021-07-25 16:38:09 +00:00
rtldg
374f4e6c04 fix bots sometimes not doing a jump animation 2021-07-25 16:36:32 +00:00
rtldg
e6de599808 replay changes. renamed natives, version bump, implementation changes
>Renames:
framecache_t -> frame_cache_t
Shavit_GetReplayBotFirstFrame -> Shavit_GetReplayBotFirstFrameTime
Shavit_GetReplayPreFrame -> Shavit_GetReplayPreFrames
Shavit_GetReplayPostFrame -> Shavit_GetReplayPostFrames
Shavit_GetReplayCachePreFrame -> Shavit_GetReplayCachePreFrames
Shavit_GetReplayCachePostFrame -> Shavit_GetReplayCachePostFrames
Shavit_GetPlayerPreFrame -> Shavit_GetPlayerPreFrames

>Removed:
Shavit_GetPlayerTimerFrame
Shavit_SetPlayerTimerFrame
cp_cache_t.iTimerPreFrames

Replay format version bumped to distinguish old replays that had a bad iFrameCount from postframes.

Some unnecessary ArrayList writing in SaveReplay() has been removed.

shavit-replay.sp:Shavit_OnStart should be more readable now and will also hopefully now prevent some situations where script-execution could time-out due to wiping lots of frames.

Replay bots will now freeze at the end of a replay more smoothly now and not teleport for the last frame.
2021-07-25 16:29:29 +00:00
rtldg
7fc001be0e do weaponsspawngood stuff in touch hook 2021-07-25 14:52:39 +00:00
rtldg
08c8c00f53 change UnpackSignedShorts sign-extending 2021-07-25 10:47:41 +00:00
rtldg
c584b859d4 hopefully stop index errors from popping up in GetClosestReplayTime again 2021-07-25 06:06:39 +00:00
rtldg
b99f2de1f6 try to remove some sm1.11 unused-parameter errors 2021-07-24 12:50:28 +00:00
GAMMACASE
090c2bed5b
Remove practice mode check for target/classname reset (#1061) 2021-07-23 16:59:02 +00:00
rtldg
e1dac1697a have Shavit_OnTopLeftHUD run even when there's no WR 2021-07-23 16:20:18 +00:00
rtldg
82c6ab1f92 add shavit-mapfixes.cfg 2021-07-23 15:31:38 +00:00
rtldg
89a0058f31 fix admins being affected by replay playback cooldown 2021-07-23 10:49:04 +00:00
rtldg
72b87d666f add another map to cvar description 2021-07-23 10:30:48 +00:00
rtldg
6dbc73fae3 add shavit_zones_prebuilt_visual_offset 2021-07-23 10:25:40 +00:00
rtldg
5a4acc49a4 change css key overlay a bit 2021-07-23 09:29:18 +00:00
rtldg
ec3e4d2d84 add angle diff to Shavit_GetReplayButtons 2021-07-23 09:15:23 +00:00
rtldg
435a23f065 move avg/max vel & perfs to another message so the buffer doesn't get cut off anymore 2021-07-23 08:54:57 +00:00
rtldg
debbf4d87e add Shavit_GetLoopingBotByName 2021-07-23 05:55:18 +00:00
rtldg
d5713824ce hook CCSGameRules::TeamFull on CSS 2021-07-23 04:34:56 +00:00
rtldg
b07133b1aa change shavit_misc_weaponsspawngood a bit 2021-07-22 15:39:15 +00:00
rtldg
5a12dd7502 move shavit_core_debugoffsets out of preprocesser DEBUG check 2021-07-22 12:42:29 +00:00
rtldg
4f704a2fe4 -1 all completions in the db 2021-07-22 10:49:16 +00:00
rtldg
dd756b95cc add listener for sourcemod's sm_noclip so we can hijack it 2021-07-22 08:51:12 +00:00
OliviaMourning
af8ab48fc9 add shavit_core_pause_movement stuff
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2021-07-22 08:49:55 +00:00
rtldg
878917daf9 negative replay percentage complete 2021-07-22 08:28:47 +00:00
rtldg
361c73f7b1 fix typo in rankings description 2021-07-22 06:07:18 +00:00
rtldg
7c4a7c0c15 slightly unbreak old ssj plugins that used Shavit_InsideZone with 2 params 2021-07-22 05:52:40 +00:00
rtldg
50d000c20e make replay bots to skip 'Team is full' check 2021-07-22 05:08:49 +00:00
Nairda
35de299212
add playerchatwheel to radiocommands (#1068)
* add playerchatwheel to radiocommands

because @GAMMACASE is too lazy to pr

* -.-v

GAMMACASE — Today at 19:32
there's also player_ping and chatwheel_ping commands, that creates the ping icon in the world
:)
2021-07-22 02:34:46 +00:00
rtldg
793116d476 add playerradio to radio-commands list 2021-07-21 07:30:20 +00:00
rtldg
ab0de50a9f try to recreate wrhrankmain & friends if there's an error about them not existing 2021-07-19 13:22:47 +00:00
rtldg
5a813a01b1 fix segmented replays losing data due to postframes and teleporting 2021-07-15 16:49:42 +00:00
rtldg
57e6f9563d don't let zones positions be at the same spot 2021-07-15 08:44:32 +00:00
rtldg
ca6ad88b7b fix 2 completions bug thing the better way 2021-07-15 07:37:57 +00:00
rtldg
e58b447c21 fix tf2 dying giving checkpoints MOVETYPE_NONE 2021-07-13 15:22:11 +00:00
rtldg
f93f6cac3a fix tf2 respawn loop crash thing? 2021-07-13 15:21:23 +00:00
rtldg
fdacc94c32 only create tf2 team spawnpoints if needed 2021-07-13 13:47:20 +00:00
rtldg
7b4d2f5b23 fix bug that'd give 2 completions on first map finish 2021-07-13 08:49:35 +00:00
rtldg
576534092b stop creating so many spawnpoints 2021-07-13 08:39:06 +00:00
rtldg
71f10563a2 use timescale in Shavit_GetReplayTime, not speed 2021-07-13 03:15:11 +00:00
rtldg
7df75c4c35 don't kill zone entities in OnEntityDestroyed 2021-07-13 01:45:22 +00:00
rtldg
6f1c8ce09c spawn glocks with burst and usps with silencers 2021-07-11 09:21:32 +00:00
rtldg
de0ad16323 terrible checkpoint ground entity refs 2021-07-11 09:03:48 +00:00
rtldg
a6be0127ee add exact_time_int to playertimes to deal with floating point imprecision 2021-07-11 07:16:00 +00:00
rtldg
f64c3f92a6 filter out MOVETYPE_NOCLIP from checkpoints of replay bots 2021-07-10 10:41:37 +00:00
rtldg
f2b9c13ec5 make sm_loadunzonedmap query use DISTINCT 2021-07-10 08:47:02 +00:00
rtldg
7757c9330d mask mousexy more and rename UnpackFrameShorts to UnpackSignedShorts 2021-07-10 04:32:46 +00:00
rtldg
418676d26c add cheapCloneHandle parameter to Shavit_GetReplayFrames 2021-07-10 03:15:47 +00:00
rtldg
4a686ee440 fix parameter ordering for Shavit_GetReplayFrames (#1065) 2021-07-10 02:59:23 +00:00
rtldg
0063436f66 add sm_loadunzonedmap temporarily until I move it to shavit-mapchooser 2021-07-09 13:27:49 +00:00
rtldg
9a0dd7f986 add mouse x/y & forwardmove/sidemove to replay file 2021-07-09 13:20:38 +00:00
rtldg
a05c15e5d7 lower minimum forwardmove/sidemove values for hsw 2021-07-09 13:16:44 +00:00
rtldg
40429c6afe hopefully fix persistent data & checkpoint errors 2021-07-09 08:59:52 +00:00
rtldg
11137e9407 move zone modifier stuff around so they don't reset 2021-07-07 02:47:27 +00:00
rtldg
757c2f051f fix a bug that deletes spectator's persistent data 👀 2021-07-07 02:30:34 +00:00
rtldg
3024982fe1 add SteamIDToAuth stock 2021-07-07 01:46:33 +00:00
rtldg
760b0c910b a little cleanup for shavit-misc 2021-07-06 11:35:47 +00:00
rtldg
187e749352 unset gB_Late after use 2021-07-06 08:51:35 +00:00
rtldg
f2d396d61e bigger buffer for shavit_core_debugoffsets messages 2021-07-06 06:38:16 +00:00
rtldg
7db48be6fc typo fix 2021-07-06 03:47:32 +00:00
rtldg
d254a2a2f2 don't open kz menu for bots to fix error
>go kz style
>make some checkpoints
>disconnect
>bots kicked for server hibernating
>bots rejoin from timer
>errors thrown

L 07/06/2021 - 02:55:42: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 07/06/2021 - 02:55:42: [SM] Blaming: shavit-misc.smx
L 07/06/2021 - 02:55:42: [SM] Call stack trace:
L 07/06/2021 - 02:55:42: [SM]   [0] ArrayList.Length.get
L 07/06/2021 - 02:55:42: [SM]   [1] Line 2020, .\shavit-misc.sp::OpenKZCPMenu
L 07/06/2021 - 02:55:42: [SM]   [2] Line 959, .\shavit-misc.sp::Timer_PersistKZCP
2021-07-06 03:00:03 +00:00
rtldg
6f058127c4 make all plugins require dhooks so there's error spam due to them not loading 2021-07-06 02:22:35 +00:00
rtldg
8dab86abe9 removed unneeded line for weapon ratelimiting 2021-07-06 02:03:41 +00:00
rtldg
00fa237c28 hide flickering hint text when scoreboard is open 2021-07-06 01:56:15 +00:00
rtldg
4b524772fa put finished_run_info stuff inside if-statement 2021-07-04 12:17:48 +00:00
rtldg
82918f1945 rate limit sm_glock, sm_usp, and sm_knife 2021-07-04 11:01:34 +00:00
rtldg
28e9d4029b add postframes 2021-07-04 10:09:16 +00:00
EvanIMK
ad2030a468
Update shavit-replay.sp 2021-07-01 12:52:32 +08:00
rtldg
d6d5697ebc Update convar_class.inc to replace backslashes with forwardslashes so trying to create config files doesn't fail if you nest plugins into subfolders 2021-06-22 22:02:26 +00:00
rtldg
0eb1ea6d02 Revert "Fixed potential memory leak."
This reverts commit b5181473b0.
2021-06-18 20:08:46 +00:00
rtldg
13eff3574c remove an unnecessary parameter 2021-06-18 20:07:06 +00:00
rtldg
dad25f97cb rename parameter for SetReplayData and GetReplayData 2021-06-18 19:10:50 +00:00
rtldg
00a866bf59 add some shavit-styles.cfg index error checking 2021-06-15 17:45:33 +00:00
Nairda
fd0569b1d4
change replay bot score from 2000 to 1337 (#1059)
there is only one and correct number to be used as default
2021-06-14 19:45:51 +00:00
Nairda
178deb5b21
remove capital i (#1058)
from the range as it can be mistaken with lower case L
2021-06-14 18:32:25 +00:00
rtldg
acbcd86f18 remove some ambiguous characters from wipeplayer alphabet string 2021-06-14 17:16:53 +00:00
rtldg
69ca0af31b try to not get people stuck paused in the start zone 2021-06-14 17:16:10 +00:00
rtldg
46f93de06f bot_join_after_player exists so lets use that instead of adding shavit_replay_spawnbotsifempty 2021-06-13 02:48:38 +00:00
rtldg
fb1912c064 remove unnecessary FinishReplay() 2021-06-11 17:09:12 +00:00
rtldg
6abdadab68 make shavit_replay_pbcooldown work again 2021-06-11 17:08:45 +00:00
rtldg
ee5e163aec add shavit_replay_spawnbotsifempty 2021-06-10 14:33:46 +00:00
rtldg
f7e53bb12e only add replay bots if players are in the server 2021-06-10 14:23:49 +00:00
rtldg
ffa3560fbd add replay bots in cron timer 2021-06-09 20:23:47 +00:00
rtldg
87e64c87c7 add HUD2_VELOCITYDIFFERENCE 2021-06-08 15:39:52 +00:00
rtldg
7620e23349 make sure persistent data doesn't start paused & fix weapons not being removed & use requestframe(loadpersistentdata) again so events/outputs work & make some errors not be as bad 2021-06-07 14:06:00 +00:00
rtldg
79f6e643f0 moving some checkpoint code around to need less handle cloning and maybe help with some errors 2021-06-06 17:35:00 +00:00
rtldg
eefaf5ebd0 don't clear gI_MapZones on Round_Start 2021-06-06 09:27:02 +00:00
rtldg
84cb7b98cd misc 2021-06-05 22:33:17 +00:00
rtldg
d8619f3ba1 fix {styletag} and remove some unused replay config things 2021-06-02 20:41:27 +00:00
GAMMACASE
1c6cd5e27d
Fix infinite loop in RemoveFromString() (#1052) 2021-06-02 20:15:38 +00:00
rtldg
0f5f0870b2 normalize prebuilt zone names 2021-06-02 11:54:49 +00:00
rtldg
02fb3e2f7e unadd chatstrings_t parameter from Shavit_OnChatConfigLoaded because it's not worth having 2021-05-29 02:03:21 +00:00
rtldg
cbab6fc490 fix parameter ordering in call to Shavit_GetReplayBotIndex 2021-05-27 17:20:23 +00:00
rtldg
35b61a0abc fix wrong variable being sizeof()'d 2021-05-25 18:53:06 +00:00
rtldg
c9f8724d50 change sm_p to profile instead of noclip 2021-05-25 11:32:44 +00:00
rtldg
5feea645c4 ugly shavit_core_timeinmessages fix 2021-05-25 10:57:11 +00:00
rtldg
c9e0f5de1c bump SHAVIT_VERSION to 3.0.0 and hide Shavit_GetStagePB for now 2021-05-25 09:42:26 +00:00
rtldg
f0f74693b9 use defaultNavMesh as an array of bytes so only one file.Write is needed 2021-05-25 09:29:30 +00:00
deadw1nter
a7c2e66559
Fix damage (#1051) 2021-05-24 05:25:28 +00:00
rtldg
fc37d22f1d fix parameter ordering in Shavit_GetReplayBotIndex 2021-05-23 16:03:22 +00:00
rtldg
36c395dde7 rename Shavit_GetReplayBotLength to Shavit_GetReplayCacheLength 2021-05-23 15:46:05 +00:00
rtldg
dbe9b9bffb rename Shavit_GetReplayBotFrameCount to Shavit_GetReplayCacheFrameCount 2021-05-23 15:42:35 +00:00
rtldg
fb7d36cc18 rename fLadderNormal to vecLadderNormal 2021-05-23 12:39:59 +00:00
rtldg
b381194139 clear iEntityID so we don't accidentally delete random entities 2021-05-23 10:03:00 +00:00
GAMMACASE
720251166e
Increase top left wr hud buffer size (#1050) 2021-05-23 08:33:37 +00:00
rtldg
7fa6da8e03 move some tf2 dhooks stuff around 2021-05-23 08:27:42 +00:00
Dustin
d7e4a08e70
added missing prefix (#1049)
to prevent fails for people that are using a prefix 
[shavit-zones.smx] Timer (zones GetStageZone) SQL query failed. Reason: Table 'bhoptimer.mapzones' doesn't exist
Query callback. Number of returned results: 399, Maps added to g_aMapList:284, g_aAllMapsList.Length:287, g_mMapList:286
2021-05-18 07:16:44 +00:00
rtldg
9daafaa7fe dumb tf2 scoreboard pb 2021-05-17 11:42:20 +00:00
rtldg
0f37aac00f get all this gamedata stuff working on tf2 2021-05-17 10:51:31 +00:00
rtldg
805be91691 gamedata notes 2021-05-14 17:27:18 +00:00
rtldg
6a092d996c add shavit_rankings_default_tier for #1041 2021-05-09 06:39:57 +00:00