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

Blade flurry/Charged dash issue with releasing

Lay

Member
Joined
Jul 6, 2015
Messages
173
Reaction score
6
Recently I noticed that blade flurry and charged dash will no longer release with the code that was given in the previously archived threads. I assume things have changed since then but due to the archive i cant download any files to give them a shot.
Just trying to get a way to release blade flurry or charged dash (they work very similarly it seems) at a specific charge. Thank you!
 
To clear all held keys so they are no longer being pressed, you can use:

LokiPoe.ProcessHookManager.ClearAllKeyStates();

then you can send a key release

LokiPoe.Input.SimulateKeyEvent(LokiPoe.Input.Binding.detonate_mines, false, false, true);

Although I'm not sure if the client actually handles key releases like that, you might be able to just only have ClearAllKeyStates but you'd have to test
 
I put


var cdAura = LokiPoe.Me.Auras.Find(a => a.Name == "Charged Dash");
if (cdAura != null && cdAura.Charges >= 3)
{
LokiPoe.ProcessHookManager.ClearAllKeyStates();
_castingSlot = -1;
}

before the code "if (_isCasting && slot == _castingSlot && (LokiPoe.ProcessHookManager.GetKeyState(slotSkill.BoundKey) & 0x8000)"

(i'm not a pro programmer, i can somewhat read code and i dont have any programs for it either, notepad :P)
however that didnt seem to work. I also put in "LokiPoe.Input.SimulateKeyEvent(LokiPoe.Input.Binding.detonate_mines, false, false, true);" but it did end up crashing exilebuddy.
Does the bot read auras differently than it did previously?
 
you most likely had another error to actually crash EB.

No, auras are still the same and are used for a lot of code, so worse case it will simply throw an exception in the routine and show a lot of red text.

OldRoutine is a big example routine that doesn't really have user friendly code to rewrite unless you exactly know what you're doing. We do plan on updating the routine for 3.3+ to a new system to help avoid this issue, but it's one of those long term projects that will take time to address all the issues there are in this game with skills and how you can use them.
 
yeah neither charged dash or blade flurry worked when i tried it with that code, so not entirely sure what i need to do. maybe someone will update their code soon on releases. aw well. thank you
 
found out why my code wasnt working when it seemed to be all good.
Like an idiot i forgot that im running the game and bot sandboxed (so i dont have to change my settings when I want to seriously play)
Due to that the files were placed elsewhere. Modified the code there and bam, worked fine. my bad :D
 
Back
Top