Tudo que Storm postou
-
(Resolvido)[ZombieEvent] <GetThingFromPosition> Tile Not Found
@Andersen96 Tenta assim; local config = { fromPosition = {x = 1831, y = 1007, z = 12}, -- top left cornor of the playground toPosition = {x = 1864, y = 1036, z = 12}, -- bottom right cornor of the playground } function onStatsChange(cid, attacker, type, combat, value) if isPlayer(cid) and isMonster(attacker) then if isInArea(getPlayerPosition(cid), config.fromPosition, config.toPosition) then if getGlobalStorageValue(3) > 1 then for _, pid in ipairs(getPlayersOnline()) do if isInArea(getPlayerPosition(pid), config.fromPosition, config.toPosition) then doPlayerSendTextMessage(pid, 18, "" .. getPlayerName(cid) .. " have been eated by Zombies! Only ".. (getGlobalStorageValue(3)-1) .." players are still alive.") end end doItemSetAttribute(doCreateItem(3058, 1, getPlayerPosition(cid)), "description", "You recognize " .. getCreatureName(cid) .. ". He was killed by "..getCreatureName(attacker)..".") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doPlayerSendTextMessage(cid, 22, 'You loss.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) setGlobalStorageValue(3, getGlobalStorageValue(3)-1) doPlayerSave(cid) else doBroadcastMessage(getPlayerName(cid) .. " win the Zombie event! Congratulations!", MESSAGE_STATUS_WARNING) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doSendMagicEffect(getPlayerPosition(cid), 36) doPlayerSendTextMessage(cid, 22, 'You Win Addon Doll, Potion Magic VIP and 1KK!') doPlayerAddItem(cid,9693,1) doPlayerAddItem(cid,12328,1) doPlayerAddItem(cid,2160,100) setGlobalStorageValue(3, getGlobalStorageValue(3)-1) doPlayerSave(cid) for x = config.fromPosition.x, config.toPosition.x do for y = config.fromPosition.y, config.toPosition.y do for z = config.fromPosition.z, config.toPosition.z do areapos = {x = x, y = y, z = z} getMonsters = getTopCreature(areapos) if isMonster(getMonsters.uid) then doRemoveCreature(getMonsters.uid) end end end end end return false end end return true end
-
[IMPORTANTE] nuker derrubando os servers por ai, use esse codigo para evitar ser nukado
Este tópico foi movido para a área correta. Esta é uma mensagem automática! Pedimos que leia as regras do fórum!
- Source 0.3.6
- Mana&Life 100/100 sem bug.
-
[Pedido] Script Quest (RESOLVIDO)
@Adm Evolution Fazer isso é uma gambiarra e perca de tempo, pelo visto você nem chegou a testar a minha script. local t = { [1] = {2160, 30}, {2151, 1}, {2159, 100}, -- [VocID] = {ID do item, Count} // Pode se repetir varias vezes [2] = {2160, 30}, {2151, 10} -- Por exemplo, irá adicionar o item 2160 30 vezes e o item 2151 10 vezes [3] = {2160, 1}, -- Por exemplo, irá adicionar o item 2160 1 vez [4] = {2160, 10} -- Por exemplo, irá adicionar o item 2160 10 vezes } Entre as chaves você vai colocar o ID DA VOCATION , irá colocar um sinal de igual e ir colocando todas as tabelas de item que você queira, por exemplo na imagem a cima. Não tem pra fazer gambiarra se você pode usar uma tabela.
-
(Resolvido)Spell Liberada por Storage
@King Laker local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_HITCOLOR, COLOR_RED) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -50.2, 1, -65.8, 1) function onCastSpell(cid, var) local waittime = 1.5 -- Tempo de exhaustion local exhaust = 250002 local effect = 77 local PosTarget = {x=getThingPosition(getCreatureTarget(cid)).x, y=getThingPosition(getCreatureTarget(cid)).y-1, z=getThingPosition(getCreatureTarget(cid)).z} if exhaustion.check(cid, exhaust) then doPlayerSendCancel(cid, "You are exhausted") return false end local storage = 45251 -- Storage para pdoer usar a spell if getCreatureStorage(cid, storage) == -1 then doPlayerSendTextMessage(cid, 27, "Complete a quest para poder usar a spell") return false end doSendMagicEffect(PosTarget, effect) exhaustion.set(cid, exhaust, waittime) return doCombat(cid, combat, var) end
-
[Pedido] Script Quest (RESOLVIDO)
@Adm Evolution local t = { [1] = {2160, 30}, {2151, 1}, {2159, 100}, -- [VocID] = {ID do item, Count} // Pode se repetir varias vezes [2] = {2160, 30}, [3] = {2160, 1}, [4] = {2160, 10} } local storage = 23523 -- Storage da quest function onUse(cid, item, fromPosition, itemEx, toPosition) if getCreatureStorage(cid, storage) == -1 then if t[getPlayerVocation(cid)] then local voc = t[getPlayerVocation(cid)] for a, b in pairs(voc) do doPlayerAddItem(cid, b[1], b[2]) end doCreatureSetStorage(cid, storage, 1) doPlayerSendTextMessage(cid, 27, "Parabens.") else doPlayerSendTextMessage(cid, 27, "Sua vocation não tem premio") return false end else doPlayerSendTextMessage(cid, 27, "Voce ja completou essa quest") return false end return true end
-
Tfs 0.4
Este tópico foi movido para a área correta. Esta é uma mensagem automática! Pedimos que leia as regras do fórum!
-
(Resolvido)Bau Falso
@King Laker function onUse(cid, item, fromPosition, itemEx, toPosition) local newpos = {x = 100, y = 200, z = 7} doTeleportThing(cid, newpos) doPlayerSendTextMessage(cid, 27, "Bait!!") return true end
-
(Resolvido)Bau Falso
@King Laker function onUse(cid, item, fromPosition, itemEx, toPosition) local newpos = getTownTemplePosition(getPlayerTown(cid)) doTeleportThing(cid, newpos) doPlayerSendTextMessage(cid, 27, "Bait!!") return true end
-
(Resolvido)Comando !akatsuki
@King Laker local t = { [1] = 151, -- [VocID] = lookTypeID [2] = 451, [3] = 351, [4] = 251, } local key = 1234 -- Akatsuki storage local effect = 345 -- Efeito ao transformar function onSay(cid, words, param, channel) local pos = getCreaturePosition(cid) if t[getPlayerVocation(cid)] then if getCreatureStorage(cid, key) >= 1 then local outfit = {lookType = t[getPlayerVocation(cid)]} doCreatureChangeOutfit(cid, outfit) doCreatureSay(cid, "!akatsuki", TALKTYPE_MONSTER) doSendMagicEffect(pos, effect) return true else doPlayerSendTextMessage(cid, 27, "Voce não tem a storage da akatsuki") doSendMagicEffect(pos, 2) return true end else doPlayerSendTextMessage(cid, 27, "Sua vocation não tem akatsuki transform.") doSendMagicEffect(pos, 2) return true end return true end
- RME Extendido
-
(Resolvido)Comando !akatsuki
@King Laker local t = { [1] = 151, -- [VocID] = lookTypeID [2] = 451, [3] = 351, [4] = 251, } local key = 1234 -- Akatsuki storage local effect = 345 -- Efeito ao transformar function onSay(cid, words, param, channel) local pos = getCreaturePosition(cid) if t[getPlayerVocation(cid)] then if getCreatureStorage(cid, key) >= 1 then local outfit = {lookType = t[getPlayerVocation(cid)]} doCreatureChangeOutfit(cid, outfit) doCreatureSay(cid, "!akatsuki", TALKTYPE_MONSTER) doSendMagicEffect(pos, effect) return true else doPlayerSendTextMessage(cid, 27, "Voce não tem a storage da akatsuki") doCreatureSay(cid, "!akatsuki", TALKTYPE_SAY) doSendMagicEffect(pos, 2) return false end else doPlayerSendTextMessage(cid, 27, "Sua vocation não tem akatsuki transform.") doSendMagicEffect(pos, 2) return false end return true end
-
(Resolvido)Comando !akatsuki
@weslwy Se ele falar !saga vai voltar ao normal, se falar !akatsuki não.
-
[Pedido] Perca de experiência
@Adm Evolution Manda o login.lua sem nenhuma modificação na parte da perca de level.
-
(Resolvido)[Pedido/Dúvida] Sistema de outfit alterado
@Brunds Certifique-se que no Outfit-ID está seguindo a ordem dos outfits.
-
(((AO MORRER COM BLESS OU SEM CAI TODOS ITENS AJUDA ))))
Este tópico foi movido para a área correta. Esta é uma mensagem automática! Pedimos que leia as regras do fórum!
-
(Resolvido)Comando !akatsuki
@Jociel function onUse(cid, item, fromPosition, itemEx, toPosition) local storage = 14354 -- Coloque aqui a storage value if getCreatureStorage(cid, storage) == -1 then doCreatureSetStorage(cid, storage, 1) doPlayerSendTextMessage(cid, 27, "Parabens!") return true else doPlayerSendTextMessage(cid, 25, "Voce ja fez essa quest") return false end return true end
-
(Resolvido)[Pedido/Dúvida] Sistema de outfit alterado
@Brunds <outfit id="1" storageId="9999" storageValue="1"> <list gender="0" lookType="136" name="Citizen"/> <list gender="1" lookType="128" name="Citizen"/> </outfit>
-
(Resolvido)Comando !akatsuki
@King Laker local t = { [1] = 151, -- [VocID] = lookTypeID [2] = 451, [3] = 351, [4] = 251, } local key = 1234 -- Akatsuki storage local effect = 345 -- Efeito ao transformar function onSay(cid, words, param, channel) local pos = getCreaturePosition(cid) if t[getPlayerVocation(cid)] then if getCreatureStorage(cid, key) >= 1 then local outfit = {lookType = t[getPlayerVocation(cid)]} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(pos, effect) return true else doPlayerSendTextMessage(cid, 27, "Voce não tem a storage da akatsuki") doSendMagicEffect(pos, 2) return false end else doPlayerSendTextMessage(cid, 27, "Sua vocation não tem akatsuki transform.") doSendMagicEffect(pos, 2) return false end return true end
-
Demons Dungeon | Cave Hunt | 8.60
Parabéns, seu tópico de conteúdo foi aprovado! Muito obrigado pela sua contribuição, nós do Tibia King agradecemos. Seu conteúdo com certeza ajudará à muitos outros, você recebeu +1 REP.
-
(Resolvido)Comando !akatsuki
@King Laker Só vai existir um tipo de transformação ? ou seja, cada vocation terá apenas 1 lookType da akatsuki?
-
como muda de base sem perde os players
Este tópico foi movido para a área correta. Esta é uma mensagem automática! Pedimos que leia as regras do fórum!
-
[OPEN][8.54] Base Nto Space.
Parabéns, seu tópico de conteúdo foi aprovado! Muito obrigado pela sua contribuição, nós do Tibia King agradecemos. Seu conteúdo com certeza ajudará à muitos outros, você recebeu +1 REP.
-
(Resolvido)Actions Que Trasnforma
@mullino Você coloca 172800 que equivale a 48 horas