Skip to content

v3.3.0 - zone stuff & bloat

Compare
Choose a tag to compare
@rtldg rtldg released this 28 Jun 02:55
· 197 commits to master since this release

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