Log in

View Full Version : Backpack opening loop Help please



shawnr47
03-12-2013, 11:10 AM
First off sorry if this has been brought up before. I used the search function but was unable to find anything that would help me understand the problem. The problem seems to arise with any script I use when relies on the Forgee.lua file for a backpack resetter. I do have Forgee in the script folder. When the depositor part of the script runs all items will be put into the depo as it should but then the character will stand and open/close the gold backpack endlessly unless I manually close all backpacks. I'm running on windows xp. I'll include an example of an lua which the bot does this on. Thanks so much in advance for any help.




MinCap = 100 ---- if less then script will exit spawn
--Settings--
dofile("Forgee.lua")
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

function onWalkerSelectLabel(labelName)
if (labelName == "checker") then
if (Self.Cap() < MinCap) then
gotoLabel("leaveCave")
else
gotoLabel("keepHunting")
end

elseif (labelName == "bank") then
delayWalker(5000) --Call this immediately, before evr sleeping. Walker and scripter are in different threads so if we sleep before calling this walker will proceed a few wps before this bites
Self.Say("hi")
sleep(math.random(1200, 1700)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
Self.SayToNpc("deposit all")
sleep(math.random(300, 1000))
Self.SayToNpc("yes")

elseif (labelName == "deposit") then
Self.DepositItems({12517, 1})
wait(1500)

elseif (labelName == "backpacks") then
dofile("Forgee.lua")
delayWalker(15000)
resetBackpacks()

elseif (labelName == "Shovel") then
Self.UseItemWithGround(3457, 32613, 32703, 7)
wait(600, 1400)
end
end

Infernal Bolt
03-12-2013, 11:20 AM
forgee is outdated you should not use it.