• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Tibia Best WASD ever with other hotkeys too!

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,766
Solutions
1
Reaction score
225
Location
Chile, Santiago
Hey,

I have been playing RL for a few months with this invent that I made and works pretty nice, actually using:
- A mouse with 3 extra buttons for a few hotkeys (planning to change to Razer Naga)
- Also using WASD(X) as arrows
- Using QEZC for diagonals
- For hotkeys I press 1, 2, 3, 4, 5, r, f, t, g.

This means that I don't need to move my hand over the keyboard anymore!


How it works?
1) Go to www.autohotkey.com and download, install.
2) Create a file called WASD.ahk and paste this code:
Code:
#If (WinActive("Tibia - Character Name 1") or Winactive("Tibia - Character Name 2") or Winactive("Tibia - Character Name 3"))

;Arrow moves
w::Up
s::Down
d::Right
a::Left


;Diagonal moves
q::NumpadHome
e::NumpadPgUp
c::NumpadPgDn
z::NumpadEnd

;Some hotkeys, +F10 means Shift+F10
1::F1
2::F2
3::F3
4::F4
5::F5
r::F6
f::F7
t::F8
g::F9

;This is to activate or deactive WASD
6::

Suspend, toggle

ToolTip, % (A_IsSuspended) ? ("WASD OFF =(") : ("WASD ON!"), 10, 500    ; Position x10, y500

If (!A_IsSuspended)    ;Tooltip allways shows for suspended and only for 1.2secs if not suspended.
    {
    Sleep 1200
    ToolTip
    }
   
return

;Credits to Kito

#IfWinActive
3) With the button "6" you active/deactive, you can change it by using any other key button (http://www.autohotkey.com/docs/commands/Send.htm).
4) You have to change where it says Character Name 1, and put your character name (if using another version of Tibia, just leave it as the window name says, for example for 8.6 with MageBot would be TibiaMB).
5) You just need to double click the file and it will be working.
6) At the clock side, you can right-click the AutoHotkey icon and suspend, reload or remove if you want.
 
Update:

Now uses the tibia client to show tooltip and also works only with the client.exe, just modify:

Code:
#MaxHotkeysPerInterval 999999999

SetTimer, CheckWin, 300
bool := False

#IfWinActive, ahk_exe client.exe

    ;Arrow moves
    w::Up
    s::Down
    d::Right
    a::Left
    ;w::Numpad8
    ;s::Numpad2
    ;x::Numpad2
    ;a::Numpad4
    ;d::Numpad6

    Space::Insert
    Alt::ScrollLock
    NumpadDel::NumpadDot

    ;Diagonal moveaas
    q::NumpadHome
    e::NumpadPgUp
    c::NumpadPgDn
    z::NumpadEnd

    ;Some hotkeys, +F10 means Shift+F10
    o::q
    1::+F1
    2::+F2
    3::^F4
    4::+F4
    5::+F10
    NumpadDot::+F10
    r::^F6
    f::+F7
    g::+F8
    y::r
    t::^F11
    l::g
    i::w
    7::+F5
    
    {::Send, summary@{Enter}
    }::Send, reset@{Enter}
    +::Send, close@{Enter}
    ^+::Send, exani tera{Enter}
    ^}::Send, utani hur{Enter}
   
    ^Enter::
        Suspend, toggle
        ShowToolTip()
    return

CheckWin(){
    Global bool
    if(!WinActive("ahk_exe Tibia.exe")){
        ToolTip, , , , 20
        bool := True
    } else if(bool) {
        ShowToolTip()
        bool := False
    }
}

ShowToolTip(){
    ToolTip, % A_IsSuspended ? "WASD OFF :(" : "WASD ON!", 10, 200, 20    ; Position x10, y500
    if(!A_IsSuspended) { ;Tooltip allways shows for suspended and only for 1.2secs if not suspended.
        Sleep, 1200
        ToolTip, , , , 20
    }
}
 
Back
Top