Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.92 KB | None | 0 0
  1. dofile("[CONFIG] Corruption Hole -1.lua")
  2. dofile('ssLib.lua')
  3.  
  4. registerEventListener(WALKER_SELECTLABEL, "onLabel")
  5. print("Corruption Hole by SolidScripts, enable Walker to start!")
  6.  
  7. Targeting.Start()
  8. Looter.Start()
  9.  
  10. function onLabel(label)
  11. if(label == "Backpacks") then
  12. Client.HideEquipment()
  13. repeat
  14. Self.CloseContainers()
  15. wait(200,400)
  16. Self.OpenMainBackpack(true):OpenChildren({_suppliesBackpack,true}, {_stackBackpack, true}, {_rareBackpack, true}, {_goldBackpack, true}, {_ammoBackpack, true})
  17. wait(200,400)
  18. until SolidScripts.CheckBackpacks(6)
  19. elseif(label == "Stamina") then
  20. SolidScripts.CheckStamina(false)
  21. elseif(label == "Withdraw") then
  22. SolidScripts.WithdrawItem(_withdrawFood, 3725, 50, 2)
  23. wait(200, 400)
  24. Walker.ConditionalGoto(Self.ItemCount(3042) < 1, "Withdraw")
  25. elseif(label == "BankNPC") then
  26. SolidScripts.WithdrawMoney()
  27. elseif(label == "door1") then
  28. SolidScripts.CheckDoors(33012, 31488, SOUTH, "b4door1")
  29. elseif(label == "door2") then
  30. SolidScripts.CheckDoors(33008, 31492, WEST, "b4door2")
  31. elseif(label == "door3") then
  32. SolidScripts.CheckDoors(33010, 31537, NORTH, "b4door3")
  33. elseif(label == "door4") then
  34. SolidScripts.CheckDoors(33010, 31537, SOUTH, "b4door4")
  35. elseif(label == "door5") then
  36. SolidScripts.CheckDoors(33061, 31529, NORTH, "b4door5")
  37. elseif(label == "door6") then
  38. SolidScripts.CheckDoors(32990, 31547, NORTH, "b4door6")
  39. elseif(label == "door7") then
  40. SolidScripts.CheckDoors(33061, 31529, SOUTH, "b4door7")
  41. elseif(label == "door8") then
  42. SolidScripts.CheckDoors(33032, 31530, EAST, "b4door8")
  43. elseif(label == "door9") then
  44. SolidScripts.CheckDoors(33032, 31530, WEST, "b4door9")
  45. elseif(label == "door10") then
  46. SolidScripts.CheckDoors(33037, 31538, SOUTH, "b4door10")
  47. elseif(label == "door11") then
  48. SolidScripts.CheckDoors(33037, 31538, NORTH, "b4door11")
  49. elseif(label == "ex1") then
  50. SolidScripts.Levitate(NORTH, "up", "b4ex1")
  51. elseif(label == "ex2") then
  52. SolidScripts.Levitate(EAST, "down", "b4ex2")
  53. elseif(label == "ex3") then
  54. SolidScripts.Levitate(NORTH, "down", "b4ex3")
  55. elseif(label == "ex4") then
  56. SolidScripts.Levitate(WEST, "up", "b4ex4")
  57. elseif(label == "ex5") then
  58. SolidScripts.Levitate(SOUTH, "down", "b4ex5")
  59. elseif(label == "checkShortcut") then
  60. Walker.ConditionalGoto(_useShortcut==true, "goShortcut", "noShortcut")
  61. elseif(label == "checkSellItems") then
  62. Walker.ConditionalGoto(_sellItems==true, "goSellItems", "noSellItems")
  63. elseif(label == "lev1") then
  64. SolidScripts.UseLever(33062, 31527)
  65. elseif(label == "lev2") then
  66. SolidScripts.UseLever(32992, 31539)
  67. elseif(label == "lev3") then
  68. SolidScripts.UseLever(32994, 31547)
  69. elseif(label == "tel1") then
  70. SolidScripts.Teleport(NORTH, "b4tel1")
  71. elseif(label == "tel2") then
  72. SolidScripts.Teleport(NORTH, "b4tel2")
  73. elseif(label == "tel3") then
  74. SolidScripts.Teleport(NORTH, "b4tel3")
  75. elseif(label == "PotionsNPC") then
  76. SolidScripts.BuyPotions(false)
  77. elseif(label == "AmmoNPC") then
  78. SolidScripts.BuyAmmo()
  79. elseif(label == "CheckSofts") then
  80. SolidScripts.CheckSofts()
  81. elseif(label == "CheckSupplies") then
  82. SolidScripts.CheckSupplies()
  83. elseif(label == "Check") then
  84. SolidScripts.Check()
  85. elseif(label == "RepairSofts") then
  86. SolidScripts.RepairSofts()
  87. elseif(label == "Deposit") then
  88. SolidScripts.ReachDepot()
  89. 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})
  90. 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})
  91. elseif(label == "targetON") then
  92. Cavebot.Stop()
  93. Self.StopAttack()
  94. wait(200,500)
  95. loadSettings("[180+ RP] Corruption Hole -1", "Targeting")
  96. wait(200,500)
  97. Cavebot.Start()
  98. elseif(label == "targetOFF") then
  99. Cavebot.Stop()
  100. Self.StopAttack()
  101. wait(200,500)
  102. loadSettings("[180+ RP] Corruption Hole -1 extra", "Targeting")
  103. wait(200,500)
  104. Cavebot.Start()
  105. elseif(label == "targetON2") then
  106. Cavebot.Stop()
  107. Self.StopAttack()
  108. wait(200,500)
  109. loadSettings("[180+ RP] Corruption Hole -1", "Targeting")
  110. wait(200,500)
  111. Cavebot.Start()
  112. elseif(label == "targetOFF2") then
  113. Cavebot.Stop()
  114. Self.StopAttack()
  115. wait(200,500)
  116. loadSettings("[180+ RP] Corruption Hole -1 extra", "Targeting")
  117. wait(200,500)
  118. Cavebot.Start()
  119. elseif(label == "Rope1") then
  120. SolidScripts.UseRope(33345, 31116)
  121. elseif(label == "Hole1") then
  122. SolidScripts.UseShovel(33345, 31116, "BeforeHole1", 594)
  123. elseif(label == "sellItems") then
  124. SolidScripts.SellItems("Esrik", {10385, 10387, 10384, 10386, 10410, 10408, 10406, 10388, 10418, 10416})
  125. elseif(label == "FarToCor") then
  126. SolidScripts.Travel("Thorgrin", {"hi", "cormaya", "yes"}, "b4FarToCor")
  127. elseif(label == "CorToEdr") then
  128. SolidScripts.Travel("Pemaret", {"hi", "edron", "yes"}, "b4CorTOEdr")
  129. elseif(label == "EdrToVen") then
  130. SolidScripts.Travel("Captain Seahorse", {"hi", "venore", "yes"}, "b4EdrToVen")
  131. elseif(label == "VenToEdr") then
  132. SolidScripts.Travel("Captain Fearless", {"hi", "edron", "yes"}, "b4VenToEdr")
  133. elseif(label == "EdrToCor") then
  134. SolidScripts.Travel("Captain Seahorse", {"hi", "cormaya", "yes"}, "b4EdrToCor")
  135. elseif (label == "CorToFar") then
  136. SolidScripts.Travel("Captain Gurbasch", {"hi", "farmine", "yes"}, "b4CorToFar")
  137. end
  138. end
  139.  
  140.  
  141. if(_dropVials) then
  142. Module.Start('vial-dropper')
  143. end
  144.  
  145. if(_refillMana) then
  146. Module.Start('mana-refiller')
  147. end
  148.  
  149. if(_useSoftBoots) then
  150. Module.Start('equip-softs')
  151. end
  152.  
  153. if(_useRecoverySpell) then
  154. Module.Start('recovery-caster')
  155. end
  156.  
  157. if(_screenLevel) then
  158. Module.Start('screen-shooter')
  159. end
  160.  
  161. Module.Start('sort-supplies')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement