TEMPORARY SOLUTION FIX for REFILL ENERGY when running dungeon
Okay guys so, i found myself a solution messing around with the lua script worked fine so far so, if you guys use this script and got stucked on the refill screen i got a temporary solution for you
First, Download Total file commander
go to ankulua paste, open sw helper and edit
hit search button and search "refill energy with crystals" TWICE
you now should see this
--refill energy with crystals
function refillEnergy()
if(outOfEnergyYesBtnReg:exists(Pattern("OutOfEnergyYesBtn.png"):similar(.8), 2)) then
clickRandom(outOfEnergyYesBtnReg)
if(refillEnergyBtnReg:exists(Pattern("RefillEnergyBtn.png"):similar(.8), 1)) then
clickRandom(refillEnergyBtnReg)
if(refillEnergyYesBtnReg:exists(Pattern("RefillEnergyYesBtn.png"):similar(.8), 1)) then
clickRandom(refillEnergyYesBtnReg)
if(refillSuccessBtnReg:exists(Pattern("RefillSuccessBtn.png"):similar(.8), 1)) then
clickRandom(refillSuccessBtnReg)
if(refillCloseBtnReg:exists(Pattern("RefillCloseBtn.png"):similar(.8), 1)) then DELETE THIS LINE
clickRandom(refillCloseBtnReg) return true
end
end
end
end
end DELETE THIS END return false
end
NOW, on the very line you deleted you write:
wait(2)
keyevent(4)
wait(2)
NOW your function should be this:
--refill energy with crystals
function refillEnergy()
if(outOfEnergyYesBtnReg:exists(Pattern("OutOfEnergyYesBtn.png"):similar(.8), 2)) then
clickRandom(outOfEnergyYesBtnReg)
if(refillEnergyBtnReg:exists(Pattern("RefillEnergyBtn.png"):similar(.8), 1)) then
clickRandom(refillEnergyBtnReg)
if(refillEnergyYesBtnReg:exists(Pattern("RefillEnergyYesBtn.png"):similar(.8), 1)) then
clickRandom(refillEnergyYesBtnReg)
if(refillSuccessBtnReg:exists(Pattern("RefillSuccessBtn.png"):similar(.8), 1)) then
clickRandom(refillSuccessBtnReg)
wait(2)
keyevent(4)
wait(2) return true
end
end ONLY 4 ENDS
end
end return false
end
if you want to try it by yourself ok, or just copy my modified function and paste over your function "refill energy with crystals"
thats all, happy farming