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

Xeno bot próba zrobienia 100% afk, pare pytań otwieranie bp...


silnybicu000

Rekomendowane odpowiedzi

Opublikowano

Witam mam zamiar zrobic full afka w xeno bocie, czytam sobie poradniki itp. lecz jesli czegoś wiedzieć nie bede to bede z tym problem tutaj pisać. aktualnie mam problem z otwieraniem bp po dc, znalazlem skrypta

 

local MainBP = 'Backpack' -- Name of main backpack

local GoldBP = 'brocade Backpack' -- Name of backpack to store gold.

local LootBP = 'Beach Backpack' -- Name of backpack to store non-stackable loot.

local StackBP = 'Backpack' -- Name of backpack to store stackables.


local MinimizeMainBP = true -- Do you want to Minimize your main backpack? (true/false)
local MinimizeBPs = true -- Do you want to Minimize all the other backpacks? (true/false)

Container.New(MainBP):OpenChildren({LootBP,MinimizeBPs}, {StackBP,MinimizeBPs}, {GoldBP,MinimizeBPs})

 

lecz jesli go dodaje to w running script jest z 3-5sec i jakby znowu wraca do found script, o co chodzi? co zle robie?

wszystkie bp mam zielone jak coś,  chodzi mi aby otwieral glowny bp i bp z goldem

Opublikowano

Witam mam zamiar zrobic full afka w xeno bocie, czytam sobie poradniki itp. lecz jesli czegoś wiedzieć nie bede to bede z tym problem tutaj pisać. aktualnie mam problem z otwieraniem bp po dc, znalazlem skrypta

 

local MainBP = 'Backpack' -- Name of main backpack

 

local GoldBP = 'brocade Backpack' -- Name of backpack to store gold.

 

local LootBP = 'Beach Backpack' -- Name of backpack to store non-stackable loot.

 

local StackBP = 'Backpack' -- Name of backpack to store stackables.

 

 

local MinimizeMainBP = true -- Do you want to Minimize your main backpack? (true/false)

local MinimizeBPs = true -- Do you want to Minimize all the other backpacks? (true/false)

 

Container.New(MainBP):OpenChildren({LootBP,MinimizeBPs}, {StackBP,MinimizeBPs}, {GoldBP,MinimizeBPs})

 

lecz jesli go dodaje to w running script jest z 3-5sec i jakby znowu wraca do found script, o co chodzi? co zle robie?

wszystkie bp mam zielone jak coś,  chodzi mi aby otwieral glowny bp i bp z goldem

Musisz ustawić przecież nazwy backpacków.

Jeżeli nie umiesz jeszcze posługiwać się xenobotem, to pierw używaj czyichś skryptów, później twórz swoje full afk.

Opublikowano

witam chodzi mi aby po dc otwieral bp ,nazwy wpisuje ale i tak nie dziala, odrazu cofa skrypt

 

mojk main bp to blue

do itemkow yellow

do golda red a w nim zielone

 

da rade ktos pomoc?

 

fotka do erroru, ogarnolem teraz ze juz biega i jak ma malo capa to cofa lecz cos jest nie tam w skrypcie bo pojawia sie error i lua sie kasuje i stoi w depo.

 

----------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
----------------------------------------------------MADE BY SPARKZ023 VERSION 1.0---------------------------------
    
    MPotID = 268 --- mana potion ID
    MinMPots = 40 ---- if less then script will exit spawn
    MPots = 200 ----- amount to refill
    MPotprice = 50 ---- price of 1 single mana pot

    HPotID = 266 ---- health potion ID
    HPotprice = 45 ---- health potion price
    HPots = 5 ---- health potions you want to buy, set none if you do not use them
    MinHPots = 2 ---- min of health potions to leave, set none if you do not use them
        
    MinCap = 20 ---- if less then script will exit spawn

    StaminaLogout = true ---- Do you want to logout if less then 18 hours stamina?

    SkillAxe = false --- Does your character use Axe Fighting primarily? (ONLY PUT TRUE ON ONE!)
    SkillSword = false --- Does your character use Sword Fighting primarily? (ONLY PUT TRUE ON ONE!)
    SkillClub = false --- Does your character use Club Fighting primarily? (ONLY PUT TRUE ON ONE!)
    SkillDistance = false --- Does your character use Distance Fighting primarily? (ONLY PUT TRUE ON ONE!)
    SkillMagic = false --- Does your character use Magic Fighting primarily? (ONLY PUT TRUE ON ONE!)

    
--------------------------------------------------------------------

registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

dofile("Forgee.lua")
function onWalkerSelectLabel(labelName)
      if (labelName == "Checker1") then
            delayWalker(1000)
            setWalkerEnabled(false)
            if (Self.ItemCount(MPotID) <= MinMPots) or (Self.Cap() < MinCap) or (Self.ItemCount(HPotID) <= MinHPots) then
                setWalkerEnabled(true)
                gotoLabel("Start")
            else
                setWalkerEnabled(true)
                gotoLabel("Go Hunt")
            end
            
        elseif (labelName == "Checker2") then
            delayWalker(1000)
            setWalkerEnabled(false)
            if (Self.ItemCount(MPotID) <= MinMPots) or (Self.Cap() < MinCap) or (Self.ItemCount(HPotID) <= MinHPots) then
                setWalkerEnabled(true)
                gotoLabel("Finish Hunting")
            else
                setWalkerEnabled(true)
                gotoLabel("Keep Hunting")
            end        

    elseif (labelName == "Check Skill1") then
        if (SkillAxe) then
            gotoLabel("Axe")
                end

    elseif (labelName == "Check Skill2") then
        if (SkillSword) then
            gotoLabel("Sword")
                end

    elseif (labelName == "Check Skill3") then
        if (SkillClub) then
            gotoLabel("Club")
                end

    elseif (labelName == "Check Skill4") then
        if (SkillDistance) then
            gotoLabel("Distance")
                end

    elseif (labelName == "Check Skill5") then
        if (SkillMagic) then
            gotoLabel("Magic")
        end
                
        elseif (labelName == "Reach Depot") then
           dofile("Forgee.lua")
           Self.ReachDepot()                
                    
        elseif (labelName == "Bank") then
        setWalkerEnabled(false)
        NpcConv("hi","deposit all","yes","balance")
        wait(900, 1200)
        Self.WithdrawMoney((MPotprice*(MPots-Self.ItemCount(MPotID))))
        wait(900, 1200)
        Self.SayToNpc("yes")
        wait(900, 1200)
        Self.WithdrawMoney((HPotprice*(HPots-Self.ItemCount(HPotID))))
        wait(900, 1200)
        Self.SayToNpc("yes")
        wait(3000,5000)
        setWalkerEnabled(true)    
        
        elseif (labelName == "Deposit") then
        setWalkerEnabled(false)
        local dprandomise = (math.random(1,2))
                Self.DepositItems({647, 0}, {841, 0}, {10308, 0}, {3728, 0}, {10300, 0}, {3061, 0}, {678, 0}, {7440, 0}, {17822, 0}, {17823, 0}, {9683, 0}, {3032, 0}, {236, 0}, {7439, 0}, {3097, 1}, {6393, 1}, {12311, 1}, {17824, 1} )
                wait(1500,1900)
                if StaminaLogout and Self.Stamina() < 1080 then
                Walker.Stop()
                else
                setWalkerEnabled(true)
                end
            
        elseif (labelName == "Supplies") then
            setWalkerEnabled(false)
            wait(900, 1200)
            Self.SayToNpc({"Hi", "flasks", "yes", "yes", "yes", "Trade"}, 65)
            wait(900, 1200)
            buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(MPotID, (MPots-Self.ItemCount(MPotID)))
            wait(900, 1200)
            buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(HPotID, (HPots-Self.ItemCount(HPotID)))
            wait(900, 1200)
            setWalkerEnabled(true)

    elseif (labelName == "Training") then
            setWalkerEnabled(false)
            wait(200, 300)
            wait (1000, 1400)

        elseif (labelName == "Boat South") then
            setWalkerEnabled(false)
            wait(200, 300)
            Self.ReachNpc("Old Adall", 2)
            setWalkerEnabled(false)
            Self.SayToNpc({"Hi", "East", "Yes"}, 65)
            wait (1000, 1400)
            setWalkerEnabled(true)
    
        elseif (labelName == "Backpacks") then
           dofile("Forgee.lua")
           delayWalker(7000)
           resetBackpacks()
        end
end  

function buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(item, count)
    count = tonumber(count) or 1
    repeat
        local amnt = math.min(count, 100)
        if(Self.ShopBuyItem(item, amnt) == 0)then
            return printf("ERROR: failed to buy item: %s", tostring(item))
        end
        wait(200,500)
        count = (count - amnt)
    until count <= 0
end

function NpcConv(...)
    for _, str in ipairs(arg) do
        wait((tostring(str):len() / 125) * 60000 * math.random(1.1, 1.8))
        Self.SayToNpc(str)
    end
end             

Self.ReachNpc = function(name, tries)
        local npc = Creature.GetByName(name)
        if (npc:DistanceFromSelf() > 3) then
                tries =  tries or 15
                repeat
                        local nposi = npc:Position()
                        Self.UseItemFromGround(nposi.x, nposi.y, nposi.z)
                        wait(1500)
                        tries = tries - 1
                until (npc:DistanceFromSelf() <= 3) or (tries == 0)
        end
end

post-1047092-0-22151200-1412721253_thumb.jpg

Opublikowano

witam chodzi mi aby po dc otwieral bp ,nazwy wpisuje ale i tak nie dziala, odrazu cofa skrypt

 

mojk main bp to blue

do itemkow yellow

do golda red a w nim zielone

 

da rade ktos pomoc?

 

fotka do erroru, ogarnolem teraz ze juz biega i jak ma malo capa to cofa lecz cos jest nie tam w skrypcie bo pojawia sie error i lua sie kasuje i stoi w depo.

 

----------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------

----------------------------------------------------MADE BY SPARKZ023 VERSION 1.0---------------------------------

    

    MPotID = 268 --- mana potion ID

    MinMPots = 40 ---- if less then script will exit spawn

    MPots = 200 ----- amount to refill

    MPotprice = 50 ---- price of 1 single mana pot

 

    HPotID = 266 ---- health potion ID

    HPotprice = 45 ---- health potion price

    HPots = 5 ---- health potions you want to buy, set none if you do not use them

    MinHPots = 2 ---- min of health potions to leave, set none if you do not use them

        

    MinCap = 20 ---- if less then script will exit spawn

 

    StaminaLogout = true ---- Do you want to logout if less then 18 hours stamina?

 

    SkillAxe = false --- Does your character use Axe Fighting primarily? (ONLY PUT TRUE ON ONE!)

    SkillSword = false --- Does your character use Sword Fighting primarily? (ONLY PUT TRUE ON ONE!)

    SkillClub = false --- Does your character use Club Fighting primarily? (ONLY PUT TRUE ON ONE!)

    SkillDistance = false --- Does your character use Distance Fighting primarily? (ONLY PUT TRUE ON ONE!)

    SkillMagic = false --- Does your character use Magic Fighting primarily? (ONLY PUT TRUE ON ONE!)

 

    

--------------------------------------------------------------------

 

registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

 

dofile("Forgee.lua")

function onWalkerSelectLabel(labelName)

      if (labelName == "Checker1") then

            delayWalker(1000)

            setWalkerEnabled(false)

            if (Self.ItemCount(MPotID) <= MinMPots) or (Self.Cap() < MinCap) or (Self.ItemCount(HPotID) <= MinHPots) then

                setWalkerEnabled(true)

                gotoLabel("Start")

            else

                setWalkerEnabled(true)

                gotoLabel("Go Hunt")

            end

            

        elseif (labelName == "Checker2") then

            delayWalker(1000)

            setWalkerEnabled(false)

            if (Self.ItemCount(MPotID) <= MinMPots) or (Self.Cap() < MinCap) or (Self.ItemCount(HPotID) <= MinHPots) then

                setWalkerEnabled(true)

                gotoLabel("Finish Hunting")

            else

                setWalkerEnabled(true)

                gotoLabel("Keep Hunting")

            end        

 

    elseif (labelName == "Check Skill1") then

        if (SkillAxe) then

            gotoLabel("Axe")

                end

 

    elseif (labelName == "Check Skill2") then

        if (SkillSword) then

            gotoLabel("Sword")

                end

 

    elseif (labelName == "Check Skill3") then

        if (SkillClub) then

            gotoLabel("Club")

                end

 

    elseif (labelName == "Check Skill4") then

        if (SkillDistance) then

            gotoLabel("Distance")

                end

 

    elseif (labelName == "Check Skill5") then

        if (SkillMagic) then

            gotoLabel("Magic")

        end

                

        elseif (labelName == "Reach Depot") then

           dofile("Forgee.lua")

           Self.ReachDepot()                

                    

        elseif (labelName == "Bank") then

        setWalkerEnabled(false)

        NpcConv("hi","deposit all","yes","balance")

        wait(900, 1200)

        Self.WithdrawMoney((MPotprice*(MPots-Self.ItemCount(MPotID))))

        wait(900, 1200)

        Self.SayToNpc("yes")

        wait(900, 1200)

        Self.WithdrawMoney((HPotprice*(HPots-Self.ItemCount(HPotID))))

        wait(900, 1200)

        Self.SayToNpc("yes")

        wait(3000,5000)

        setWalkerEnabled(true)    

        

        elseif (labelName == "Deposit") then

        setWalkerEnabled(false)

        local dprandomise = (math.random(1,2))

                Self.DepositItems({647, 0}, {841, 0}, {10308, 0}, {3728, 0}, {10300, 0}, {3061, 0}, {678, 0}, {7440, 0}, {17822, 0}, {17823, 0}, {9683, 0}, {3032, 0}, {236, 0}, {7439, 0}, {3097, 1}, {6393, 1}, {12311, 1}, {17824, 1} )

                wait(1500,1900)

                if StaminaLogout and Self.Stamina() < 1080 then

                Walker.Stop()

                else

                setWalkerEnabled(true)

                end

            

        elseif (labelName == "Supplies") then

            setWalkerEnabled(false)

            wait(900, 1200)

            Self.SayToNpc({"Hi", "flasks", "yes", "yes", "yes", "Trade"}, 65)

            wait(900, 1200)

            buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(MPotID, (MPots-Self.ItemCount(MPotID)))

            wait(900, 1200)

            buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(HPotID, (HPots-Self.ItemCount(HPotID)))

            wait(900, 1200)

            setWalkerEnabled(true)

 

    elseif (labelName == "Training") then

            setWalkerEnabled(false)

            wait(200, 300)

            wait (1000, 1400)

 

        elseif (labelName == "Boat South") then

            setWalkerEnabled(false)

            wait(200, 300)

            Self.ReachNpc("Old Adall", 2)

            setWalkerEnabled(false)

            Self.SayToNpc({"Hi", "East", "Yes"}, 65)

            wait (1000, 1400)

            setWalkerEnabled(true)

    

        elseif (labelName == "Backpacks") then

           dofile("Forgee.lua")

           delayWalker(7000)

           resetBackpacks()

        end

end  

 

function buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(item, count)

    count = tonumber(count) or 1

    repeat

        local amnt = math.min(count, 100)

        if(Self.ShopBuyItem(item, amnt) == 0)then

            return printf("ERROR: failed to buy item: %s", tostring(item))

        end

        wait(200,500)

        count = (count - amnt)

    until count <= 0

end

 

function NpcConv(...)

    for _, str in ipairs(arg) do

        wait((tostring(str):len() / 125) * 60000 * math.random(1.1, 1.8))

        Self.SayToNpc(str)

    end

end             

 

Self.ReachNpc = function(name, tries)

        local npc = Creature.GetByName(name)

        if (npc:DistanceFromSelf() > 3) then

                tries =  tries or 15

                repeat

                        local nposi = npc:Position()

                        Self.UseItemFromGround(nposi.x, nposi.y, nposi.z)

                        wait(1500)

                        tries = tries - 1

                until (npc:DistanceFromSelf() <= 3) or (tries == 0)

        end

end

Po polsku nie możesz napisać? Ciężko cokolwiek zrozumieć z twojego chińskiego ;/.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...