Skip to content

Releases: shavitush/bhoptimer

v3.4.2 - Long overdue edition (Extended Director's Cut)

17 Oct 12:39
Compare
Choose a tag to compare

v3.4.1...v3.4.2

Bug fix release for v3.4.0 / v3.4.1. See the changelogs here: https://github.com/shavitush/bhoptimer/releases/tag/v3.4.0
https://github.com/shavitush/bhoptimer/releases/tag/v3.4.1

  • mark SteamWorks_SetHTTPRequestAbsoluteTimeoutMS as optional in shavit-zones-http f16b9aa
  • faster mysql query for the deprecate exact_time_int stuff (and more migration logging) 07727e1
    • the transaction batches turned out to be REALLY slow

v3.4.1 - Long overdue edition (Director's Cut)

16 Oct 21:56
Compare
Choose a tag to compare

v3.4.0...v3.4.1

Bug fix release for v3.4.0. See the changelog for v3.4.0 here: https://github.com/shavitush/bhoptimer/releases/tag/v3.4.0

  • fix leaderboard times from mysql not parsing correctly (after the deprecation of exact_time_int in v3.4.0 894b039) 4fee1e4
    • Mysql returns formatted floats with commas when it's >=1000 (like 2,095.12345123). The comma makes DBResultSet.FetchFloat (atof internally) return 2 instead of 2095.12345123.
  • potentially fix segmented replay saving edge case & add some error logging if replay files can't be opened for writing 5ac888c

v3.4.0 - Long overdue edition

14 Oct 15:33
Compare
Choose a tag to compare

Edit 2022-10-22: attached updated gamedata for CSGO (Windows + Linux)

v3.4.2

  • mark SteamWorks_SetHTTPRequestAbsoluteTimeoutMS as optional in shavit-zones-http f16b9aa
  • faster mysql query for the deprecate exact_time_int stuff (and more migration logging) 07727e1
    • the transaction batches turned out to be REALLY slow

v3.4.1

  • fix leaderboard times from mysql not parsing correctly (after the deprecation of exact_time_int in v3.4.0 894b039) 4fee1e4
    • Mysql returns formatted floats with commas when it's >=1000 (like 2,095.12345123). The comma makes DBResultSet.FetchFloat (atof internally) return 2 instead of 2095.12345123.
  • potentially fix segmented replay saving edge case & add some error logging if replay files can't be opened for writing 5ac888c

v3.4.0

v3.3.2...v3.4.0

Note: Release includes eventqueuefix 1.3.1 which works with Sourcemod 1.10/1.11 Windows/Linux

Thanks to all the contributors who pushed this release along by making PRs which made me feel guilty for slacking.

v3.3.2 - bug fixes 2 📲 👙 🍌 ⛩ 🕗 🖋 🐰 🚨 🐂 😘

20 Jul 19:59
Compare
Choose a tag to compare

v3.3.1...v3.3.2

  • some czones bugfixes
    • fixed bonus 1 using the same settings as main (bug since 3.3.0) 684ade8
    • fixed czone cookies when using mysql but reverting all the fun space saving stuff 1e7459a
  • made the !editzone adjust menu not have multiple pages bf25061
  • some random things & doc updates 898c463 @BoomShotKapow 7878784
    • also only increases strafe count when not-on-ground now
  • added bhop_avantasia to mapfixes to set rngfix_triggerjump 0 because of one of the roofs with the ac units or whatever they are @lilac1337 cec7805
  • made looping replay bots spawn on different ticks to hopefully help the people who get the occasional script execution timeout f703aca

v3.3.1 - bug fixes 🥤

11 Jul 14:48
Compare
Choose a tag to compare

v3.3.0...v3.3.1

A release for all the bugs that cropped up for the zones stuff & for the ccname thing.

I did make releases for a couple (v3.3.0-2 through v3.3.0-4) but that was sloppy versioning and then I was too busy to make a release with more of the bug fixes...

Eventqueuefix note: the release zip includes a version for Sourcemod 1.10 & for Sourcemod 1.11. The 1.11 version comes from @BoomShotKapow hermansimensen/eventqueue-fix@ce28b30. More info here hermansimensen/eventqueue-fix#19. It's needs more testing according to @hermansimensen so feel free to help :) nevermind

  • fixed a couple of ccname bugs that came from v3.3.0 0360b95 d78393f
  • split mapzones form & target migration so the query can be compatible with sqlite 6dc1fb6
  • !addspawn broke after zones wip pr so bdfa61e
  • added a_or_d_only style setting so you can have a single merged style for a-only & d-only if you want 64bd95a 7e44264 (#1150)
  • reverted a change made to the !top query so we have the pretty commas separators again 1449b9b
  • added a menu for !deletesetstart 8900e4b
  • fixed zones not deleting from the database if you create then delete them without reloading the map fb42a37 4ac0b4d
  • fixed zones sometimes not being created on maps that autohook buttons & other prebuilt zones 0f7360f
  • don't draw zone boxes around hooked buttons 27ec578
  • added hooking by origin (ZF_Origin zone flag) & fixed a lot of broken button stuff 5c14dfc
    • really should've used a different struct member for ZF_Origin/ZF_Hammerid instead of using flags but whatever :^)
  • made shavit-mapchooser not break if shavit-rankings throws errors about a sqlite db (#1149) a778908
    • this is more of a bandaid until I make shavit-rankings queries for sqlite & postgresql (#1148)

v3.3.0 - zone stuff & bloat

28 Jun 02:55
Compare
Choose a tag to compare

v3.2.0...v3.3.0-3

Note: Contributors and more copyright attributions were added to files and plugins mostly by skimming through git blame. If a name was missed or should be added/removed, please let me know (also the ordering of names was pretty random)

Edit: bhoptimer-v3.3.0-2.zip = includes 0360b95
Edit: bhoptimer-v3.3.0-3.zip = includes 6dc1fb6
Edit: bhoptimer-v3.3.0-4.zip = includes bdfa61e

zone stuff

  • main commits e3aac2d 4315221
  • new cvars:
    • shavit_zones_usesql: Whether to automatically load zones from the database or not. If you're using standardized zones from some source with shavit-zones-http, then you'd change this cvar to 0 for example.
    • shavit_zones_useprebuilt: Whether to automatically hook trigger_multiple zones like climb_zone* and mod_zone*.
    • shavit_zones_usebuttons: Whether to automatically hook climb_* buttons...
  • you can now hook trigger_multiples, func_buttons, and trigger_teleports by their hammerids or by targetname (trigger_multiple/func_button) / target (trigger_teleport).
    • trigger_teleports should usually be hooked by hammerid because hooking by target is a bit iffy.
    • there's a menu that shows all the hookable things and the player's distance to them. also a menu option to hook the thing the player is looking at...
    • oh yeah, it's sm_hookzone and also in the Timer Commands menu
  • shavit-zones-http.sp added. maybe sourcejump can use it or something.
    • this plugin is also a good example of how to use the new APIs for adding zones from other plugins.
    • The dependencies & headers (sm-json & ripext) for this plugin are not included in the bhoptimer repo. You'll have to retrieve them yourself for now if you intend to compile this.
  • zone points are now be normalized (sql migration and when sending to db). corner1 turns into the zone mins and corner2 turns into the maxs.
  • a "speed" zone config thing was added for zones. you can add this key to shavit-zones.cfg to make zone beam textures move.
  • api and stuff:
    • zone_cache_t is now usable for adding zones from other plugins.
      • forward Shavit_LoadZonesHere() is where you should add zone_cache_t's from other plugins
    • removed Shavit_GetStageZone() as it doesn't work well with multiple stage zones.
    • added Shavit_ReloadZones(), Shavit_UnloadZones(), Shavit_GetZoneCount(), Shavit_GetZone(), Shavit_AddZone(), and Shavit_RemoveZone()
    • MAX_ZONES 64->128. MAX_STAGES 51->69.

everything else

  • added an option to use an duplicate other players' checkpoints (#1142) @sh4hrazad 487e3db
    • You can toggle this with shavit_checkpoints_useothers (default: 1)
    • new parameters added to Shavit_OnTeleportPre, Shavit_OnTeleport, Shavit_OnSavePre, Shavit_OnSave, Shavit_OnCheckpointMenuSelect, and Shavit_TeleportToCheckpoint
  • changed czone settings to let all zone types be configurable. made the settings for bonuses apply to every bonus ab73e36
  • added Zone_Speedmod so oblivious could have fun bonuses acf47a1
    • avoid putting these inside of entites that trigger a map's player_speedmod because they'll probably override each other randomly
    • also gravity zones should show the gravity amount in zone edit menus now
  • added the !maprestart & !mapreload aliases a23348d
  • add csgo stripper:source configs for workshop/2117675766/bhop_craton, workshop/1195609162/bhop_bless, and workshop/859067603/bhop_bless d816423
    • also a config for a shit mod_zone_start on bhop_n0bs1_css was added
  • added ent_fire to cheat commands list since it can be used on csgo bc62b92
  • added HUD_SPECTATORSDEAD / !hud option Spectator list (only when dead) to hide the spectators list when you're alive because people spectating me makes me nervous 😵‍💫 22a68b4
  • added shavit_core_hijack_teleport_angles (temporary?) TODO description 53463d8
  • added an option to toggle the basic autostrafer on the autogain/velocity/oblivious autostrafer thing c2e5076
    • +Shavit_SetAutogainBasicStrafer, +Shavit_GetAutogainBasicStrafer, sm_autogainbss, +/-autogainbss
  • slay zones were changed slightly so the player-killer has a 100% success rate..... but make it only slay if the timer is running 96ef03e
  • made the !wr menu also print steamids to chat like the !profile menu does 7dddfe2
  • added sm_beamer d8a9dd7
  • added shavit_misc_bad_setlocalangles_fix for CS:S/TF2. fixes some func_rotating things that stop rotating 79baadf
  • the player's current value from player_speedmods is now reset to 1.0 on timer start. this shouldn't affect many things but it does help on deathrun_steam_works 8f11f9a
    • open an issue or join the discord if you encounter any problems with this please.
  • fixed the Timer Commands admin menu category disappearing or being wiped when some bhoptimer plugins are reloaded 09917f9
  • !ccmsg off and !ccname off were changed slightly ||i can't remember what the difference is now|| bfa9aa4
  • fixed some flag & admin checks for shavit-chat ranks when reloading or removing admin from people 41f5050 affac70
  • added buttons, scrolls, and anglediff to huddata_t 8e0e5ec
  • added back button to admin command menus 7c251ef
  • sqlite now automatically runs migrations too fa6ccdb
  • added shavit_core_log_sql and removed Database2/Transaction2 methodmap nonsense 0f44dd1
  • added an auto stage zone numbering thing for #1147 d922ceb
    • first stage thing is given 2... I'm not really sure what I want to do for this...
  • playtime saving sql queries from disconnecting players are now buffered & grouped into a transaction. so instead of on map change spamming like 12 queries, with the delay between queries for each, the timer will now just have to send one transaction to hopefully help with some slight sql query blockage on map change... fa28502
  • added shavit_replay_disable_hibernation for CS:S. 9cbed19
  • fixed permission style setting typo that came from the v3.1.0 release 1a03bda
  • updated tf2 gamedata for the 2022-06-21 update 178d42e
  • added some code to help deal with different sql db drivers. should help with porting queries to sqlite (shavit-rankings) & postgresql (sm 1.11) 4486528

v3.2.0 - checkpoints & resettargetname stuffffff

27 Apr 16:08
Compare
Choose a tag to compare

v3.1.3...v3.2.0

Lots of checkpoint API changes and also lots of changes to how the shavit_misc_resettargetname family works.

Protip: If you don't have eventqueuefix on your server then you're going to suffer through booster exploits & other broken shit.

Update shavit-mapfixes.cfg every release. It wasn't ever explicitly mentioned in release notes so I'll put it here.

Maps that have triggers in the start zone for resetting targetnames & classnames should now activate with @GAMMACASE's changes (#1123 / #1135) to the shavit_misc_resettargetname family, compared to previously where it wiped all events in the startzone and had a lot of cvars added to shavit-mapfixes.cfg to unbreak the maps.

If you have any new breakage on maps, let us know in the discord server or with a Github issue.

  • added Shavit_OnTeleportPre and Shavit_OnSavePre. The return values of Shavit_OnSave and Shavit_OnTeleport are now ignored. de8a827
  • fixed replay prop playback breaking due to a bad index 70f29d3
  • fixed replays not loading on the first map (and issues with creating replay directories too) (#1130) @Ciallo-Ani d58d3ee
  • Changed the behaviour of shavit_misc_resettargetname (#1123) @GAMMACASE 0fee186
  • renamed shavit_checkpoints_checkpoints to shavit_checkpoints_enabled b05393c
  • improved handle handling in Shavit_SetCheckpoint and added cheapCloneHandle as a parameter for #1133 91ec294
  • removed Shavit_OnCheckpointCacheDeleted. added Shavit_SetTimesTeleported, Shavit_LoadCheckpointCache, and Shavit_SaveCheckpointCache 86af6ca
  • added max checkpoint counter to checkpoint menu f642afe
  • moved shavit-mapchooser's CheckRTV to OnClientDisconnect_Post so it works properly ™️ 85ff178
  • corrected native definition file for Shavit_GetStageWR 554606a
  • made LowercaseString faster :pepega: 3a6592c
  • added bhop_drop's bonus to mapfixes fda64ad
  • prevent nominations from being put twice on the map vote ddb902e
  • changed oblivous autogain velocity stuff so boosters on bhop_linear_gif aren't affected by vertical velocity @defiy 76aaecd
  • added !nominatedmaps and !nominations as aliases for !nomlist (#1136) @Nairdaa d7785f9
  • removed reliable flag from centerhud and hinttext messages so they update faster and don't wait for an ack ea3bd05 cf5bc4b
  • merge checkpoint menus and shavit-kz.sp, etc (#1137) @sh4hrazad 6d208a8
    • fix normal checkpoint menu spams on changing the style from non-kz to kz styles
    • Added kzcheckpoints_ontele and kzcheckpoints_onstart style settings (merged in shavit-kz.sp).
  • some currently disabled ladder checkpoint stuff has been added 1802f99 158f0b8
  • made Shavit_StartReplayFromFile retrieve player name correctly aa1f0eb
  • removed Shavit_Core_CookiesRetrieved. tldr just check if client cookies are cached. 1230bf9
  • added shavit_hud_block_spotted_hint for CSS 48ffd9b
  • made the buttons in wr submenu not do stuff 14e71db
  • made the Reset Checkpoints buttons also trigger the Shavit_OnDelete callback. b956ffb
  • added fClosestReplayLength to huddata_t and Shavit_GetClosestReplayTime b2b2fe3
  • shavit_misc_weaponcommands now has options 4 and 5 for all weapons/grenades... a25417c c8ed191
    • might be buggy. let me know if there's problems.
// Enable sm_usp, sm_glock, sm_knife, and infinite ammo?
// 0 - Disabled
// 1 - Enabled
// 2 - Also give infinite reserve ammo for USP & Glocks.
// 3 - Also give infinite clip ammo for USP & Glocks.
// 4 - Also give infinite reserve for all weapons (and grenades).
// 5 - Also give infinite clip ammo for all weapons (and grenades).
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "5.000000"
shavit_misc_weaponcommands "2"

v3.1.3

27 Feb 09:54
Compare
Choose a tag to compare

v3.1.2...v3.1.3

edit: bhoptimer-v3.1.3-1.zip = included eventqueuefix license. bhoptimer-v3.1.3-2.zip = bug fix commit included from 70f29d3

small things mainly and might as well push out a release instead of waiting another two weeks. hopefully nobody notices that half the !czones colors don't work because overlapping beams fucks with the color intensity. might have a bigger release next that messes with how the replays are stored and the replay format.

  • included eventqueuefix 1.2.1 in release zip so people use the correct eventqueuefix version for the timer
  • invert this duck autogain nsl boolean 26dfdcc
  • added player_speedmod & m_flLaggedMovementValue values to debug targetname hud thing 9a5ff64
  • draw perfs keyhint even in startzone so the hud doesn't resize constantly 987eebb
  • don't let mp_humanteam get in the way of jointeam 1 (for css spectatemenu prompt on first join) a0153de
  • two stats playtime bugfixes 253321c 3636276
  • fixed lowgrav & ladders sometimes breaking still (in 2022) ef5ac14
  • added the startinair style setting which might be useful for non-bhop gamemodes like surf or tf2 stuff. might be exploitable so just let me know :^) a6ade75
  • @NukoOoOoOoO added !czones so players can change zone colors & style 9c63486 #1119
  • multiple maps added to shavit-mapfixes.cfg
  • don't start non-prespeed styles unless on ground for .5s 89e97df
  • modified prespeed_ez_vel to hopefully prevent invalid velocities & to make it work with just where the player is looking while standing still 98ee179
  • make shavit_zones_box_offset affect zones when changed mid-map 840490c
  • prevent "invalid" from showing up in the top left immediately after a new WR is made.2e791a8
    • adds a return value to Shavit_GetWRName
  • make the scroll count !keys display work for (non-prop) replay bots 80e8480
    • adds Shavit_GetReplayEntityFlags(), although it might be removed in the "near" future
  • prevent shavit-replay-recorder from overwriting faster replay files if shavit-replay-playback is unloaded 060ce5e
  • added more shavit-checkpoint forwards so third-party plugins can store custom data in checkpoints. 69445eb

v3.1.2

28 Jan 17:22
Compare
Choose a tag to compare

v3.1.1...v3.1.2

  • more robust max prestrafe limit thing to replace something from v3.1.1 dd0059f
  • fix crash that came with the player_speedmod hook 0000000
  • added bhop_lowg to mapfixes 7399512
  • small change to prespeed_ez_vel's internal stuff to maybe prevent the -2147483648 velocity thing from happening and freezing you 0000000

v3.1.1

19 Jan 11:12
Compare
Choose a tag to compare

v3.1.0...v3.1.1

Note: If you get errors like this then just restart your server because it should be a one-off thing.

[shavit-rankings.smx] Timer (WR Holder Rank table creation 0/4) SQL query failed. Reason: View 'shavit.wrs' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

[shavit-wr.smx] Timer (WR RetrieveWRMenu) SQL query failed. Reason: View 'shavit.wrs' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
  • made most of the shavit-timeleft time-remaining messages silent 6921f38
  • removed forgotten chat message when changing timescale b4d1383
  • added something to have an empty timer prefix with no preceding space 9adc56e
  • fixed shavit-stats error when not using shavit-mapchooser 6c88f45
  • make block_pstrafe do nothing when autostrafe is enabled 4167001
  • replay bot name is filled with steamid by default (which is helpful for playing replays of a player who isn't in your db) 2909a38
  • fixed some pb menu bugginess 6d296ca
  • added !adverts 3d40d4f
  • added reset-checkpoints back to tas menu ecbc7ed
  • prefix css expected hud rank with # 062efd4
  • basic autostrafer implemented e43c011
  • moved some style-setting handling stuff around c8c8734
  • removed xutax_find_offsets bacc567
  • add !hideweps as an alias for !hidewep fda843a
  • added something to help with csgo (128 tick) tas autoprestrafe starting the timer earlier due to going faster than 290.0 aef89e9
  • removed more unnecessary shavit-rankings point recalculations and removed column points_calced_from b3b7de3 7a11acf
  • fix bug that'd make players stuck when checkpointing replay bots 117d2d2
  • hijack angles when autoprestrafing 345461a