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

Don't cast Vaal Haste

Inokichi

Member
Joined
Jun 22, 2014
Messages
114
Reaction score
0
For some reason the bot dont cast vaal haste and i have the option checked any solution pls?
 
Thanks for reply , but i don't have idea what lines on code i need change to get this working :(
Please dev's help with this please
 
Last edited:
download the one provided in that thread and replace your exampleroutine.cs
that is an old thread so it is likely going to break.

You are better to open exampleroutine.cs that is the default combat routine, and search for totems to see what is happening. PushEDX and the team have some nice code in there so it is ok to 'read'

note that this will likely cause you to ask more questions and.. I am over this thread.
 
download the one provided in that thread and replace your exampleroutine.cs
that is an old thread so it is likely going to break.

You are better to open exampleroutine.cs that is the default combat routine, and search for totems to see what is happening. PushEDX and the team have some nice code in there so it is ok to 'read'

note that this will likely cause you to ask more questions and.. I am over this thread.
Thanks another time :) , i go check totems and check the code but....i dont have idea about it :(
 
I didn't either at first but C#, that the combatroutine.cs (.cs C Sharp) is written in, is simple, compared to other languages, to follow when dealing with code snippets within functions/methods. It basically reads like a somewhat linear story. Such as the code within the totem handling as you will see when you check it out.

It is when you start dealing with classes and all the polymorphism that comes with it, namespaces, objects within objects, exception handling, event throwing and catching, and that greymagic stuff... then it gets too much to begin with.

wimm
 
Im modifing something lets see if this work or i destroy the computer :P, thanksss wimm!
 
Code:
if (cachedRarity >= Rarity.Rare && myPos.Distance(cachedPosition) < 70)
{
	Log.InfoFormat("[WIMM rareclose checking VAAL");
	var skill = LokiPoe.InGameState.SkillBarPanel.Slot(8);
	if (skill.CanUse())
	{
		Log.InfoFormat("[WIMM] rareclose CanUse VAAL");
		var err1val = LokiPoe.InGameState.SkillBarPanel.Use(8, true);
		if (err1val == LokiPoe.InGameState.UseError.None)
		{
			await Coroutine.Sleep(Utility.LatencySafeValue(500));
			await Coroutines.FinishCurrentAction(false);
			await Coroutine.Sleep(Utility.LatencySafeValue(100));
			Log.InfoFormat("[WIMM] rareclose Using VAAL");
			return true;
		}

	Log.ErrorFormat("[WIMM] rareclose but vaal code failed! Use returned {0} for {1}", err1val, skill.Name);
	}
}

This code is from you maybe it work?
 
Back
Top