Commit Graph

121 Commits

Author SHA1 Message Date
rtldg
489fd3cbf1 add something to the !wr menu to open steam profiles... 2022-06-27 14:25:27 +00:00
rtldg
85adfa3bb2 add space to translation because it prints the color code 2022-06-12 14:50:56 +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
7dddfe25f3 make wr menu also print steamids to chat for #1146 2022-05-25 13:01:07 +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
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
9a3b80f418 fix checkpoint menu message from showing every kz-style change 2022-04-27 15:44:04 +00:00
rtldg
f642afe016 add max checkpoint count to checkpoint menu 2022-03-22 04:08:59 +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
22c9e50ed7 remove some warnings & TODOs 2022-02-09 22:28:16 +00:00
NukoOoOoOoO
e43c011711
basic autostrafe (#1114) 2022-01-15 12:56:38 +00:00
rtldg
f474a944ae option whether to draw !keys in the center or menu for csgo 2022-01-11 07:54:31 +00:00
NukoOoOoOoO
3be3b4e3b2
Implementation of !pb / !time (#636) (#1108)
* Initial implementation of !pb / !time

* Lowercase map name
2022-01-07 14:41:55 +00:00
rtldg
0cc406c962 add 0.5x playback for replay bots 2022-01-05 21:08:26 +00:00
rtldg
e8e8f71657 rename some tas things & give style settings per feature 2022-01-04 13:31:42 +00:00
rtldg
a115632b7b add chat messages for tas commands 2022-01-04 08:04:27 +00:00
rtldg
ccb0caee7b add edge-jumping to tas 2022-01-03 17:59:21 +00:00
rtldg
240caba1a2 tas & timescale menu changes 2022-01-03 07:40:49 +00:00
rtldg
b34a4e6677 add key overrides to tas menu 2022-01-02 17:26:29 +00:00
rtldg
ba5ad21661 add tas settings menu & missing autojump natives 2022-01-02 15:40:59 +00:00
rtldg
2fa06031de shape into shavit-tas 2022-01-02 11:49:00 +00:00
rtldg
578dd01e1a add +/- timescale to checkpoints menu 2022-01-02 05:54:41 +00:00
rtldg
c00865c9ee make debug targetname thing a !hud option instead of cvar 2021-12-31 18:58:30 +00:00
rtldg
4aac85d3fd add some tas_timescale stuff and stuff kid-tas 2021-12-29 09:23:57 +00:00
rtldg
c55531168d add Zone_NoTimerGravity and Zone_Gravity 2021-11-28 21:56:05 +00:00
Nairda
92a123de78
remove new line cus puff asked 2021-11-22 06:44:30 +01:00
Nairda
7bcea67f9e
Update shavit-chat.phrases.txt 2021-11-22 06:38:41 +01:00
Nairda
3613676b81
fix typo 2021-11-22 06:30:11 +01:00
rtldg
bc978b6add send message to target player after !ccadd 2021-11-22 03:27:10 +00:00
rtldg
30935885d4 merge !ranks and !chatranks 2021-11-12 21:21:21 +00:00
rtldg
7e04e840c4 mess around with the csgo hud a bit 2021-11-06 13:55:41 +00:00
rtldg
f344fddcdf add Loading to zone hud 2021-11-03 10:34:57 +00:00
rtldg
9cb2298764 add !tptozone 2021-11-02 18:51:47 +00:00
rtldg
2fc7254149 add minimum_time & minimum_time_bonus style settings 2021-10-28 13:53:44 +00:00
rtldg
8a31bc84aa replace shavit_misc_weaponsspawngood with !hud settings. also add default-pistol thing 2021-10-26 20:41:18 +00:00
Nukoooooooo
3a3b3027e7 Rework stats menu 2021-09-16 01:10:16 +08:00
Nairda
a24891a923
such grammar much wow
thx Sirheph
2021-09-13 17:55:36 +02: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
1954583070 add !ihate!main 2021-08-28 00:39:37 +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
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
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
87e64c87c7 add HUD2_VELOCITYDIFFERENCE 2021-06-08 15:39:52 +00:00
rtldg
a2735d8a2a add kind of jank replay fastforward / rewind 2021-05-08 10:37:26 +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
57e9072b19 remove bot_quota, disable it, and call BotAddCommand directly 2021-04-11 01:20:06 +00:00