Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 12/04/23 em todas áreas

  1. https://www.eternalglobal.online/ Server Features Protocol 8.60 and 12.30 Features (working 100%) Bestiary -> Janela Em Contrução para Client 8.60 ja funcional no servidor. Charm -> Janela Em Contrução para Client 8.60 ja funcional no servidor. Store -> Janela Em construção para CLIENT 8.60 Quickloot -> Janela Em Contrução para Client 8.60 ja funcional no servidor. Cast system Wrap system Custom spawns loading syste WarSystem RaidSystem Offline Trainers Sala de Trainers Stamina Refil Itens Donate Boosted Boss Boosted Creature 5 Eventos Automaticos. 12x Updates NEW ITEMS Umbral Items ,Cobra Items,Falcon Items,Warzone Items,Gnome Item NEW AREAS Issavi Roshamuul Oramond Cobras Falcons Warzone 1,2,3 Warzones 4,5,6
  2. Parabéns pelo projeto! O mapa está belíssimo... No entanto, o market system é bem diferente... Gostei muito!.
  3. 1 ponto
    Só complementando a resposta ai do amigo acima, aqui está o passo a passo, e tbem tem o link do canary compilado: https://docs.opentibiabr.com/opentibiabr/projects/canary
  4. 1 ponto
    Parabéns pelo projeto!
  5. 1 ponto
    https://github.com/opentibiabr/canary/actions/workflows/build-windows-cmake.yml?query=branch:main
  6. 1 ponto
    Updates @SHARINGAN.exe Removido a possiblidade de usar a funcionalidade auto attack target no client. NEW FEATURES CLIENT 8.60 VSCYN SUPPORTE! DISCORD RPC SUPPORTE! SELECT OUTFIT 8.60 NEW WINDOW MARKET SYSTEM 8.60 STORE Em construção
  7. (Resolvido)Adicionar (CHANCE) no script

    L3K0T reagiu a Mateus Robeerto por uma resposta no tópico

    1 ponto
    local levels = { [-1] = {itemid = 6541, chance = 10}, [10] = {itemid = 6542, chance = 20}, [20] = {itemid = 6543, chance = 5}, [30] = {itemid = 6544, chance = 30}, [40] = {itemid = 6545, chance = 80}, } local config = { storage = 19333, chance = 1, --- chance de achar um item ou não k = 1, --- constante de level.. quanto maior, mais fácil é upar. (a fórmula é level ao quadrado dividido pela constante) experience = 19334 } local terra = {11787} function getDrops(cid) local drops = {} for i = -1, getPlayerStorageValue(cid, config.storage) do if levels[i] then local item = levels[i].itemid local chance = levels[i].chance if config.chance >= math.random(1, 100) then -- Ajustado para um intervalo de 1 a 100 if math.random(1, 100) <= chance then table.insert(drops, item) end end end end return drops end function onUse(cid, item, fromPosition, itemEx, toPosition) local drops = {} if isInArray(terra, itemEx.itemid) then drops = getDrops(cid) doPlayerSetStorageValue(cid, config.experience, getPlayerStorageValue(cid, config.experience) + 1) local experience = getPlayerStorageValue(cid, config.experience) if experience >= (8 + (getPlayerStorageValue(cid, config.storage) ^ 2)) / config.k then doPlayerSetStorageValue(cid, config.storage, getPlayerStorageValue(cid, config.storage) + 1) doPlayerSendTextMessage(cid, 27, "Parabens, voce subiu de nivel! Seu nivel atual e " .. getPlayerStorageValue(cid, config.storage) .. ".") if getPlayerStorageValue(cid, config.storage) == 100 then doPlayerSendTextMessage(cid, 20, "[MINING] --> Por alcancar o nivel " .. getPlayerStorageValue(cid, config.storage) .. " voce foi premiado com o capacete de mineracao.") doPlayerAddItem(cid, 7497, 1, true) end end if config.chance >= math.random(1, 150) then if #drops >= 1 then local item = drops[math.random(1, #drops)] doPlayerSendTextMessage(cid, 27, "[MINING] --> Voce encontrou um(a) " .. getItemNameById(item) .. ".") doSendAnimatedText(toPosition, "Sucesso", 210) doPlayerAddItem(cid, item, 1, true) end doSendMagicEffect(toPosition, 3) else doSendAnimatedText(toPosition, "Tack", 215) doSendMagicEffect(toPosition, 2) return true end elseif itemEx.itemid == item.itemid then doPlayerSendTextMessage(cid, 27, "[MINING] --> Seu nivel na mineracao e: [" .. getPlayerStorageValue(cid, config.storage) .. "].") else return false end return true end
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo