Skip to content

3. Troubleshooting Issues

rtldg edited this page May 22, 2022 · 11 revisions

Troubleshooting

Common Issues

"Something is wrong"

Have you recently upgraded to a newer version of bhoptimer? If so, make sure you've upgraded all files (including translations/gamedata).

If not, shut the game server down, delete the files starting with "error_" in addons/sourcemod/logs/ and start the server. Now check the logs/ directory. If it has error files, open them using a text editor and read the first lines. 99% of the time it'll elaborate on what's wrong and it should guide you on how to fix the issue.

"Replay bots won't appear"

Make sure that -nobots isn't in your server's start up command.

"I found a game-breaking exploit"

Please join the bhoptimer discord to DM the current bhoptimer maintainer https://discord.gg/jyA9q5k

Or just post an issue about it

"The speedometer isn't accurate"

Write !hud and toggle "Use 2D velocity".

"bhoptimer broke after an upgrade"

Restart your game server. This is necessary whenever the bhoptimer database goes through an upgrade.

"Bunnyhop doesn't work as I want it to work"

The plugin will only force sv_airaccelerate and sv_enablebunnyhopping. Adjust your server's settings to the way you want them to be.

(CS:GO only) Players can autobhop on scroll styles

That's because you set sv_autobunnyhopping to 1. You shouldn't modify this setting at all, the plugin handles autobhop.

(TF2 only) HUD disappears randomly

Hint text in TF2 sucks. Try setting mp_waitingforplayers_cancel to 1 if it isn't 1 yet.

(TF2 only) Scout can't bhop

sm_cvar tf_scout_air_dash_count 0 in your server.cfg

(TF2 only) The jumps counter doesn't increment!

You're missing Bunnyhop Statistics.

"There's a bug"

Follow the first part. If it still persists, start a detailed issue.

[SM] Exception reported: Timer startup failed. Reason: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

This happens because of the address the mysql server is bound to.
An easy workaround is to symlink mysqld.sock to /tmp/mysql.sock.
For example throwing ln -fs /var/run/mysqld/mysqld.sock /tmp/mysql.sock into a start.sh file for your server.
Some more information on this is at:
https://forums.alliedmods.net/showthread.php?t=165270
https://github.com/shavitush/bhoptimer/issues/837