• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] eDungeonBuddy DPS Targeting - Better targeting for DPS with DungeonBuddy

    Discussion in 'Archives' started by erenion, Mar 16, 2013.

    1. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      First off, please, read the the whole post, for my sanity. This plugin, is specifically for DPS USERS IN INSTANCES WITH A TANK (specifically MoP Heroics). Anyone else using it will have a bad time.
      3te7tw.jpg Theoretically this is in beta... Just a heads up. Appears to work well with ranged and mele DPS though.

      What is it?
      It's a plugin that overwrites the targeting logic in Honorbuddy. While it could be used with any bot, it was written with only DungeonBuddy in mind and will likely die in a horrible fire if used with anything else (or you will!).

      How is it different?
      It takes into account many more variables than the default DungeonBuddy targeting system does.

      What it looks at when choosing a target:

      Who you're currently attacking
      • Won't switch to a new target from your current one unless it has a good reason
      Who your tank is currently attacing
      • It looks at who your tank is attacking when deciding who it should be attacking
      • It also looks at who is attacking your tank, giving a higher priority to those who are
      Who your party is currently attacking
      • It will also look at all party members and take their targets into account
      How far away the target is from you
      • The farther away the target is, the less priority it gets, so you don't run half way across the instance every 10 seconds
      How far away the target is from the tank
      • The same as above, but with the tank, keeping you close to the tank and hopefully your group
      • This has a much higher weighting than the distance you are from the target so you'll stay close to the tank and won't wonder!
      How much health the target has
      • ​The lower the health of the target, the more likely you'll choose to attack it
      Some other stuff like if the target is fleeing and some obvious things like am I in combat, is my target in combat etc.

      Who can use it:
      It's is made to be used on DPS characters with DungeonBuddy in a party with a tank (ie the tank must have a tank icon by his name). It has only been tested with a ret pally on MoP heroics as of yet. I will, however, say that it is quite a big difference. It seems much more intelligent than DungeonBuddy did previously. However, if you are not a DPS character, trying to use this will end terribly for you as it is for DPS only. I also have no idea how it will preform with ranged DPS as I only have one account/character to test it with currently. I can't see it being bad though.

      Is it actually better?
      I find it to be a huge difference. Before I found DungeonBuddy to be on occasion wondering and attacking stupid targets. Now it seems much more intelligent, staying much closer to the group, especially the tank. I am biased however, so check for yourself!

      Anything I should know?
      Yes, because it overwrites the other targeting system, while it does attempt to restore it after you disable the plugin, it may fail. You may need to restart Honorbuddy to get normal targeting back. I think stopping and starting Honorbuddy should do the trick, however I may be wrong. Also, using this with anything other than DungeonBuddy as a DPS will end very, very badly. Also, since you're actually reading this, if you include the number 5 (five is okay too) in your post I will make sure to answer it (for support, or general awesomeness, I'll ignore trolls). Try and be sneaky about including it.

      Any DungeonBuddy settings I need?
      You should have the follow distance set to under 40, 20 works very well as far as I can see.

      As a developer can I take your code and use it?
      Sure! Feel free to do whatever you want with it, as long as you keep my little blurb at the top of the plugin and follow what it says. Pretty much it says no using it for commercial products, no removing the blurb and if you release your code at all, it must be in a .cs format (no .dll's!). Check the source code for more info.

      Why is there and e in front of the very long name of the plugin?
      Because all of my plugins used to have an e in front of their names, I figured I may as well carry on the tradition. The long name is an attempt at showing it's functionality so people who are tanks/healers/questers/doing battlegrounds don't get angry when they die in a horrible fiery flame using it.

      Planned features
      I may or may not add functionality for tanks and healers eventually. Other than that I have no idea.

      Suggestions?
      I'm always up for suggestions, leave a reply or send me a PM. Even if you think your idea is stupid let me know (unless it actually sucks, like making a bot that will take you to the moon :p). I always find that the "stupidest" ideas always end up being the best.

      Enjoy =)
       

      Attached Files:

      Last edited: Mar 16, 2013
    2. Dark57

      Dark57 New Member

      Joined:
      Jun 6, 2012
      Messages:
      500
      Likes Received:
      7
      Trophy Points:
      0
      Ok, you have a very informative post here. However you didn't mention if there is a settings window for your plugin? What types of features are we going to see there? Are you leveling up a ranged dps to continue development of this plugin or will this stay melee dps forever?

      Just a few thoughts, I may have some ideas for you if you can post more screen shots and let us know how much customization we have with your plugin.
       
    3. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      No settings as of yet. I literally started writing this today when Nesox told me to just write my own targeting script when I was complaining about the current one. I haven't started leveling a ranged dps. If it gets 1 download I'll update it for myself, if it's popular I'll develop it for w/e.

      To continue on settings, while I know people love changing their settings, and I guess I could make it so people could change weightings on different things, there are some things where customization isn't necessarily a good thing and I think this may be one of them. If people really want it I may add it but for now I'll work on optimizing the current settings for everyone.
       
      Last edited: Mar 16, 2013
    4. Megser

      Megser Well-Known Member

      Joined:
      Apr 17, 2010
      Messages:
      1,389
      Likes Received:
      73
      Trophy Points:
      48
      Glad to see you around Erenion. I'll be testing this.
       
    5. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      Welcome back :)
       
    6. flexkres

      flexkres New Member

      Joined:
      Apr 6, 2010
      Messages:
      459
      Likes Received:
      6
      Trophy Points:
      0
      is tanking part concidered to be implemented?
       
    7. randomstraw

      randomstraw Community Developer

      Joined:
      Jul 17, 2012
      Messages:
      1,611
      Likes Received:
      10
      Trophy Points:
      38
      everything thats 'wrong' with tanking should be implemented into a CR, not a plugin - doesn't make sense for this plugin to handle tanking, just by its meaning
       
    8. 23051602

      23051602 New Member

      Joined:
      Mar 5, 2011
      Messages:
      379
      Likes Received:
      0
      Trophy Points:
      0
      Well the advantage with a plugin is that there can be several of them loaded. If you want it in a CR you have to make a specialized CR just for Dungeonbuddy.
       
    9. flexkres

      flexkres New Member

      Joined:
      Apr 6, 2010
      Messages:
      459
      Likes Received:
      6
      Trophy Points:
      0
      It works perfect! Arms warr with singular, movement auto, taunting off just in case;)

      *edit*
      Forgot to tell you i love you for this :D
       
    10. flexkres

      flexkres New Member

      Joined:
      Apr 6, 2010
      Messages:
      459
      Likes Received:
      6
      Trophy Points:
      0
      btw just tried on hunter, works really really well
       
    11. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      Yes, I need to get my hands on a tank though. If anyone wants to be my guinea pig and test it for me let me know (no I won't login to your account, you just need to be on skype with me).

      Well I'm not sure what's wrong with tanks currently but if it's choosing targeting it should be done in the way I did it for DPS, NOT in a CR. CR's choose what skills to use, not who to use them on. I literally took the part of the bot that chooses targets, deleted it and used my own code.

      Much nicer eh? Glad you like it =)

      Glad to hear it, I assumed it would work well with ranged (if not better) I just hadn't tested it.
       
    12. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      Actually with this you can't. Only one of these type of plugins can be loaded at any time as it's not really a plugin.. The plugin is just a way of adding the code to the bot, the only plugin functionality is loading the code into the bot.
       
    13. razer

      razer New Member

      Joined:
      Apr 29, 2012
      Messages:
      1,347
      Likes Received:
      7
      Trophy Points:
      0
      So will this target the boss over the add's that spawn even tho the adds are not elite my dam dps trys to kill the adds and not the boss and there are like 500 adds spawned on this boss fight,

      Also it would be great if you could get it working for tank also :)
       
    14. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      I'm not sure exactly what you're asking... But it should target the boss yes, just try it.
       
    15. flexkres

      flexkres New Member

      Joined:
      Apr 6, 2010
      Messages:
      459
      Likes Received:
      6
      Trophy Points:
      0
      FYI, works quite nicely with Tyrael too :) if you wanna control more urself as movement and such.

      From now on i will only use this with tyrael in dungeons :D no cc targetting :D

      wieee...

      Btw, i just noticed, at times when there only are 2-3 mobs it took about 5 seconds to retarget something new.
      Since i dont know how its coded i cant say why :D but if you could make it do a recheck for new target a bit faster, if tank is in combat that would be awzum. **I noticed this with dungeonbuddy, do not know if it occurs with other botbases**

      "note i do not know if this is bugg due to CC or if its this, just thought id throw it out there" :)
       
      Last edited: Mar 17, 2013
    16. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      I've noticed that too, I'll look into it, I didn't notice the 2-3 mob part.

      Thanks for the report =)
       
    17. flexkres

      flexkres New Member

      Joined:
      Apr 6, 2010
      Messages:
      459
      Likes Received:
      6
      Trophy Points:
      0
      No problems, i would ofcourse understand it if there was 20 mobs in a fight :p
      It doesnt calculate targets that are NOT in combat with party member is it? Because it was at one point in a place with many mobs around but only 2-3 in combat.
       
    18. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      It ignores anything not in combat with your party.
       
    19. flexkres

      flexkres New Member

      Joined:
      Apr 6, 2010
      Messages:
      459
      Likes Received:
      6
      Trophy Points:
      0
      Nice, tell me if i can help with anything :) "not meaning coding, lols sortof hard to beat you at that ;)"
       
    20. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      You have a tank? :p If so pm me your skype.
       

    Share This Page