Commit Graph

1858 Commits

Author SHA1 Message Date
olivia
2726865399
shavit-misc Add cvar UnNoclipOnRestart (#1232)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
* shavit-misc Add cvar UnNoclipOnRestart


Add functionality to turn off noclip on timer restart, disabled by default u.u

I used to use a separate plugin I made for this, but figured it should be in the main plugin itself as a cvar instead. Since adding as a cvar, may as well see if it is wanted upstream.

* shavit-misc.sp shavit_misc_unnocliponrestart 1 by default (^:
2025-04-11 01:41:20 +00:00
rtldg
420c8e02ea Fix not being able to overlap bonus+main endzones
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-03-30 20:01:59 +00:00
swaggamer69
78f55f9a1a
swap sm_p to sm_noclip in shavit_misc_noclipme description (#1230)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-03-23 06:48:02 +00:00
rtldg
e072be6313 Check ModifySpeed case-insensitively for player_speedmod
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-03-13 10:55:58 +00:00
rtldg
bf5ec55a6a save m_afButtonDisabled & m_afButtonForced in checkpoints (mainly for player_speedmod)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
this makes kz_bhop_genkai a bit more bearable at times

this also isn't perfect since restarting doesn't reset them
2025-03-09 07:49:04 +00:00
rtldg
2013968f1c We will ALWAYS have the extra CSS ladder checkpoint variables
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-03-06 12:33:27 +00:00
rtldg
90a6714beb
Fix things (for CS:S) after 2025-02-18 update (#1226)
* some wip windows gamedata

* maybe correct cstrike x32 linux gamedata

* update some offsets with x64 versions

* x64 offsets for ladder things

* maybe okay x64 css sigs

* fill out the OS and X64 offsets more

* A few typos

* Try to fix m_surfaceFriction for TAS

* rolls around on the floor groaning

* remove unnecessary CHECKED comments in gamedata

* update workflow versions

* Migrate from ProcessMovement/ProcessMovementPost to PreThink/PostThinkPost

* Revert "Migrate from ProcessMovement/ProcessMovementPost to PreThink/PostThinkPost"

This reverts commit c829a783b0.

* Make sure MaybeDoPhysicsUntouch() is called in ProcessMovementPost

* misc

* Prevent changing sv_autobunnyhoping (like via .cfg files)

* Don't break CSGO TAS yet

* Edit some gamedata comments
2025-03-06 12:14:36 +00:00
rtldg
8ecc2a7829 Some autobhop zone fixes
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
commit d451cee41dc2f59fb367141bfd62ddcc778101c0
Author: rtldg <rtldg@protonmail.com>
Date:   Fri Feb 28 12:18:37 2025 +0000

    add another customzones cookie womp

commit d1395bcc6836cd01f2751ac9fd104124c7affeff
Author: rtldg <rtldg@protonmail.com>
Date:   Fri Feb 28 12:18:29 2025 +0000

    Fix Autobhop zones not replicating sv_autobunnyhopping

commit c225702fc50964684734f2fb64b190edac54db0c
Author: rtldg <rtldg@protonmail.com>
Date:   Fri Feb 28 12:18:11 2025 +0000

    make autobhop & nojump zones visible by default
2025-02-28 12:20:41 +00:00
rtldg
23fa606920 Fix typo from #1201
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-22 11:17:00 +00:00
rtldg
f54775044c didn't save a file for the func_rot_button commit...
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-19 00:25:11 +00:00
rtldg
04ad339fe8 Add handling for func_rot_button zones 2025-02-16 02:07:12 +00:00
rtldg
94ebb97c79 check for sv_autobunnyhopping even if not csgo 🕵
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-12 00:20:08 +00:00
rtldg
b150073754 make shavit-mapchooser grab tiers even if not mysql
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-02-11 03:52:42 +00:00
rtldg
ad48aa3345 fix some advertisements colors not working 2025-02-11 03:51:53 +00:00
rumour
2bbb3865f8 make !beamer more reliable and stuck in walls less (if at all!)
Some checks failed
Compile / Build SM ${{ matrix.sm-version }} (1.11) (push) Has been cancelled
Compile / Build SM ${{ matrix.sm-version }} (1.12) (push) Has been cancelled
Compile / Release (push) Has been cancelled
2025-01-20 00:32:15 +00:00
Awe
e5976001cf Fix database verison parsing 2025-01-10 14:17:53 -05:00
rtldg
57e3dce711 experiment with calling EntityCollisionRulesChanged on solid zone p2 2025-01-04 02:16:18 +00:00
rtldg
dfc9276edc fill changelog for next release (when?) 2025-01-04 02:13:05 +00:00
rtldg
3175172241 experiment with calling EntityCollisionRulesChanged on solid zones 2024-12-14 17:20:33 +00:00
rtldg
2dd385a8eb okay actually fr unbreak sm 1.12 workflow builds 2024-11-16 17:15:35 +00:00
rtldg
54c04a0219
Update shavit-wr.sp 2024-11-16 16:56:44 +00:00
rtldg
17e60114a4
probably unbreak sm 1.12 builds with my good friends fempty and bempty 2024-11-16 16:52:18 +00:00
Awe
7c80025574 Add new zone types to hookzone menu 2024-10-30 16:49:00 -04:00
rtldg
9434dc9438 edit the DeprecateExactInt sql error handling a bit for #1218 2024-10-18 04:22:13 +00:00
rtldg
187bd2c975 do something to not error on negative sv_friction and negative sv_accelerate 2024-10-09 04:45:35 +00:00
rtldg
e41ba9fa95 probably fix exact_time_int deprecation issue (#1218) 2024-10-02 02:44:31 +00:00
rtldg
f96a57412b rename FillBoxMinMax to BoxPointsToMinsMaxs 2024-10-02 02:41:36 +00:00
rtldg
ee0fe65b01 fix bad casts that broke Custom Airaccelerate & Custom Speed Limit zones from 7aca8755a4 2024-09-23 04:05:13 +00:00
Nairda
1b67644197
Clarify logic for testing writeability with faketestfile_69.replay (#1217)
* Update replay-stocks.sp

* Update replay-stocks.sp

XDDD

* Update replay-stocks.sp

ecksdee.

* Update replay-stocks.sp

f.. you

* Update replay-stocks.sp

hucvfrsdtbh
2024-09-23 01:36:25 +00:00
rtldg
fee7df2919 document some API structs 2024-09-23 01:34:52 +00:00
rtldg
bac325cd07
Add comments next to the magic editaxis string 2024-08-20 18:12:31 +00:00
Awesomerly
c9cfbefa27
Add no-jump and autobhop zones. (#1216)
* Make no jump zone appear in menu

* Preliminary implementation of nojump zone

* Add scaffolding for autobhop zone

* Add implementation of autobhop zone

* Add new zone types to shavit-zones-json

* some touchups for the autobhop & nojump zones

---------

Co-authored-by: rtldg <rtldg@protonmail.com>
2024-08-20 17:53:24 +00:00
rtldg
da78976c56 add shavit_zones_enable_stage_restart & make !stagerestart send you to startzone if your timer is stopped 2024-08-09 17:27:06 +00:00
Awe
4465e53d3b Make stage restart command take player to beginning in end zone 2024-07-30 12:43:06 -04:00
rtldg
101ab536ab todo comment next to the OnLeaveZone stuff for AirAccelerate & Custom Speed Limit zones 2024-07-29 13:54:27 +00:00
rtldg
feeb4ae445 try to fix errors with looping replay bots that use disabled styles
L 07/25/2024 - 19:46:15: [SM] Exception reported: Array index out-of-bounds (index -1, limit 256)
L 07/25/2024 - 19:46:15: [SM] Blaming: shavit/shavit-replay-playback.smx
L 07/25/2024 - 19:46:15: [SM] Call stack trace:
L 07/25/2024 - 19:46:15: [SM]   [1] Line 3620, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::FindNextLoop
L 07/25/2024 - 19:46:15: [SM]   [2] Line 1924, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::AddReplayBots
L 07/25/2024 - 19:46:15: [SM]   [3] Line 1542, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::Timer_Cron
L 07/25/2024 - 19:46:18: [SM] Exception reported: Array index out-of-bounds (index -1, limit 256)
L 07/25/2024 - 19:46:18: [SM] Blaming: shavit/shavit-replay-playback.smx
L 07/25/2024 - 19:46:18: [SM] Call stack trace:
L 07/25/2024 - 19:46:18: [SM]   [1] Line 3620, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::FindNextLoop
L 07/25/2024 - 19:46:18: [SM]   [2] Line 1924, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::AddReplayBots
L 07/25/2024 - 19:46:18: [SM]   [3] Line 1542, D:\sourcemod-1.10.0-git6545-windows_v3.4.2\addons\sourcemod\scripting\shavit-replay-playback.sp::Timer_Cron
2024-07-29 13:53:58 +00:00
Nairda
2751ec1f2d
Use "KiD Fearless" instead of "kidfearless" in shavit-checkpoints author list (#1214)
OCD fix
2024-07-29 13:49:52 +00:00
rtldg
7aca8755a4 force sv_enablebunnyhopping 1 in Custom Speed Limit zones (for _strafe); make AirAccelerate & Custom Speed Limit zones check the player's track #1212 2024-07-24 18:35:47 +00:00
rtldg
e35e835841 shavit-replay-playback: hook triggers on late-load 2024-07-11 09:58:18 +00:00
rtldg
4652e36cc6 allow the !recentrecords menu to be sorted by style 2024-07-06 10:05:53 +00:00
rtldg
3609adf2aa use style runspeed instead of m_flMaxspeed for tas (and autoprestrafe)
(autoprestrafe is broken on 250 runspeed otherwise...)
2024-06-02 20:15:22 +00:00
BoomShot
654f9aa239
Allow updating replay bot name without being a WR
This allows editing the replay bot's name through the frame_cache_t of the replay data, which is useful for personal replays. Without this change, the replay bot's name after calling Shavit_StartReplayFromFrameCache would be the current WR's player name.
2024-05-28 00:07:04 -04:00
Awesomerly
2805cd94c6
Add teleport to stage start command (#1207)
* Add teleport command

* Slight cleanups for sm_teleport

* Make stage restart only work if map is surf

* Change /teleport to be /stagerestart, etc

* Make sm_teleport behave like sm_tele

* Unregister /sr command because it's already taken

* Update shavit-zones.sp

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2024-04-27 19:55:42 +00:00
rtldg
b773e74049
Merge pull request #1208 from Awesomerly/dhook_rm
Remove dhooks include file
2024-04-27 00:01:34 +00:00
rtldg
6751aa323b purge BotAddCommand gamedata and revert to bot_add (but add ServerExecute()) 2024-04-26 23:45:52 +00:00
Awe
659d70af24 Remove dhooks include file 2024-04-24 14:56:14 -04:00
rtldg
1f1a897927 silly sourcemod sizeof array syntax 2024-04-23 21:00:39 +00:00
rtldg
16a927cd91 drop support for sourcemod 1.10 2024-04-23 20:53:18 +00:00
rtldg
5814a7c3d8 revert to tf_bot_add instead of NextBot.. gamedata & fix maintainbotquota sig 2024-04-23 19:47:21 +00:00
rtldg
9876d4c3db caught this in tf2 because when you spawn the observer target is a camera or something 2024-04-23 19:40:01 +00:00
rtldg
b63e3c8f8f sm 1.11 ifdef wrapper 2024-04-23 18:57:42 +00:00
rtldg
5421c6006a working PreventBunnyJumping on Windows 2024-04-19 20:59:22 +00:00
rtldg
7ce6233cf4 wip tf2 stuff post 2024-04-18 2024-04-19 18:08:41 +00:00
rtldg
66c730a897 fixups for mapchooser nominate menu after sqlite support was added to shavit-rankings 2024-03-26 20:02:27 +00:00
rtldg
1102a0971c
Merge pull request #1195 from Nairdaa/patch-35
Update shavit-mapchooser.sp
2024-03-12 12:58:13 +00:00
Nairda
388f561f58
add backwards check for sync (#1194)
* add backwards check for sync

* Update shavit-core.sp

now it works
2024-03-12 12:57:49 +00:00
Nairda
c2dbf6d779 Update shavit-core.sp
add backwards hsw sync
2024-03-12 12:55:15 +00:00
enimmy
d57ec73adb
add keyhint forwards and forceUpdate (#1201)
* add keyhint forwards/remove unused params from topleft forwards

* allow forcing keyhint through pre forward

* implement track/style params, edit force updating logic

* doc touchups

* fix typo

* do some styling since the blame was already affected by the indentation changes

---------

Co-authored-by: Nimmy2222 <99696781+Nimmy2222@users.noreply.github.com>
Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2024-03-12 12:51:37 +00:00
rtldg
7fb0f45c2c This rankings query was doing the wrong thing in WHERE 2023-12-13 09:29:23 +00:00
rtldg
e8ff7fe663 increase menu-input blocker length 2023-12-13 09:21:25 +00:00
rtldg
c2a9017810
Make sure CSS uses the more ladder checkpoint stuff 2023-11-18 02:59:38 +00:00
rtldg
f6fdd7b0aa untested In Start/End zone speed removal if !hud removed speed... 2023-08-08 17:41:27 +00:00
Nairda
c6c38b0816
Update shavit-mapchooser.sp
ocd
2023-07-06 04:35:24 +02:00
rtldg
d69bd18407 stop that random map change thing 2023-07-04 01:23:01 +00:00
rtldg
d48ed993c6
Merge pull request #1193 from Nairdaa/patch-33
fix hsw sync
2023-06-21 01:45:17 +00:00
rtldg
309aa7a189 get the shavit_misc_prespeed 1&&>=3 working again with the on-ground timer 2023-06-21 01:41:07 +00:00
Nairda
5a0b8c2df5
fix hsw sync 2023-06-20 22:37:57 +02:00
azalty
ca60971410
Godmode fix for DMG_CRUSH and point_hurt (#1188)
* godmod fix for DMG_CRUSH and point_hurt

* Added the "shavit_misc_godmode 4" option

* fix error about `default` case not being last. `default` can be removed too since the convar has min/max limits

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2023-04-29 14:59:44 +00:00
rtldg
4bbef8aa61 don't eat non-timer bot names - for nuko 2023-04-27 16:11:11 +00:00
rtldg
31fcd7ecb5 don't let tf2 bots duck on surf ramps. it makes the spec view look fucky 2023-04-27 15:07:07 +00:00
rtldg
3a1e6a60cd timeleft hud - minutes to seconds at 150s 2023-04-10 11:03:59 +00:00
rtldg
afdf236fe9 round up fractional ticks when calculating finish time 2023-04-09 13:24:18 +00:00
rtldg
9423ef79ad save !wr menu record page for back button 2023-04-09 13:11:11 +00:00
rtldg
79c307fea8 fix maplist type 3 not clearing maps list 2023-03-31 05:42:52 +00:00
rtldg
fee8edeeda make sure it logs about sqlite pow hate 2023-03-16 10:35:04 +00:00
rtldg
787aa8ff34
sqlite rankings support & GetWeightedPoints deprecation (#1182)
* Wip sqlite rankings support & GetWeightedPoints deprecation

* Update shavit-rankings.sp

* maybe everything is working now?
2023-03-16 10:24:40 +00:00
rtldg
9210b84d50 fix some native definition & optional things 2023-03-06 23:38:04 +00:00
rtldg
3757993e50 make replay frames resize failures not kill the server 2023-03-04 06:46:45 +00:00
Jacob Davidson
e4c58dd952
Added map reroll to Shavit-MapChooser (#1184)
* Added map reroll to Shavit-MapChooser and necessary update to phrases

* fixed wr replay for Shavit-Ghost

* fixed to work with latency

* Fixed issues with Pull Request

* Delete shavit-ghost.sp

* fixed if statments to be consistant and removed spaces/tabs

* additional spaces removed

* Removed Bool and fixed translations

* Fixed nomination issue and map loop issue

* Fixed Novote bug by adding check for reroll.

* small touchs of love

---------

Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
2023-02-26 07:09:13 +00:00
Nairda
a4c214c981 fix showing 100% perf with no jumps on scroll 2023-02-26 05:57:48 +00:00
xhaooy
9eceb51ea6 reset hp on restart #1187
Co-authored-by: rtldg <rtldg@protonmail.com>
2023-02-26 05:48:19 +00:00
xhaooy
830ebc1b73 reset sv_enablebunnyhopping & sv_airaccelerate flags for late loading #1187
Co-authored-by: rtldg <rtldg@protonmail.com>
2023-02-26 05:44:01 +00:00
rtldg
7bd954880a RecalcHighestStage typo caught by Haze 2023-02-23 20:15:00 +00:00
rtldg
888b4be951 fix maplist clearing after sm ReadMapList fix 2023-02-21 21:35:41 +00:00
rtldg
afa6b07da8 fix wrong variable used in LessStupidGetMapDisplayName 2023-01-05 11:48:58 +00:00
rtldg
b468f9d67a fix stale zone cache entries being checked, preventing start/end zone placement sometimes 2023-01-04 20:49:56 +00:00
rtldg
bb49da4d9c add !specbot to shavit-misc as an alias for !spec ... (which makes it spec the replay bot if it exists) 2022-12-30 12:12:00 +00:00
rtldg
412812693f update steamid-stocks to handle 64-bit ids on csgo 2022-12-30 12:11:32 +00:00
rtldg
9400b7c7e3 probably fix a bug that allowed you to rtv to a different map after the mapvote can change the map from a previous rtv 2022-12-26 05:49:33 +00:00
rtldg
6ded3770d6
fix typo in shavit_core_save_ips description 2022-12-17 01:18:06 +00:00
rtldg
2dbb211742 move 0.11s timer absolute minimum stuff 2022-12-02 00:46:20 +00:00
rtldg
1f8461f64b make salvage replay-files have frame-count in filename 2022-12-01 23:39:06 +00:00
rtldg
cbf703bb9f
suppress another missing return value warning 2022-11-25 21:34:40 +00:00
rtldg
e0c59404c3
supress warning about missing explicit return value 2022-11-25 21:30:49 +00:00
rtldg
62d508705f shit code for !editmi 2022-11-16 00:40:07 +00:00
rtldg
2bcd20fac7 make ZF_Origin store floats with decimals instead of as hexadecimal
(this makes it more readable in json dumps of zones)
2022-11-15 21:33:36 +00:00
rtldg
960484585d I keep forgetting things and making a million commits 2022-11-14 22:15:19 +00:00
rtldg
5fec9a2fe1 change url paths 2022-11-14 22:10:43 +00:00
rtldg
12d7e5590d zones typo galore 2022-11-14 20:42:59 +00:00
rtldg
9cf9d7ff27 shavit-zones-http -> shavit-zones-json & some shit 2022-11-14 19:47:08 +00:00