Postado Novembro 26, 2015 9 anos Olá, antes de mais nada, vi todos o tutoriais aqui do TK, mas nenhum resolveu meu Problema. E vi também que o pessoal comentou que é praticamente impossível fazer mas conseguir tem como. Testado em TFS 0.4 Tibia 8.6 Servidor: Constant Styller. Vamos lá. Eu fiz assim. Inseri um Script, do Darkhaos, que já estava em meu servidor. creaturescripts... --- Created by Darkhaos function onDeath(cid, corpse, killer) registerCreatureEvent(cid, "Tzeal") local creaturename = getCreatureName(cid) local in_pos = {x=1253, y=172, z=9, stackpos=2} local checkIID = getThingfromPos(in_pos) local to_pos = {x=1287, y=165, z=9, stackpos=1} local time_to_pass = 30 -- in seconds local tpID = 1387 if creaturename == 'Tzeal' then teleport = doCreateTeleport(tpID, to_pos, in_pos) doSendMagicEffect(in_pos, CONST_ME_TELEPORT) doCreatureSay(cid, "You have 30 seconds to enter the teleport before it is closed.", TALKTYPE_ORANGE_1) addEvent(removeTeleport, (1000*time_to_pass)) end end function removeTeleport() if getThingfromPos({x=1253, y=172, z=9, stackpos=1}).itemid == 1387 then doRemoveItem(getThingfromPos({x=1253, y=172, z=9, stackpos=1}).uid,1) doSendMagicEffect({x=1253, y=172, z=9, stackpos=1}, CONST_ME_POFF) return TRUE end end Adicionei a tag no monstro. <script> <event name="Tzael" /> </script> Tentei também como <event> ... </event> <?xml version="1.0" encoding="UTF-8"?> <monster name="Tzeal" nameDescription="Tzeal" race="fire" experience="48000" speed="400" manacost="0"> <health now="100000" max="100000"/> <look type="35" head="0" body="0" legs="0" feet="0" corpse="2916"/> <targetchange interval="2000" chance="10"/> <strategy attack="65" defense="30"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag runonhealth="3000"/> </flags> <script> <event name="Tzeal" /> </script> <attacks> <attack name="melee" interval="2000" skill="200" attack="250"/> <attack name="manadrain" interval="1000" chance="7" range="7" min="-100" max="-1000"> <attribute key="shootEffect" value="energy"/> <attribute key="areaEffect" value="poff"/> </attack> <attack name="drunk" interval="1000" chance="7" range="7"> <attribute key="shootEffect" value="energy"/> <attribute key="areaEffect" value="energyarea"/> </attack> <attack name="strength" interval="1000" chance="9" range="7"> <attribute key="shootEffect" value="largerock"/> <attribute key="areaEffect" value="energyarea"/> </attack> <attack name="lifedrain" interval="1000" chance="13" radius="8" target="0" min="-400" max="-700"> <attribute key="areaEffect" value="bluebubble"/> </attack> <attack name="manadrain" interval="1000" chance="10" radius="8" target="0" min="-400" max="-700"> <attribute key="areaEffect" value="greenshimmer"/> </attack> <attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-1900" duration="60000"> <attribute key="areaEffect" value="poison"/> </attack> <attack name="strength" interval="1000" chance="8" radius="5" target="0"> <attribute key="areaEffect" value="blackspark"/> </attack> <attack name="outfit" interval="1000" chance="2" radius="8" target="0" monster="demon" duration="5000"> <attribute key="areaEffect" value="bluebubble"/> </attack> <attack name="outfit" interval="1000" chance="2" radius="8" target="0" item="3058" duration="5000"> <attribute key="areaEffect" value="bluebubble"/> </attack> <attack name="fire" interval="1000" chance="34" range="7" radius="7" target="1" min="-100" max="-900"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="lifedrain" interval="1000" chance="15" length="8" spread="0" min="-500" max="-850"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="160" defense="160"> <defense name="healing" interval="1000" chance="15" min="5000" max="10000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="healing" interval="1000" chance="25" min="2000" max="3000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="1000" chance="8" speedchange="1901" duration="5000"> <attribute key="areaEffect" value="redshimmer"/> </defense> <defense name="invisible" interval="1000" chance="4" duration="10000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="invisible" interval="1000" chance="17" duration="2000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1000" chance="2" item="2916" duration="7000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity physical="0"/> <immunity energy="1"/> <immunity fire="1"/> <immunity poison="1"/> <immunity lifedrain="1"/> <immunity paralyze="1"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <summons maxSummons="1"> <summon name="bazir" interval="1000" chance="15" max="1"/> </summons> <voices interval="5000" chance="10"> <voice sentence="COME HERE! FREE ITEMS FOR EVERYONE!" yell="1"/> <voice sentence="Slay your friends and I will spare you!" yell="1"/> <voice sentence="DON'T BE AFRAID! Tzeal Peace and Love!" yell="1"/> </voices> </monster> Tag creaturescripts. <event type="death" name="Tzeal" event="script" script="constant/rodvipquest/tzeal.xml"/> Fiz tudo corretamente. então da um erro na distro, dizendo que não reconhece o Script/event no Script fica assim, acho que não está reconhecendo. E SE EU ADICIONO ESSA SCRIPT, MESMO QUE CORRETAMENTE, DA ESTE ERRO. Se alguém souber de Algum Funcionando Perfeitamente me avisem, REP +++ Editado Novembro 26, 2015 9 anos por Andre Felipe de Azev (veja o histórico de edições) AndreAzevedo Postagens Mapping Criando uma Hunt Com Imagens Outros Scroll Multiplica XP/MIN Editando/Criando Itens Vip/Comuns Idéia de Evento
Postado Novembro 26, 2015 9 anos @Andre Felipe de Azev Agr vi tudo.. aquele topico q você criou do erro falta é isso q impede de você abrir o ot vem desse script..
Postado Novembro 26, 2015 9 anos Autor 1 minuto atrás, lango rullez disse: @Andre Felipe de Azev Agr vi tudo.. aquele topico q você criou do erro falta é isso q impede de você abrir o ot vem desse script.. Sério Mano? tem certeza? LoL vo remover então HUAHUAHAUH AndreAzevedo Postagens Mapping Criando uma Hunt Com Imagens Outros Scroll Multiplica XP/MIN Editando/Criando Itens Vip/Comuns Idéia de Evento
Postado Novembro 26, 2015 9 anos Autor 6 minutos atrás, lango rullez disse: Sim mano ! remova Se funcionar edita o topico e o post ! Resolveu mas agora estou com outro problema que é este aqui, Preciso de um Script ou sei lá o que que eu mate o monstro e apareça o Portal. e está dificil e falam que é dificil em 8.6 AndreAzevedo Postagens Mapping Criando uma Hunt Com Imagens Outros Scroll Multiplica XP/MIN Editando/Criando Itens Vip/Comuns Idéia de Evento
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.