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

tehHunterz CC --Pet Feed fixed by LAP87

Status
Not open for further replies.
Leave it to me to upload a cc that doesn't work at all. Sorry, guys! D:

Was too sleepy yesterday, and ended up not testing the code at all. Tested it this morning, there was about 3 syntax errors.

Anyway, I fixed those and actually tested it.

  • Pet revival works. If the hunter doesn't have enough mana initially he'll drink to full, then cast it again.
  • Feeds pet more often now. I still don't like how it works. It'll feed before a pull, but then it'd stand still for 10 seconds. If the mob walks out of range, it might cancel the target while the pet chases it.
Please download this one, I don't think the last one works.

EDIT: Added the mend pet feeding function. To use it:

View attachment 1094

Go to that segment of the cc (see picture) and change the bool to true.

EDIT2: Updated again

  • Got rid of the bug with feeding and the mob going out of range
  • Pet now attacks slightly earlier, no more waiting period after hunter's mark.
EDIT3: Applied a quick fix to the mount issue mentioned below. Simple open up the cc and replace "White Kodo" with whatever your mount's name is (the buff's name). It'd be cleaner if I can grab the information from HB, does anyone know how to do that?

Found out that the cc is currently completely incompatible with mounts. It will mount, call pet, and repeat the process forever. Working on a fix now.
 

Attachments

Last edited:
The food used in feed pet is whatever food you've set for eating in HB. So make sure your pet can eat the same food as you.

If you want to set the other configs, just open up the .cc file with notepad. There are some numbers you can change if you want to modify the behavior.
 
The food used in feed pet is whatever food you've set for eating in HB. So make sure your pet can eat the same food as you.

If you want to set the other configs, just open up the .cc file with notepad. There are some numbers you can change if you want to modify the behavior.

Works a charm! :D
 
After running some more, it feels like the profile is pretty solid now. Botted several hours with only 2 deaths.

Things I feel could be improved:

  • Pet handling. Right now, it's possible for the bot to attack a target the pet isn't. Not exactly a major issue, but overaggroing has been the cause of both deaths. Also, on the pull after dismounting the pet doesn't engage as early it should. Both of these are really non-issues, but it's still worth noting.
  • Melee response time. The bot takes its time to lay down a trap and strafe/disengage. Ideally this should be an action (Mongoose/Raptor/Wing Clip -> Trap -> Disengage/Move away) that is done within a few seconds. It's taking a few seconds too long right now.
  • Multiple target interaction. It may be my pet's fault (Boars can't hold multiple targets' aggro at all), but I always end up getting adds on me because of multishot. Freezing trap before the multishot wouldn't be a bad idea.
  • Maximizing AotV. If the player lets the bot (bool in config, I guess) do so, it should go and melee while AotV is up. This only works well when the hunter has a slow gun and is DWing 2 fast weapons. Just an idea.
  • Using cheetah between pulls, maybe. Would circumvent the inefficiency/bottiness with mounts.
  • Less user configuration is always good.
I'm probably not going to do any of these, but if anyone wants to improve the cc those are some suggestions.
 
Last edited:
I appreciate the strafe workaround, but there are a couple of things that this CC does not do as well as the default:

1. After sending the pet into combat, the bot does not wait for the pet to gain aggro. It invariably has the hunter fire *BEFORE* the pet gets to the mob or just as the pet gets to the mob, so the mob then charges the hunter. Not good.

2. This CC drains mana MUCH faster than the default hunter.cs. As soon as combat is over, the default hunter.cs switches to Aspect of the Viper if the hunter is down mana. This CC does not. It waits until the mana falls below a certain threshold before doing so. This results in a LOT of wasted time (looting, skinning, traveling) that could be spent regaining mana.

There is also some sort of a bug I'm hitting at level 73 - he keeps trying to mount his ram and then stops to summon pet (gorilla) even though the pet is right there.

Log:

Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
[tehHunter v0.4]: Pet summoned!
Resting.
Mounting:Swift White Ram
Stopping Honorbuddy.

Debug Log:

[10:50:24 PM:953] CastSpellById: 883
[10:50:25 PM:187] Took 265 ms to cast:Call Pet
[10:50:36 PM:234] CastSpellById: 27044
[10:50:36 PM:265] Took 62 ms to cast:Aspect of the Hawk
[10:50:40 PM:687] CastSpellById: 883
[10:50:42 PM:234] Took 1578 ms to cast:Call Pet
[10:50:49 PM:734] CastSpellById: 883
[10:50:51 PM:281] Took 1578 ms to cast:Call Pet
[10:50:58 PM:140] CastSpellById: 883
[10:50:59 PM:687] Took 1578 ms to cast:Call Pet
[10:51:07 PM:765] CastSpellById: 883
[10:51:09 PM:109] Took 1375 ms to cast:Call Pet
[10:51:18 PM:265] CastSpellById: 883
[10:51:19 PM:796] Took 1563 ms to cast:Call Pet
[10:51:26 PM:937] CastSpellById: 883
[10:51:28 PM:468] Took 1562 ms to cast:Call Pet
[10:51:35 PM:984] CastSpellById: 883
[10:51:37 PM:531] Took 1578 ms to cast:Call Pet
[10:51:44 PM:593] CastSpellById: 883
[10:51:46 PM:140] Took 1578 ms to cast:Call Pet
[10:51:55 PM:359] CastSpellById: 883
[10:51:56 PM:875] Took 1516 ms to cast:Call Pet
[10:52:04 PM:578] CastSpellById: 883
[10:52:06 PM:125] Took 1578 ms to cast:Call Pet
[10:52:13 PM:234] CastSpellById: 883
[10:52:14 PM:765] Took 1562 ms to cast:Call Pet
[10:52:22 PM:765] CastSpellById: 883
[10:52:24 PM:296] Took 1579 ms to cast:Call Pet
[10:52:31 PM:515] CastSpellById: 883
[10:52:33 PM:46] Took 1547 ms to cast:Call Pet
[10:52:40 PM:421] CastSpellById: 883
[10:52:41 PM:953] Took 1563 ms to cast:Call Pet
[10:52:49 PM:468] CastSpellById: 883
[10:52:49 PM:703] Took 235 ms to cast:Call Pet
[10:52:54 PM:140] Thread was being aborted. - From: mscorlib
[10:52:54 PM:265] --- Serious Error ---
[10:52:54 PM:281] Thread was being aborted. - From: Styx
 
Polk:

The cc automatically waits 1 second if the mob is 1 level above you, 2 if more. I can make it so that you set the time you want to wait before attacking though.

The AotV thing is something I could do. It's a bit complicated as the structure of the two CC's are different Nothing too complicated though.

You need to change the name of your mount to Swift White Ram.

find:

string mountName = "White Kodo";

and change it to

string mountName = "Swift White Ram";

in the .cc
 
Thanks for the quick reply.

Stupid question: Why does the mount have to be configured in the .CS file when it's one of the options in the settings tab of HB? Shouldn't it pull the mount name from that? Seems redundant to have to specify it in multiple places...
 
I don't know how to pull that string out :(

EDIT:

Okay, here's a version of the cc with what you asked for. I have a feeling it's going to stay in AotV most of the time since it needs to be over 70% mana to NOT be in it. It's supposed to change to hawk/dragonhawk during combat if mana is above 20%.

It definitely needs testing.

Please check if:


  • The hunter will change aspects multiple times over a long battle (ideally, start at 25% on pull and see what happens if the hunter goes below 20%, the over again).
  • Hunter waits 1.5s (or whatever you set it to) before attacking.
Tweak the .cc as you go, and if you could post what numbers worked well for you, that'd be great.
 

Attachments

Last edited:
My modded CC had no problems with mounts whatsoever before.. AFAIK the cc isn't the one handling mounting and such?

Edit 1.
There is alot of foreign code in the CC now, i feel overwhelmed xD
But Flog, you can remove the feed pet line in the pull section and that'll stop it from casting feed pet right before combat.
Dunno if you added it or if it was me who did it :P

Edit 2.
Code:
public string MountName { get; }
member of Styx.Styx.Helpers.StyxSettings
MountName reads from HB settings, your welcome ;P (you need to add "using Styx;" at the top tho)
 
Last edited:
The feed pet before combat thing was by me. I moved it. It should feed in between pulls now.

Thanks for the mount code!
 
The feed pet before combat thing was by me. I moved it. It should feed in between pulls now.

Thanks for the mount code!

Could you add your nick to your comments so it's easier for me to see exactly where you did what?
Also, the pet feed before combat is still intact.. don't know if it's functional but it's still there.
 
the cc doesnt care if the pet is here if the pet is dead it will pull and try to call it till its dead. it doesnt use intimidation.
 
the cc doesnt care if the pet is here if the pet is dead it will pull and try to call it till its dead. it doesnt use intimidation.

You sir need to learn how to use dots and commas. And "its" is referring to the toon or the pet?
 
The player doesnt use it.
i dont care for my dots and commas in a forum post;). Could you please fix it:D
 
The player doesnt use it.
i dont care for my dots and commas in a forum post;). Could you please fix it:D

You don't care about proper spelling, i don't care about you! :D
I'm not the developer of this CC, i just happened to fix it for my own purpose and i don't use Intimidation.
Pet revive is on Flogratio, ask him what he did or learn how to open up a CS-file and look it up yourself ^^
Have a good day.
 
I don't know how to pull that string out :(

EDIT:

Okay, here's a version of the cc with what you asked for. I have a feeling it's going to stay in AotV most of the time since it needs to be over 70% mana to NOT be in it. It's supposed to change to hawk/dragonhawk during combat if mana is above 20%.

It definitely needs testing.

Please check if:



  • The hunter will change aspects multiple times over a long battle (ideally, start at 25% on pull and see what happens if the hunter goes below 20%, the over again).
  • Hunter waits 1.5s (or whatever you set it to) before attacking.

Tweak the .cc as you go, and if you could post what numbers worked well for you, that'd be great.

It's working great! Am level 73 and kicking butt all over Shalozar Basin.

Am using the following settings:

viperStopPercent = 80;
pullWaitTime = 3500;

Those are the only variables I changed from the defaults.

Thanks!!
 
You don't care about proper spelling, i don't care about you! :D
I'm not the developer of this CC, i just happened to fix it for my own purpose and i don't use Intimidation.
Pet revive is on Flogratio, ask him what he did or learn how to open up a CS-file and look it up yourself ^^
Have a good day.
Well okay.There you go please pay attention to me now:D
Could you give me some tipps what to change to make the pet revive and intimidation working?
 
Well okay.There you go please pay attention to me now:D
Could you give me some tipps what to change to make the pet revive and intimidation working?

You gotta be a little more specific than that, for example. Do you want to use intimidation to get out of sticky melee situations or just randomly use it when grinding? You can forget PvP logic since i don't know how to incorporate it, only thing i know is that this CC uses Concussive Shot only in PvP and nowhere else.
As i said, revival is on Flogratio.. Either it's working or it's not. It kinda worked with my 2/3'rd release it just bugged out when you were low on mana and tried to revive it.
 
Here's the latest version I did. Added intimidation support (not tested, I can't cast it yet), and cleaned up viper usage a bit. Also got rid of the mount name config.

I also added freezing trap support (If I have one add on me, drop a freezing trap).

Once again, please feel free to tweak the configs and let me know what numbers worked well.

EDIT: Redid the redone Viper logic. Now, it will switch to Viper if mana is below 80% (or user set) between pulls. It will not switch out of it until it beings to pull. Then, if mana is above 20% (Log says 50, but it's 20), it will switch to hawk.

If mana is below 20%, it will stay in Viper until 50% (hence the 50% in log).
 

Attachments

Last edited:
Status
Not open for further replies.
Back
Top