• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Override - A Targeting Override Plugin

    Discussion in 'Archives' started by Apoc, May 30, 2010.

    1. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Since HB's targeting algorithm admittedly sucks ass. I wrote a quick little plugin to override the entire targeting algorithm, and replace it with my own weighting system. (Which works a hell of a lot better than HBs default system)

      Cons:
      • It does not include totems in the targeting list. (It may in the future if the HB devs don't fix their own before there's a greater need for this.)
      • It is potentially much slower. Since you're weighting the entire object list twice. (HB does it once, then we do it afterwards to get our own set of weights)

      Pros:
      • Different weighting depending on whether you're in combat or not.
      • IT HAS TARGETS WHEN IN COMBAT. And they're weighted properly.
      • Tries to avoid pulling mobs that can pull other mobs. (Lower weight is assigned to mobs with a possibly high number of adds)
      • Closer mobs = higher weight. It won't go for the mob in the back of the pack.
      • It completely overrides HBs targeting list. HB's internal logic will use the 'new' list instead of the crappy old one.

      Changelog:
      1.0.0.0 - Initial release
      1.0.1.0 - Fixed a bug causing an exception in TargetingMeOrPet function
      1.0.2.0 - Added mobs targeting party/raid members in combat
      1.0.3.0 - Removed minor bug where it would blacklist mobs when in party (and mob isn't tagged by us personally). Also fixed a potential crash due to some API quirks in HB.
      1.0.3.1 - Minor bugfix
      1.1.32.75 - Almost completely rewritten. Should be mostly bugless for now.
      1.1.35.81 - Fixed issue with including friendly targets in the list. (How the hell did I miss that?)
      Enjoy folks.
      1.1.42.106 - Almost complete rewrite. Should work much nicer in parties. Quest weighting is removed entirely. Now also includes extra weighting based on mob pathing. (So we can add more weight on mobs about to run into our path)

      You can get it from here: http://svn.apocdev.com/duridsource/trunk/TargetOverride/TargetOverride/Override.cs (Note: This link is self-updating as it's part of SVN. You can always get the latest version from this link.)

      Since some people were asking for ways to donate (not sure why) I created a button @ PayPal for you to donate to.

      [​IMG]
       
      Last edited: Jun 14, 2010
      king, exfelon and Anegus like this.
    2. pbettell

      pbettell Member

      Joined:
      Mar 14, 2010
      Messages:
      432
      Likes Received:
      17
      Trophy Points:
      18
      Testing now, with a pally raf pair.

      Edit 1: Works with the leader, crashes with pulse exception for follower, log attached (honorlog.txt).

      Edit 2: Doesn't really matter about the follower, it's targeting is relative to the leader anyway.

      Edit 3: Just crashed the leader, second log attached (honorlog leader.txt).
       

      Attached Files:

      Last edited: May 30, 2010
    3. fhlhwow

      fhlhwow New Member

      Joined:
      Jan 15, 2010
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      0
      Trying now on Rogue with default .cc
       
    4. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Thanks for the bug report. But since I don't have 2 accounts to test RAF on, I can't really do much. (And since the targeting is based off the leader, I guess it doesn't matter either way :p)
       
    5. assasin01

      assasin01 New Member

      Joined:
      Apr 18, 2010
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      0
      Apoc, could i use it to solve my losing lock problem ?
      Whenever i team up and use my toon for dps support, it will lose lock whenever my target is attacking someone else.
       
    6. pbettell

      pbettell Member

      Joined:
      Mar 14, 2010
      Messages:
      432
      Likes Received:
      17
      Trophy Points:
      18
      Just updated my first post again, crash on the leader, log is up there ^^^^^^^

      Edit: seems to be fixed, tyvm +rep
       
      Last edited: May 30, 2010
    7. moujoohoo

      moujoohoo New Member

      Joined:
      Apr 29, 2010
      Messages:
      448
      Likes Received:
      1
      Trophy Points:
      0
      Testing now on Pala.

      Edit: Working great. Good job :)
       
      Last edited: May 30, 2010
    8. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      Should be fixed now.
       
      mctrix likes this.
    9. assasin01

      assasin01 New Member

      Joined:
      Apr 18, 2010
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      0
      I should add that i'm not using RaF but i use HB for hybrid.(Empty profile)
       
    10. boarisch

      boarisch New Member

      Joined:
      May 20, 2010
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      thanks in advance dude! will test it after a short sleep of myself! one man, one word! respect!
      i am still new due hb, but still recognized the problems dealing nearest adds on a pull.
       
    11. tehehe83

      tehehe83 New Member

      Joined:
      May 8, 2010
      Messages:
      98
      Likes Received:
      1
      Trophy Points:
      0
      It would be great if it targeted mobs that are attacking party members too and this should be highest priority target :)

      ATM if monster targets and fights another party member and when raf leader ends combat with its current target wile another party member still fights - it crashes. There is nothing in logs.
       
      Last edited: May 30, 2010
    12. starnzl

      starnzl New Member

      Joined:
      Jan 19, 2010
      Messages:
      297
      Likes Received:
      1
      Trophy Points:
      0
      what a plugin..

      thanks bruv :D
       
    13. assasin01

      assasin01 New Member

      Joined:
      Apr 18, 2010
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      0
      My problem is similar. When you lose aggro it won't attack and will de-lock.
       
    14. jungly

      jungly New Member

      Joined:
      Apr 19, 2010
      Messages:
      394
      Likes Received:
      5
      Trophy Points:
      0

      ^ I second this request
       
    15. Haaskis

      Haaskis New Member

      Joined:
      Jan 15, 2010
      Messages:
      54
      Likes Received:
      1
      Trophy Points:
      0
      Maybe it's the CC, but this seems to be working really well when soloing.
       
    16. LAP87

      LAP87 Member

      Joined:
      Jan 15, 2010
      Messages:
      451
      Likes Received:
      0
      Trophy Points:
      16
      The plugin doesn't sit well with latest Stable or Quest Beta 3 when using it with Mordd's DK cc..
      It crashed just recently, has never done that before :S And it skips alot of mobs which it body-pulls instead :/
      So this is not for me atm ^^
       
    17. assasin01

      assasin01 New Member

      Joined:
      Apr 18, 2010
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      0
      can't use it with 1.921 either. It crashes on start...also using DK cc
       
    18. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      As usual, thanks for your time and effort Apoc. MaiN and Nesox must be loving/hating you :p
       
    19. Kredes

      Kredes New Member

      Joined:
      May 23, 2010
      Messages:
      92
      Likes Received:
      0
      Trophy Points:
      0
      Thanks apoc! looking good. though its not a BIG problem for me, since my pala actually can handle it, but sometimes it will die so this is deffently a nice plugin! ;)
       
    20. ZoOoOoM

      ZoOoOoM Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,213
      Likes Received:
      14
      Trophy Points:
      38
      I'm in love *_*

      Will be one of my botting essentials till the devs manage to make something better(if any :rolleyes:) in HB =p
       

    Share This Page