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

Skrypt nie działa


Ouki Douki

Rekomendowane odpowiedzi

Opublikowano

Witam, otóż mam problem z skryptem. Po zaznaczeniu opcji ,,Walker" postać rusza lecz nie rozmawia z NPC. Czy ktoś wie czym to może być spowodowane? W którym miejscu popełniłem błąd? Za pomoc z góry dziękuję 😉

 

dofile('[CONFIG] Zao Dragon Lords.lua')
dofile('ssLib.lua')

registerEventListener(WALKER_SELECTLABEL, "onLabel")
print("Zao Dragon Lords 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})
            wait(200,400)
        until SolidScripts.CheckBackpacks(5)
    elseif(label == "Stamina") then
        SolidScripts.CheckStamina(false)
    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, "goShortcut", "noShortcut")
    elseif(label == "checkShortcut2") then
        if(not _useShortcut) then
            Walker.Goto("afterShortcut")
        end
    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(true)
    elseif(label == "CheckSofts") then
        SolidScripts.CheckSofts()
    elseif(label == "CheckSupplies") then
        SolidScripts.CheckSupplies()
    elseif(label == "checkWest") then
        Walker.ConditionalGoto(_huntWest, "goWest", "skipWest")
    elseif(label == "checkEast") then
        Walker.ConditionalGoto(_huntEast, "goEast", "skipEast")
    elseif(label == "CheckE") then
        SolidScripts.Check("LeaveE", "ContinueE", true)
    elseif(label == "Check") then
        SolidScripts.Check()
    elseif(label == "RepairSofts") then
        SolidScripts.RepairSofts()
    elseif(label == "Deposit") then
        SolidScripts.ReachDepot()
        Self.DepositItems({3386, 0}, {3392, 0}, {7402, 0}, {7399, 0}, {3428, 0}, {3416, 0}, {3280, 0}, {3071, 0}, {7430, 0}, {3322, 0}, {3297, 0}, {3301, 0}, {3373, 0}, {3351, 0}, {3275, 0}, {2903, 0}, {3051, 0}, {3349, 0}, {3557, 0}, {3409, 0}, {3285, 0})
        Self.DepositItems({5882, 1}, {3028, 1}, {3029, 1}, {5948, 1}, {5920, 1}, {5877, 1}, {11457, 1}, {3061, 1})
    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

Module.Start('sort-supplies')

Module.Start('screen-shooter')

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...