Ir para conteúdo

Linguagens de Programação

Relacionado a programação de linguagens e scripts em geral. O conteúdo presente nesta seção não necessita de ser necessariamente voltado a Open Tibia, mas se encontra em tal para servir como material auxiliar.

 


Subfóruns

  1. 16
    topics
    16
    posts
  2. Programação Web

    Área destinada às linguagens de programação Javascript, PHP e ASP e às linguagens de marcação HTML e CSS.

    161
    topics
    161
    posts
  3. C e C++

    Tudo relacionado a programação das linguagens C e C++.

    54
    topics
    54
    posts
  4. Java

    Tudo relacionado a linguagem de programação Java.

    49
    topics
    49
    posts
  5. C# e Visual Basic

    Conteúdo relacionado às linguagens de programação C# e Visual Basic, desenvolvidas pela Microsoft.

    80
    topics
    80
    posts
  6. Pascal (Delphi)

    Tudo relacionado a programação da linguagem Pascal, usada no Delphi.

    35
    topics
    35
    posts
  7. Outras Linguagens

    Fórum destinado para outras linguagens.

    40
    topics
    40
    posts

306 tópicos neste fórum

    • 13 respostas
    • 2.3k visualizações
    • 9 respostas
    • 3.4k visualizações
    • 4 reações

    • 23 respostas
    • 5.8k visualizações
  1. Opa eae rapaziada

    • 0 respostas
    • 279 visualizações
    • 8 respostas
    • 3.2k visualizações
    • 7 respostas
    • 1.9k visualizações
  2. [C++] TV SYSTEM 1 2

    • 15 respostas
    • 2k visualizações
    • 11 respostas
    • 1.9k visualizações
    • 3 respostas
    • 1.6k visualizações
  3. Atribute isPokeball 1 2

    • 20 respostas
    • 2.6k visualizações
    • 1 reação

    • 1 resposta
    • 438 visualizações
    • 1 reação

    • 4 respostas
    • 817 visualizações
  4. [Pedido] NPC de teleport

    • 0 respostas
    • 239 visualizações
    • 1 reação

    • 7 respostas
    • 1.2k visualizações
    • 3 reações

    • 0 respostas
    • 506 visualizações
  5. Salvar Mapa In Game

    • 11 respostas
    • 3.3k visualizações
    • 24 respostas
    • 6.4k visualizações
    • 2 reações

    • 2 respostas
    • 843 visualizações
    • 11 reações

    • 33 respostas
    • 4.3k visualizações
    • 2 reações

    • 1 resposta
    • 499 visualizações
  6. poke wish - ivs,

    • 1 resposta
    • 929 visualizações
    • 2 reações

    • 112 respostas
    • 15.9k visualizações
    • 1 resposta
    • 324 visualizações
    • 1 resposta
    • 293 visualizações
    • 9 reações

    • 5 respostas
    • 1.2k visualizações
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
  • Mais Reputados

  • Tópicos

  • Últimos Posts

    • Acredito que para isso teria que modificar diretamente na source já que é algo que altera totalmente o jogo, alterar apenas nos arquivos .lua poderia apenas quebrar o jogo e fazer ele não funcionar como deveria, inclusive é por isso que tantos servidores possuem inúmeras falhas, por serem baseados em gambiarras feitas sem modificar a source. Então mesmo que seja possível alterar apenas utilizando arquivos .lua, no fim o melhor método é modificar a source mesmo
    • Muito interessante esse sistema de cassino que você desenvolveu, realmente traz uma dinâmica divertida e interativa pro servidor!  Falando em cassino, se você curte essa temática e quer experimentar algo parecido com apostas reais, recomendo dar uma olhada na pixbet clássico ou moderno. Já uso há um bom tempo, especialmente por ser voltado ao público brasileiro, com apostas esportivas e bônus atrativos. Funciona muito bem e é super confiável pra quem quer se divertir de forma segura.
    • Filmywap is a widely known website that allows users to download the latest Bollywood, Hollywood, and regional movies for free. It has gained popularity due to its extensive library of films across multiple genres and languages, including Hindi, Tamil, Telugu, Punjabi, and more. Filmywap offers movies in various formats and file sizes, catering to users with different internet speeds and storage capacities. Visitors often turn to Filmywap for its easy-to-navigate interface and quick access to newly released films. Whether it's a big-budget blockbuster or an indie release, the platform frequently uploads content shortly after theatrical or OTT releases. Despite its popularity, it’s important to note that Filmywap operates outside legal distribution channels, and using such sites may violate copyright laws. While it provides free entertainment, users should be cautious about legal implications and potential risks like malware. Supporting official platforms ensures both safety and the rightful support of filmmakers.
    • IMORTALIDADE   local config = { storage = 13546, effect1 = 2 --- efeito ao ser atacado estando invulnerável } function onStatsChange(cid, attacker, type, combat, value) if value >= 1 and (type == STATSCHANGE_HEALTHLOSS or (getCreatureCondition(cid, CONDITION_MANASHIELD) and type == STATSCHANGE_MANALOSS)) then if getPlayerStorageValue(cid,config.storage) - os.time() > 0 and isCreature(attacker) then doSendMagicEffect(getCreaturePosition(cid), config.effect1) doSendAnimatedText(getCreaturePosition(cid), "0", 180) return false end end return true end       IMORTALIDADE   local config = { storage = 13546, cooldown = 3, --- tempo entre um uso e outro duration = 86400, --- duração effect1 = 26 -- efeito que sai ao falar a spell } function onCastSpell(cid, var) if getPlayerStorageValue(cid, 13546) < 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Você precisa ser DONATE para usar esta Magia.") doSendMagicEffect(getThingPos(cid), 2) return true end if os.time() - getPlayerStorageValue(cid, 13546) >= config.cooldown then setPlayerStorageValue(cid, 13546, os.time()) doSendMagicEffect(getCreaturePosition(cid), config.effect1) setPlayerStorageValue(cid, config.storage, os.time() + config.duration) doCreatureSay(cid,"24 HORAS DE INVENCIBILIDADE!!!", 19) doPlayerSendTextMessage(cid, 26, "You have now ".. config.duration .." seconds of invulnerability.") else doPlayerSendCancel(cid, "Your skill is in cooldown, you must wait "..(config.cooldown - (os.time() - getPlayerStorageValue(cid, 13546))).." seconds.") return false end return true end     REFLECTION    function onCastSpell(cid, var) -- Check if the player has the required storage for the spell if getPlayerStorageValue(cid, 12789) < 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need storage spell donate.") doSendMagicEffect(getThingPosition(cid), CONST_ME_POFF) return false end -- Register the statschange event registerCreatureEvent(cid, "Reflection/statschange") -- Registers the statschange event -- Set the duration for the Reflection effect (24 hours) setPlayerStorageValue(cid, 12789, os.time() + 86400) -- Sets the duration (24 hours) -- Apply the visual effect doSendMagicEffect(getThingPosition(cid), CONST_ME_HOLYDAMAGE) -- Inform the player that they have gained the Reflection effect doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You have 24 hours of Reflection.") return true end   function onStatsChange(cid, attacker, type, combat, value) -- Verificar se o Reflection está ativo if getPlayerStorageValue(cid, 12789) > os.time() then -- Garantir que o atacante é válido e está vivo if isCreature(attacker) and getCreatureHealth(attacker) > 0 then doCreatureAddHealth(attacker, -getCreatureHealth(attacker)) -- Matar atacante doSendMagicEffect(getThingPosition(attacker), CONST_ME_HOLYDAMAGE) doSendAnimatedText(getThingPosition(attacker), "[OWNED!]", 35) end return false -- Impede que o jogador perca vida else -- Desativar evento quando o Reflection expira unregisterCreatureEvent(cid, "Reflection/statschange") setPlayerStorageValue(cid, 12789, -1) end return true end     REFLECTION   function onLogin(cid) -- Verificar se o Reflection ainda está ativo if getPlayerStorageValue(cid, 12789) > os.time() then -- Registrar o evento statschange novamente registerCreatureEvent(cid, "Reflection/statschange") else -- Remover o armazenamento caso o efeito tenha expirado setPlayerStorageValue(cid, 12789, -1) end return true end  
×
×
  • Criar Novo...