• Visit Rebornbuddy
  • Interrupt!

    Discussion in 'Archives' started by Xcesius, Oct 31, 2013.

    1. Xcesius

      Xcesius Community Developer

      Joined:
      May 1, 2011
      Messages:
      2,050
      Likes Received:
      61
      Trophy Points:
      48
      [​IMG] Welcome to your new future

      Hopefully mostly all PvE routines will adapt this, if you want the code please PM me here or on skype (if you have me)

      All interrupts are random based with Random.Next(700, 2000)

      The interrupt list contains following -->

      All important trash interrupts in SoO
      All Boss interrupts in SoO
      All Boss interrupts in ToT
      All Boss interrupts in HoF (Jokes there wasn't any, there was one important trash Dispatch ability though)
      All Boss interrupts in MSV.

      Raiding in the future is looking bright for those with toilfoil hat :)
       
    2. Dagradt

      Dagradt Community Developer

      Joined:
      Jul 26, 2010
      Messages:
      1,423
      Likes Received:
      44
      Trophy Points:
      48
      Yes! Omg yes!!!
       
    3. ginuwine12

      ginuwine12 New Member

      Joined:
      Feb 12, 2013
      Messages:
      621
      Likes Received:
      6
      Trophy Points:
      0
      very nice
       
    4. Rangbang

      Rangbang Member

      Joined:
      May 9, 2010
      Messages:
      452
      Likes Received:
      0
      Trophy Points:
      16
      Alxaw to the rescue again! :D
       
    5. Gud

      Gud New Member

      Joined:
      Feb 2, 2012
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Is looking good! Gj :)
       
    6. nomnomnom

      nomnomnom Well-Known Member

      Joined:
      Feb 18, 2011
      Messages:
      1,506
      Likes Received:
      73
      Trophy Points:
      48
      And this will be in my routine(s) as well.
       
    7. webhond

      webhond TEMPORARILY MUTED

      Joined:
      May 23, 2011
      Messages:
      2,471
      Likes Received:
      19
      Trophy Points:
      0
      Raiding, and how about pvp cause i believe pve is server side detected and pvp is pure on player reports.
       
    8. nomnomnom

      nomnomnom Well-Known Member

      Joined:
      Feb 18, 2011
      Messages:
      1,506
      Likes Received:
      73
      Trophy Points:
      48
      It's the responsibility of the routine writer to adapt.
       
    9. icheatedlol

      icheatedlol New Member

      Joined:
      Jul 31, 2013
      Messages:
      158
      Likes Received:
      0
      Trophy Points:
      0
      Nice. Please look into doing the same with a dispel timer plugin ;)
       
    10. zeldrak

      zeldrak Well-Known Member

      Joined:
      Oct 25, 2010
      Messages:
      3,516
      Likes Received:
      25
      Trophy Points:
      48
      This is new to me since I just stumbled upon it. Could you give a little more info on this, alxaw? Is this in your current routine? Will it be in your routines in the future? Is this something being developed? I like the idea of the random interrupts, but there wasn't a whole lot of info given in the post, lol.
       
    11. Xcesius

      Xcesius Community Developer

      Joined:
      May 1, 2011
      Messages:
      2,050
      Likes Received:
      61
      Trophy Points:
      48
      --Current Interrupt Methods--

      We run the lua variable API UnitCastingInfo - WoWWiki - Your guide to the World of Warcraft

      If it's interruptable it returns 1, if it's not interruptable it's returning false (0)

      We call this all the time during the interrupt time, which is sort of bad because we run it in a framelock (rotation) and it gets executed a lot.

      Sure we can decrease the amount of checks for the UnitCastingInfo by adding Me.CurrentTarget.CastingSpell, but wait there's more..

      I don't feel safe running a lua variable each time a boss / mob is casting by checking if It's casting / is interruptable, I believe that Blizzard is logging everything you do on your character even the lua commands. (because you send it to the game server and asks if it returns 1 or 0 on the current mob)

      Which is why I have gone back to the old lists for interrupting and adding a random timer, this way Blizzard have no way of detecting if you're actually running a interrupt "hack". (I'm pretty sure they are all hating on me atm)

      --New Interrupt Methods--

      SpellIds into a list
      Check the current spell is being casted
      Random timer until we Interrupt.

      --Reasons--
      I explained on the old interrupt method, I feel IMO it's unsafe.

      --Goal--

      Yes, it's current in all of my routines. I added them yesterday, and I plan on keeping this until the next expension pack. Hence why the enum setting, so you can choose between expension packs / PvP(If the routine wants to support this)
      I feel like this is the best option to be safe from "interrupt" hacking bans. It's not instant, it sure as hell not depended on one lua variable to return false or true.
       
    12. Rangbang

      Rangbang Member

      Joined:
      May 9, 2010
      Messages:
      452
      Likes Received:
      0
      Trophy Points:
      16
      I have missed a couple of interrupts with this! When its a 2 second cast, and the random interrupt timer is at 2000ms, the server lag etc makes the interrupt go of right after the spell is actually cast! Would it help to reduce the max of the random timer from 2000ms to like 1800 or something?
       
    13. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Just my $0.02...
      It makes the bot look more 'human like' to miss interrupts occasionally.

      cheers,
      chinajade
       
    14. Xcesius

      Xcesius Community Developer

      Joined:
      May 1, 2011
      Messages:
      2,050
      Likes Received:
      61
      Trophy Points:
      48
      I will make the timer adjustable soon(tm)

      Standard will be 700 - 2000.
       
    15. nomnomnom

      nomnomnom Well-Known Member

      Joined:
      Feb 18, 2011
      Messages:
      1,506
      Likes Received:
      73
      Trophy Points:
      48
      A quick fix for people who don't want this in their routine/plugin yet; To make yourself a bit less botlike

      PHP:
      private static Random _random = new Random();
      And then add this in your interruptcheck before you actually interrupt
      PHP:
      Me.CurrentTarget.CurrentCastTimeLeft.TotalMilliseconds <= _random.Next(2501500)
      This doesnt solve the massive amount of pulses "Can we interrupt?", but it does make you look alot less botlike with INSTANT interrupts.
       
    16. Mirabis

      Mirabis Community Developer

      Joined:
      Jun 14, 2010
      Messages:
      4,475
      Likes Received:
      86
      Trophy Points:
      48
      Changed my mind.
       
    17. tataros

      tataros New Member

      Joined:
      Dec 6, 2011
      Messages:
      268
      Likes Received:
      0
      Trophy Points:
      0
      rep + like :) No bans from interrupts from now on!
       
    18. @alisha

      @alisha Well-Known Member Buddy Store Developer

      Joined:
      Sep 29, 2012
      Messages:
      4,063
      Likes Received:
      94
      Trophy Points:
      48
      where to download it? cant find a link.
       
    19. stigge80

      stigge80 Member

      Joined:
      Nov 2, 2012
      Messages:
      115
      Likes Received:
      0
      Trophy Points:
      16
      Awsome.. i turned all my interupts off and doing them myself instead.
      But this makes it a bit more safer to turn it on..
      Good jobb.. !!! and i do like the idee of missing some interupts. we are still humans =D
       
    20. syrupgank

      syrupgank New Member

      Joined:
      Oct 30, 2014
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Anyone using this atm? Curious to know how it works in WOD :)
       

    Share This Page