Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------!!YALAHAR CULTS WITH FEATURES-!!!-----------------------------------
- ---------------!!--SOFT REFILLER-------------!!!-----------------------------------
- ---------------!!-------MADE BY--------------!!!-----------------------------------
- ---------------!!-----------STUSSE-----------!!!-----------------------------------
- ---------------!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-----------------------------------
- -----------------------------------------------------------------------------------
- ----SETTINGS-----------------------------------------------------------------------
- -----------------------------------------------------------------------------------
- MinCap = 60 --How much cap to leave cave?
- ManasToLeave = 70 --How many manas to leave cave?
- ManaPotID = 268 --Change Mana Pot ID (268 is normal manas, 237 is strong, 238 is great)
- WantedMPS = 500 --How many Manas to buy?
- ManaCost = 50 --How much 1 mana pot cost?
- GreatPotID = 239 --Change Great Pot ID
- WantedGHP = 50 --How many GHP to buy?
- GreatCost = 190 --How much 1 mana pot cost?
- ----------------
- SoftBootRefill = true --Do you want to refill Soft Boots? True or False
- -----------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------
- --END OF SETTINGS--DONT CHANGE BELOW IF YOUR NOT 100% SURE OF WHAT YOU'RE DOING----
- registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
- function onWalkerSelectLabel(labelName)
- if (labelName == "Checker") then
- if (Self.Cap() < MinCap) or ((Self.ItemCount(ManaPotID) < ManasToLeave)) then
- gotoLabel("Leave")
- else
- gotoLabel("KeepHunting")
- end
- elseif (labelName == "Door1") then
- setWalkerEnabled(false)
- delayWalker(3000)
- Self.OpenDoor(32825, 31093, 7)
- wait(500, 1000)
- setWalkerEnabled(true)
- elseif (labelName == "Door2") then
- setWalkerEnabled(false)
- delayWalker(3000)
- Self.OpenDoor(32819, 31084, 8)
- wait(500, 1000)
- setWalkerEnabled(true)
- elseif (labelName == "Door3") then
- setWalkerEnabled(false)
- delayWalker(5000)
- Self.OpenDoor(32819, 31084, 8)
- wait(1000, 2000)
- setWalkerEnabled(true)
- elseif (labelName == "Door4") then
- setWalkerEnabled(false)
- delayWalker(3000)
- Self.OpenDoor(32825, 31093, 7)
- wait(500, 1000)
- setWalkerEnabled(true)
- elseif (labelName == "Banker") then
- setWalkerEnabled(false)
- 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(700, 1400)) --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")
- sleep(math.random(300, 1000))
- delayWalker(3000) --time in seconds*1000 you want the walker to delay
- local pos = Self.Position()
- Self.DropItems(pos.x , pos.y, pos.z, 283, 284, 285)
- sleep(math.random(300, 1000))
- local pos = Self.Position()
- Self.DropItems(pos.x , pos.y, pos.z, 283, 284, 285)
- wait(400, 800)
- setWalkerEnabled(true)
- elseif (labelName == "Deposit") then
- Self.DepositItems(9639, 11492, 11455, 3032, 3030, 9638, 3029, 3028, 11652, 9694, 3061, 10313, 238 {3052, 1}, {5810, 1}, {3065, 1}, {3053, 1}, {3067, 1}, {3566, 1}, {7424, 1}, {7426, 1}, {3324, 2}, {3055, 2}, {3071, 2}, {5668, 2}, {3567, 2}, {7386, 2}, {2995, 2}, {3381, 2}, {3097, 2}, {6087, 2}, {6088, 2}, {6089, 2}, {6090, 2}, {3085, 2}, {8052, 2}, {3392, 2}, {8074, 2}, {3369, 2}, {3428, 2}, {7456, 2}) -- Deposits stackables in 1st, items in 2nd
- elseif (labelName == "SoftCheck") then
- if (SoftBootRefill) then
- gotoLabel("RefillSofts")
- else
- gotoLabel("GoToStart")
- end
- elseif (labelName == "RefillSofts") then
- delayWalker(1500)
- if (Self.ItemCount(6530) > 0) or (Self.Feet().id == 6530) then
- gotoLabel("GoWithdrawCash")
- else
- gotoLabel("GoToStart")
- end
- elseif (labelName == "WithdrawCash") then
- setWalkerEnabled(false)
- 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(700, 1400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- Self.SayToNpc("withdraw 11000")
- sleep(math.random(600, 1000))
- Self.SayToNpc("yes")
- sleep(math.random(600, 1000))
- setWalkerEnabled(true)
- elseif (labelName == "GoToCheckSofts") then
- gotoLabel("GoRefillSofts")
- elseif (labelName == "BoatToVenore") then
- setWalkerEnabled(false)
- 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(700, 1400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- Self.SayToNpc("venore")
- sleep(math.random(600, 1000))
- Self.SayToNpc("yes")
- sleep(math.random(500, 1000))
- Self.Say("utani gran hur")
- setWalkerEnabled(true)
- elseif (labelName == "Softies") then
- setWalkerEnabled(false)
- 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(700, 1400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- Self.SayToNpc("soft boots")
- sleep(math.random(600, 1000))
- Self.SayToNpc("yes")
- sleep(math.random(500, 1000))
- Self.Say("utani gran hur")
- setWalkerEnabled(true)
- elseif (labelName == "BoatToYala") then
- setWalkerEnabled(false)
- 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(700, 1400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- Self.SayToNpc("yalahar")
- sleep(math.random(600, 1000))
- Self.SayToNpc("yes")
- sleep(math.random(500, 1000))
- Self.Say("utani gran hur")
- setWalkerEnabled(true)
- elseif (labelName == "DoorBoat") then
- setWalkerEnabled(false)
- delayWalker(3000)
- Self.OpenDoor(32817, 31275, 6)
- wait(500, 1000)
- setWalkerEnabled(true)
- elseif (labelName == "GoToStart") then
- gotoLabel("GoBuyManas")
- elseif (labelName == "WithdrawManaCash") then
- setWalkerEnabled(false)
- 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(700, 1400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- Self.WithdrawMoney((ManaCost*(WantedMPS-Self.ItemCount(ManaPotID))))
- sleep(math.random(800, 1500))
- Self.SayToNpc("yes")
- sleep(math.random(800, 1500))
- Self.WithdrawMoney((GreatCost*(WantedGHP-Self.ItemCount(GreatPotID))))
- sleep(math.random(800, 1500))
- Self.SayToNpc("yes")
- setWalkerEnabled(true)
- elseif (labelName == "BuyManas") then
- setWalkerEnabled(false)
- delayWalker(7000) --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(800, 1700)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- Self.SayToNpc("trade")
- sleep(math.random(2000, 2400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
- buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(ManaPotID, (WantedMPS-Self.ItemCount(ManaPotID)))
- sleep(math.random(800, 1700))
- buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(GreatPotID, (WantedGHP-Self.ItemCount(GreatPotID)))
- sleep(math.random(800, 1700))
- setWalkerEnabled(true)
- elseif (labelName == "GoToStart2") then
- gotoLabel("Start")
- end
- end
- function buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(item, count)
- count = tonumber(count) or 1
- repeat
- local amnt = math.min(count, 100)
- if(Self.ShopBuyItem(item, amnt) == 0)then
- return printf("ERROR: failed to buy item: %s", tostring(item))
- end
- wait(200,500)
- count = (count - amnt)
- until count <= 0
- end
Add Comment
Please, Sign In to add comment