rtldg
4aac85d3fd
add some tas_timescale stuff and stuff kid-tas
2021-12-29 09:23:57 +00:00
rtldg
78b276c350
change comment
2021-12-27 11:03:12 +00:00
rtldg
3c59adce57
all valve_fs search-paths from maps folder reader
2021-12-22 08:16:34 +00:00
rtldg
396f2017c5
add prespeed_type, blockprejump, nozaxisspeed, and restrictnoclip as available style settings
2021-12-21 00:38:14 +00:00
rtldg
4b711b1fab
add Shavit_GetReplayFolderPath_Stock
2021-12-21 00:33:45 +00:00
rtldg
a146b51fb1
gimp Shavit_OnTimeIncrement and adjust tick->time stuff
2021-12-21 00:33:45 +00:00
BoomShot
c14b133a42
Update documentation for Shavit_OnReplaySaved ( #1 )
2021-12-16 04:01:17 -06:00
rtldg
0db2b30a77
base strafe count on input vel instead of buttons
2021-12-07 08:27:05 +00:00
rtldg
86b23b33a2
fix some kz button restarting things & add track param to Shavit_MarkKZMap() & Shavit_IsKZMap()
2021-12-05 01:52:04 +00:00
rtldg
1946de926b
move some more things into maps-folder-stocks.inc
2021-12-05 00:24:31 +00:00
rtldg
c55531168d
add Zone_NoTimerGravity and Zone_Gravity
2021-11-28 21:56:05 +00:00
rtldg
4d1a0b5eb3
print steamid to chat when using !profile <otherplayer>
2021-11-28 02:23:32 +00:00
rtldg
79cd7f1225
add more things to anti-sv_cheats command list
2021-11-27 20:24:46 +00:00
rtldg
cdb4b5746e
add Shavit_GetMapsArrayList and Shavit_GetMapsStringMap
2021-11-12 23:16:51 +00:00
rtldg
8ce9cd97b4
fixup some gun spawning stuff
2021-11-12 19:02:31 +00:00
rtldg
4e16365991
disable setting force_timescale automatically on timescale
2021-11-11 21:00:16 +00:00
rtldg
64414f61e0
misc sql changes
2021-11-08 15:29:34 +00:00
rtldg
3295e23553
add some wip hud forwards & csgo !keys stuff
2021-11-04 23:06:27 +00:00
rtldg
48d8e01769
add kzcheckpoints_ladders style setting
2021-11-04 16:46:16 +00:00
rtldg
361826908e
lower the minimum_time when prespeed is set
2021-11-04 14:55:08 +00:00
rtldg
f344fddcdf
add Loading to zone hud
2021-11-03 10:34:57 +00:00
rtldg
aba539856e
merge bhopstats to remove dependency
2021-11-03 09:34:52 +00:00
BoomShotKapow
70ca6ace3d
Add a native for getting Shavit's replay folder path for personal replays
2021-11-03 08:20:52 +00:00
rtldg
0e3c4e274e
use updated ClosestPos stuff to not search preframes or postframes
2021-11-02 21:22:20 +00:00
rtldg
d9a0714622
hijack angles on setstart restart
2021-11-02 19:32:07 +00:00
rtldg
709887d5ff
remove some unused files
2021-10-29 01:33:04 +00:00
rtldg
d95771f9b4
readd shavit.inc as includes includer
2021-10-28 21:09:48 +00:00
rtldg
7e55e7d8ea
move shavit.inc to shavit/core.inc
2021-10-28 21:09:22 +00:00
rtldg
98505fd999
lower minimum_time to 3.75
2021-10-28 14:50:51 +00:00
rtldg
2fc7254149
add minimum_time & minimum_time_bonus style settings
2021-10-28 13:53:44 +00:00
rtldg
8b4fdf3f34
touch up TrimTrailingInvalidUnicode() a little
2021-10-27 19:02:25 +00:00
rtldg
5312c31253
add SanerGetClientName
2021-10-26 21:35:01 +00:00
rtldg
8a31bc84aa
replace shavit_misc_weaponsspawngood with !hud settings. also add default-pistol thing
2021-10-26 20:41:18 +00:00
rtldg
2fb61d4807
remove .i from style_setting_t
...
should be faster this way
2021-10-26 14:23:58 +00:00
rtldg
184f157c25
make the AFTER sql stuff only happen on mysql
2021-10-25 13:04:18 +00:00
rtldg
b54de50c1a
mess with some #include's and include-guards
2021-10-25 13:01:38 +00:00
rtldg
b364871df5
add steamid-stocks.inc
2021-10-25 12:40:24 +00:00
rtldg
9571e247b5
don't delete the stylecommands stringmap
2021-10-21 10:13:51 +00:00
rtldg
d901c6bf91
make maps-folder-stocks.inc
2021-10-19 08:57:19 +00:00
rtldg
1bb7b3e274
remove Shavit_OpenStatsMenu
2021-10-18 07:23:01 +00:00
rtldg
966ceea5f8
finish splitting shavit.inc
2021-10-18 07:22:50 +00:00
rtldg
49ea502662
rename guns.sp to weapon-stocks.inc
2021-10-17 05:08:30 +00:00
rtldg
b88367d079
allow setstart outside of start-zone and add shavit_zones_extra_spawn_height
2021-10-16 15:24:36 +00:00
rtldg
f724863bc7
move some weapon stocks to another file
2021-10-16 13:54:50 +00:00
rtldg
af48f2d695
add note about adding more migrations to alter table to fix column order (for faster queries)
2021-10-10 07:51:41 +00:00
rtldg
41882d3465
reorganize playertimes columns (in create table). speed up point recalculation by inlining things where possible and caching wr last calculated against.
2021-10-10 07:50:45 +00:00
rtldg
60c614df9d
add points_calced_from
2021-10-10 06:12:51 +00:00
rtldg
7ca863f04b
move sql table creation and migrations
2021-10-10 05:14:37 +00:00
rtldg
f0908643f6
finish moving checkpoint stuff
2021-10-09 09:17:58 +00:00
rtldg
96496f14ba
move most checkpoint stuff out of misc and into shavit-checkpoints
2021-10-09 05:40:33 +00:00
rtldg
0b31c6a608
remove Shavit_OpenCheckpointMenu
2021-10-08 15:07:08 +00:00
rtldg
d02cc0bd22
move some more stuff around
2021-10-08 15:03:09 +00:00
rtldg
8449c8b9d9
move physicsuntouch stuff to a different file
2021-10-08 14:46:36 +00:00
rtldg
ab0fc28c26
make replay reading/writing functions stocks
2021-10-08 10:59:56 +00:00
rtldg
77265805ac
move anti-sv_cheats to own file
2021-10-08 10:30:52 +00:00
rtldg
1f090f9d27
move style_setting_t & license notice
2021-10-08 10:13:16 +00:00
rtldg
1140769b62
fix the replay recording after splitting up the files
2021-10-08 10:08:04 +00:00
rtldg
2e579b82ef
move styles loaded forward
2021-10-08 09:54:11 +00:00
rtldg
a0bf3b65e9
move style settings into own file
2021-10-08 09:04:45 +00:00
rtldg
24337ba172
use .inc for shavit-replay-stocks
2021-10-07 20:09:30 +00:00
rtldg
4ad6706b47
fix some shavit-replay errors
2021-10-07 20:05:55 +00:00
rtldg
cb3aad5ab4
initial commit for reorganization effort
2021-10-07 19:01:00 +00:00
rtldg
0ec8bdb92b
move charset stuff to GetTimerDatabaseHandle
2021-10-07 09:51:48 +00:00
rtldg
235cc9f241
work on improving rankings queries
2021-10-05 11:00:13 +00:00
rtldg
9b00e1f16a
replace playertimer_t with timer_snapshot_t
2021-10-05 05:31:53 +00:00
rtldg
22a87ce3ee
add Shavit_GuessPointsForTime so we can recalc styles only on WR
2021-10-05 04:43:10 +00:00
rtldg
523ce285a1
3.0.9a
2021-10-04 14:12:05 +00:00
rtldg
b2a95095e7
3.0.8
2021-10-04 11:40:55 +00:00
rtldg
afed33e944
add matches-menu to !map
2021-10-04 10:49:02 +00:00
rtldg
346d7f903c
3.0.7a -> 3.0.7
2021-09-22 14:10:30 +00:00
rtldg
f23bd4b96c
lowercase map names in db
2021-09-21 04:30:59 +00:00
rtldg
98ad99af3a
stats menu cleanup + style playtime
2021-09-19 23:34:42 +00:00
rtldg
1951ac9a73
some timelimit changes so it instantly changes the map
2021-09-14 08:28:56 +00:00
rtldg
e305ad871c
fix warnings and mapchooser crash
2021-09-13 13:34:57 +00:00
rtldg
8ce930a0e3
mark Shavit_GetStyleSettingBool as optional for things that don't use bhoptimer
2021-09-11 19:57:47 +00:00
rtldg
f55419cd10
add more mapchooser cvars and move stuff around
2021-09-11 08:58:28 +00:00
rtldg
49503f71ed
increase convar_class default value buffer size
2021-09-11 08:00:54 +00:00
rtldg
77bf06aa02
speed up !nominate and !map
2021-09-11 00:02:24 +00:00
rtldg
698f1b8648
faster LowercaseString stock
2021-09-09 21:00:00 +00:00
rtldg
1484a0773a
add note to shavit-mapchooser forwards
2021-09-09 19:03:12 +00:00
rtldg
c8a119c3f5
add shavit-mapchooser forwards to shavit.inc
2021-09-09 18:17:19 +00:00
rtldg
1fd509cf52
change GetSpectatorTarget to work with OBS_MODE_POI & OBS_MODE_ROAMING
2021-09-08 20:26:20 +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
f88885bafc
add another parameter to Shavit_OnReplayStart and Shavit_OnReplayEnd
2021-09-02 14:58:18 +00:00
rtldg
762c9a1923
swap GetTimerDatabaseHandle2 with Shavit_GetDatabase in a few places
2021-08-31 20:03:59 +00:00
rtldg
36a468615d
add Shavit_SetReplayCacheName
2021-08-28 02:41:33 +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
rtldg
c00ab666be
bump to 3.0.6
2021-08-21 05:49:13 +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
14c10049ce
insert prebuilt zones into db so !mapsleft and !loadunzonedmap work better
2021-08-17 14:45:15 +00:00
rtldg
d4b61a474f
make wrhrankmain stuff use VIEWs instead of temp tables
2021-08-16 21:47:17 +00:00
rtldg
f79335270d
add Shavit_GetReplayCacheName
2021-08-12 15:03:27 +00:00
rtldg
3f14b65cc4
add Shavit_OnRestartPre
2021-08-12 12:46:50 +00:00
rtldg
fc8b78ae43
make sure StartReplayFromFile uses delay and fix hud time for customframes
2021-08-11 13:20:42 +00:00
rtldg
6b7f187090
make mp_humanteam always apply
2021-08-08 22:40:34 +00:00
rtldg
2d168ddb1f
add missing parameters to function declaration
2021-08-08 15:55:16 +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
8a8db13c4a
gH_SQL might be null in OnMapEnd after server-restart
2021-07-31 05:50:56 +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
13c60c6b52
update eventqueuefix header
2021-07-29 21:38:15 +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
aff3f95813
add shavit_misc_experimental_segmented_eyeangle_fix
2021-07-28 06:11:16 +00:00
rtldg
7b75eea957
add Shavit_OnStartPre and ignore Shavit_OnStart return value
2021-07-27 08:12:03 +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
08c8c00f53
change UnpackSignedShorts sign-extending
2021-07-25 10:47:41 +00:00
rtldg
e1dac1697a
have Shavit_OnTopLeftHUD run even when there's no WR
2021-07-23 16:20: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
4f704a2fe4
-1 all completions in the db
2021-07-22 10:49:16 +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
a6be0127ee
add exact_time_int to playertimes to deal with floating point imprecision
2021-07-11 07:16:00 +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
9a0dd7f986
add mouse x/y & forwardmove/sidemove to replay file
2021-07-09 13:20:38 +00:00
rtldg
3024982fe1
add SteamIDToAuth stock
2021-07-07 01:46:33 +00:00
rtldg
28e9d4029b
add postframes
2021-07-04 10:09:16 +00: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
dad25f97cb
rename parameter for SetReplayData and GetReplayData
2021-06-18 19:10:50 +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
c9e0f5de1c
bump SHAVIT_VERSION to 3.0.0 and hide Shavit_GetStagePB for now
2021-05-25 09:42:26 +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
8f8b29b377
use eventqueuefix's event pausing when possible
2021-05-09 01:14:52 +00:00
rtldg
3be13005e6
add chatstrings_t param to Shavit_OnChatConfigLoaded. add Shavit_GetStyleStringsStruct. add Shavit_GetChatStringsStruct.
2021-05-08 13:00:19 +00:00
rtldg
cdc0c651b9
make Shavit_PrintToChatAll a native so it can use gB_StopChatSound 'better'
2021-05-06 02:15:05 +00:00
rtldg
f838cfdfc6
misc FormatSeconds change
2021-05-06 01:39:35 +00:00
rtldg
94a27a954e
add Shavit_GetClientLastStage, Shavit_GetStageWR, and Shavit_GetStagePB
2021-05-01 00:42:41 +00:00
rtldg
96281d2f85
more wip stage stuff
2021-04-30 07:06:18 +00:00
BoomShot
2697e6c5b1
boomshot stages stuff
...
Move remaining shavit-rankings dependent calls (#1043 )
If the shavit-rankings plugin isn't loaded, the calls to its natives will cause an exception and the client's messages will not be formatted correctly.
Add native for getting the number of stages
Implemented native for getting number of stages and allowed practice mode to view stage times.
Added WR stage time comparisons for when a user enters a stage zone.
It's important that the stage zone number starts at two. It may be preferred to remove the user input of stage numbers and just auto increment as stages are added. Stage 1 should be the start zone and just have any additional stages increment from there. I'll readdress this if it's necessary.
Add translations for WR stage time comparison messages
Accidentally undid a change from a previous commit.
I didn't have a merge conflict, so I'm unsure why it got replaced.
Combine stage time translations into one
Implemented suggestions to translations and changed the stagetimes table
The stagetimes table no longer uses auth as a primary key, so it will now replace the old WR stage time.
However, the auth is still stored, so it can be used to reference the player and potentially a players PB.
Update callback name for replacing stage time for logging.
2021-04-19 15:49:47 +00:00
rtldg
7a8c735a28
stop duplicating replay frame buffer when persisting data
2021-04-11 19:37:01 +00:00
rtldg
57e9072b19
remove bot_quota, disable it, and call BotAddCommand directly
2021-04-11 01:20:06 +00:00
rtldg
cb39acc33b
remove stylesettings_t and break 3rd party plugins
2021-04-08 21:19:18 +00:00
rtldg
5c772b06e3
hopefully fix checkpoint timescale stuff
2021-04-07 17:21:53 +00:00
rtldg
efea62a023
mark some forgotten natives as optional
2021-04-07 15:37:14 +00:00
rtldg
bbca665d4f
fix errors i made
2021-04-07 14:44:42 +00:00
rtldg
a0a74b8eaa
too tired for commit messages but i promise this is a good one and if you're not satisfied then we will fully refund your purchase of the bhoptimer
2021-04-07 05:36:15 +00:00
rtldg
d272aae97b
bad thing to not let you pause while crouching
2021-04-06 18:10:59 +00:00
rtldg
6113b0c3dc
checkpoint code churn
2021-04-05 18:03:19 +00:00
rtldg
7ce9878a50
fix some errors
2021-04-02 19:11:34 +00:00
rtldg
7d6d906060
moving some stuff from stats to rankings
...
shavit_stats_mvprankones -> shavit_rankings_mvprankones
shavit_stats_mvprankones_maintrack -> shavit_rankings_mvprankones_maintrack
Shavit_GetWRCount, Shavit_GetWRHolders, and Shavit_GetWRHolderRank now in shavit-rankings.sp
2021-04-02 18:15:00 +00:00
rtldg
4dbb371d4f
forgot closestpos.inc
2021-04-02 15:14:26 +00:00