Jump to content

435

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by 435

  1. @Droidz do we have to replace the first line ?

    lets say I want to use (shadow priest's) silence to interrupt any cast. 15487

    silence, silence, path?(what path?), 1500(where it can attempt interrupt), 500(where the attempt ends?), tradeskill(what is this?), 15487(silence id), notInterruptible(then what), spellId = UnitCastingInfo("focus")

    Silence, Silence, _, _, endTime = UnitCastingInfo"focus") if spell then local finish = endTimeMS/1000 - GetTime()  print(spell .. ' will be finished casting in ' .. finish .. ' seconds.') end

    if I add this as lua script is it going to work?

  2. 8 hours ago, Marsbar said:

    Could use a function like this:

    
    private static WoWUnit InterruptableUnit(float distance)
    {
        return ObjectManager.GetWoWUnitAttackables(distance).Where(x =>
                                                                    x.InCombat &&
                                                                    x.HasTarget &&
                                                                    x.IsCast &&
                                                                    x.CanInterruptCasting &&
                                                                    (((x.CastingTimeLeft / 1000) / x.CastingSpell.CastTime) * 100) < 70 &&
                                                                    !MarsWrathEnhancerShamanSetting.CurrentSetting.DontInterruptList.Any(ObjectManager.Target.CastingSpell.Name.Contains) &&
                                                                    !TraceLine.TraceLineGo(ObjectManager.Me.Position, x.Position, CGWorldFrameHitFlags.HitTestSpellLoS)).OrderBy(x => x.GetDistance).FirstOrDefault();
    }

    and implement it it similar to this:

    
    if (InterruptableUnit(20f) != null && WindShear.IsSpellUsable && WindShear.KnownSpell)
            {
                ObjectManager.Me.FocusGuid = InterruptableUnit(20f).Guid;
                WindShear.Launch(false, true, false, "focus");
                return;
            }  

    There are obviously things you'd need to change but the first function would check if there are any interruptable targets within a certain distance where there spell cast is above 70% completion. The second bit of code is what you would have in the combat rotation. It assigns the WoWUnit found by the function to your focus and the launches the spell on your focus target.

    @Marsbar I didn't get this. one of this scripts supposed to interrupt casting of non-targeted enemy? if yes, how do I add it to my wrobot?

  3. @Mike Mail no, but same script would work for warrior, for mage and priest as well. as Shadow Priest I need it against polymorph. if someone around polying me, the char should stop doing whatever doing and use Shadow Word: Death. playing in war.mane v3.3.5a

    once I got that script we can rename spells to other interrupts by different classes. I think this is most important script missing in wrobot as pvp mechanics. it could be a lot easier if there was an condition for that, anyway could you can write and tell me how to use your script step by step? I'm new to wrobot ?

     

    ps. this site makes me eager to learn some coding, I've started to learn basics python, then I'll start c# thank to you guys. 

  4. Hello guys, topic explains what I'm trying to accomplish. I tried to find an example but I couldn't.

    I've a shadow priest and I'm using wrobot for battleground. I've made a fight class using wrobot editor, works well except there is no condition to use spell on non-target enemy.

    like pqr if you have good profile it could reflect the cyclone, or sw:death the polymorph, silence the cast. 

    I've zero coding experience, so any suggestions?

     

     

  5. 30 minutes ago, Ordush said:

    I am not gonna share what i am doing.
    I am obviously on the newest version of wrobot. (I always am lol)
    Took me a few days.
    It was running 24/7 for 4-5 days.

    sorry ordush but there was a mistake, I clicked on quate of "I just got banned on my account on Warmane today, idk if it was reports or if it was a detection tho, it just says "bot"" 

    didnt noticed it picked your answer. 

  6. hi Droidz, thats the one I've used. 

    edit retryed it, no it wasnt same somehow. same version but different. this one let me choose the version and installed.

     

    now I've got different error:

     

    invalid license key, please check if your license key is correct (upper and lower case, without space), you can found your license key here:  htttp......

     

    I've started it trial, why its asking me for license?

×
×
  • Create New...