Skocz do zawartości

Dołącz do społecznoś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

XenoBot full afk - krok po kroku

Featured Replies

  • Odpowiedzi 106
  • Wyświetleń 30.2 tys.
  • Dodano
  • Ostatniej odpowiedzi

Top użytkownicy w tym temacie

  • 2 tygodnie później...
  • 1 miesiąc temu...
  • 1 miesiąc temu...
Opublikowano

Xeno mam potrzebuje skryptu lua ktory juz wygasl...

 

Nie wiem jak zrobic skrypt lua ktory kupuje potiony itd

  • 4 tygodnie później...
  • 1 miesiąc temu...
  • 2 tygodnie później...
Opublikowano

Wróciłem na otsa odpalam full afka i takie coś @rafaeru wiesz o chodzi? Straciłem swojego full afka, więc postanowiłem wziąć Twojego zmienionego

05:04 XenoScript Error:
           Script: TONNYDAKILLAS.lua
           Line #: 77
           Chunk: ...:?Users?qinto?DOCUME?1?XenoBot?Scripts??TONNYD?1.LUA
           Error: attempt to call global 'closeBackpacks' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.

 

 

 

 

 

 

 

 Wziąłem ten ostatni twój skrypt.

Edytowane przez qintoofar

Opublikowano

@rafaeru Dobra pobrałem te forgee.lua z neta, bo ta z tego forum wygasła, co do full afka, nie chce przenosi suppli do SupplyBP, w ogóle nie otwiera tego backpacka tylko main bp czyli w moim przypadku "Backpack" i gold bp czyli "Blue Backpack" i go minimalizuje. Również ten GoldBP chyba nie działa bo wrzuca mi kasę do MainBP. Będę wdzięczny za jakokolwiek pomoc.

 

local MainBP = "backpack" -- BP 1
local GoldBP = "blue backpack" -- BP 2
local RareBP = "orange backpack" -- BP 3
local SupplyBP = "yellow backpack" -- BP 4

local LeaveCap = 100 -- NA ILU CAPA MA WYCHODZIC Z EXPA

local ManasID = 268 -- ID MANA POTKA
local MaxManas = 5 -- ILE MA KUPOWAC MANASOW
local LeaveManas = 2 -- PRZY ILU MANASACH MA WYCHODZIC Z EXPA

local useAmmo = false -- CZY UZYWAC AMMO (true/false)
local AmmoID = 16141 -- ID AMMO
local MaxAmmo = 500 -- ILE MA KUPOWAC AMMO
local LeaveAmmo = 100 -- PRZY ILU AMMO MA WYCHODZIC Z EXPA

local function depotItems()
-- TUTAJ WPISUJECIE ITEMY JAKIE MA ODKLADAC DO DP I DO KTOREGO {ID ITEMU, SLOT DP}
Self.DepositItems({3322, 2}, {3280, 2}, {3428, 2}, {3071, 2}, {3416, 2}, {7430, 2}, {3392, 2}, {3386, 2}, {7402, 2})
end

-- NIE RUSZAC JAK NIE WIECIE CO
dofile('Forgee.lua')
Targeting.Start()
Looter.Start()

registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
    if (labelName == "Check") then
        if useAmmo == true then
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(AmmoID) < LeaveAmmo, 'Leave', 'Hunt')
        else
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas, 'Leave', 'Hunt')
        end
    elseif (labelName == "CheckSupply") then
        if useAmmo == true then
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(AmmoID) < LeaveAmmo, 'ToRefil', 'ToHunt')
        else
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas, 'ToRefil', 'ToHunt')
        end
    elseif (labelName == "Bank") then
        Walker.Stop()
        Self.SayToNpc({"hi", "deposit all", "yes"}, 65)
        wait(1000)
        Walker.Start()
    elseif (labelName == 'RefilMana') then
        Walker.Stop()
        Self.SayToNpc({'hi', 'trade'})
        wait(200, 500)
        Self.ShopBuyItem(ManasID, (MaxManas-Self.ItemCount(ManasID)))
        wait(200, 500)
        if Self.ItemCount(ManasID) < MaxManas then
            print([[Nie mozna kupic manasow. Prawdopodobnie brak zlota. Bot sie zatrzymuje.]])
            return true
        end
        Walker.Start()
    elseif (labelName == 'RefilAmmo') then
        if useAmmo == true then
            Walker.Stop()
            Self.SayToNpc({'hi', 'trade'})
            wait(200, 500)
            Self.ShopBuyItem(AmmoID, (MaxAmmo-Self.ItemCount(AmmoID)))
            wait(200, 500)
            if Self.ItemCount(AmmoID) < MaxAmmo then
                print([[Nie mozna kupic ammo. Prawdopodobnie brak zlota. Bot sie zatrzymuje.]])
                return true
            end
            Walker.Start()
        end
    elseif (labelName == 'Deposit') then
        setWalkerEnabled(false)
        depotItems()
        wait(1000,1500)
        setWalkerEnabled(true)
    elseif (labelName == 'OpenBPs') then
        Walker.Stop()
        closeBackpacks()
        wait(100,300)
        openBackpacks({Item.GetID(GoldBP), true})
        openBackpacks({Item.GetID(RareBP), true})
        openBackpacks({Item.GetID(SupplyBP), true})
        wait(100,300)
        Walker.Start()
    end
end

local items = {ManasID, AmmoID}

Module.New("Sort Supplies", function()
        local bp1 = Container(Item.GetID(MainBP))
            for spot, item in bp1:iItems() do
                if (table.contains(items, item.id)) then
                    bp1:MoveItemToContainer(spot, Container.New(Item.GetID(SupplyBP)):Index())
            break
        end
    end
end)

Edytowane przez qintoofar

Opublikowano
Dnia 11.01.2021 o 15:52, qintoofar napisał:

@rafaeru Dobra pobrałem te forgee.lua z neta, bo ta z tego forum wygasła, co do full afka, nie chce przenosi suppli do SupplyBP, w ogóle nie otwiera tego backpacka tylko main bp czyli w moim przypadku "Backpack" i gold bp czyli "Blue Backpack" i go minimalizuje. Również ten GoldBP chyba nie działa bo wrzuca mi kasę do MainBP. Będę wdzięczny za jakokolwiek pomoc.

 

local MainBP = "backpack" -- BP 1
local GoldBP = "blue backpack" -- BP 2
local RareBP = "orange backpack" -- BP 3
local SupplyBP = "yellow backpack" -- BP 4

local LeaveCap = 100 -- NA ILU CAPA MA WYCHODZIC Z EXPA

local ManasID = 268 -- ID MANA POTKA
local MaxManas = 5 -- ILE MA KUPOWAC MANASOW
local LeaveManas = 2 -- PRZY ILU MANASACH MA WYCHODZIC Z EXPA

local useAmmo = false -- CZY UZYWAC AMMO (true/false)
local AmmoID = 16141 -- ID AMMO
local MaxAmmo = 500 -- ILE MA KUPOWAC AMMO
local LeaveAmmo = 100 -- PRZY ILU AMMO MA WYCHODZIC Z EXPA

local function depotItems()
-- TUTAJ WPISUJECIE ITEMY JAKIE MA ODKLADAC DO DP I DO KTOREGO {ID ITEMU, SLOT DP}
Self.DepositItems({3322, 2}, {3280, 2}, {3428, 2}, {3071, 2}, {3416, 2}, {7430, 2}, {3392, 2}, {3386, 2}, {7402, 2})
end

-- NIE RUSZAC JAK NIE WIECIE CO
dofile('Forgee.lua')
Targeting.Start()
Looter.Start()

registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
    if (labelName == "Check") then
        if useAmmo == true then
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(AmmoID) < LeaveAmmo, 'Leave', 'Hunt')
        else
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas, 'Leave', 'Hunt')
        end
    elseif (labelName == "CheckSupply") then
        if useAmmo == true then
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(AmmoID) < LeaveAmmo, 'ToRefil', 'ToHunt')
        else
            Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas, 'ToRefil', 'ToHunt')
        end
    elseif (labelName == "Bank") then
        Walker.Stop()
        Self.SayToNpc({"hi", "deposit all", "yes"}, 65)
        wait(1000)
        Walker.Start()
    elseif (labelName == 'RefilMana') then
        Walker.Stop()
        Self.SayToNpc({'hi', 'trade'})
        wait(200, 500)
        Self.ShopBuyItem(ManasID, (MaxManas-Self.ItemCount(ManasID)))
        wait(200, 500)
        if Self.ItemCount(ManasID) < MaxManas then
            print([[Nie mozna kupic manasow. Prawdopodobnie brak zlota. Bot sie zatrzymuje.]])
            return true
        end
        Walker.Start()
    elseif (labelName == 'RefilAmmo') then
        if useAmmo == true then
            Walker.Stop()
            Self.SayToNpc({'hi', 'trade'})
            wait(200, 500)
            Self.ShopBuyItem(AmmoID, (MaxAmmo-Self.ItemCount(AmmoID)))
            wait(200, 500)
            if Self.ItemCount(AmmoID) < MaxAmmo then
                print([[Nie mozna kupic ammo. Prawdopodobnie brak zlota. Bot sie zatrzymuje.]])
                return true
            end
            Walker.Start()
        end
    elseif (labelName == 'Deposit') then
        setWalkerEnabled(false)
        depotItems()
        wait(1000,1500)
        setWalkerEnabled(true)
    elseif (labelName == 'OpenBPs') then
        Walker.Stop()
        closeBackpacks()
        wait(100,300)
        openBackpacks({Item.GetID(GoldBP), true})
        openBackpacks({Item.GetID(RareBP), true})
        openBackpacks({Item.GetID(SupplyBP), true})
        wait(100,300)
        Walker.Start()
    end
end

local items = {ManasID, AmmoID}

Module.New("Sort Supplies", function()
        local bp1 = Container(Item.GetID(MainBP))
            for spot, item in bp1:iItems() do
                if (table.contains(items, item.id)) then
                    bp1:MoveItemToContainer(spot, Container.New(Item.GetID(SupplyBP)):Index())
            break
        end
    end
end)

Przerzuca itemki tylko z MainBP do SupplyBP więc jeśli itemki które ma przenieść sa w innym BP np. RareBP to nie przerzuci.

Coś musi być nie tak z otwieraniem ale w skrypcie sie wydaje ok

Opublikowano

W sumie to nie jest tak ważne jak dodać 2 rodzaje potek?  W taki sposób kupuje tylko potki o id 7642

local ManasID = 268 -- ID MANA POTKA
local ManasID = 7642 -- ID MANA POTKA
local MaxManas = 15 -- ILE MA KUPOWAC MANASOW
local LeaveManas = 40 -- PRZY ILU MANASACH MA WYCHODZIC Z EXPA

local useAmmo = true -- CZY UZYWAC AMMO (true/false)
local AmmoID = 25758 -- ID AMMO
local MaxAmmo = 1200 -- ILE MA KUPOWAC AMMO
local LeaveAmmo = 140 -- PRZY ILU AMMO MA WYCHODZIC Z EXPA

Opublikowano

Masz mój ostatni skrypt z którego korzystam.

local MainBP = "red backpack" -- BP 1
local GoldBP = "mushroom backpack" -- BP 2
local RareBP = "orange backpack" -- BP 3
local SupplyBP = "crystal backpack" -- BP 4

local LeaveCap = 200 -- NA ILU CAPA MA WYCHODZIC Z EXPA

local ManasID = 238 -- ID MANA POTKA
local MaxManas = 600 -- ILE MA KUPOWAC MANASOW
local LeaveManas = 140 -- PRZY ILU MANASACH MA WYCHODZIC Z EXPA

local HealthID = 23374 -- ID HEALTH POTKA
local MaxHealth = 150 -- ILE MA KUPOWAC HEALTHOW
local LeaveHealth = 40 -- PRZY ILU HEALTHACH MA WYCHODZIC Z EXPA

local useRunes = false -- CZY UZYWAC RUN (true/false)
local RuneID = 3191 -- ID RUNY
local MaxRunes = 800 -- ILE MA KUPOWAC RUN
local LeaveRunes = 120 -- PRZY ILU RUNACH MA WYCHODZIC Z EXPA

local useAmmo = true -- CZY UZYWAC AMMO (true/false)
local AmmoID = 16141 -- ID AMMO
local MaxAmmo = 700 -- ILE MA KUPOWAC AMMO
local LeaveAmmo = 100 -- PRZY ILU AMMO MA WYCHODZIC Z EXPA

local offlineTraining = false -- CZY ISC AUTOMATYCZNIE NA OFF TRAINING
local stamina = 17 -- PRZY ILU STAMINY

local function depotItems()
-- TUTAJ WPISUJECIE ITEMY JAKIE MA ODKLADAC DO DP I DO KTOREGO {ID ITEMU, SLOT DP}
Self.DepositItems({21175, 3}, {3030, 3}, {3032, 3}, {9057, 3}, {3033, 3}, {21174, 3}, {9639, 3}, {7401, 3}, {9058, 3}, {3039, 3}, {3037, 3}, {3028, 3}, {3369, 3})
end

-- NIE RUSZAC JAK NIE WIECIE CO
dofile('Forgee.lua')
Targeting.Start()
Looter.Start()

registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
function onWalkerSelectLabel(labelName)
	if (labelName == "Bank") then
	
		Walker.Stop()
		Self.SayToNpc({"hi", "deposit all", "yes"}, 65)
		wait(200)
		Self.SayToNpc({"hi", "deposit all", "yes", "balance"}, 65)
		wait(200)
		Walker.Start()
	
	elseif (labelName == 'FindDepot') then
	
		Forgee.ReachDepot()
		wait(200, 500)
	
	elseif (labelName == 'OpenBPs') then
	
		closeBackpacks()
		wait(200, 500)
		openBackpacks({Item.GetID(GoldBP), true})
		openBackpacks({Item.GetID(RareBP), true})
		openBackpacks({Item.GetID(SupplyBP), true})
		wait(200, 500)
		
	elseif (labelName == 'Deposit') then
	
		setWalkerEnabled(false)
		depotItems()
		wait(200, 500)
		setWalkerEnabled(true)
		
	elseif (labelName == "CheckSupply") then
	
		if offlineTraining == true then
			print("Stamina: "..math.floor(Self.Stamina()).."/"..stamina*60)
			if math.floor(Self.Stamina()) < stamina*60 then
				Walker.Goto("Offline")
				return true
			end
		end
		
		if useAmmo then
			Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(HealthID) < LeaveHealth or Self.ItemCount(AmmoID) < LeaveAmmo, 'ToRefilAmmo', 'ToHunt')
		elseif useRunes then
			Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(HealthID) < LeaveHealth or Self.ItemCount(RuneID) < LeaveRunes, 'ToRefilRunes', 'ToHunt')
		else
			Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(HealthID) < LeaveHealth, 'ToRefil', 'ToHunt')
		end
	
		elseif (labelName == 'RefilMana') then
	
		Walker.Stop()
		
		Self.SayToNpc({'hi', 'trade'})
		wait(200, 500)
		
		mana_count = math.max(0, MaxManas - Self.ItemCount(ManasID))
		health_count = math.max(0, MaxHealth - Self.ItemCount(HealthID))
		print("KUPUJE "..mana_count.." MANASOW I "..health_count.." HEALTHOW.")
		
		if mana_count > 0 then
			Self.ShopBuyItem(ManasID, mana_count)
			wait(200, 500)
		end
		
		if Self.ItemCount(ManasID) < (MaxManas - 10) then
			print([[Nie mozna kupic manasow. Prawdopodobnie brak zlota. Ide na offline training.]])
			Walker.Goto("Offline")
		end
		
		wait(200, 500)
		
		if health_count > 0 then
			Self.ShopBuyItem(HealthID, health_count)
			wait(200, 500)
		end
		
		if Self.ItemCount(HealthID) < (MaxHealth-10) then
			print([[Nie mozna kupic healthow. Prawdopodobnie brak zlota. Ide na offline training.]])
			Walker.Goto("Offline")
		end
		
		Walker.Start()

	elseif (labelName == 'RefilAmmo') then
	
		if useAmmo == true then
			Walker.Stop()
			Self.SayToNpc({'hi', 'trade'})
			wait(200, 500)
			ammo_count = math.max(0, MaxAmmo-Self.ItemCount(AmmoID))
			print("KUPUJE "..ammo_count.."/"..MaxAmmo.." AMMO")
			
			if ammo_count > 0 then
				Self.ShopBuyItem(AmmoID, ammo_count)
				wait(200, 500)
			end
			
			if Self.ItemCount(AmmoID) < MaxAmmo then
				print([[Nie mozna kupic ammo. Prawdopodobnie brak zlota.]])
				Walker.Goto("RefilAmmo")
			end
			
			Walker.Start()
		end
		
	elseif (labelName == 'RefilRunes') then
		if useRunes == true then
		
			Walker.Stop()

			Self.SayToNpc({'hi', 'trade'})
			wait(200, 500)
			rune_count = math.max(0, MaxRunes-Self.ItemCount(RuneID))
			print("KUPUJE "..rune_count.."/"..MaxRunes.." RUN.")
			
			if rune_count > 0 then
				Self.ShopBuyItem(RuneID, rune_count)
				wait(200, 500)
			end
			
			if Self.ItemCount(RuneID) < MaxRunes then
				print([[Nie mozna kupic run. Prawdopodobnie brak zlota.]])
				Walker.Goto("RefilRunes")
			end
			
			Walker.Start()
		end
	
	elseif (labelName == "Check") then
	
		info = "Cap: "..math.floor(Self.Cap()).."/"..LeaveCap.." | Mana Potions: "..Self.ItemCount(ManasID).."/"..MaxManas
		
		if HealthID ~= nil then
			info = info.." | Health Potions: "..Self.ItemCount(HealthID).."/"..MaxHealth
		elseif useRunes then
			info = info.." | Runes: "..Self.ItemCount(RuneID).."/"..MaxRunes
		elseif useAmmo then
			info = info.." | Ammo: "..Self.ItemCount(AmmoID).."/"..MaxAmmo
		end
		info = info.."."
	
		print(info)
		
		if useAmmo then
			Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(HealthID) < LeaveHealth or Self.ItemCount(AmmoID) < LeaveAmmo, 'Leave', 'Hunt')
		elseif useRunes then
			Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(HealthID) < LeaveHealth or Self.ItemCount(RuneID) < LeaveRunes, 'Leave', 'Hunt')
		else
			Walker.ConditionalGoto(Self.Cap() < LeaveCap or Self.ItemCount(ManasID) < LeaveManas or Self.ItemCount(HealthID) < LeaveHealth, 'Leave', 'Hunt')
		end
		
	elseif (labelName == "End") then
	
		print("Goto Start")
		Walker.Goto("Start")
		
	end
end

local items = {ManasID, HealthID, AmmoID, RuneID}

Module.New("Sort Supplies", function()
		local bp1 = Container(Item.GetID(MainBP))
			for spot, item in bp1:iItems() do
				if (table.contains(items, item.id)) then
					bp1:MoveItemToContainer(spot, Container.New(Item.GetID(SupplyBP)):Index())
			break
		end
	end
end)

 

  • 1 miesiąc temu...
  • 3 miesiące temu...
Opublikowano

Link wygasl a labele nie pasuja do tego skryptu co jest wyzej wklejony

Dnia 27.02.2021 o 18:18, rafaeru napisał:

 

Zrobilem wszystko z twojego posta i nie bierze kasy z banku, nie kupuje manasow tylko biega w kolko. W ogole jak biore execute script tego forgee to pojawia sie z prawej i od razu znika. nie wiem czy tak powinno byc czy o co chodzi. Ogolnie nie dziala mi 😕

  • 1 rok później...

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.