bhoptimer icon indicating copy to clipboard operation
bhoptimer copied to clipboard

State after 2025-02-18 update

Open rtldg opened this issue 10 months ago • 1 comments

TLDR: When next release?

I dunno just yet. I want an update to CS:S to arrive to fix some bugs but nothing is out yet.

I've also been stunlocked with some work on x64 Linux DHooks for a couple days now.

WOW UPDATE!!

CSS Update: https://store.steampowered.com/news/app/240/view/689716592460694165 TF2 Update: https://steamcommunity.com/games/TF2/announcements/detail/511824321138655315 TF2 Blog: https://www.teamfortress.com/post.php?id=238809

(another list of issues that are relevant: https://steamcommunity.com/groups/nekoClimb/discussions/0/599647681450695586)

We got a lot of nice changes with the recent CSS (and TF2) update.

A bhoptimer release will probably happen soon:tm: because of gamedata updates which is a shame because I wanted to procrastinate more. (3.5.0 or a 4.0.0 prob)

A number of servers (like cutehops) are still using the pre-update version of CSS, so clients can use the previous_build beta branch on CSS +RawInput2BunnyhopAPE to just play like before.

Big things

  • sv_autobunnyhopping was added to CSS!
    • This means clients don't have to use [RawInput2]BunnyhopAPE anymore for autobhop prediction.
      • bhoptimer commit to use the cvar on CSS: https://github.com/shavitush/bhoptimer/commit/94ebb97c79f0ff71dd7115ac6626d86e162df1a7
    • This also means servers can be VAC-secure since the main thing holding that back was autobhop prediction. (Although clients will miss out on m_rawinput 2 & RawInput2BunnyhopAPE's fastdl helper thing).
  • LINUX servers & clients have issues with loading packed bsp files due to filename casing issues
    • here's a server fix and a client fix
    • more info at https://github.com/ValveSoftware/source-sdk-2013/issues/865 and also https://github.com/ValveSoftware/Source-1-Games/issues/6868 (which has other workarounds than shavit's)
  • Booster prediction is fucky now on some maps (like the blue shoot-boosters on bhop_badges). Will try to get more information on this.
    • USE THIS IMMEDIATELY!!! (compile with sourcemod 1.11) https://github.com/rumourA/PushFixDE
      • Should be unnecessary by next update https://github.com/ValveSoftware/source-sdk-2013/commit/46b8c3a544ef453285b1652c58c201f6f40aa32c
  • bash2 might randomly ban you if you jump in place (relevant issue)

bhoptimer

Definitely working: windows32, linux32. Definitely NOT working: linux64 (dhooks), and windows64 (dhooks again)

  • https://github.com/shavitush/bhoptimer/pull/1226 (merged into master branch)
  • CGameServer::UpdateHibernationState is inlined on windows32 now so shavit_replay_disable_hibernation will not work on windows32, unless/until a workaround is found.
  • TODO: Update docs to point to updated tickrate-enabler things...
  • Does not support x64 for now because of the 32-bit Address IGameMovement until something like https://github.com/alliedmodders/sourcemod/pull/2226 is released

Sourcemod

Definitely working: windows32, linux32, windows64, linux64

  • 1.12 might be required going forward (for the SDK updates) which means I'll make that the new requirement for bhoptimer.
    • (Also here's this branch if anyone cares https://github.com/shavitush/bhoptimer/tree/pre-2025-02-18-update)
  • Metamod:Source 2.0 (the dev/master builds) is required for x64.

Tickrate Enabler

  • https://github.com/rumourA/TickrateEnabler
    • easy to build yourself
  • https://github.com/idk1703/TickrateEnabler
    • has force 100/200 tick bins (great for nfoservers)
  • https://github.com/angelfor3v3r/css-tickrate

RawInput2BunnyhopAPE

  • x64 build at https://github.com/rtldg/RawInput2BunnyhopAPE/releases/tag/v3.0-rc1
    • Still a couple more things to change in https://github.com/rtldg/RawInput2BunnyhopAPE/pull/2 but otherwise fine.
  • The BunnyhopAPE portion isn't really necessary anymore.
  • I've been thinking about ways to handle the fastdl.me downloader without using RawInput2BunnyhopAPE. It will probably be a (linux-compatible) standalone executable that reads the game's console log (via con_logfile console.log) and downloads missing maps.
    • This doesn't help get the server's map-checksum/hash (md5) though so I've been seeing how practical it is to use npcap (& linux equivalent) to sniff the game's packets and read the md5 from the svc_ServerInfo/SVC_ServerInfo netmessage. May or may not happen...

eventqueuefix

Definitely works: windows32, linux32. Definitely NOT working: linux64 (dhooks).

  • Merged into master branch (but no release): https://github.com/hermansimensen/eventqueue-fix/pull/26 ~~The function calls might require some global engine variables to be passed now which just means adding a couple more sigs and such.~~ (maybe relevant for x64)

SoundManager

Definitely working: windows32, linux32.

  • https://github.com/Haze1337/Sound-Manager/releases/tag/v1.0.5
    • Does NOT support 64-bit for now: https://github.com/Haze1337/Sound-Manager/pull/13#issuecomment-2673021279

rngfix

Definitely working: windows32, linux32.

  • https://github.com/jason-e/rngfix/releases/tag/v1.1.3
    • Download the release .smx or recompile it.
    • Does not support 64-bit for similar reasons as bhoptimer right now (ProcessMovement hook)

momsurffix2

Definitely works: windows32 & linux32.

  • https://github.com/GAMMACASE/MomSurfFix/releases/tag/1.1.5
    • Download the release .smx or recompile it.
  • Only compiles with Sourcemod 1.11 (but you can grab the .smx from the release zip which was recently updated).
  • Does not support x64 for similar reasons as Sound-Manager as least until something like https://github.com/alliedmodders/sourcemod/pull/2226 drops.

sm_closestpos

  • Definitely works: windows32 & linux32.
  • x64 builds will come from my srcwrtimer repo.

mpbhops_but_better

  • Works.

GAMMACASE'S ShowPlayerClips

Definitely works: windows32, linux32.

  • https://github.com/GAMMACASE/ShowPlayerClips/releases/tag/1.1.2
    • Download the release .smx or recompile it.

HeadBugFix

Should work: windows32, linux32.

  • GAMMACASE updated the gamedata.

SuppressViewpunch

Definitely works: windows32[1], linux32.

  • Has been updated.
  • [1] Wait for https://github.com/xen-000/SuppressViewpunch/pull/2

vscript

vscript/squirrel is now in CSS...

  • Are there any sourcemod plugins to whitelist certain vscript scripts / maps? TODO
  • https://github.com/shavitush/bhoptimer/pull/1229

Stripper:Source

The Stripper:Source extension does not support x64 https://github.com/alliedmodders/stripper-source/issues/24 Use a sourcepawn reimplementation instead like https://github.com/srcdslab/sm-plugin-stripper

Accelerator

Does not support x64 yet but it appears to be in progress https://github.com/asherkin/accelerator/pull/13

DHooks

Definitely working: windows32, linux32. Half works: windows64. Doesn't really work at all: linux64.

Steam Datagram Relay / Steam Networking

CSS now has SDR. You can join friends on LAN easily with this. You might need to set +sv_use_steam_networking 1 in your cstrike launcher & also make sure to NOT have sv_lan 1.

Some FAQ: https://gist.github.com/rtldg/9e6ea7aa9b37388c119d31043b7f5189

TF2

bhoptimer might be broken for this. Nothing has been tested but Sourcemod was also broken for a bit so it might've been impossible to test.

rtldg avatar Feb 20 '25 04:02 rtldg

Saw the PR being referred on accelerator. The extension absolutely does support x64 now!

Kenzzer avatar Apr 04 '25 20:04 Kenzzer