Klumpat / e3-macro-builds

Automatically exported from code.google.com/p/e3-macro-builds
0 stars 0 forks source link

Auto-Hide not working properly #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enabling auto-hide feature on rogues.

What is the expected output? What do you see instead?
To Hide and Sneak automatically between fights.

What version of the product are you using? On what operating system?
5.1.4, Windows Vista

Please provide any additional information below.
It seems like Hide it firing twice, effectively hiding then unhiding 
immediately. It then loops since you're not hidden.

Original issue reported on code.google.com by nhart...@gmail.com on 5 Dec 2013 at 8:42

GoogleCodeExporter commented 8 years ago
|------------------------------------------------------------|
|- AutoHide                                                 -|
|------------------------------------------------------------|
|- Automatically engages sneak and hide when not in combat. -|
|------------------------------------------------------------|
sub AutoHide
/if (${Debug}) /echo |- AutoHide ==>

    | Engage sneak.
    /if (!${Me.Sneaking} && ${Me.AbilityReady[Sneak]}) {
        /doability Sneak
        /delay 2s ${Me.Sneaking}
    }

    | Engage hide.
    /if (${Me.Sneaking} && ${Me.AbilityReady[Hide]}) {
        /doability Hide
        /delay 2s ${Me.Invis}
    }

    | Hide.
    /doability Hide
    /delay 20 ${Me.Invis}

/if (${Debug}) /echo <== AutoHide -|
/return

Original comment by nhart...@gmail.com on 5 Dec 2013 at 9:01

GoogleCodeExporter commented 8 years ago
That second Hide looks redundant. I commented out those two lines and now it 
seems to work fine.

Original comment by nhart...@gmail.com on 5 Dec 2013 at 9:02

GoogleCodeExporter commented 8 years ago
Thanks for the heads up.  I had been messing around with that script when I 
added the evade feature, and it looks like I missed deleting that bit.

Original comment by iKillpeq@gmail.com on 6 Dec 2013 at 6:17