Friday 8 April 2016

Sword of Mana AutoHotKey Script

Usage

This is basically just a script to maxing up the weapons and magics without doing anything (with macro).

How to:


Bow/Flail/Spear - Max the level by spamming it to Polter Box/Kaiser Mimic.


Gnome - Max the level by spamming it to Earth Cyclops.



Shade - Max the level by spamming it to Dark Cyclops.

Exception/Limitation:
You can't max other weapon/spirit with this method (at least you have to supervise it or sometimes, just move around.. a lot). Here we go:


Mace - Max the level by spamming it to Black Shiny Cone or other black which has Mace resist.



Requirements:


Before we begin, make sure that your VBA controls (you can change it in Options->Input->Configure..) is in Default.



AutoHotKey

AutoHotKey Script Basics

If you are new to AutoHotKey, basically, you have to:
  1. Open a notepad or any text editor
  2. Save it as SwordOfManaSpamWeaponToggle.ahk (or anything. just make sure the extension is ahk and not txt or anything else.)
  3. Paste the script in the file and save it.
  4. Double click the script whenever you want to use it.
Ready to go!


How to Close the Script

AutoHotKey Script

Weapon Spam:
Press F8 to activate and F8 (again) to deactivate it.

    toggle = 0
    #MaxThreadsPerHotkey 2

    F8::
        Toggle := !Toggle
        
if Toggle = 1
           Send {Space down}
else
           Send {Space up}

        While Toggle{
           SetKeyDelay, , 25 ;
            Send {w down}
            SetKeyDelay, , 25 ;
            Send {w up}

            sleep 100
        }
    return

Spell Spam:
Press F8 to activate and F8 (again) to deactivate it. It has been optimized for 140 MP. Modify it based on your MP pool.

toggle = 0
heal = 0
#MaxThreadsPerHotkey 2

F8::
    Toggle := !Toggle
if Toggle = 1
Send {Space down}
else
Send {Space up}
     While Toggle{
if heal != 22 ; max MP / 6 MP (usage per spell) = 140/6 ~ 23-1 = 22
{
SetKeyDelay, , 25
        Send {s down}
        sleep, 100
        Send {s up}
heal := heal + 1
}
else
{
SetKeyDelay, , 25
        Send {a down}{x down}
        sleep, 6000 ; i got this number from trial and error (basically just guess how long your character will sit down to recover MP)
        Send {a up}{x up}
heal := 0
}
        sleep 100
    }
return

No comments:

Post a Comment