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!

Getting Abyssal Cry to work

ptvipz

New Member
Joined
Dec 18, 2015
Messages
9
So, Abyssal Cry is really strong this patch with all the chaos dmg.

My question is, is there a way to make it work like Enduring Cry?

Thank you for your time,
vipZ
 
So, Abyssal Cry is really strong this patch with all the chaos dmg.

My question is, is there a way to make it work like Enduring Cry?

Thank you for your time,
vipZ

1. Open up EB > Routines > OldRoutine > OldRoutine.cs using notepad.
2. Search for Endur
3. Duplicate every entry you find that has to do with EnduringCry and rename the duplicated item to Abyssal Cry.
4. Profit

IE: When you find:
Code:
private int _enduringCrySlot = -1;
You would add another entry like
Code:
private int _abyssalCrySlot = -1;

Then

Code:
_enduringCrySlot = -1;
Code:
_abyssalCrySlot = -1;

Then

Code:
var ec = LokiPoe.InGameState.SkillBarPanel.Skills.FirstOrDefault(s => s.Name == "Enduring Cry");
				if (IsCastableHelper(ec))
				{
					_enduringCrySlot = ec.Slot;
				}
to
Code:
var ac = LokiPoe.InGameState.SkillBarPanel.Skills.FirstOrDefault(s => s.Name == "Abyssal Cry");
				if (IsCastableHelper(ac))
				{
					_abyssalCrySlot = ac.Slot;
				}

Etc etc all the way through the file. Have EB closed when you do this. Save it, and start it up.
This is assuming abyssal cry works pretty much identical to enduring cry. I have never used abyssal cry myself.
 
I've tried that before, didn't work.
Just tried to edit the file again but it didn't work as well, It shouldn't be that hard since its mechanic is pretty much Enduring Cry.


Edit:

So, It works now after editing this code

Code:
// Since EC has a cooldown, we can just cast it when mobs are in range to keep our endurance charges refreshed.
	if (_abyssalCrySlot != -1)
{
// See if we can use the skill.
	var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_abyssalCrySlot);
	if (skill.CanUse())
{
	if (EnduranceChargesTimeLeft.TotalSeconds < 5 && Utility.NumberOfMobsNear(LokiPoe.Me, 30) > 0)
{
	var err1 = LokiPoe.InGameState.SkillBarPanel.Use(_abyssalCrySlot, true);
	if (err1 == LokiPoe.InGameState.UseError.None)
{
	await Coroutine.Sleep(Utility.LatencySafeValue(500));

	await Coroutines.FinishCurrentAction(false);

	return true;
}

	Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);
}
}

But now my character just uses Abyssal Cry, doesn't cast my main skill (Blade Vortex).
Any help on this?
 
Last edited:
I was bored after lunch and had been wanting to add back in golem support to OldRoutine for myself. While i was in there i added in the abyssal stuff for you. It wasnt just copy/pasta the enduring cry code since enduring cry has charges and abyssal cry does not. But it was close enough, just had to add a stopwatch for abyssal cry since it can only be cast ~every 4 seconds.

The golem code works fine .. will summon golems if they are on bar. (used Tozededao code).
The abyssal code will cast abyssal cry every 4.2 seconds (4 seems a little too soon sometimes) as long as there is atleast 1 mob within 30 yards of you. If there is a better behavior for using abyssal cry let me know.


Make sure you back up your OldRoutine folder before using the new modified version just incase i messed something up, but i tested abyssal cry and golems for ~10 minutes and everything worked fine for me.

Modified OldRoutine with Golems/AbyssalCry --> View attachment OldRoutine.zip
 
Whoa, going to try it out.
Thanks for the help Buddy!

Edit: Working like a charm! Guess I missed something up. Really appreciated bud!
 
Last edited:
Back
Top