Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

problem ze skryptem xeno


Davius

Rekomendowane odpowiedzi

Opublikowano

Witam,

mam problem ze skryptem odpalam bota skrypta i wyskakuje mi "Backpacks failed to open, trying again" otwiera ponownie bp i wyskakuje to samo i jeszcze "Stopping Walker! Backpack settings are wrong!" 

wszystkie bp w skrypcie mam dobrze ustawione i nie wiem o co chodzi

PROSZE O POMOC

Opublikowano

 

dofile('cslib.lua')
-- ____
-- / ____| _ _ _
-- | | ___ _ _ _____| | __| \ / |
-- | | / _ \| |\ /| | _ \ |/ _ \ \/ /
-- | |___| (_) | |\\_//| | |_| | | __/ /\ \
-- \_____\___/|_| |_| ___|_|\___|_/ \_|
-- | |
-- |_|
--========DP SPOT 0 = STACKABLE========--
--========DP SPOT 1 = RARES============--
--========DP SPOT 2 = FOOD=============--

--========Backpacks====================--
mainBP = "Backpack"
stackBP = "Blue Backpack"
lootBP = "Green Backpack"
goldBP = "Beach Backpack"
suppliesBP = "Yellow Backpack"

--========Mana=========================--
mPots = "Mana Potion"
maxMP = 200 --- Manas to bring
minMP = 100 --- Manas to leave

--========Health=======================--
hPots = "Great Health Potion"
maxHP = 10 --- Manas to bring
minHP = 5 --- Manas to leave

--========Other========================--
foodID = 3725 --- Food id to withdraw from 3rd BP in DP
minCap = 70 --- Cap to leave
extraCash = 1000 --- Extra cash to withdraw just in case
staminaLogout = true --- logout at 16h stamina
dropVials = true -- Drop vials?
screenShot = true -- Take Screenshot at level?

--========Optional=====================--
--- Perfect way to share a spawn between your characters:
northSpawn = true --- Do you want to hunt in the northern area?
eastSpawn = true --- Do you want to hunt in the eastern area?
southSpawn = true --- Do you want to hunt in the souther area?

sellLoot = true --- Do you want to sell the loot to Rafzan?

Looter.Start()
Targeting.Start()
registerEventListener(WALKER_SELECTLABEL, "onLabel")
print("[EK] Venore Coryms\nBy\n[[COMPLEX SCRIPTS]]")
--========FUNCTIONS====================--
function onLabel(label)
if (label == "Backpacks") then
CS.OpenBackpacks()
elseif (label == "Deposit") then
-- non stackables
Self.DepositItems({17812, 1}, {17846, 1}, {17825, 1}, {17859, 1}, {17813, 1}, {17810, 1})
-- stackables
Self.DepositItems({17819, 0}, {17817, 0}, {17818, 0}, {17809, 0})
elseif (label == "Stamina") then
CS.CheckStamina()
elseif (label == "Bank") then
CS.Bank()
elseif (label == "Withdraw") then
CS.Withdraw(foodID, 100, 2)
elseif (label == "BuySupplies") then
CS.BuySupplies()
elseif(label == "CheckBefore") then
Walker.ConditionalGoto((Self.ItemCount(Item.GetID(mPots)) < maxMP) or (Self.ItemCount(Item.GetID(hPots)) < maxHP), "Resupply", "ToHunt")
elseif(label == "PreCheck") then
Walker.ConditionalGoto((Self.ItemCount(Item.GetID(mPots)) < maxMP) or (Self.ItemCount(Item.GetID(hPots)) < maxHP), "ContinueSupply", "ToHunt")
elseif (label == "DoorNorth") then
CS.OpenDoor("NORTH")
elseif (label == "DoorSouth") then
CS.OpenDoor("SOUTH")
elseif (label == "DoorWest") then
CS.OpenDoor("WEST")
elseif (label == "DoorEast") then
CS.OpenDoor("EAST")
elseif (label == "StepSouth") then
Self.Step(SOUTH)
elseif (label == "StepNorth") then
Self.Step(NORTH)
elseif (label == "StepEast") then
Self.Step(EAST)
elseif (label == "StepWest") then
Self.Step(WEST)
elseif (label == "CheckSell") then
Walker.ConditionalGoto(sellLoot , "Sell", "SkipSell")
elseif (label == "UseUp") then
CS.UseOnGround({33052, 32099, 7}, 2)
wait(1000)
elseif (label == "CheckUp") then
Walker.ConditionalGoto(Self.Position().z == 6 , "UpOk", "Up")
wait(1000)
elseif (label == "Rafzan") then
CS.Sell({17810, 17859, 17813, 17812, 17846}, "trade", "Rafzan")
wait(1000)
elseif (label == "UseDown") then
CS.UseOnGround({33052, 32099, 6}, 2)
wait(1000)
elseif (label == "CheckDown") then
Walker.ConditionalGoto(Self.Position().z == 7 , "DownOk", "Down")
wait(1000)
elseif (label == "CheckNorth") then
Walker.ConditionalGoto(northSpawn , "North", "SkipNorth")
elseif (label == "CheckEast") then
Walker.ConditionalGoto(eastSpawn , "East", "SkipEast")
elseif (label == "CheckSouth") then
Walker.ConditionalGoto(southSpawn , "South", "SkipSouth")
elseif (label == "JumpToContinue") then
Walker.Goto("Continue")
elseif(label == "Check1") then
Walker.ConditionalGoto((Self.ItemCount(Item.GetID(mPots)) <= minMP) or (Self.ItemCount(Item.GetID(hPots)) <= minHP) or (Self.Cap() <= minCap), "Leave", "CheckEast")
elseif(label == "Check2") then
Walker.ConditionalGoto((Self.ItemCount(Item.GetID(mPots)) <= minMP) or (Self.ItemCount(Item.GetID(hPots)) <= minHP) or (Self.Cap() <= minCap), "Leave", "CheckSouth")
elseif(label == "Check3") then
Walker.ConditionalGoto((Self.ItemCount(Item.GetID(mPots)) <= minMP) or (Self.ItemCount(Item.GetID(hPots)) <= minHP) or (Self.Cap() <= minCap), "Leave", "JumpToContinue")
end
end

--========MODULES========================--

if dropVials then
Module.Start('Drop_Vials')
end

if screenShot then
Module.Start('Screenshot')
end

Module.Start('Move_Supplies')

 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...