e3 and Anguish Overlord Mata Muram

Discussion in 'E3' started by Casai, Oct 14, 2018.

  1. Casai

    Casai Orc Legionnaire

    Messages:
    109
    this script clicks the mask but ${Bool[${Me.Song[Reflective Skin]}]} is not getting detected so script always returns failed result but mask is getting clicked at least in our attempt there weren't any 6k hits
    changed the activation detection this is v2. need to play test it again see you in a week



    Code:
    #event angmask "#*#You feel a gaze of deadly power focusing on you#*#"
    Sub event_angmask
       /declare OMM_Mask string local ${Me.Inventory[face].Name}
       /declare numtries int local=0
       /varset numtries 0
       /varset OMM_Mask ${Me.Inventory[face].Name}
       
       /rsay OMM mask script Mask Ready: ${Me.ItemReady[Mirrored Mask]}
       /bc OMM mask script Mask Ready: ${Me.ItemReady[Mirrored Mask]}
       :startofmask
       /if (!${Bool[${FindItem[=Mirrored Mask]}]}) {
           /bc I dont have a Mirrored Mask. raid is going down
           /rsay I dont have a Mirrored Mask. raid is going down
           /popup I dont have a Mirrored Mask. raid is going down
           /return
       }
       /if (!${Me.ItemReady[Mirrored Mask]}) {
           /varcalc numtries ${numtries}+1
           /popup Mirrored Mask isnt ready! retrying
           /if (${numtries} < 7) {
               /delay 9
               /goto :startofmask
           } else {
               /popup I waited for mask to be ready for ${numtries} sconds. Mask wasnt Ready. ending script. raid is going down
               /bc I waited for mask to be ready for ${numtries} sconds. Mask wasnt Ready. ending script. raid is going down
               /rsay I waited for mask to be ready for ${numtries} sconds. Mask wasnt Ready. ending script. raid is going down
               /return
           }
       }
       
       /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
           /goto :clickommmask
       }
    
       /if (${Me.Class.ShortName.Equal[BRD]}) {
               /rsay make sure bardswap is off. turning off my bard songs. activate them manually after this
               /twist off
               /playmelody stop
       }
    
       :interuptloop
       /if (${Me.Casting.ID}) {
           /interrupt
           /twist off
           /goto :interuptloop
       }
       
       :equipmaskloop
       /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
           /goto :clickommmask
       } else {
           /call SwapItem "Mirrored Mask" "face"
       }
       
       /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
           /goto :clickommmask
       } else {
           /echo mask is not equiped
           /goto :equipmaskloop
       }
       
       
       /varset numtries 0
       :clickommmask
       /if (!${Me.Standing}) {
           |if toon is not standing cant click anything
           /stand
           /goto :clickommmask
       }
       /if (${Me.Casting.ID}) {
           /goto :interuptloop
       }
       /varcalc numtries ${numtries}+1
       |/echo retrying ${numtries}
       /casting "Mirrored Mask" -maxtries|3
       |/if (${Me.Song[Reflective Skin].ID}]}) {
       |/if (${Bool[${Me.Song[Reflective Skin]}]}) {
       |/if (!${Me.ItemReady[Mirrored Mask]}) {
       /if (${Me.Song[Reflective Skin].ID}) {
           /rsay Reflective Skin buff is on. everything worked fine. Mask state is ${Me.ItemReady[Mirrored Mask]}
           /bc Reflective Skin buff is on. everything worked fine. Mask state is ${Me.ItemReady[Mirrored Mask]}
           :equipprevmask
           /if (${Me.Inventory[face].Name.Equal[${OMM_Mask}]}) {
               /goto :gearswapedbackdone
           } else {
               /call SwapItem "${OMM_Mask}" "face"
               /goto :equipprevmask
           }
       } else {
           /if (${numtries} < 22) {
               /delay 5
               /goto :clickommmask
           } else {
               /if (!${Me.ItemReady[Mirrored Mask]}) {
                   /rsay mask activated. everything worked fine. Mask state is ${Me.ItemReady[Mirrored Mask]}
                   /bc mask activated. everything worked fine. Mask state is ${Me.ItemReady[Mirrored Mask]}
               } else {
                   /popup I tried clicking Mask ${numtries} times and failed. Mask state is ${Me.ItemReady[Mirrored Mask]}
                   /bc I tried clicking Mask ${numtries} times and failed. Mask state is ${Me.ItemReady[Mirrored Mask]}
                   /rsay I tried clicking Mask ${numtries} times and failed. Mask state is ${Me.ItemReady[Mirrored Mask]}
               }
           }
       }
       /varset numtries 0
       :gearswapedbackdone
       /if (${Cursor.ID}) {
           /autoinventory
           /varcalc numtries ${numtries}+1
           /if (${numtries} < 22) {
               /goto :gearswapedbackdone
           } else {
               /rsay character has no inventory space left plz fix asap
               /goto :endommscript
           }
       }
       :endommscript
       /twist on
    
       /if (${Me.Class.ShortName.Equal[BRD]}) {
           /playmelody melee /only|Kagera Jubey
           /playmelody caster /only|Avgustina
       }
    /return
    
    we've been trying to kill this guy for a while now. The problem we encountering is that he is hitting the tank for over 6k omm
    peq db has him doing 3900 per hit. From what I understand the only way he is able to do over 4k hits is if mask is not clicked.

    So my questions are:
    does E3 suppose to automate clicking the mask?
    do all toons need to equip the masks before hand or can they be in the bags?
    can it be any bag slot or the 1-8
    how is this event suppose to work with E3
     
    Last edited: Nov 1, 2018
  2. Kreegothx

    Kreegothx Orc Pawn

    Messages:
    18
    I can't answer some of that..

    But the mask definitely has to be worn to be used.
    As for clicking it.
    I couldn't tell you how e3 is used for it.
     
  3. emir

    emir Orc Warlord

    Messages:
    185
    e3 swap your mask and clicks it, unless you are stunned. If stun and mask happens at the same time, you are basically OMM'd
    He hits hard, make sure you have high mitigation (shielding and avoidance) If you are at OMM, you are most likely capped ;
    For more safety and purple action, use Divine Intervention.
     
  4. mackal

    mackal Pyrilen Fireblade

    Messages:
    2,267
    If you're on an older e3, you're also on your own.
     
  5. Casai

    Casai Orc Legionnaire

    Messages:
    109
    k I think I found the code for the mask
    from what I understand e3 should equip it from the bag and click it yet so far all the omm attempts we had mask was not clicked at some point and we went splat.

    questions
    does /call interrupt work for bards?

    Code:
      /if (${Zone.ShortName.Equal[anguish]}) {
        /doevents angmask
      } else {
        /doevents angmask flush
      }
    /RETURN
    
    #event angmask "#*#You feel a gaze of deadly power focusing on you#*#"
    Sub event_angmask
      /rs ~~~Mask on Me~~~ Ready: ${Me.ItemReady[Mirrored Mask]}
      /if (!${Bool[${FindItem[=Mirrored Mask]}]}) {
        /bc [+r+] I dont have a Mirrored Mask
        /rs I dont have a Mirrored Mask raid is going down
        /return
      } else /if (${FindItem[=Mirrored Mask].ItemSlot} >=23 ) {
        /if (${Me.Casting.ID}) /call interrupt
        /delay 3s !${Me.Casting.ID}
        /declare OMM_Mask string local ${Me.Inventory[face].Name}
        /call WriteToIni "${MacroData_Ini},${Me.CleanName}-${MacroQuest.Server},Pending Exchange" "${OMM_Mask}/face" 1
        /delay 3
        /echo calling swapitem
        /call SwapItem "Mirrored Mask" "face"
        /delay 5 ${Me.Inventory[face].Name.Equal[Mirrored Mask]}
        /call SwapItem "Mirrored Mask" "face"
        /delay 5 ${Me.Inventory[face].Name.Equal[Mirrored Mask]}
        /call SwapItem "Mirrored Mask" "face"
        /delay 5 ${Me.Inventory[face].Name.Equal[Mirrored Mask]}
      }
      /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
        /declare numtries int local=0
        /if (${Me.Casting.ID}) /call interrupt
        /delay 3s !${Me.Casting.ID}
        :retry
        /varcalc numtries ${numtries}+1
        /casting "Mirrored Mask" -maxtries|3
        /delay 1s
        /if (!${Bool[${Me.Song[Reflective Skin]}]} && ${numtries} < 8) /goto :retry
      }
      /if ${numtries} >= 8) {
        /bc I tried clicking 8 times and failed
        /rs I tried clicking Mirrored Mask 8 times and failed. raid is going down
      }
      |/if (${OMM_Mask.Length}) /call SwapItem "${OMM_Mask}" "face"
      /rs ~~~Mask on Me~~~ Ready: ${Me.ItemReady[Mirrored Mask]}
    /return
     
    Last edited: Oct 19, 2018
  6. Casai

    Casai Orc Legionnaire

    Messages:
    109
    here is v1 of what I have come up with. havent play tested it to see if it works

    Code:
    #event angmask "#*#You feel a gaze of deadly power focusing on you#*#"
    Sub event_angmask
        /declare OMM_Mask string local ${Me.Inventory[face].Name}
        /declare numtries int local=0
        /varset numtries 0
        /varset OMM_Mask ${Me.Inventory[face].Name}
       
        /rsay starting omm mask clicking Mask Ready: ${Me.ItemReady[Mirrored Mask]}
        /bc starting omm mask clicking Mask Ready: ${Me.ItemReady[Mirrored Mask]}
        :startofmask
        /if (!${Bool[${FindItem[=Mirrored Mask]}]}) {
            /bc I dont have a Mirrored Mask. raid is going down
            /rsay I dont have a Mirrored Mask. raid is going down
            /popup I dont have a Mirrored Mask. raid is going down
            /return
        }
        /if (!${Me.ItemReady[Mirrored Mask]}) {
            /varcalc numtries ${numtries}+1
            /popup Mirrored Mask isnt ready! retrying
            /if (${numtries} < 5) {
                /delay 9
                /goto :startofmask
            } else {
                /popup I tried clicking Mask ${numtries} times. Mask wasnt Ready. ending script. raid is going down
                /bc I tried clicking Mask ${numtries} times. Mask wasnt Ready. ending script. raid is going down
                /rsay I tried clicking Mask ${numtries} times. Mask wasnt Ready. ending script. raid is going down
                /return
            }
        }
       
        /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
            /goto :clickommmask
        }
        |if toon is not standing cant click anything
        /stand
        /if (${Me.Class.ShortName.Equal[BRD]}) {
                /rsay make sure bardswap is off. turning off my bard songs. activate them manually after this
                /twist off
                /playmelody stop
        }
    
        :interuptloop
        /if (${Me.Casting.ID}) {
            /interrupt
            /twist off
            /goto :interuptloop
        }
       
        :equipmaskloop
        /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
            /goto :clickommmask
        } else {
            /call SwapItem "Mirrored Mask" "face"
        }
       
        /if (${Me.Inventory[face].Name.Equal[Mirrored Mask]}) {
            /goto :clickommmask
        } else {
            /echo mask is not equiped
            /goto :equipmaskloop
        }
       
       
        /varset numtries 0
        :clickommmask
        /if (${Me.Casting.ID}) {
        /goto :interuptloop
        }
        /varcalc numtries ${numtries}+1
        |/echo retrying ${numtries}
        /casting "Mirrored Mask" -maxtries|3
        |/casting "Flayed Barbarian Hide Mask" -maxtries|3
        |Illusion: Barbarian
        |/if (${Bool[${Me.Buff[Illusion: Barbarian]}]}) {
        /if (${Bool[${Me.Song[Reflective Skin]}]}) {
            /rsay mask activated everything worked fine. Mask state is ${Me.ItemReady[Mirrored Mask]}
            /bc mask activated everything worked fine. Mask state is ${Me.ItemReady[Mirrored Mask]}
            :equipprevmask
            /if (${Me.Inventory[face].Name.Equal[${OMM_Mask}]}) {
                /goto :gearswapedbackdone
            } else {
                /call SwapItem "${OMM_Mask}" "face"
                /goto :equipprevmask
            }
        } else {
            /if (${numtries} < 22) {
                /delay 5
                /goto :clickommmask
            } else {
                /popup I tried clicking ${numtries} times and failed. ending script. raid is going down
                /bc I tried clicking ${numtries} times and failed. ending script. raid is going down
                /rsay I tried clicking Mirrored Mask ${numtries} times and failed. ending script. raid is going down
            }
        }
        :gearswapedbackdone
        /if (${Cursor.ID}) {
            /autoinventory
        }
        /twist on
    
        /if (${Me.Class.ShortName.Equal[BRD]}) {
            /playmelody melee /only|Kagera Jubey
            /playmelody caster /only|Avgustina
        }
    /return
     
    Last edited: Oct 21, 2018
  7. Casai

    Casai Orc Legionnaire

    Messages:
    109
    play tested
    it clicks the mask but ${Bool[${Me.Song[Reflective Skin]}]} is always false so script always returns failed result but mask is getting clicked at least in our attempt there there werent any 6k hits
    if someone has a way to detect bard songs plz let me know
    PS: gonna try
    /if (!${Me.ItemReady[Mirrored Mask]}) {
    /if (${Me.Song[Reflective Skin].ID}) {
     
    Last edited: Oct 31, 2018