What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

tehHunterz CC --Pet Feed fixed by LAP87

Status
Not open for further replies.
I am so sorry everyone, i thought it was using Mend Pet!
But infact it didn't.. So here is a fixed version. I also added in "MendPet" percent so you can set it yourself at the top in the cs ^^

Here ya go.

Nice! :)

Could you fix the revive bugg also? It won't ress my pet after hes been killed... Heres some logs!

[tehHunter v0.4]: No aspect found. Switching to Hawk...
tehHunter v0.4
[tehHunter v0.4]: Killing Wyrmcult Hewer at distance 18
[tehHunter v0.4]: Casting Hunter's Mark
[tehHunter v0.4]: Pet did not appear after calling, attempting to summon...
[tehHunter v0.4]: Casting Serpent Sting
[tehHunter v0.4]: Pet did not appear after calling, attempting to summon...
[tehHunter v0.4]: Casting Immolation Trap
[tehHunter v0.4]: Pet did not appear after calling, attempting to summon...
[tehHunter v0.4]: Casting Feign Death
[tehHunter v0.4]: Pet did not appear after calling, attempting to summon...
[tehHunter v0.4]: Pet did not appear after calling, attempting to summon...
[tehHunter v0.4]: Pet did not appear after calling, attempting to summon...
[7:46:12 PM:263] interact: 0x32AC2938
[7:46:12 PM:286] interact done: 0x32AC2938
[7:46:16 PM:587] [Navigator (Blade Edge Egen.mesh)]: Changed destination! Last: <2741.525, 5422.828, 136.872>, new: <2734.146, 5426.662, 136.6979>
[7:46:17 PM:561] CastSpellById: 14325
[7:46:19 PM:79] Took 1529 ms to cast:Hunter's Mark
[7:46:19 PM:156] CastSpellById: 883
[7:46:19 PM:533] Took 390 ms to cast:Call Pet
[7:46:25 PM:606] Can't cast Revive Pet
[7:46:25 PM:624] CastSpellById: 25295
[7:46:25 PM:641] Took 32 ms to cast:Serpent Sting
[7:46:25 PM:990] CastSpellById: 883
[7:46:26 PM:358] Took 390 ms to cast:Call Pet
[7:46:32 PM:382] Can't cast Revive Pet
[7:46:32 PM:449] CastSpellById: 27023
[7:46:33 PM:985] Took 1545 ms to cast:Immolation Trap
[7:46:34 PM:319] CastSpellById: 883
[7:46:35 PM:46] Took 748 ms to cast:Call Pet
[7:46:41 PM:78] Can't cast Revive Pet
[7:46:41 PM:161] CastSpellById: 5384
[7:46:41 PM:489] Took 343 ms to cast:Feign Death
[7:46:41 PM:829] CastSpellById: 883
[7:46:42 PM:157] Took 343 ms to cast:Call Pet
[7:46:48 PM:214] Can't cast Revive Pet
[7:46:48 PM:823] CastSpellById: 883
[7:46:49 PM:335] Took 546 ms to cast:Call Pet
[7:46:56 PM:381] Can't cast Revive Pet
[7:46:57 PM:8] CastSpellById: 883
[7:46:57 PM:372] Took 390 ms to cast:Call Pet
[7:47:03 PM:835] Combat Exception
[7:47:03 PM:950] Tr?den h?ll p? att avbrytas. - From: mscorlib
[7:47:04 PM:88] Tr?den h?ll p? att avbrytas. - From: mscorlib
[7:47:04 PM:131] tehHunter v0.4
[7:47:04 PM:142] Tr?den h?ll p? att avbrytas. - From: Styx

Thanks :)

Note: It may be because i havent specced Improved Revive Pet because it costs more than 50% mana!
 
Last edited:
I am so sorry everyone, i thought it was using Mend Pet!
But infact it didn't.. So here is a fixed version. I also added in "MendPet" percent so you can set it yourself at the top in the cs ^^

Here ya go.

Super star! Thanks for that.
 
Well yeah, i'm trying atleast ^^ fpsware said something about cooking up a hunter cc after cleaning up his other cc's. And then this one probably will be obsolete i'm afraid :/
 
I'm in the process of resolve the few remaining bugs in my current CC's. Once I'm happy with them I'll be working on a new Hunter CCs. Like all my others, this will automatically support all trees and RAF.
 
Yeah well, i'll try to keep this one floating until you do fps ^^ I'm not a dev, so it's tricky :P
 
I'm in the process of resolve the few remaining bugs in my current CC's. Once I'm happy with them I'll be working on a new Hunter CCs. Like all my others, this will automatically support all trees and RAF.

Awsome! Looking forward too it.
 
Would be awesome if u could add an feature for mend pet happiness instead of feed pet :P
 
Well, if you have glyph/skill then it shouldn't be feeding your pet. It's set to a certain degree of pet happiness. Not timer ^^
 
EDIT: It still freaks out if you don't have enough mana to revive the pet, gonna see if i can add some checks for that tomorrow...
---------------------------------------------------------------------------------------------------------
Fixed Revive, There was some ( ) missing...
I killed my pet and tried it. It works for me, so if it doesn't work for you i don't know what to do.

****
Bugs:
I've noticed some Disengage and Feign Death problems as of the latest HB, i do not know what to do about it. Sorry.
****
 

Attachments

Last edited:
It would be nice to have the above update provided by LAP87 and all future updates posted on the first post of this thread. Newbies like me are oblivious to the fact that the updates are buried deep within the thread.
 
It would be nice to have the above update provided by LAP87 and all future updates posted on the first post of this thread. Newbies like me are oblivious to the fact that the updates are buried deep within the thread.
Sorry, but since Tony took the liberty of posting my modded CC for me i have no control over this.
 
This thing has a fairly bad habit of getting stuck constantly strafing/backing up. It gets fixed when I move it in the direction it's stuck moving it. The issue is happening very often, at least once every 5 minutes so far. Makes non-monitored botting impossible. The issue happens during combat, so I end up strafing away from my next waypoint. If it's stuck backing up, the small twitches of forward movement from HB and the backing up nearly cancel each other out and I get stuck.

Didn't manage to get a copy of the log, sorry.
 
This thing has a fairly bad habit of getting stuck constantly strafing/backing up. It gets fixed when I move it in the direction it's stuck moving it. The issue is happening very often, at least once every 5 minutes so far. Makes non-monitored botting impossible. The issue happens during combat, so I end up strafing away from my next waypoint. If it's stuck backing up, the small twitches of forward movement from HB and the backing up nearly cancel each other out and I get stuck.

Didn't manage to get a copy of the log, sorry.

The strafe-bug is a HB problem, and i'm not the CC dev...
 
Made a quick fix for the strafe bug. Bandera's mage cc uses a different method of backing up, and it seems to work pretty well.

You must have strafe left bound to Q, backward to S, and strafe right to E for this fix to work, but that should apply to most players.

find this segment of code in the cc

Code:
            else
            {
                Random random = new Random();
                int RandomMovement = random.Next(0, 2);
                switch(RandomMovement)
                {
                    case 0:
                        {
                            WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft);
                            Thread.Sleep(1000);
                            WoWMovement.MoveStop();
                            _me.CurrentTarget.Face();
                            break;
                        }
                    case 1:
                        {
                            WoWMovement.Move(WoWMovement.MovementDirection.Backward);
                            Thread.Sleep(2000);
                            WoWMovement.MoveStop();
                            _me.CurrentTarget.Face();
                            break;
                        }
                    case 2:
                        {
                            WoWMovement.Move(WoWMovement.MovementDirection.StrafeRight);
                            Thread.Sleep(1000);
                            WoWMovement.MoveStop();
                            _me.CurrentTarget.Face();
                            break;
                        }
                }
            }
and replace it with

Code:
  else
            {
                Random random = new Random();
                int RandomMovement = random.Next(0, 2);
                switch(RandomMovement)
                {
                    case 0:
                        {
                                    Styx.Helpers.KeyboardManager.PressKey('Q');
                                    Thread.Sleep(1000);
                                    Styx.Helpers.KeyboardManager.ReleaseKey('Q');
                                    WoWMovement.MoveStop();
                            _me.CurrentTarget.Face();
                            break;
                        }
                    case 1:
                        {
                                    Styx.Helpers.KeyboardManager.PressKey('S');
                                    Thread.Sleep(2000);
                                    Styx.Helpers.KeyboardManager.ReleaseKey('S');
                                    WoWMovement.MoveStop();
                            _me.CurrentTarget.Face();
                            break;
                        }
                    case 2:
                        {
                                    Styx.Helpers.KeyboardManager.PressKey('E');
                                    Thread.Sleep(1000);
                                    Styx.Helpers.KeyboardManager.ReleaseKey('E');
                                    WoWMovement.MoveStop();
                            _me.CurrentTarget.Face();
                            break;
                        }
                }
            }
            return "";


The bugged strafing behavior would trigger AFTER the fight if the bot had tried to strafe some time during the fight. The original code should have worked, but there was probably issue with the threading in honorbuddy. By directly inputting the movement key, the issue goes away.
 
Last edited:
Thanks Flogratio, i'll update the CC and upload it here when i confirm that your quick-fix works.
You seem to know a thing or two, do you have any interest in taking a look at the Revive Pet section?
Apparently it freaks out when it is low on mana and tries to Revive Pet, causing it to die over and over.
 
Sure, I'll take a look at it.

When does the freaking out occur? According to the code, there are 3 spots where it can happen:

1) While resting with low mana (very low, 5%) or hp (30%)

2) On the initial pull, after the hunter's mark and before the serpent sting

3) During combat, before any spell is cast.

From what I can see, the code for pet revival is kind of meh, so I might redo it entirely.

I'm also going to look into pet feeding, right now it only feeds at <5% mana or <30% hp.
 
Here's a version that hasn't been tested yet. Let me know your results please.

Changes from LAP87's latest version:


  • New behavior for strafing/backing up out of range. Should no longer get stuck strafing after combat and will strafe on time.
  • Got rid of some minor spam in the log.
  • Pet revival redone.
  • Conditions for resting changed. If the pet does not exist, bot will rest and attempt to call/summon it.
  • Checks pet happiness before every pull, instead of only during rest.
I didn't test the items in red much, so if someone could:


  • Let the pet die, see if the revive pet goes off properly.
  • Get to low mana/hp, see if resting still works properly.
  • First two at the same time (Have pet die during battle, get to low hp/mana). See how the bot handles not having enough mana to revive pet.
And let me know the results.

next on the list: mend pet instead of feed pet if user has the glyph (probably just have them set it by hand)
 

Attachments

Last edited:
Yeah, the mend pet/feed pet was my doing ^^ The original was so effing broken i had to redo the whole section by my limited knowledge ;D
AFAIK, the CC should throw a piece of food at the pet once it's happiness goes under 65 (Yellow mood)...? Atleast that's how i coded it.

Thanks alot Flog, gonna take a look at your code later today.


- Uploaded modded CC on the first page
 
Last edited:
Dont you guys use the Mend pet glyph? I just put it under feed pet that it will use mend pet as well.
 
Status
Not open for further replies.
Back
Top