Unbinding Bracket Keys from Scrollwheel (QWERTY Solution)

I was recently able to figure out how to prevent scroll wheel up/down from triggering the left and right bracket keys ([ and ]), which I’ve been informed is an issue on other servers.

TL;DR: swapping out RedM key hashes for raw key codes works (keyboard dependent, this fix is for QWERTY keyboards).

  • 0x430593AA – RedM LEFTBRACKET control hash
  • 0xA5BDCD3C – RedM RIGHTBRACKET control hash

needed to be replaced with:

  • 0xDB – physical [ key code
  • 0xDD – physical ] key code

In our server, I replaced them in three files:

  • resources/[standalone]/[voice]/mumble/client/init/main.lua
  • resources/[VORP]/vorp_inventory/config/config.lua
  • and resources/[VORP]/vorp_inventory/client/cas_client_hotbar.lua

Mumble (resources/[standalone]/[voice]/mumble/client/init/main.lua) :

if IsControlJustPressed(0, 0xA5BDCD3C) then
ExecuteCommand(‘cycleproximity’)
end

changed to:

if IsRawKeyPressed(0xDD) then
ExecuteCommand(‘cycleproximity’)
end


Hotbar, Part One: VORP Inventory (resources/[VORP]/vorp_inventory/config/config.lua)

HotbarToggleKey = 0x430593AA


Hotbar, Part Two: Handler (resources/[VORP]/vorp_inventory/client/cas_client_hotbar.lua)

if not Config.DisableHotbarZToggle and IsControlJustPressed(0, TOGGLE_KEY) then

to

if not Config.DisableHotbarZToggle and IsRawKeyPressed(0xDB) then


This isn’t a broad fix for most servers, but it might aim you in the right direction to improve OoL for your players. We’ve been testing it over the last few days with no issues, but our server primarily features US/UK players. Hopefully sharing this helps.