Byrth / Lua-Byrth

Lua Addons and Scripts
3 stars 2 forks source link

Gearswap and Midaction () Causing Lock up if you hit a spell during casting. #334

Closed Conagh closed 9 years ago

Conagh commented 9 years ago

Hi I had this the other day and Flippant kindly confirmed for me the issue.

I had narrowed it down to this ~

function precast(spell,action) if midaction() then cancel_spell() return end

Full gearswap is here, deleteing the above rule stopped it from locking up..

http://privatepaste.com/b491e8888d

Conagh commented 9 years ago

To Clarify, i wanted to know if there is a way around it getting caught midaction packet and as it never ends casting is there a way to terminate this Logic in a manner that if after x time it clears?

It was handy to have but as it stands withit I have unload gearswaps then reload when it locks up or I can't perform any spell/ja/ws

Byrth commented 9 years ago

Did you confirm it again last night? I'm pretty sure I fixed this two days ago when Flippant reported it on the Windower issues tracker.

Byrth commented 9 years ago

I think I'm going to close this, as I already have a more general issue open with #291