-
Total de itens
1045 -
Registro em
-
Última visita
-
Dias Ganhos
43
Tudo que Storm postou
-
@louco3626 Troca if table.maxn(getCreatureSummons(cid)) <= config.max then Para if table.maxn(getCreatureSummons(cid)) < config.max then
-
@Emooooo Muda if(not guild or getPlayerGuildLevel(cid) < GUILDLEVEL_LEADER) then Para if not guild then
-
(Resolvido)Level minimo pra usar item
Storm respondeu ao tópico de RomeuTemochko em Suporte Tibia OTServer (Resolvidos)
@RomeuTemochko Verifique se você colocou corretamente no items.XML o tipo da arma -
@louco3626 local config = { name = "Demon", -- Nome do Summon max = 1, -- Máximo de summons exaust_sto = 5555, -- Storage que contabiliza o exaust exaust_time = 60 -- Segundos de Exaust } function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getCreaturePosition(cid) if not exhaustion.check(cid, config.exaust_sto) then if table.maxn(getCreatureSummons(cid)) <= config.max then local target = doCreateMonster(config.name, pos) doConvinceCreature(cid, target) doPlayerSendText
-
Scripting QUEST QUE DE ITEM ALEATÓRIOS( configuráveis)
Storm respondeu ao tópico de Vim Rusha em Suporte Tibia OTServer
@Vim Rusha local config = { time = 20, -- HORAS de exaust storage = 25455, -- Storage do exaust position = {x = 100, y = 250, z = 7} -- Position que será teleportado. } local items = { [1] = {100, 10, 2160}, -- {CHANCE de 1 a 100, quantidade que ganhará, itemID) [2] = {50, 1, 2155}, [3] = {25, 1, 2154}, [4] = {10, 1, 2156}, [5] = {5, 1, 2170} } function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getCreaturePosition(cid) if exhaustion.check(cid, config.storage) then doPlayerSendTextMessage -
Action Algem Me Pode arrumar algum scrip casino igual ou semelhante à imagem
Storm respondeu ao tópico de SUOREME em Suporte OTServer Derivados
@SUOREME Explique como o sistema funciona. -
Scripting Criação de Quest,Tile que mata o play se pisa nele
Storm respondeu ao tópico de Salazar Slytherin em Suporte OTServer Derivados
@louco3626 Manda seu movements.xml, você ta errando alguma coisa nela. Não é nada na script, testei em um debugger e ela ta normal. -
Scripting Criação de Quest,Tile que mata o play se pisa nele
Storm respondeu ao tópico de Salazar Slytherin em Suporte OTServer Derivados
@louco3626 Voce ta errando alguma coisa na hora de colocar no movements.xml -
Scripting [SUPORTE] Ajuste de spell em área
Storm respondeu ao tópico de ZeeroBR em Suporte OTServer Derivados
@ZeeroBR Se aparecer algum erro me manda -
Scripting [SUPORTE] Ajuste de spell em área
Storm respondeu ao tópico de ZeeroBR em Suporte OTServer Derivados
@ZeeroBR Tenta assim -
@victor4312 É só mudar pra doPlayerSendCancel e tirar o 27. Já tem um exaust na script mano, lol.
-
@victor4312 Substitui na script; doPlayerSendTextMessage(cid, 27, "Espere ".. math.floor(exhaustion.get(cid, config.exaust_sto) / 60) .." minuto(s) e ".. exhaustion.get(cid, config.exaust_sto) - (math.floor(exhaustion.get(cid, config.exaust_sto) / 60)*60) .." segundo(s) para usar seu pet novamente.")
-
Scripting Talkaction Chess
Storm respondeu ao tópico de telefonesemfio em Suporte OTServer Derivados
@telefonesemfio Explica o sistema mais detalhadamente. -
@victor4312 local config = { name = "Demon", -- Nome do Summon max = 1, -- Máximo de summons storage = 42355, -- Storage que permite o uso exaust_sto = 5555, -- Storage que contabiliza o exaust exaust_time = 60 -- Segundos de Exaust } function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getCreaturePosition(cid) if getPlayerStorageValue(cid, config.storage) == 1 then if not exhaustion.check(cid, config.exaust_sto) then if table.maxn(getCreatureSummons(cid)) <= config.max then local target = doC
-
@REI DAVID Eu mudei de lugar, compare as duas partes e veja, apenas isto.
-
@victor4312 local config = { name = "Demon", -- Nome do Summon storage = 42355, -- Storage que permite o uso exaust_sto = 5555, -- Storage que contabiliza o exaust exaust_time = 60 -- Segundos de Exaust } function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getCreaturePosition(cid) if getPlayerStorageValue(cid, config.storage) == 1 then if not exhaustion.check(cid, config.exaust_sto) then local target = doCreateMonster(config.name, pos) doConvinceCreature(cid, target) doSendMagicEffect(pos, C
-
Scripting Criação de Quest,Tile que mata o play se pisa nele
Storm respondeu ao tópico de Salazar Slytherin em Suporte OTServer Derivados
@louco3626 <movevent type="StepIn" actionid="11555;11556" event="script" value="tile.lua"/> <movevent type="StepOut" actionid="11555;11556" event="script" value="tile.lua"/> local config = { fail_tile = 11555, -- ActionID do tile que matará right_tile = 11556, -- ActionID do tile certo new_tile_id = 406, -- Piso branco old_tile_id = 407 -- Piso preto } function onStepIn(cid, item, position, fromPosition) local pos = getCreaturePosition(cid) if isPlayer(cid) and not isPlayerGhost(cid) then if item.actionid == config.fail_til -
@REI DAVID Substitua na function CTF.close(win) function CTF.close(win) if not win then doBroadcastMessage("O CTF acabou sem vencedores.") else CTF.broadCast("O time ".. win .. " marcou ".. CTF.winp .. " ponto(s) e venceu o evento.") end for _, cid in pairs(CTF.getMembers()) do if getPlayerStorageValue(cid, 16700) == win then doPlayerAddItem(cid, 2160, 10) local xp = math.ceil(getPlayerExperience(cid) * (CTF.xp_percent / 100), 215) doPlayerSendTextMessage(cid, 22, "Parabéns!,Segundo andar para sair do evento! Você ganhou o evento e obteve ".. CTF.xp_percent .."% de
-
(Resolvido)Npc Event Points
Storm respondeu ao tópico de STAR NINJA em Suporte OTServer Derivados (Resolvidos)
@REI DAVID Esses event tokens seria uma storage ou um item? -
@REI DAVID È mais fácil mandar o erro do evento do que fazer uma gambiarra pra consertar, então manda o do evento ai.
-
@CaioPinaa Você não detalhou muito bem, então testa assim: local monster = "Demon" -- Monster name function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getCreaturePosition(cid) local target = doCreateMonster(monster, pos) doRemoveItem(item.uid, 1) doConvinceCreature(cid, target) doSendMagicEffect(pos, 5) return true end
-
NPC Verificação de premium no npc promotion
Storm respondeu ao tópico de emersongo em Suporte Tibia OTServer
Este tópico foi movido para a área correta. Esta é uma mensagem automática! Pedimos que leia as regras do fórum! -
Database Sistema de shopping do site não entrega o item ao personagem
Storm respondeu ao tópico de emersongo em Suporte Tibia OTServer
Este tópico foi movido para a área correta. Esta é uma mensagem automática! Pedimos que leia as regras do fórum!
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!