Skocz do zawartości

Ranking

Popularna zawartość

Treść z najwyższą reputacją w 23.06.2020 uwzględniając wszystkie działy

  1. Na górze róże, na dole brodawka, we wrześniu czeka mnie cholerna poprawka
    5 punktów
  2. Pro kiki Junior

    Potrzebny 1lick do 1400!

    Potrzebny 1lick do 1400!
    3 punkty
  3. rafaeru

    XenoBot full afk - krok po kroku

    local MainBP = "backpack" -- BP 1 local GoldBP = "orange bag" -- BP 2 local RareBP = "shopping bag" -- BP 3 local SupplyBP = "orange backpack" -- BP 4 local LeaveCap = 100 -- NA ILU CAPA MA WYCHODZIC Z EXPA local ManasID = 268 -- ID MANA POTKA local MaxManas = 500 -- ILE MA KUPOWAC MANASOW local LeaveManas = 120 -- 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({3031, 0}, {5944, 0}) 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) Możesz sprawdzić ten kod. Sprawdź też, czy masz podane dobre nazwy plecaków bo on przenosi tylko z main bp do supply bp.
    1 punkt
  4. rafaeru

    XenoBot full afk - krok po kroku

    local MainBP = "backpack" -- BP 1 local GoldBP = "orange bag" -- BP 2 local RareBP = "shopping bag" -- BP 3 local SupplyBP = "orange backpack" -- BP 4 local LeaveCap = 100 -- NA ILU CAPA MA WYCHODZIC Z EXPA local ManasID = 268 -- ID MANA POTKA local MaxManas = 500 -- ILE MA KUPOWAC MANASOW local LeaveManas = 120 -- 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({3031, 0}, {5944, 0}) 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(MainBP) for spot, item in bp1:iItems() do if (table.contains(items, item.id)) then bp1:MoveItemToContainer(spot, Container.New(SupplyBP):Index()) break end end end)
    1 punkt
  5. rafaeru

    XenoBot full afk - krok po kroku

    Dodałem SupplyBackpack i przenoszenie tam strzał/potków oraz minimalizowanie (pisałem bez testowania) local MainBP = "backpack" -- BP 1 local GoldBP = "orange bag" -- BP 2 local RareBP = "shopping bag" -- BP 3 local SupplyBP = "blue bag" -- BP 4 local LeaveCap = 100 -- NA ILU CAPA MA WYCHODZIC Z EXPA local ManasID = 268 -- ID MANA POTKA local MaxManas = 500 -- ILE MA KUPOWAC MANASOW local LeaveManas = 120 -- 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({3031, 0}, {5944, 0}) 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(2000) 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(1500,1900) setWalkerEnabled(true) elseif (labelName == 'OpenBPs') then Walker.Stop() closeBackpacks() wait(500) openBackpacks({Item.GetID(GoldBP), true}, {Item.GetID(RareBP), true}, {Item.GetID(SupplyBP), true}) wait(2000) Walker.Start() end end local items = {ManasID, AmmoID} Module.New("Sort Supplies", function() local bp1 = Container(MainBP) for spot, item in bp1:iItems() do if (table.contains(items, item.id)) then bp1:MoveItemToContainer(spot, Container.New(SupplyBP):Index()) break end end end) Da się. Healthy analogicznie jak manasy.
    1 punkt
×
×
  • Dodaj nową pozycję...