Commit Graph

454 Commits

Author SHA1 Message Date
jedso
119e7ff4c8 Store SQLite mapzones CREATE TABLE statement for re-use in migration 2022-10-01 21:37:24 +09:30
jedso
b0889f77ee Change mapzones CREATE TABLE for SQLite to use INTEGER PRIMARY KEY 2022-10-01 21:36:45 +09:30
jedso
e196e04de6 Add query to check for NULL SQLite id row in mapzones 2022-10-01 21:34:28 +09:30
rtldg
2b2a1fcb12 queue migrations slightly better to handle multiple queries (relevant to #1176) 2022-09-29 06:17:33 +00:00
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