• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [PAID] HazzDruid [Premium Edition]

    Discussion in 'Druid' started by hazard, Feb 7, 2011.

    1. hazard

      hazard Well-Known Member Buddy Store Developer

      Joined:
      Sep 16, 2010
      Messages:
      1,854
      Likes Received:
      59
      Trophy Points:
      48
      @LiquidAtoR
      As a druid you would cast Nourish if you have a Rejuvenation, Regrowth or Lifeblood effect on the target followed straight after by a healing touch.
      I can get it to cast the Nourish effect fine when one of the other effects are on the target but then it just spams Nourish over and over.
      I've only put a quick work around in at the moment, but hoping to find a way to perfect it soon.
       
    2. primo

      primo New Member

      Joined:
      Sep 19, 2010
      Messages:
      1,059
      Likes Received:
      0
      Trophy Points:
      0
      going to give this a try agian will give feedback later
       
    3. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      I suppose it gets caught into some loop one way or the other.
      Maybe its because nourish has no real HP level to be cast then (as I read your explanation there's only a need for any of the other HoT's to be present) that it goes into the loop because of that.
      When it casted the nourish it should move on to another spell again since the target's HP supposedly moved up to another treshold for another spell.
      So it might be a solution to put nourish on a HP level (which it probably makes it inefficient usage of nourish, but will prevent the casting frenzy) or make a internal countdown before it's cast again might also be a solution to prevent the loop.

      I didn't look into your latest codebase so forgive me if I write something that you've done already.

      I never played a restodruid (and highly unlikely I ever will), but I'm botting my wife's sometimes, therefor the interest (so I at least know what to look for :))
      I have a druid of my own, but it's a tanker (even under these poor circumstances where there's no more bear love from blizzard).

      Thanks for the update.
      Regards, Liquid.
       
    4. xsilverdicex

      xsilverdicex New Member

      Joined:
      Jan 15, 2010
      Messages:
      1,389
      Likes Received:
      14
      Trophy Points:
      0
      I dont no Alot about making cc's but Could you say reverse it? for example keep the current if Rejuvenation, Regrowth or Lifeblood effect on the target Cast nourish then healing touch. To stop the spamming could u add a HP Vale to STOP casting nourish? so if target exceeds HP "value" Stop nourish? if it can be done would work better then a HP "Value" to start casting?
       
    5. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Technically speaking it should stop healing when it reaches another treshold for the next spell.
      But because the second variable (is there a HoT) = true even when health has passed the other value it will keep casting Nourish (that was the problem I guess)
      I'm sure haz has a plan on how to solve it.
      Just consider this a bit of brainstorming (or something to ignore :D), who knows, something useful might come out of it (or give you an idea).
       
    6. hazard

      hazard Well-Known Member Buddy Store Developer

      Joined:
      Sep 16, 2010
      Messages:
      1,854
      Likes Received:
      59
      Trophy Points:
      48
      Well I have an idea to add a line to blacklist the Nourish spell for 5 seconds after using, however I can't think of a line to add without getting errors? :D

      Example:
       
      Last edited: Mar 14, 2011
    7. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Maybe use a stopwatch?

      Like I have in my disenchant plugin (around line 141 if my version is the same as the published one :D)

      I will elaborate a bit more when I'm back home tonight on the idea that is breeding in my head on a timed spellcast that would possibly fit into your codebase.

      For example declare a bool NourishCast that will become true when Nourish is cast, and then a timer runs for x seconds and then it becomes false again.
      Think that will work better than try to contain the spell itself (and possibly cause delays that are unwanted).

      Don't have much time to give an example. I'm taking my pups to the vetrinarian for checkups and 1 other gets a echo to see if the covering was succesful or not.
      Further I also have to undergo some tests as they think something's wrong with me as well.
      Either way I'm back later today, and will see about something before I am raiding.

      On the other hand I'm sure you will be able to come up with something, when the idea's are handed. I'm by no means any good in coding. It's just house, garden and kitchen skills I picked up while working with things like HB and other stuff. You know, work a bit on this, copy and paste a bit there, and gosh, it works :p

      Edit: I continued to post on your support request topic so it stays refrained here from "off-topic" posts :)
       
      Last edited: Mar 14, 2011
    8. Zenda

      Zenda New Member

      Joined:
      Mar 12, 2011
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      is it this programm or is it some other thing that manages the item rolling system ? im trying to get equipment out of heroics , but it doesnt roll on the heal items ;/ it just needs the feral items :(
       
    9. xsilverdicex

      xsilverdicex New Member

      Joined:
      Jan 15, 2010
      Messages:
      1,389
      Likes Received:
      14
      Trophy Points:
      0
      Instancebuddy handles loot. This is just a CombatClass
       
    10. Zenda

      Zenda New Member

      Joined:
      Mar 12, 2011
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      0
      how do i fix it ?
       
    11. xsilverdicex

      xsilverdicex New Member

      Joined:
      Jan 15, 2010
      Messages:
      1,389
      Likes Received:
      14
      Trophy Points:
      0
      Upload a logfile in the Instancebuddy thread under plugins.
       
    12. primo

      primo New Member

      Joined:
      Sep 19, 2010
      Messages:
      1,059
      Likes Received:
      0
      Trophy Points:
      0
      is there anyway i stop him using the damn remove coruption cause in some fight he keeps romoving the curses time after time and my tank keeps dying

      thnx
       
    13. snoweey

      snoweey Member

      Joined:
      Jan 15, 2010
      Messages:
      416
      Likes Received:
      2
      Trophy Points:
      18
      Interesting why would removing curse. Cause the tank to die. Help me follow the chain if events.
       
    14. primo

      primo New Member

      Joined:
      Sep 19, 2010
      Messages:
      1,059
      Likes Received:
      0
      Trophy Points:
      0
      sometimes in a instance the tank runs into mobs when like 3 of them caste curses he trys to remove all of them without healing the freaking tank, and then gues whats happen when the tank doesnt get some healing .........
       
    15. hazard

      hazard Well-Known Member Buddy Store Developer

      Joined:
      Sep 16, 2010
      Messages:
      1,854
      Likes Received:
      59
      Trophy Points:
      48
      If you wish for the CC to stop removing curse then delete the following lines:

      41: else if (Cleansing())
      42: return;
       
    16. snoweey

      snoweey Member

      Joined:
      Jan 15, 2010
      Messages:
      416
      Likes Received:
      2
      Trophy Points:
      18
      O ok was just curious.
       
    17. darex11

      darex11 New Member

      Joined:
      Aug 27, 2010
      Messages:
      47
      Likes Received:
      1
      Trophy Points:
      0
      Don't work for me, all time try cast MOTW, log:

      Code:
      [10:04:03:624] Changing current profile to Empty Profile
      [10:04:07:533] Chose HazzDruidDungeon as your combat class!
      [10:04:07:647] Cleared POI
      [10:04:07:648] Cleared POI - Reason Starting up
      [10:04:07:648] Cleared POI
      [10:04:07:753] Your spec has been detected as None
      [10:04:07:753] You are a level 85 Restoration Druid
      [10:04:08:500] selfcast Mark of the Wild
      [10:04:08:596] [Instancebuddy v3.0.1.270]:Loading dungeon script for 'Lost City of the Tolvir'
      [10:04:08:659] [Instancebuddy v3.0.1.270]:Tank is set to: Paladin with MaxHP: 159395
      [10:04:09:243] selfcast Mark of the Wild
      [10:04:15:827] Activity: Combat
      [10:04:17:243] no Remove Corruption Xxxx Distance: 19
      [10:04:17:258] selfcast Mark of the Wild
      [10:04:17:374] no Remove Corruption Xxxx Distance: 19
      [10:04:17:391] selfcast Mark of the Wild
      [10:04:17:426] no Remove Corruption Xxxx Distance: 19
      [10:04:17:441] selfcast Mark of the Wild
      [10:04:19:56] no Remove Corruption Xxxx Distance: 19
      [10:04:19:76] selfcast Mark of the Wild
      [10:04:19:107] no Remove Corruption Xxxx Distance: 19
      [10:04:19:126] selfcast Mark of the Wild
      [10:04:19:306] no Remove Corruption Xxxx Distance: 19
      [10:04:19:331] selfcast Mark of the Wild
      [10:04:19:443] no Remove Corruption Xxxx Distance: 19
      [10:04:19:467] selfcast Mark of the Wild
      [10:04:19:507] no Remove Corruption Xxxx Distance: 19
      [10:04:19:532] selfcast Mark of the Wild
      [10:04:19:733] no Remove Corruption Xxxx Distance: 19
      [10:04:19:758] selfcast Mark of the Wild
      [10:04:20:291] Start/Stop button pressed.
      [10:04:20:302] Stopping the bot!
      
       
    18. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Instead of deleting it I would suggest to comment it out, so you can revert to decursing.

      Look for
      Code:
         else if (Cleansing())
                      return;
      Add at start of each line a double slash like
      Code:
      //   else if (Cleansing())
      //                return;
      Look for (around like 283)
      Code:
      private bool Cleansing()
      Put before that
      Code:
      /*
      Look for (around line 336)
      Code:
      private WoWPlayer GetHealTarget()
      Put before that
      Code:
      */
      This should totally disable all the cleansing related issues.
       
    19. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
    20. primo

      primo New Member

      Joined:
      Sep 19, 2010
      Messages:
      1,059
      Likes Received:
      0
      Trophy Points:
      0
      thnx guys for the answers
       

    Share This Page