0 votes
194 views
by
view edits | edited

Hello fellow Tibians,

IMPORTANT NOTE BEFORE YOU REPLY: Please do not just tell me to "use Q, E, Z, C for diagonals." I have been playing with my current hotkey setup for years, and those keys are already bound to critical spells. I am strictly looking for a technical analysis of this script. Thank you!

I play Tibia on a compact keyboard without a physical numpad. Since I use WASD in "Chat Off" mode, I’m trying to find a safe way to walk diagonally by holding down two movement keys simultaneously (e.g., holding W + A to step North-West).

Since the Tibia client doesn't natively combine these inputs into a diagonal step, I turned to AutoHotkey (AHK) v2.0. After contacting CipSoft support and reading up on Reddit, I stripped away my old risky macro attempt (which used InputHook, custom Key-Up injections, and static Sleep timers) because CipSoft explicitly stated that mapping a series of commands constitutes an illegal macro.

To comply with the strict 1 Keypress = 1 Game Action rule and avoid artificial software signatures, I created this clean, stateless hotkey remapping:

autohotkey

#Requires AutoHotkey v2.0
~w::(GetKeyState("a", "P") ? SendInput("o") : GetKeyState("d", "P") ? SendInput("p") : 0)
~s::(GetKeyState("a", "P") ? SendInput("k") : GetKeyState("d", "P") ? SendInput("l") : 0)
~a::(GetKeyState("w", "P") ? SendInput("o") : GetKeyState("s", "P") ? SendInput("k") : 0)
~d::(GetKeyState("w", "P") ? SendInput("p") : GetKeyState("s", "P") ? SendInput("l") : 0)

Technical Clarifications:

  • Why not official software? My SteelSeries GG software does not support multi-key combinations as conditional triggers (e.g., using W+A to trigger a third key).
  • The "2-to-1" Argument: While pressing two keys (W+A) triggers one action (o), no sequence or chain of commands is being automated here. It's a conditional remap that outputs exactly one virtual keypress per combination.
  • The Ghosting / "Zickzack" Step: Because this script uses the tilde (~) modifier, native hardware signals for WASD are never blocked. If my finger timing isn't perfect, Windows might register a straight step right before the diagonal triggers. I am completely fine with this minor mechanical stutter.

My Questions to the Community:

  1. BattlEye Detection: Since this script uses the tilde (~) modifier, it never blocks or manipulates native hardware signals. It contains no static timers (Sleep) and no loops. To BattlEye, does this look identical to high-end keyboard software doing a key remap, or does the fact that it's executed via AHK still pose an automated ban risk?
  2. Rule Compliance: Since pressing the combination triggers exactly one single virtual keypress natively bound to the client's movement settings, does this strictly fall under the "1:1 hotkey mapping" that CipSoft tolerates?
  3. Experience: Do any of you use a similar stateless AHK setup for compact keyboards, and have you ever faced any issues or official warnings?

Thank you for your time and help!

by (3,191 points)
I advise you to contact Tibia support directly to clear up these questions. In my opinion, that is the safest approach.
by
as mentioned i did contact cipsoft tech support.

Heres the answer i got
Thanks for your message. I understand that you're worried that your account will be punished for using a programmable mouse or keyboard.


As long as the extra mouse buttons or keyboard buttons are only used for normal hotkey use - for example, assigning Ctrl+F1 to a mouse button, there's no problem in using them. You‘re welcome to use these extra buttons as long as you press them manually and do not bind any more functions than the usual hotkeys to them.


Please note that mapping a series of commands would constitute a macro, which can result in negative consequences if used in the game.


Also please understand that we cannot review your personal settings or determine if they qualify as a macro. It is your responsibility to ensure your setup complies with the Tibia Rules.
by (3,191 points)
Oh, sorry! I missed that detail. Hmm, unfortunately, the answer they gave was vague. You could try contacting BattlEye support; perhaps they can give you a more definitive answer. In theory, you'd only be performing a single action, so I think you wouldn't have any issues. But since we don't know exactly how BattlEye works, I don't want to give you the wrong advice.
by ★♦ (17,723 points)
Yes! Id try that and when you get a reply please free to post the answer here. But seems to be such a gray area.
by
+1
quick heads up, small update 19. October
i doubled down on writing cip aswell, this is their second response:

"Please understand that we cannot review your personal settings or determine if they qualify as a macro. It is your responsibility to ensure your setup complies with the Tibia Rules.

A macro is typically defined as automating multiple actions or sequences with a single input, where actions occur without further manual input.

If a combination violates the "one action - one button" rule, it is considered a macro. Assigning multiple functions to a single button, even for simple actions (e.g. F1 + a mouse click), is against the rules and may lead to a penalty."

Unfortunately, it seems there's still no clearly defined answer.
I really hope that BattleEye support will go into more detail here and i for sure will keep everybody up to date!

to my understanding this script does not break CipSoft's official rules, as the logic operates on a multiple-inputs-to-one-action principle rather than one-input-to-multiple-actions. Players must press two keys simultaneously to trigger a single diagonal movement, keeping the mechanics distinct from illegal macro behavior.

Your answer

You are about to post a new answer on TibiaQA! Make sure that it complies with our Code of Conduct! You can also check out our guide on providing good answers. Here are a few tips that can help make your answer better.
  • do not post comments as an answer
  • make sure your answer is complete - even if other posts already contain partial answers
  • when possible, confirm your answer with other trusted sources, like the official website
  • if you use any materials from other websites, always provide the source
  • take your time to research the problem or question and feel free to ask for clarification in a comment when needed
  • once your answer is posted, you can still edit it later if you learn more on the topic
Thank you for making the TibiaQA knowledge base better!
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

Tibia-rules

Code of conduct that all players are expected to follow. Violating or attempting to violate the Tibia Rules may lead to a temporary suspension of characters and accounts. In severe cases the removal or modification of character skills, attributes and belongings, as well as the permanent removal of characters and accounts without any compensation may be considered.

Promoted Tibia Fansite
TibiaQA.com is a fansite. The only official website is Tibia.com. The game Tibia and the website Tibia.com are copyrighted by CipSoft GmbH.

Find us at

Facebook
Discord badge

Partners

TibiaMaps

Contact us about possible partnership!
...