Postado Maio 17, 2015 10 anos Está o Script de Abrir a BP, de reconectar não encontrei, esses script abre a BP e minimiza ela, mas se cair money ou loot do monstro ele vai pegar do mesmo jeito.. local Reset_Amount = 2 -- amounts of backpacks to open (must be sorted first to last to open, inside main backpack) local Offline_Time = 1 -- increase this is it resets at random points meanwhile online function Self.isOffline() local s = os.clock() wait(200) getSelfID() if ((os.clock() - s) > Offline_Time) then return true end end function OpenBackpacks(amount) Cavebot.Stop() Self.CloseContainers() Self.OpenMainBackpack(true) wait(500 + Self.Ping()) if #Container.GetAll() == 1 then for slot, item in Container.GetFirst():iItems() do if Item.isContainer(item.id) then Container.GetFirst():UseItem(slot, false) wait(500 + Self.Ping()) Container.GetLast():Minimize() wait(100 + Self.Ping()) end if #Container.GetAll() == amount then break end end end if #Container.GetAll() ~= amount then print('Backpack reset not complete, recursing.') OpenBackpacks(amount) end Cavebot.Start() end Module.New('BP_RESET', function() if Self.isOffline() then OpenBackpacks(Reset_Amount) end end) Editado Maio 18, 2015 10 anos por bringsz (veja o histórico de edições) Servidor de Dragon Ball Online - dbsbattleofgods.com
Postado Agosto 6, 2015 9 anos E onde coloco isso ??? local Reset_Amount = 2 -- amounts of backpacks to open (must be sorted first to last to open, inside main backpack) local Offline_Time = 1 -- increase this is it resets at random points meanwhile onlinefunction Self.isOffline()local s = os.clock()wait(200)getSelfID()if ((os.clock() - s) > Offline_Time) thenreturn trueend endfunction OpenBackpacks(amount)Cavebot.Stop()Self.CloseContainers()Self.OpenMainBackpack(true)wait(500 + Self.Ping())if #Container.GetAll() == 1 thenfor slot, item in Container.GetFirst():iItems() doif Item.isContainer(item.id) thenContainer.GetFirst():UseItem(slot, false)wait(500 + Self.Ping())Container.GetLast():Minimize()wait(100 + Self.Ping())endif #Container.GetAll() == amount then break end end endif #Container.GetAll() ~= amount then print('Backpack reset not complete, recursing.')OpenBackpacks(amount)endCavebot.Start()endModule.New('BP_RESET', function()if Self.isOffline() then OpenBackpacks(Reset_Amount) end end) ??? como faço ?
Postado Agosto 6, 2015 9 anos local MainBPname = "backpack" local Itemname = "blue backpack" local Goldname = "beach backpack" function openBP() local backpack3 = Container.GetByName(Goldname) local backpack2 = Container.GetByName(Itemname) local backpack1 = Container.GetByName(MainBPname) if (backpack1:isOpen() == false) then delayWalker(1000) wait(500) Self.UseItem(Self.Backpack().id) Container.Close(Itemname) wait(1000) Container.GetFirst():OpenChildren(Itemname) wait(1000) Container.GetByName(Itemname):Minimize() Container.Close(Goldname) wait(1000) Container.GetFirst():OpenChildren(Goldname) wait(1000) Container.GetByName(Goldname):Minimize() wait(2000) end end while(true) do openBP() wait(500,1000) end tem q configurar os nomes das backpacks local MainBPname = "backpack" local Itemname = "blue backpack" local Goldname = "beach backpack" [VIDEOS] Quase Tudo Sobre o XenoBOT! [VIDEOS] XenoBOT Script 100% AFK
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.