-
Total de itens
2089 -
Registro em
-
Última visita
-
Dias Ganhos
83
Tipo de Conteúdo
Perfis
Fóruns
Calendário
Publique
Tudo que L3K0T postou
-
Programação Bot Discord Integrado com Servidor
L3K0T respondeu ao tópico de mastof em Criação de Ots
show! -
Projeto [PROJETO] PokeTibia + GameBoy Advanced (?)
L3K0T respondeu ao tópico de boxxer321 em Criação de Ots
bem legal... Parabéns! -
Retomar antigo projeto Mortal Kombat Online
L3K0T respondeu ao tópico de Will Oliveira em Formação de Equipe
legal em mano... -
precisa ver se seu servidor tem onmoveitems, caso nao tiver... tera que alterar na source
-
-- Cassino System by LucasHere function onUse(cid, item, frompos, item2, topos) pos1 = {x=256, y=344, z=7, stackpos=1} -- posição que vai criar os itens pos2 = {x=257, y=344, z=7, stackpos=1} pos3 = {x=258, y=344, z=7, stackpos=1} local config = { moneyneed = 2000, -- amount of VIP coins needed to play } local premios = { [2189] = 1, [6529] = 1, [2546] = 1, [2352] = 1, [2545] = 1, [8851] = 1, [7424] = 1, [7735] = 1, [8293] = 1, [7450] = 1, [8931] = 1, [8856] = 1 } function additem(cid, premios) local playerName = getPl
-
function onSay(cid, words, param) if getPlayerLevel(cid) == 717217 and getPlayerStorageValue(cid, 13545) == 1 and isPremium(cid) then if doPlayerRemoveMoney(cid, 0) == TRUE then local bp = doPlayerAddItem(cid, 5805, 1) doCreatureSay(cid, "Você comprou um item para desbugar a CAP.", TALKTYPE_ORANGE_1) else doCreatureSay(cid, "Item grátis", TALKTYPE_ORANGE_1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end else doCreatureSay(cid, "Você não atende aos requisitos para comprar o item.", TALKTYPE_ORA
-
Scripting -=[TFS]=- 0.4 8.60 Script !reset dando erro
L3K0T respondeu ao tópico de Muvuka em Suporte Tibia Otserv
function onSay(cid, words, param) -- Configurações gerais local config = { needPa = true, -- Necessita ser uma conta premium? needPz = true, -- Precisa estar em uma área de proteção (Protection Zone)? battle = true, -- Precisa estar fora de combate para resetar? withe = false, -- Jogadores com PK "Branco" podem resetar? red = false, -- Jogadores com PK "Vermelho" podem resetar? tp = false, -- Teleportar para o templo após o reset? look = true, -- Mostrar o reset no status do jogador? addLim -
se o monstro não cai no chão precisa verificar os onkill e ondead no xml do cresturescript.xml desativa eles e testa! Alguma formula usada com onstatschange está errada por isso resulta no erro, tem certeza que desativou os onstatschanges? nao pulo nenhum? olho na lib funções novas com onstatschange? procura na lib onstatschanges se acha manda aqui o da lib ctrl+F
-
testa esse onstatschange pois creio que no seu esteja "getCreaturePos" que não existe no seu server, então mudei para "getCreaturePosition" function onStatsChange(cid, attacker, type, combat, value) if type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS then if isCreature(attacker) and isCreature(cid) then local attackerPosition = getCreaturePosition(attacker) if attackerPosition then local playerLvlCrit = getPlayerStorageValue(attacker, LVL_CRIT_STORAGE) if playerLvlCrit ~= -1 then
-
Opções de contatos está no final do fórum.
-
Precisa estar certinho todos iguais, porque se no item editor estiver carga 1 e no xml do server carga 5, quem manda é o item editor, não terá efeito se eu n me engano
-
(Resolvido)Se consegue coloca esse efeito no attack desse script weapon
L3K0T respondeu ao tópico de Muvuka em Suporte Tibia Otserv (Resolvidos)
Vc pode pegar esse mesmo script e botar em weapons e sentar o script pelo xml em weapons -
Já tentou ver pelo item editor se está como carga correta?
-
local LVL_CRIT_STORAGE = 48904 local MULTIPLIER = 1.001 function onStatsChange(cid, attacker, type, combat, value) if type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS then if isPlayer(attacker) and isCreature(cid) then local playerLvlCrit = getPlayerStorageValue(attacker, LVL_CRIT_STORAGE) local critThreshold = playerLvlCrit * 3 local randomValue = math.random(0, 1000) if critThreshold >= randomValue then local boostedDamage = math.ceil(value * (MULTIPLIER - 1)) -- Subtrair 1 para obter o valor perce
-
Reinstala o site.
-
NPC TFS 0.X Bug no NPC Halvar (Arena Svargrond)
L3K0T respondeu ao tópico de specail em Monsters, NPC, Raids & Mounts
-- Import required modules and libraries domodlib('arenaFunctions') local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- Initialize conversation states as local variables local focus = 0 local talk_start = 0 local TS = 0 -- Function to check if a string contains another string (case-insensitive) local function msgcontains(txt, str) return string.find(string.lower(txt), string.lower(str)) end -- Function to handle player saying something to the NPC function onCreatureSay(cid, type, msg) msg = string.low -
NPC TFS 0.X Bug no NPC Halvar (Arena Svargrond)
L3K0T respondeu ao tópico de specail em Monsters, NPC, Raids & Mounts
-- Import required modules and libraries domodlib('arenaFunctions') local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- Initialize conversation states as local variables local focus = 0 local talk_start = 0 local TS = 0 -- Function to check if a string contains another string (case-insensitive) local function msgcontains(txt, str) return string.find(string.lower(txt), string.lower(str)) end -- Function to handle player saying something to the NPC function onCreatureSay(cid, type, msg) msg = string.low -
(Resolvido)Erro Deletar Guild Inativa
L3K0T respondeu ao tópico de DigoleraZica em Suporte Tibia Otserv (Resolvidos)
function onStartup() local result_guilds = db.getResult("SELECT `id`, `creationdata` FROM `guilds` ORDER by `creationdata` ASC;") local days = 30 * 3600 * 24 local nowtime = os.time() if (result_guilds and result_guilds:getID() ~= -1) then while (true) do local id = result_guilds:getDataInt("id") local date = result_guilds:getDataInt("creationdata") local time = nowtime - date local duedate = time - days if duedate >= 0 then local columnExists = db.isColumn("players", "guild_id")
TibiaKing
Open Tibia Server
Quer aprender a criar seu próprio servidor de Tibia? Então está no lugar certo, aqui você encontrará milhares de tutorias, scripts, códigos, mapas e utilitários para que você possa fazer o seu próprio servidor de Tibia começando do zero.
Anuncie no TibiaKing
Precisa de mais visibilidade em seus projetos? Quer fazer um plano publicitário para o seu servidor? Anuncie no OTKing e faça sua divulgação, possuímos centenas de acessos simultâneos e milhares diários, com certeza será a sua solução!