Jump to content

Notícias e Discussões - Tibia Global

Espaço para as notícias e discussões do mundo de Tibia, onde nossa equipe de imprensa trará as novidades do que está rolando por aí.


2671 topics in this forum

    • 12 replies
    • 899 views
    • 0 replies
    • 754 views
    • 0 replies
    • 718 views
    • 22 replies
    • 3.2k views
    • 0 replies
    • 834 views
  1. Notícias de hoje...

    • 0 replies
    • 744 views
    • 4 replies
    • 901 views
    • 2 replies
    • 1.1k views
  2. Teaser I: Spike Sword

    • 0 replies
    • 696 views
    • 8 replies
    • 1.2k views
    • 0 replies
    • 729 views
    • 4 replies
    • 869 views
    • 1 reply
    • 905 views
  3. Compensação

    • 0 replies
    • 791 views
  4. Ajustes e correções

    • 0 replies
    • 609 views
    • 0 replies
    • 623 views
    • 0 replies
    • 780 views
    • 1 reply
    • 661 views
    • 0 replies
    • 708 views
    • 17 replies
    • 1.7k views
    • 0 replies
    • 537 views
  5. Vocações

    • 6 replies
    • 1.1k views
    • 1 reply
    • 599 views
    • 0 replies
    • 1.3k views
    • 0 replies
    • 2.5k views
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Popular Contributors

  • Topics

  • Últimos Posts

    • Opa rapaziada, tudo beleza?   Estou a procura dessas sprites ou algo parecido, caso alguém ainda tiver e puder estar disponibilizando elas agradeceria muito!
    • -=[TFS]=- 0.3.6 - 8.60 - NPC Promotion ta Dando Erro no Console e Não Salva Vocação Fica de Primeira Com a Vocação Depois Quando Desloga e Loga Some   local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local vocation = { [2] = 6, [3] = 7, [4] = 8 } function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if (not npcHandler:isFocused(cid)) then return false end local talkUser = cid msg = string.lower(msg) local level = 717217 if isInArray({"promotion", "promot", "promo"}, msg) then selfSay('Voce precisa ter 100 [VIP COINS] e estar no level 717217!', cid) talkState[talkUser] = 1 elseif msg == "yes" and talkState[talkUser] == 1 then local playerVocation = getPlayerVocation(cid) if vocation[playerVocation] then if getPlayerLevel(cid) >= level then if getPlayerItemCount(cid, 11192) >= 100 then doPlayerRemoveItem(cid, 11192, 100) local newVocationId = vocation[playerVocation] doPlayerSetVocation(cid, newVocationId) doSendMagicEffect(getPlayerPosition(cid), 12) selfSay("Parabens, voce foi promovido!", cid) else selfSay("Voce nao tem 100 [VIP COINS] suficientes para ser promovido.", cid) end else selfSay("Desculpe, voce precisa estar no level " .. level .. " ou acima para ser promovido!", cid) end else selfSay("Desculpe, voce não pode receber promocao.", cid) end talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())   data/npc/scripts/promotion.lua:15: in function <data/npc/scripts/promotion.lua:15> [20/07/2024 08:57:34] [Error - Npc interface] [20/07/2024 08:57:34] data/npc/scripts/promotion.lua:onThink [20/07/2024 08:57:34] Description: [20/07/2024 08:57:34] (luaGetNpcDistanceTo) Thing not found [20/07/2024 08:57:34] [Error - Npc interface] [20/07/2024 08:57:35] data/npc/scripts/promotion.lua:onThink [20/07/2024 08:57:35] Description: [20/07/2024 08:57:35] (luaGetCreatureName) Creature not found [20/07/2024 08:57:35] [Error - Npc interface] [20/07/2024 08:57:35] data/npc/scripts/promotion.lua:onThink [20/07/2024 08:57:35] Description: [20/07/2024 08:57:35] data/npc/lib/npcsystem/npchandler.lua:301: bad argument #3 to 'gsub' (string/function/table expected) [20/07/2024 08:57:35] stack traceback: [20/07/2024 08:57:35] [C]: in function 'gsub' [20/07/2024 08:57:35] data/npc/lib/npcsystem/npchandler.lua:301: in function 'parseMessage' [20/07/2024 08:57:35] data/npc/lib/npcsystem/npchandler.lua:538: in function 'onWalkAway' [20/07/2024 08:57:35] data/npc/lib/npcsystem/npchandler.lua:473: in function 'onThink' [20/07/2024 08:57:35] data/npc/scripts/promotion.lua:15: in function <data/npc/scripts/promotion.lua:15>
    • When taking Nitazoxanide 500 mg, it's important to avoid certain things to ensure the medication works effectively and to minimize side effects: Alcohol: While nitazoxanide doesn’t have a direct interaction with alcohol, drinking excessive amounts can worsen gastrointestinal side effects like nausea and diarrhea. Grapefruit and Grapefruit Juice: There is no specific interaction reported with nitazoxanide, but it’s generally wise to avoid grapefruit products with many medications, as they can affect drug metabolism. Over-the-Counter Medications: Avoid using antacids or medications that can alter gastrointestinal pH without consulting your healthcare provider, as they may affect the absorption of nitazoxanide. Non-Prescription Supplements: Some supplements can interfere with the effectiveness of nitazoxanide. Always discuss any new supplements or herbal products with your healthcare provider. Missed Doses: Ensure you take nitazoxanide as prescribed. Missing doses can reduce effectiveness and prolong infection.  For more info visit : Dose Pharmacy
    • -=[TFS]=- 0.3.6 - 8.60 - Alguém Sabe o ID do Channel NPCs @Holograma
    • <talkaction words="!guildrank" event="script" value="guildrank.lua"/>   TA DANDO ESSE ERRO   OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such column: guild_id (SELECT level, guild_id FROM players WHERE guild_id > 0 AND level > 10 ORDER BY level DESC)   function onSay(cid, words, param) local guilds = {} local guild_rank = {} -- Seleciona o level e a guild de cada jogador com guild e com level maior que 10, ordenados pelo level local query = db.getResult("SELECT level, guild_id FROM players WHERE guild_id > 0 AND level > 10 ORDER BY level DESC") -- Caso nenhum jogador seja selecionado, retorna verdadeiro if query:getID() == -1 then return true end repeat local level = query:getDataInt("level") local guild_id = query:getDataInt("guild_id") -- Cria uma tabela dentro da tabela guilds para cada guilda if not guilds[guild_id] then guilds[guild_id] = {level = level, members = 1} -- Se a tabela já existir e o número de membros for menor que 10, soma o level e +1 ao número de membros elseif guilds[guild_id].members < 10 then guilds[guild_id].level = guilds[guild_id].level + level guilds[guild_id].members = guilds[guild_id].members + 1 end -- Termina se não existirem mais resultados until not query:next() query:free() -- Passa os resultados obtidos para a tabela guild_rank, para ordená-la com table.sort for i, k in pairs(guilds) do table.insert(guild_rank, {id = i, level = k.level}) end -- Ordena a tabela guild_rank de acordo com a soma dos levels table.sort(guild_rank, function(a, b) return a.level > b.level end) local i = 0 local str = ' Guild Rank\n' -- Crie uma string com o nome das guildas em um ranking for _, info in pairs(guild_rank) do i = i + 1 str = str .. i .. ' - '.. getGuildNameById(info.id) .. ' - ' .. info.level .. '\n' if i == 10 then break end end -- Se algum erro ocorrer e o ranking não tiver informações, manda a mensagem "No Guild Information..." local ret = str ~= ' Guild Rank\n' and str or "No guild information to be displayed." doPlayerPopupFYI(cid, ret) return true end
×
×
  • Create New...