Commit Graph

1784 Commits

Author SHA1 Message Date
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