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

scrypt na deep fibule


Leon Scott

Rekomendowane odpowiedzi

Opublikowano

Pomoże ktoś? nie działa depositer :( wyłącza mi całego scrypta

 

 

----------------------setting-------------------------------------------------------------
MinCap = 40
 
---Backpacks---
 
MinimizeBPs = true
MinimizeMain = true
StackableBP = 2869
LootBP = 2871
GoldBP = 2865
 
---Potions--
maxMana = 350
leaveMana = 40
manaId = 268
manaPrice = 50
 
maxHealth = 35
leaveHealth = 10
healthId = "Strong Health Potion"
healthPrice = 100
 
------------------------------------------------------------------------------------
dofile("Forgee.lua") 
registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
 
Targeting.Start()
Looter.Start()    
 
     -- [Full AFK Dragons Deeper Fibula] --
            -- [Do Not Edit Below] --
    function onWalkerSelectLabel(labelName)        
        if (labelName == "Deposit") then
            setWalkerEnabled(false)
            sleep(math.random(500, 1000))                   
            Self.ReachDepot()
            wait(500, 600)
            Self.DepositItems({5877,2},{11457,2},{3029,2},{3322,1},{7430,1},{3416,1},{3071,1},{3392,1},{3386,1},{7402,1},{5948,2},{5882,2},{3428,1},{3280,1},{7399,1})
            setWalkerEnabled(true)
 
        elseif (labelName == "CheckHunt") then
            print("Checking Supplies...")
            if ((Self.ItemCount(healthId) < leaveHealth)) or ((Self.ItemCount(manaId) < leaveMana)) or (Self.Cap() < MinCap) then
                gotoLabel("Refill")
            else
                gotoLabel("StartHunt")
            end
 
        elseif (labelName == "Bank") then
            setWalkerEnabled(false)
            delayWalker(5000)
            print("Withdrawing Money...")
            Self.Say("hi")
            wait(2000,5000)
            Self.SayToNpc("deposit all")
            wait(2000,5000)
            Self.SayToNpc("yes")
            wait(2000,5000)
            Self.WithdrawMoney((manaPrice*(maxMana-Self.ItemCount(manaId))))
            sleep(math.random(800, 1500))
            Self.SayToNpc("yes")
            sleep(math.random(800, 1500))
            Self.WithdrawMoney((healthPrice*(maxHealth-Self.ItemCount(healthId))))
            sleep(math.random(800, 1500))
            Self.SayToNpc("yes")
            setWalkerEnabled(true) 
       
        elseif (labelName == "BpReset") then
            setWalkerEnabled(false)
            print("Reseting Backpacks...")
            Client.HideEquipment()
            wait(900)
            Self.CloseContainers()
            wait(900,1000)
            Self.OpenMainBackpack(MinimizeMain):OpenChildren({LootBP,MinimizeBPs}, {StackableBP,MinimizeBPs}, {GoldBP,MinimizeBPs})
            Walker.Start()
            setWalkerEnabled(true)
 
        elseif (labelName == "Pots") then
            setWalkerEnabled(false)
            print("Buying Supplies...")
            Self.SayToNpc({"hi", "trade"}, 65)
            wait(1000)
            Self.SayToNpc({"vials", "yes", "yes", "yes"}, 65)
            wait(1000)
            if (Self.ItemCount(manaId) < maxMana) then
            Self.ShopBuyItemsUpTo(manaId, maxMana)
            wait(800)
            end
            if (Self.ItemCount(healthId) < maxHealth) then
            Self.ShopBuyItemsUpTo(healthId, maxHealth)
            wait(500)
            end
            setWalkerEnabled(true)
        
        elseif (labelName == "Check") then
            delayWalker(1500)
            print("Checking Supplies...")
            if ((Self.ItemCount(healthId) < leaveHealth)) or ((Self.ItemCount(manaId) < leaveMana)) or (Self.Cap() < MinCap) then
                gotoLabel("Start")
                else
                gotoLabel("GoHunt")
            end
     
        elseif (labelName == "DoorUp") then
            delayWalker(3000)           
                Self.UseItemFromGround(Self.Position().x, Self.Position().y - 1, Self.Position().z)
                gotoLabel("StandUp")
 
        elseif (labelName == "BeforeRight") then
            wait(2000)
            delayWalker(1000)
            Self.UseItemFromGround(Self.Position().x + 1, Self.Position().y, Self.Position().z)
            gotoLabel("AfterRight")
 
        elseif (labelName == "DoorRight") then
            Self.UseDoor(32658,31645,9)
            if not (Map.IsTileWalkable(32658,31645,9)==false) then
                print('Unlocking Door')
                Self.UseItemFromGround(Self.Position().x + 1, Self.Position().y, Self.Position().z)
            end
 
        elseif (labelName == "UseKeyUp") then
            Self.UseDoor(32190, 32432, 8) wait(500)
            if (Map.IsTileWalkable(32190, 32432, 8) == false) then
                c = Container.New(0); for s, i in c:iItems() do
                if (i.id == 2968) then
                    c:UseItemWithGround(s, 32190, 32432, 8) break
                end
            end
            wait(500)        
        
        elseif (labelName == "UseDoorDown") then
            Self.UseDoor(32277, 32420, 10) wait(500)
            if (Map.IsTileWalkable(32277, 32420, 10) == false) then
                c = Container.New(0); for s, i in c:iItems() do
                if (i.id == 2972) then
                    c:UseItemWithGround(s, 32277, 32420, 10) break
                end
            end
 
        elseif (labelName == "CheckHunt") then
            print("Checking Supplies...")
            if ((Self.ItemCount(healthId) < leaveHealth)) or ((Self.ItemCount(manaId) < leaveMana)) or (Self.Cap() < MinCap) then
                gotoLabel("Refill")
            else
                gotoLabel("StartHunt")
            end
 
        elseif (labelName == "DoorDown") then
            Self.UseDoor(32190, 32432, 8) wait(500)
            if (Map.IsTileWalkable(32190, 32432, 8) == false) then
                c = Container.New(0); for s, i in c:iItems() do
                if (i.id == 2968) then
                    c:UseItemWithGround(s, 32190, 32432, 8) break
                end
            end
            wait(500)         
 
            end
        end
    end
end
end

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...