1. What OS you are at?
Win 10 Pro
2. Real PC or VPS?
Pc
3. Using WindAddons? Which version?
Yes, Beta 5
4. Which version of WindBot?
Beta 34
5. Which version of Game Client?
Lastest
6. Do you have a Dedicated Graphics Card?
Yes
7. Detailed description of the problem.
I was hunting today while playing another game and my character died in a sutiation where it shouldn't have, I didn't realize the reason at the very moment but I was botting now again and I wanted to leave the cave. Instead of chosing the waypoint and setting it up, I closed my supplies backpack, which would trigger my Resupply condition which is:
The condition(no supplies visible) were met, but it did not changed the waypoint which made me die out of supplies not leaving the cave.PHP Code:
-- Refiller
auto(1000)
local Cap = 0
if needresupply(Cap) then
if $posz == 11 and $wptsection == "Hunting" then
setsetting('Targeting/Enabled', 'yes')
gotolabel("Leave", "Travelling")
wait(1000)
end
end
I changed it to a itemcount() thing but needresupply() was easier :P
8. If applicable, a GIF of the action hosted on imgur.com.
9. Debug Log.
10. Comments.
The function was working fine in tibia 10, used this script for more than 100 hours, didn't edit it and it did not trigger.