Bump, still need help
|
I'm planning to make use of the function keys (f1-f10) and don't know how to disable the default action of these keys (they open game tabs). I've tried adding player.getInterfaceManager().openGameTab(-1); above the action I wish to have happen, but it's too delayed and still flashes the tab they're default assigned to open. I'm thinking this has something to do with client, specifically class2.java, I just have no idea how I'd disable that specific process though.
I've already searched the src folder for openGameTab and nothing came up, this is why I believe it's client sided.
My revision is 718.
Any help appreciated, thanks.
Bump, still need help
Bump
Bump
Bump
If I'm not mistaken, the keys are client sided?
Yes, that is correct. Currently those keys are able to open game tabs (inventory, equipment, prayer, combat, etc). I'm trying to disable those tabs from being able to be opened so I can let the player choose what those keys do server side. I don't know where in the world to find the code in the client that tells those keys to open game tabs though. That's what I've been hoping someone can help me with.
I figured it out for you, I'm not sure if this is the correct way but it worked fine when I disabled F1 for inventory
go to class323_sub1.java and find method3953(KeyEvent keyevent, int i, int i_4_)
to disable a specific key, do if (i_5_ == keyid) return;
you can find key ids here https://www.cambiaresearch.com/artic...odes-key-codes
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |