Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dofile("[CONFIG] Corruption Hole -1.lua")
- dofile('ssLib.lua')
- registerEventListener(WALKER_SELECTLABEL, "onLabel")
- print("Corruption Hole by SolidScripts, enable Walker to start!")
- Targeting.Start()
- Looter.Start()
- function onLabel(label)
- if(label == "Backpacks") then
- Client.HideEquipment()
- repeat
- Self.CloseContainers()
- wait(200,400)
- Self.OpenMainBackpack(true):OpenChildren({_suppliesBackpack,true}, {_stackBackpack, true}, {_rareBackpack, true}, {_goldBackpack, true}, {_ammoBackpack, true})
- wait(200,400)
- until SolidScripts.CheckBackpacks(6)
- elseif(label == "Stamina") then
- SolidScripts.CheckStamina(false)
- elseif(label == "Withdraw") then
- SolidScripts.WithdrawItem(_withdrawFood, 3725, 50, 2)
- wait(200, 400)
- Walker.ConditionalGoto(Self.ItemCount(3042) < 1, "Withdraw")
- elseif(label == "BankNPC") then
- SolidScripts.WithdrawMoney()
- elseif(label == "door1") then
- SolidScripts.CheckDoors(33012, 31488, SOUTH, "b4door1")
- elseif(label == "door2") then
- SolidScripts.CheckDoors(33008, 31492, WEST, "b4door2")
- elseif(label == "door3") then
- SolidScripts.CheckDoors(33010, 31537, NORTH, "b4door3")
- elseif(label == "door4") then
- SolidScripts.CheckDoors(33010, 31537, SOUTH, "b4door4")
- elseif(label == "door5") then
- SolidScripts.CheckDoors(33061, 31529, NORTH, "b4door5")
- elseif(label == "door6") then
- SolidScripts.CheckDoors(32990, 31547, NORTH, "b4door6")
- elseif(label == "door7") then
- SolidScripts.CheckDoors(33061, 31529, SOUTH, "b4door7")
- elseif(label == "door8") then
- SolidScripts.CheckDoors(33032, 31530, EAST, "b4door8")
- elseif(label == "door9") then
- SolidScripts.CheckDoors(33032, 31530, WEST, "b4door9")
- elseif(label == "door10") then
- SolidScripts.CheckDoors(33037, 31538, SOUTH, "b4door10")
- elseif(label == "door11") then
- SolidScripts.CheckDoors(33037, 31538, NORTH, "b4door11")
- elseif(label == "ex1") then
- SolidScripts.Levitate(NORTH, "up", "b4ex1")
- elseif(label == "ex2") then
- SolidScripts.Levitate(EAST, "down", "b4ex2")
- elseif(label == "ex3") then
- SolidScripts.Levitate(NORTH, "down", "b4ex3")
- elseif(label == "ex4") then
- SolidScripts.Levitate(WEST, "up", "b4ex4")
- elseif(label == "ex5") then
- SolidScripts.Levitate(SOUTH, "down", "b4ex5")
- elseif(label == "checkShortcut") then
- Walker.ConditionalGoto(_useShortcut==true, "goShortcut", "noShortcut")
- elseif(label == "checkSellItems") then
- Walker.ConditionalGoto(_sellItems==true, "goSellItems", "noSellItems")
- elseif(label == "lev1") then
- SolidScripts.UseLever(33062, 31527)
- elseif(label == "lev2") then
- SolidScripts.UseLever(32992, 31539)
- elseif(label == "lev3") then
- SolidScripts.UseLever(32994, 31547)
- elseif(label == "tel1") then
- SolidScripts.Teleport(NORTH, "b4tel1")
- elseif(label == "tel2") then
- SolidScripts.Teleport(NORTH, "b4tel2")
- elseif(label == "tel3") then
- SolidScripts.Teleport(NORTH, "b4tel3")
- elseif(label == "PotionsNPC") then
- SolidScripts.BuyPotions(false)
- elseif(label == "AmmoNPC") then
- SolidScripts.BuyAmmo()
- elseif(label == "CheckSofts") then
- SolidScripts.CheckSofts()
- elseif(label == "CheckSupplies") then
- SolidScripts.CheckSupplies()
- elseif(label == "Check") then
- SolidScripts.Check()
- elseif(label == "RepairSofts") then
- SolidScripts.RepairSofts()
- elseif(label == "Deposit") then
- SolidScripts.ReachDepot()
- Self.DepositItems({10419, 0}, {10385, 0}, {10387, 0}, {10384, 0}, {10439, 0}, {10388, 0}, {3428, 0}, {8043, 0}, {10386, 0}, {3071, 0}, {3065, 0}, {3037, 0}, {3556, 0}, {10406, 0}, {3052, 0})
- Self.DepositItems({281, 1}, {282, 1}, {10409, 1}, {11673, 1}, {10415, 1}, {10417, 1}, {5881, 1}, {10410, 1}, {3028, 1}, {3032, 1}, {239, 1}, {10444, 1}, {5876, 1}, {10416, 1}, {238, 1}, {236, 1}, {10418, 1}, {10408, 1}, {10328, 1}, {10279, 1}, {3033, 1}, {10289, 1}, {3582, 1})
- elseif(label == "targetON") then
- Cavebot.Stop()
- Self.StopAttack()
- wait(200,500)
- loadSettings("[180+ RP] Corruption Hole -1", "Targeting")
- wait(200,500)
- Cavebot.Start()
- elseif(label == "targetOFF") then
- Cavebot.Stop()
- Self.StopAttack()
- wait(200,500)
- loadSettings("[180+ RP] Corruption Hole -1 extra", "Targeting")
- wait(200,500)
- Cavebot.Start()
- elseif(label == "targetON2") then
- Cavebot.Stop()
- Self.StopAttack()
- wait(200,500)
- loadSettings("[180+ RP] Corruption Hole -1", "Targeting")
- wait(200,500)
- Cavebot.Start()
- elseif(label == "targetOFF2") then
- Cavebot.Stop()
- Self.StopAttack()
- wait(200,500)
- loadSettings("[180+ RP] Corruption Hole -1 extra", "Targeting")
- wait(200,500)
- Cavebot.Start()
- elseif(label == "Rope1") then
- SolidScripts.UseRope(33345, 31116)
- elseif(label == "Hole1") then
- SolidScripts.UseShovel(33345, 31116, "BeforeHole1", 594)
- elseif(label == "sellItems") then
- SolidScripts.SellItems("Esrik", {10385, 10387, 10384, 10386, 10410, 10408, 10406, 10388, 10418, 10416})
- elseif(label == "FarToCor") then
- SolidScripts.Travel("Thorgrin", {"hi", "cormaya", "yes"}, "b4FarToCor")
- elseif(label == "CorToEdr") then
- SolidScripts.Travel("Pemaret", {"hi", "edron", "yes"}, "b4CorTOEdr")
- elseif(label == "EdrToVen") then
- SolidScripts.Travel("Captain Seahorse", {"hi", "venore", "yes"}, "b4EdrToVen")
- elseif(label == "VenToEdr") then
- SolidScripts.Travel("Captain Fearless", {"hi", "edron", "yes"}, "b4VenToEdr")
- elseif(label == "EdrToCor") then
- SolidScripts.Travel("Captain Seahorse", {"hi", "cormaya", "yes"}, "b4EdrToCor")
- elseif (label == "CorToFar") then
- SolidScripts.Travel("Captain Gurbasch", {"hi", "farmine", "yes"}, "b4CorToFar")
- end
- end
- if(_dropVials) then
- Module.Start('vial-dropper')
- end
- if(_refillMana) then
- Module.Start('mana-refiller')
- end
- if(_useSoftBoots) then
- Module.Start('equip-softs')
- end
- if(_useRecoverySpell) then
- Module.Start('recovery-caster')
- end
- if(_screenLevel) then
- Module.Start('screen-shooter')
- end
- Module.Start('sort-supplies')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement