• Visit Rebornbuddy
  • To fix Healing

    Discussion in 'Buddy Wing Forum' started by OddessaX, Feb 11, 2017.

    1. OddessaX

      OddessaX New Member

      Joined:
      Mar 22, 2013
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      1
      So we all know that buddywing is working in the loosest form, CR only basically. My understanding is that healing doesn't work because the bot cant detect current health of party members and I believe if thats fixed that most of the existing routine will start to work again.

      Knowing that this project is on the backburner for BuddyStaff my questions are simply this;

      To the dev team, how much work is involved and would any of you take up the work if people donated to the project

      To the members here, I understand we pay our subs but lets face it... There is no motivation for any dev at the moment outside of maintenance to further develop here.. I would like to know who'd spare a few bucks IF it would get healing brought back into the rotation.

      Love to get some input.
       
    2. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      many have already expressed this sentiment
       
    3. Bishop56

      Bishop56 Member

      Joined:
      Nov 1, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      6
      I would certainly dole out $20 for a working and maintained combat routine for a healing class! Rebornbuddy, my main game, has many such paid routines for their different classes
       
      Last edited: Mar 7, 2017
    4. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      The problem with healing is not with the routine from what I understand. It is from the bots inability to pass off to the routine the correct MAX.HEALTH variable. This all started when BIOWARE changed the game and introduced the level reduction and caps. Since then the devs have been unable to come up with a working way to get this variable accurately, this also attributes to why you will find the routines not necessarily optimized. The routines rely on these variable and logic when determining targets for dps and tanking as well.
       
    5. Bishop56

      Bishop56 Member

      Joined:
      Nov 1, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      6
      Ahh, makes sense. That sucks!

      Thanks for the quick explanation.
       
    6. Asbonia

      Asbonia Member

      Joined:
      Jan 13, 2016
      Messages:
      94
      Likes Received:
      3
      Trophy Points:
      8
      I'd easily help donate if it were a chance to..
       
    7. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      I had a concept which may work but I don't have the time to code it at all, see we can't get maxhealth but we can get current health. Without maxhealth we can't get percentages to weigh in on what we should do. Now if we were to recode the routine to read the health of each party member, then if health > learnedmax then health = learnedmax we could generate a max health variable to work from. This would take the highest health it see's for a party member and make it a max health variable to work from. Then you could get your percentages. Not for the faint of heart but a solution that could be implemented outside of the engine.

      Now if someone could program an example of this perhaps it could be implemented engine side.
       
    8. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      Its not that complex. I think it can be fixed in the combat routine. What I found via debugging is that:
      - HealthMax and HealthPercent are working for companions
      - Healthmax and HealthPercent are NOT working for other players (They show 0 value)
      - Health and statHealth can be used insead (they have correct values)

      Health = Current Health
      statHealth = Max Health
      Health % can be calculated from this two

      I am not that good at coding but someone can probably fix it easily... The variables are there... Just have to use the right ones :)

      check this log for more clarification
      [C#] Logging.Write("Target: " + BuddyTor.Me.CurrentTarget.Name); Logging.Write("Attr - Pastebin.com

      The Player targeted here is other player (not myself), but I forgot if it was same faction or not...
       
      Last edited: Mar 9, 2017
    9. Bishop56

      Bishop56 Member

      Joined:
      Nov 1, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      6
      Sounds like it would certainly be better than nothing, if not fix it well enough to be perfectly workable.
       
    10. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      Thanks for this, working on it with Aevitas. Hopefully this will work.
       
    11. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      The above made it into the latest release, but appears to have broken a bunch of stuff. The problem with health and maximum health is that they differ so greatly for the various types of objects in the game. For instance, another player and the local player are both players, but the method that is used to grab the local player will return 0 for the other player. The same goes for companions, which are technically NPCs, and other NPCs in the game world.

      Problem being is that you can't simply check if "0" is the result of the function not returning the proper value for that type of object (because they could be dead, in which case 0 is perfectly valid).

      We've made changes for testing that ended up in the last release, but those don't appear to be a definitive fix to the problem either. I'll be looking into the routine as well to see if anything fishy is going on in there that could cause healing to be broken. I'll keep you posted.
       
    12. kizilus

      kizilus Member

      Joined:
      Apr 14, 2014
      Messages:
      39
      Likes Received:
      0
      Trophy Points:
      6
      any progress or news about healing fix?
       
    13. kizilus

      kizilus Member

      Joined:
      Apr 14, 2014
      Messages:
      39
      Likes Received:
      0
      Trophy Points:
      6
      well, with broken healing the best way is to use healing companion, while we're waiting update
       
    14. Asbonia

      Asbonia Member

      Joined:
      Jan 13, 2016
      Messages:
      94
      Likes Received:
      3
      Trophy Points:
      8
      Yeah thats my suggestion aswell.. You never know.. Aevitas has suprised before - So I believe!
       
    15. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      I've just released an update which brings us back to where we were before this patch in terms of healing. I'll be looking into the routine to see if I can find anything obviously broken with that, as that's most likely where these problems come from.
       
      Asbonia likes this.
    16. Asbonia

      Asbonia Member

      Joined:
      Jan 13, 2016
      Messages:
      94
      Likes Received:
      3
      Trophy Points:
      8
      Just for an off topic question, is it possible to add like "Taunt when loss of aggro" for tanks?
       
    17. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      Yes, you can check the target's threat threat table and taunt when you're not top of the threat table, but should be.
       
    18. Asbonia

      Asbonia Member

      Joined:
      Jan 13, 2016
      Messages:
      94
      Likes Received:
      3
      Trophy Points:
      8
      Is it possible to get a example code on how it wouldve looked like? =) Also thanks for the quick answer <3
       
    19. SirSik

      SirSik Member

      Joined:
      Jul 9, 2013
      Messages:
      173
      Likes Received:
      6
      Trophy Points:
      18
      So is healing working at the moment or not? :)
       
    20. Logandros

      Logandros Moderator Moderator

      Joined:
      Nov 20, 2012
      Messages:
      370
      Likes Received:
      21
      Trophy Points:
      18
      Unfortunately, no.
       

    Share This Page