Jump to content
AC Tool Forums
  • Sign Up

Perilous

Members
  • Content Count

    42
  • Joined

  • Last visited

About Perilous

  • Rank
    Cool Newbie
  1. Ok, the healer is in fact healing itself just at a lower health level than I was expecting. That does not need to be altered. Attached is the TestLog results for this round of testing. TestLog v2.6.1.txt
  2. Ok, sorry for the delay I was out doing the Halloween thing with my family. I added Casttime as a declared variable and added DateUtils back into the Uses to accommodate MilliSecondsBetween. The healer will now heal the the groupmember, but not itself. Also, when the groupmember's client is active then the script is activating what is in his quickbar slots 3 and 4.
  3. The error is gone, but it continually shifts between the two clients making it near impossible to play the groupmember's client. Also, the healer is healing non-stop again.
  4. After starting the script the healer will target and auto-follow the group member, but shortly after this error occurs that stops the script:
  5. There are two kinds of cooldowns in World of Warcraft. Some spells have a set amount of time before they can be cast again. That is not the case with this particular healing spell. Then, there is what is called the Global Cooldown. This is a brief amount of time (usually 1.5 sec) and is there to prevent the spamming of abilities or spells. The GCD does impact the casting of this healing spell. The GCD prevents the casting or use of all spells or abilities until its duration is up. Spells and Abilities can be activated via command line usage. For instance, the healing spell I use can be activated with /cast Heal It may be necessary to preface the slash command with a prompter like /say I am not sure about that as I have never tried to cast a spell with a third-party app before.
  6. There are various heal spells available with varying casting times that a player may want to use, so they'll need to update that manually to optimize their healing. In this case, I use a 3 second cast and my guess on the additional 1.5 seconds is that it is to cover the "cooldown" before the spell can be cast again.
  7. Debug turned off. I set the Windows Theme color to Red and the script still worked as well as it did in Default Blue. I will try some other colors soon to verify there is no issue with a variety of themes. Note: I did have to add Dialogs to the uses in order to accommodate the line at the bottom of the script with mtError in it. It should also be noted for anyone else using this script that unless you are using it in a single game client environment as an afk healer for another player, it needs to either run on a separate machine than the client of the groupmember OR on a VM session. The fact that it will constantly set the active window to the healer will prohibit the playing of a second client on the same PC. I want to thank you again for all the work you put in on this, Wabbit. Not only did you get this working, but you turned a haphazardly written snippet of code into a professional looking script with commenting that will allow users to easily modify it to their individual needs.
  8. Ok, that worked! I tested it thoroughly. When the groupmember's health fell below 40% the healer healed him. When due to that healing the healer drew aggro and started taking damage she healed herself. I then pulled aggro back to the groupmember and once again when his health fell below 40% she healed him and as she started taking damage again she healed herself. I've attached the modified script as it stands now with the above results. WoW_Heal_v2 (1).psc
  9. I left the X Axis at 143 and tried a range on the Y Axis from 78 to 82 with no effect. The healer still self-heals non-stop.
  10. This is interesting. With line 130 commented out the healer will heal the groupmember and themselves non-stop With line 131 commented out and line 130 activated again the healer only self-heals non-stop.
  11. The numbers displayed on the health bar for the healer are only present when you mouse over them. Otherwise, it is just a blank green bar.
  12. Correction! I thought the healer was healing the target non-stop when not needed, but in actuality she is self-healing non-stop when not needed. TestLog results confirm: TimeStamp: 10/28/2019 05:48:57:780 pm - Setting mywow2 as the active window. TimeStamp: 10/28/2019 05:48:58:795 pm - Targeting the groupmember to auto heal. TimeStamp: 10/28/2019 05:48:59:802 pm - Checking to see if need to heal groupmember. TimeStamp: 10/28/2019 05:48:59:815 pm - Checking to see if need to heal self. TimeStamp: 10/28/2019 05:48:59:833 pm - Targeting Self. TimeStamp: 10/28/2019 05:49:00:339 pm - Healing self. TimeStamp: 10/28/2019 05:49:02:345 pm - Re-Targeting the groupmember. TimeStamp: 10/28/2019 05:49:02:851 pm - Checking to see if need to heal groupmember. TimeStamp: 10/28/2019 05:49:02:869 pm - Checking to see if need to heal self. TimeStamp: 10/28/2019 05:49:02:885 pm - Targeting Self. TimeStamp: 10/28/2019 05:49:03:391 pm - Healing self. TimeStamp: 10/28/2019 05:49:05:399 pm - Re-Targeting the groupmember. TimeStamp: 10/28/2019 05:49:05:908 pm - Checking to see if need to heal groupmember. TimeStamp: 10/28/2019 05:49:05:920 pm - Checking to see if need to heal self. TimeStamp: 10/28/2019 05:49:05:937 pm - Targeting Self. TimeStamp: 10/28/2019 05:49:06:444 pm - Healing self. TimeStamp: 10/28/2019 05:49:08:451 pm - Re-Targeting the groupmember. I will re-confirm MousePos for the healer.
  13. And yet.. I modified the MousePos script as follows and everything checks out. At full health I get the popup saying No Healing Needed. When at 20% health I got the popup saying he Needs Healing. It is working as it should, except for the constant healing when not needed. uses Classes, Dialogs, Divide; var // Define Global variables XLoc1; YLoc1; begin SetActiveWindow('mywow2'); Delay(2, 'sec'); // Set the global variables with the pixel location XLoc1 := WindowLeft + 97; YLoc1 := WindowTop + 173; if not Isgreen(WindowLeft + 97, WindowTop + 173) then MessageDlg('Needs Healing', mtInformation, mbOK, 0); else MessageDlg('Does Not Need Healing', mtError, mbOK, 0); end;
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.