EZ Server

General Category => Quest and Guides => Topic started by: s0rcier on November 18, 2018, 03:58:36 pm



Title: UC2 - Anguish Augment Handing
Post by: s0rcier on November 18, 2018, 03:58:36 pm
I wrote a little somethings to turn your anguish augments for uc2... works well 99% of the times.... just need to be close to the augment beholder guy and do /mac uc2 it will turn all anguish augment found for ya!

uc2.mac
Code:
Sub Main
    /declare eName[21] string local

    /varset  eName[1] Anguish Augment Ear
    /varset  eName[2] Anguish Augment Head
    /varset  eName[3] Anguish Augment Face
    /varset  eName[4] Anguish Augment Neck
/varset  eName[5] Anguish Augment Shoulder
/varset  eName[6] Anguish Augment Arms
/varset  eName[7] Anguish Augment Back
/varset  eName[8] Anguish Augment Wrist
/varset  eName[9] Anguish Augment Hands
/varset  eName[10] Anguish Augment Finger
/varset  eName[11] Anguish Augment Chest
/varset  eName[12] Anguish Augment Legs
/varset  eName[13] Anguish Augment Waist
/varset  eName[14] Anguish Augment of HP
/varset  eName[15] Anguish Augment of HP Regen
/varset  eName[16] Anguish Augment of Mana
/varset  eName[17] Anguish Augment of Mana Regen
/varset  eName[18] Anguish Augment of Damage Shield
/varset  eName[19] Anguish Augment of Shield
/varset  eName[20] Anguish Augment Feet


    /squelch /target "Augment Collector"
    /delay 5s ${Target.CleanName.Equal[Augment Collector]}
    /say accept

    /declare i int local 0
    /declare e int local 0
    /declare c int local
    /declare n string local

:nextitem
/varcalc e ${e} + 1
/if (${e}<21) /goto :turnmore
    /if (${Window[GiveWnd].Open}) {
        /notify GiveWnd GVW_Give_Button LeftMouseUP
        /delay 5s !${Window[GiveWnd].Open}
/endm
}


:turnmore
/varset n ${eName[${e}]}
/varcalc c ${FindItemCount[=${n}]}
/if (!${c}) /goto :nextitem

/delay 1
/if (${Cursor.ID}) {
/autoinv
/delay 5s !${Cursor.ID}
}

/ctrl /itemnotify ${FindItem[=${n}].InvSlot} LeftMouseUp
/delay 5s ${Cursor.ID}
/click left target
/delay 5s !${Cursor.ID}
/delay 2s ${Window[GiveWnd].Open}

/varcalc i ${i} + 1
/if (${i}>3) {
/notify GiveWnd GVW_Give_Button LeftMouseUP
/delay 5s !${Window[GiveWnd].Open}
/varcalc i 0
/delay 1s
}

/goto :turnmore

/return

enjoy Hardtime!


Title: Re: UC2 - Anguish Augment Handing
Post by: Sarthin on November 18, 2018, 05:42:14 pm
Happy times, thanks mate ;)