Tudo que jNo postou
-
(Resolvido)Modificar Script + Pedido
Esse script, funciona como creaturescript, quando mata o bixo, vai sumir esse item em uma determinada posição, e depois que acabar o tempo, nasce o item. Gostaria de pedir, que, nesse intervalo de tempo, quando acabar, todos que tiverem dentro de uma area, X Y Z, e indiferente do andar, toma-se kick pro templo E após isso, manda uma mensagem broadcast em vermelho para todos do server. {{x = 2726, y = 1157, z = 1}, {x = 2836, y = 1269, z = 10}} -- Canto superior esquerdo / inferior direito function onDeath(cid, corpse, deathList) local item = 9532 -- id do item que sera removido local pos = {x=2787, y=1382, z=7, stackpos=1} -- pos do item que sera removido local pos2 = {x=2787, y=1383, z=7, stackpos=1} -- pos do item que sera removido local pos3 = {x=2793, y=1382, z=7, stackpos=1} -- pos do item que sera removido local pos4 = {x=2793, y=1383, z=7, stackpos=1} -- pos do item que sera removido local time = 1 -- minutos em que a passagem ficara aberta local rmv = getThingfromPos(pos) local rmv2 = getThingfromPos(pos2) local rmv3 = getThingfromPos(pos3) local rmv4 = getThingfromPos(pos4) doRemoveItem(rmv.uid, 1) doRemoveItem(rmv2.uid, 1) doRemoveItem(rmv3.uid, 1) doRemoveItem(rmv4.uid, 1) doBroadcastMessage("The secret passage was opened for 60 seconds." , 20) addEvent(criar_item2, 60000 * time) end function criar_item2() local item = 9532 -- id do item que sera removido local pos = {x=2787, y=1382, z=7, stackpos=1} -- pos do item que sera removido local pos = {x=2787, y=1383, z=7, stackpos=1} -- pos do item que sera removido local pos = {x=2793, y=1382, z=7, stackpos=1} -- pos do item que sera removido local pos = {x=2793, y=1383, z=7, stackpos=1} -- pos do item que sera removido doCreateItem(item, 1, pos) doCreateItem(item, 2, pos2) doCreateItem(item, 3, pos3) doCreateItem(item, 4, pos4) doBroadcastMessage("The secret passage was closed." , 20) end E um script simples, quando passar em X posição, vai nascer 5 X criaturas (podendo ser diferentes uma da outra) em determinada area: {{x = 2726, y = 1157, z = 1}, {x = 2836, y = 1269, z = 10}} -- Canto superior esquerdo / inferior direito
-
(Resolvido)Force OpenChat
Sim, exatamente, o Help também se conseguir
-
(Resolvido)Force OpenChat
Creaturescript function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end doPlayerSendChannelMessage(cid, "Death-Channel", "The player "..getCreatureName(target).." on level ["..getPlayerLevel(target).."] just got killed for "..getCreatureName(cid).." on level ["..getPlayerLevel(cid).."].", TALKTYPE_CHANNEL_R1, CHANNEL_DEATH) print("oi") return true end
-
(Resolvido)Templo com base na storage
Há muitos anos atras eu vi um sistema que funciona assim, existe um teleport em cada cidade do Server, com um script que adiciona uma storage é uma coordenada, e quando o player morrer, ele nasce naquela coordenada. A mesma coisa funcionária nos outros templo.
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
(Resolvido)Force OpenChat
Tem algum jeito de forçar a abertura do chat? Eu ja tentei colocar de todas as formas, e essa merda não abre, existe algum código de source? Ja tentei colocar isso no login lua antes do iflastlogin e também do ultimo return true, e nada! doPlayerOpenChannel(cid, CHANNEL_HELP) doPlayerOpenChannel(cid, 10) <?xml version="1.0" encoding="UTF-8"?> <channels> <!-- README: 0 - dynamic, reserved for guilds 1 - always acts as Party channel, only "name" tag available 3 - always acts as Rule Violations channel 9 - acts as Help channel- clientsided message 65535 - DO NOT CHANGE THE ID- only "name", "enabled", "active" and "logged" tags available --> <channel id="1" name="Party"/> <channel id="2" name="Staff" access="3"/> <channel id="3" name="Rule Violations" logged="yes"/> <channel id="4" name="Counselor" access="1"/> <channel id="5" name="Game-Chat" level="2"/> <channel id="6" name="Trade" level="8" muted="120" conditionId="2" conditionMessage="You may only place one offer in two minutes."> <vocation id="1-8"/> </channel> <channel id="7" name="Trade-Rookgaard" level="2" muted="120" conditionId="3" conditionMessage="You may only place one offer in two minutes."> <vocation id="0"/> </channel> <channel id="8" name="RL-Chat" level="2"/> <channel id="9" name="Help" logged="yes"/> <!-- <channel id="10" name="My Custom Channel"/> --> <channel id="65535" name="Private Chat Channel"/> <channel id="10" active="no" logged="yes" name="Death Channel"/> </channels>
- DESIGN - FAÇA SEU PEDIDO
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
(Resolvido)Alerta de Bless
Valeu, é isso mesmo!
-
(Resolvido)In timer a called error
Quando reloga, não troca mais a roupa, mas não da o erro que é mais importante, o player que se vire e coloque de novo o ring, vlw! obrigado
-
(Resolvido)In timer a called error
Isso tem correção? Se não tiver, eu vou remover do servidor. Acontece quando deslogo e logo com o item equipado no slot de ring <movevent type="Equip" itemid="2363" slot="ring" event="script" value="brilhabrilha.lua"/> <movevent type="DeEquip" itemid="2363" slot="ring" event="script" value="brilhabrilha.lua"/> local colors = {94, 81, 79, 88, 18, 11, 92, 128} local storage = 65539 local time = 1 --in miliseconds function onEquip(cid, item, slot) if getPlayerStorageValue(cid, storage) < 1 then local event = addEvent(changeOutfit, time, cid) setPlayerStorageValue(cid, storage, 1) return true end return true end function onDeEquip(cid, item, slot) if getPlayerStorageValue(cid, storage) > 0 then setPlayerStorageValue(cid, storage, 0) return true end return true end function changeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(repeatChangeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end function repeatChangeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(changeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end
-
(Resolvido)Alerta de Bless
Não é isso, quero apenas que dê o alerta ao morrer e perder a bless.
-
Rebuild com erro?
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
(Resolvido)Erro no console, autoloot
É, arrumei aqui, vlw
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
(Resolvido)Alerta de Bless
Um alerta ao player quando morrer, dizendo que ele esta sem bless. Só exibe uma vez depois que loga de uma morte (mais sempre que morre né, dã) [WARNING] You are not fully blessed! If you die, you might lose equipment.
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
- [EVENTO] War of Emperium (WoE) Completo
-
Bugs/Erros no TK? Poste aqui!
@Comedinha Quando você faz a solicitação de recuperação de senha com o e-mail, o mesmo nunca chega! Acredito que seja um bug
-
(Resolvido)Fiz uma gambiarra no death channel, help
No aguardo. 06:40 Death channel: Joaozinhosz was killed at level 103 by Suco De Uva, Sharingan.
-
(Resolvido)Fiz uma gambiarra no death channel, help
Funcionou, você consegue por para mostrar os bixos e outros players que ajudaram a matar?
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
(Resolvido)Fiz uma gambiarra no death channel, help
Meu script é esse: function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end doBroadcastMessage(""..getCreatureName(target).." on level ["..getPlayerLevel(target).."] just got killed for "..getCreatureName(cid).." on level ["..getPlayerLevel(cid).."].", MESSAGE_STATUS_CONSOLE_BLUE) return true end A gambiarra que eu fiz para aparecer no death channel if not isPlayer(target) or not isPlayer(cid) then return true end doPlayerSendChannelMessage(oid, "Death channel", ""..getCreatureName(target).." on level ["..getPlayerLevel(target).."] just got killed for "..getCreatureName(cid).." on level ["..getPlayerLevel(cid).."].", MESSAGE_STATUS_CONSOLE_BLUE) return true end E porque o chat não abre? Registrei isso depois do return true no login lua. doPlayerOpenChannel(cid, 10) E isso na lib constant CHANNEL_DEATH = 10 E isso no xml <channel id="10" active="no" logged="yes" name="Death Channel"/>