Commit Graph

506 Commits

Author SHA1 Message Date
rtldg
2b2a1fcb12 queue migrations slightly better to handle multiple queries (relevant to #1176) 2022-09-29 06:17:33 +00:00
jedso
098b7d4977 Add SQLite statements to re-create playertimes with FK constraint 2022-09-26 23:08:12 +09:30
jedso
d718620aa3 Store SQLite playertimes CREATE TABLE statement for re-use in migration 2022-09-26 23:08:12 +09:30
jedso
a1b04e38ba Change playertimes CREATE TABLE statement to include FK constraint 2022-09-26 23:08:12 +09:30
jedso
23901be52d Add MySQL ALTER TABLE queries to drop and/or add auth FK constraint 2022-09-26 23:08:12 +09:30
jedso
3cef031e91 Add initial migration queries for MySQL/SQLite 2022-09-26 23:08:05 +09:30
rtldg
2e2db2165f IsClientConnected can be removed from IsValidClient 2022-09-24 06:16:47 +00:00
rtldg
894b039e4e deprecate exact_time_int 2022-09-24 05:45:01 +00:00
rtldg
b115726abb set forwardmove & sidemove on replay bots because why not 2022-09-16 11:36:29 +00:00
rtldg
04d65d2fa5
update origin notice around GiveSkinnedWeapon 2022-08-15 13:06:05 +00:00
rtldg
1ea49018e0
move clantag forward declarations from core.inc to misc.inc 2022-08-05 04:29:33 +00:00
rtldg
9c5c29c6ca v3.3.2 2022-07-20 19:45:11 +00:00
BoomShotKapow
7878784887 Fix parameter documentation 2022-07-20 18:51:35 +00:00
rtldg
898c46379d random things 2022-07-20 15:58:18 +00:00
rtldg
bf25061444 de-page zone adjust menu 2022-07-20 15:32:54 +00:00
rtldg
5ba8ede632 v3.3.1 2022-07-11 14:29:36 +00:00
rtldg
5c14dfcc60 add ZF_Origin & fix a lot of broken button stuff 2022-07-05 04:45:20 +00:00
rtldg
64bd95a73b add a_or_d_only style setting 2022-07-01 13:17:38 +00:00
rtldg
6dc1fb66e4 split mapzones form & target migration for sqlite 2022-06-28 19:23:39 +00:00
rtldg
1a86a2b643 v3.3.0 2022-06-28 02:46:50 +00:00
rtldg
4486528880 preliminary postgresql support 2022-06-23 09:10:22 +00:00
rtldg
1a03bdac13 fix permission style setting typo oops 2022-06-21 14:29:46 +00:00
rtldg
8237b249c5 remove SHAVIT_LOG_QUERIES 2022-06-21 11:53:59 +00:00
rtldg
0f44dd1710 add shavit_core_log_sql & remove Database2/Transaction2 methmodmaps 2022-06-13 06:28:46 +00:00
rtldg
fa6ccdbded make sqlite run migrations automatically too 2022-06-13 05:46:10 +00:00
rtldg
8e0e5ec8c1 add buttons, scrolls, and anglediff to huddata_t 2022-06-12 16:08:40 +00:00
rtldg
e3aac2d24e
zones wip (#1143)
* backup a lot of this zone_cache_t stuff since i'm going to do something else first

* AAAAAAAAAAAAAA

* add the sTarget checking

* this pr will get squashed so this message doesn't matter

* wip Shavit_RemoveZone

* wip ZF_Solid and TODO notes

* move hook thing

* do some zone insert stuff that doesn't reload *every* zone

* condense some zone editing global variables

* add some spaces to some ifs

* remove gV_MapZones

* remove random loop

* big change

* remove ClearZone()

* .

* ..

* add speed to zone beam settings

* add bhop_n0bs1_css stripper cfg for shit zone

* ...

* remove draw timer to OnConfigsExecuted because interval cvar

* change string for mapfixes print

* wew

* rename iSource to iForm and add sSource

* add Shavit_ReloadZones() and rename some source things

* add shavit-zones-http.sp

* add a getarray

* adjust the http api format slightly

* remove Shavit_GetStageZone() & fix zone inserts

* api update

* convar edits

* increase buf size

* wrong buf...

* normalize points inside Shavit_AddZone

* rename ZonesNotLocal to ZonesNotSQL

* small cleanup

* add the zone hooking menu stuff

* make the confirm menu Exit button STOP DRAWING!!!

* only try to draw trigger_multiples

* asdf

* typo

* improvements

* add distance to menu

* use PassesTriggerFilters like rngfix

* finish some docs

* make dist be meters

* more hooking tele things

* remove all this migration stuff

* add entity under crosshair

* shorten stage translation message
2022-06-12 14:43:16 +00:00
rtldg
4cf01f5ec4 revert WriteNavMesh stuff to kid's since writing 1-size values = a shit ton of file->Write calls 2022-06-08 10:55:47 +00:00
rtldg
4bfa75a32c replace many instances of NULL_VECTOR because sourcemod is fucking stupid 2022-05-26 09:19:39 +00:00
rtldg
7dddfe25f3 make wr menu also print steamids to chat for #1146 2022-05-25 13:01:07 +00:00
rtldg
ef3ca621c4 add more contributors & copyright attributions. mostly done via git blame but also it's also likely i missed some people. 2022-05-25 11:43:57 +00:00
rtldg
c2e50761ec add basic strafer thing to autogain 2022-05-21 23:44:35 +00:00
rtldg
22a68b491b add HUD_SPECTATORSDEAD 2022-05-17 02:37:41 +00:00
rtldg
bc62b92983 add ent_fire to cheat commands list (for csgo) 2022-05-16 00:13:34 +00:00
rtldg
acf47a11b1 add Zone_Speedmod for oblivious 2022-05-10 01:51:00 +00:00
rtldg
ab73e36a15 czones: use same settings for all bonuses & let more types be editable 2022-05-09 23:55:00 +00:00
Shahrazad
487e3db9d0
Use and duplicate other's checkpoints implementation (#1142)
* add target param for Shavit_TeleportToCheckpoint(), Shavit_OnTeleport() and Shavit_OnTeleportPre()

* Use others' checkpoints implementation

* Automatically refresh current checkpoint index

* add owner param for Shavit_OnCheckpointMenuSelect()

* add duplicate param for Shavit_OnSavePre() & Shavit_OnSave(), etc.

* use persistent cp initial

* temporarily no more for using persistent checkpoints

* final check and add convar for using others cp

* Update shavit-misc.phrases.txt

* reorder parameters

* changes

* AHHHHHHHHHHHHHHHHHHH GIT YOU FUCKING FAILED THE PATCH MERGE YOU PIECE OF SHIT

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-05-04 02:25:40 +00:00
rtldg
e0162afce3 update changelog 2022-04-27 18:59:17 +00:00
rtldg
7c842afdf0 v3.2.0 2022-04-27 16:04:24 +00:00
rtldg
c8ed191d11 m_iPrimaryAmmoType can be -1 for knives 2022-04-26 14:55:35 +00:00
rtldg
b2b2fe3344 add fClosestReplayLength to huddata_t and Shavit_GetClosestReplayTime 2022-04-23 17:09:35 +00:00
rtldg
b956ffb8aa make the reset checkpoints button also trigger Shavit_OnDelete (#1138) 2022-04-23 13:41:51 +00:00
rtldg
158f0b8546 disable the extra css ladder stuff from checkpoints for now 2022-04-21 13:22:44 +00:00
rtldg
c170393447 add UppercaseString because why not 2022-04-16 00:33:28 +00:00
rtldg
1230bf9266 remove Shavit_Core_CookiesRetrieved 2022-04-15 22:33:08 +00:00
rtldg
9902b8adac some potential steamid future proofing 2022-04-12 18:42:25 +00:00
rtldg
1802f998fc add some more semi-tested ladder stuff to checkpoints 2022-04-12 02:14:58 +00:00
rtldg
9d771dfdba move TimerAction enum to shavit-checkpoints.sp 2022-04-11 14:03:58 +00:00
Shahrazad
6d208a8595
merge CP menus & shavit-kz.sp, etc. (#1137)
* fix normal CP menu spams on changing the style from non-kz to kz styles

* fix normal CP menu spams on changing from non-kz to kz styles, again

* merge OpenKZCPMenu() into OpenNormalCPMenu() and rename it to OpenCPMenu()

* fix handle error on server restart in KZCP styles

* 1. Added "kzcheckpoints_ontele" and "kzcheckpoints_ontele" style settings(merged in `shavit-kz.sp`).
2. Added "force"(ignore style access) parameter for "Shavit_LoadSnapshot()" and "Shavit_LoadCheckpointCache()".
3. Made "segments" as a style setting instead of special strings.
   (use "segments" as specialstrings is still feasible)

note: maybe better to change TAS's default ranking multiplier to "0.0" since segmented style is also "0.0".

* 😵‍💫

* updated shavit-checkpoints.sp

* updated style-settings.sp
2022-04-11 13:58:18 +00:00
rtldg
c6ced66503 merge TrimTrailingInvalidUnicode into SanerGetClientName 2022-04-08 16:15:39 +00:00
rtldg
ad258dc047 fix table name array and move around 2022-04-02 12:40:46 +00:00
defiy
76aaecdb6e change autogain velocity setting so boosters on bhop_linear_gif aren't affected by vertical velocity 2022-03-29 03:58:20 +00:00
rtldg
e0bdbfc20f edit TRFilter_NoPlayers 2022-03-27 08:44:15 +00:00
rtldg
3a6592cc5e faster LowercaseString 2022-03-23 14:22:10 +00:00
rtldg
554606a210 move Shavit_GetStageWR/PB docs to wr.inc 2022-03-23 10:42:00 +00:00
rtldg
361884b17d correct style setting SetArray size 2022-03-23 10:25:52 +00:00
rtldg
57326e1843 edit Shavit_SaveCheckpointCache to add target & clone handles 2022-03-21 04:30:33 +00:00
rtldg
86af6ca07b removed Shavit_OnCheckpointCacheDeleted, added Shavit_SetTimesTeleported(), added Shavit_LoadCheckpointCache, and added Shavit_SaveCheckpointCache 2022-03-20 11:42:18 +00:00
rtldg
8f59007d1d change position logic again for Shavit_SetCheckpoint (#1133) 2022-03-19 12:34:15 +00:00
rtldg
91ec294f42 try to improve usage of handles in Shavit_SetCheckpoint() & fix errors (#1133) 2022-03-19 11:41:52 +00:00
Nairda
bcc82992e5
Update doc comments for Shavit_Core_CookiesRetrieved & Shavit_ShouldProcessFrame (#1131) 2022-03-18 02:21:49 +00:00
rtldg
de8a82707b add Shavit_OnSavePre & Shavit_OnTeleportPre and ignore return value from Shavit_OnSave & Shavit_OnTeleport 2022-03-14 01:47:15 +00:00
rtldg
033179edf0 v3.2.0a 2022-03-05 13:50:46 +00:00
rtldg
d77fa13ebe v3.1.3 2022-02-27 09:45:58 +00:00
rtldg
69445ebab5 add some more checkpoint forwards so mpbhops_but_working can work with segmented styles 2022-02-27 05:11:04 +00:00
rtldg
060ce5e660 check replay header for time if replay-playback is unloaded 2022-02-24 23:10:22 +00:00
rtldg
80e8480b7a add Shavit_GetReplayEntityFlags & have scroll count work for replay bots (non-prop) #1125 2022-02-24 06:24:33 +00:00
rtldg
2e791a8237 set wrname on wr for when the query takes a second 2022-02-21 19:15:32 +00:00
rtldg
a4e2dccc12 sort convars so finding things is easier 2022-02-18 02:23:23 +00:00
NukoOoOoOoO
9c634868cb
sm_czones implementation (#1119)
* Initial czones implementation

* ok men

* read cookie

* :pepega:

* Update shavit-zones.sp

* UltraThin lets goooo

* Translation, ZoneDisplay_None

* format a little bit

* more readable

* Fix typo and i did this on phone

* getting translation properly, thank you haze <3

* make GetZoneName check for >=ZONETYPES_SIZE

* i dont know why this was in common.txt, maybe parallel universe is real

* some random things

* combine custom-zone cookies

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2022-02-12 20:49:20 +00:00
rtldg
a6ade753fe add startinair style setting 2022-02-10 22:02:52 +00:00
rtldg
22c9e50ed7 remove some warnings & TODOs 2022-02-09 22:28:16 +00:00
rtldg
2ef8407292 add note to SanerGetClientName & sourcemod 1.11 2022-02-09 22:16:14 +00:00
rtldg
0bde3c42b6 add some random things to prevent stupid small replay files from trying to load or save 2022-02-09 20:50:49 +00:00
rtldg
26dfdcc927 invert this duck autogain nsl boolean 2022-01-29 15:30:36 +00:00
rtldg
d335ec7262 v3.1.2 2022-01-28 17:19:29 +00:00
rtldg
0000000868 use Plugin_Stop instead of Plugin_Handled in command-listener 2022-01-21 08:39:08 +00:00
rtldg
dd0059f15f use a formula for the max prestrafe 2022-01-19 12:38:27 +00:00
rtldg
b042a6c170 v3.1.1 & CHANGELOG.md 2022-01-19 11:09:53 +00:00
rtldg
7a11acf2e6 remove points_calced_from since it should only update on wr now so it's unnecessary 2022-01-19 09:41:01 +00:00
rtldg
c8c87347a5 move the tas setting defaults below the specialstring setter stuff 2022-01-15 17:12:40 +00:00
rtldg
2909a38179 fill replay name with steamid by default 2022-01-15 11:41:54 +00:00
rtldg
4d9f3f9a1b move this tas vel change into an else statement 2022-01-13 12:43:52 +00:00
rtldg
ac9b204ffd only 1 decimal for timescale in menu 2022-01-13 03:29:11 +00:00
rtldg
cdd8c56a5e v3.1.1a 2022-01-11 11:04:40 +00:00
rtldg
0133300a40 v3.1.0 2022-01-11 10:14:39 +00:00
rtldg
f474a944ae option whether to draw !keys in the center or menu for csgo 2022-01-11 07:54:31 +00:00
rtldg
ec881bbae5 some final touch ups 2022-01-09 19:28:37 +00:00
rtldg
46550e7a83 extend some hud stuff 2022-01-09 13:48:39 +00:00
rtldg
7675b60567 hud forward stuff 2022-01-09 10:48:48 +00:00
rtldg
b11b82b286 update some random strings 2022-01-07 16:52:12 +00:00
rtldg
0cc406c962 add 0.5x playback for replay bots 2022-01-05 21:08:26 +00:00
rtldg
776d32b0ef fix NoPlayers trace filter used for IsSurfing 2022-01-05 08:50:30 +00:00
rtldg
85c1617658 adjust specialstring style key setting 2022-01-05 08:14:26 +00:00
rtldg
3a87717250 correct tas style settings names 2022-01-04 14:56:12 +00:00
rtldg
baa824e872 add Shavit_GetZoneTrack, Shavit_GetZoneType, and Shavit_GetZoneID 2022-01-04 14:25:51 +00:00
rtldg
e8e8f71657 rename some tas things & give style settings per feature 2022-01-04 13:31:42 +00:00
rtldg
ccb0caee7b add edge-jumping to tas 2022-01-03 17:59:21 +00:00
defiy
4880735a71 use different way of setting velocity in tas-oblivious to help with boosters boosting too much (like on bhop_ragequit) 2022-01-03 07:58:17 +00:00
defiy
6bc371e940 handle +duck for autogain 2022-01-02 17:42:35 +00:00