Postado Junho 27, 2014 10 anos Queria saber por que eu não estou conseguindo criar o "MONSTER" Vamos lá, eu entrei em DATA/MONSTER/CUSTOM (Custom a pasta que criei para por o Monster.xml) Exemplo: <?xml version="1.0" encoding="UTF-8"?> <monster name="Fast Monster" nameDescription="a fast monster" race="blood" experience="1" speed="320" manacost="0"> <health now="7000" max="7000"/> <look type="332" corpse="5973"/> <targetchange interval="5000" chance="8"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="300"/> </flags> <attacks> <attack name="melee" interval="2000" min="-550" max="-630"/> <attack name="fire" interval="2000" chance="15" range="7" radius="4" target="1" min="-250" max="-320"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="fire" interval="3000" chance="13" length="8" spread="3" min="-120" max="-230"> <attribute key="areaEffect" value="firearea"/> </attack> </attacks> <defenses armor="25" defense="18"> <defense name="healing" interval="1000" chance="13" min="34" max="56"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <elements> <element firePercent="100"/> <element earthPercent="80"/> <element energyPercent="20"/> <element icePercent="-10"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="15"> <voice sentence="Agora eu te pego hahah!!" yell="1"/> <voice sentence="Sou criado pelo ADM" yell="1"/> </voices> <loot> <item id="2152" countmax="50" chance="100000"/><!-- platinum coin --> <inside> <item id="1988" countmax="1" chance="100000"/><!-- backpack --> </inside> </item> </loot> </monster> Dai coloquei isto lá na pasta que criei, e depois fui em "DATA/MONSTER/MONSTER.XML" E coloquei: <!-- Custom --> <monster name="Fast Monster" file="Custom/fast monter.xml"/> E Quando eu abro o SV aparece o ERROR ME AJUDEM ! ! ! RESPOSTA=+REP
Postado Junho 27, 2014 10 anos Acho que o nome do arquivo está errado na tag <monster name="Fast Monster" file="Custom/fast monter.xml"/> Está escrito "fast monter" e o nome do arquivo acho que é "fast monster". <monster name="Fast Monster" file="Custom/fast monster.xml"/> Ajudei? De nada \o/ Att Rusherzin
Postado Junho 27, 2014 10 anos Autor Ah, não vi isto, mais eu acabei de corrigi-lo e não funcionou olha o erro de novo que deu ! O QUE TEM DE ERRADO ? :'(
Postado Junho 27, 2014 10 anos Solução Tenta esse fast monster.xml: <?xml version="1.0" encoding="UTF-8"?> <monster name="Fast Monster" nameDescription="a fast monster" race="blood" experience="1" speed="320" manacost="0"> <health now="7000" max="7000"/> <look type="332" corpse="5973"/> <targetchange interval="5000" chance="8"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="300"/> </flags> <attacks> <attack name="melee" interval="2000" min="-550" max="-630"/> <attack name="fire" interval="2000" chance="15" range="7" radius="4" target="1" min="-250" max="-320"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="fire" interval="3000" chance="13" length="8" spread="3" min="-120" max="-230"> <attribute key="areaEffect" value="firearea"/> </attack> </attacks> <defenses armor="25" defense="18"> <defense name="healing" interval="1000" chance="13" min="34" max="56"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <elements> <element firePercent="100"/> <element earthPercent="80"/> <element energyPercent="20"/> <element icePercent="-10"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="15"> <voice sentence="Agora eu te pego hahah!!" yell="1"/> <voice sentence="Sou criado pelo ADM" yell="1"/> </voices> <loot> <item id="2152" countmax="50" chance="100000"/><!-- platinum coin --> <inside> <item id="1988" countmax="1" chance="100000"/><!-- backpack --> </inside> </loot> </monster> Te ajudei?? REP + e ficamos quites... http://www.tibiaking.com/forum/uploads/emoticons/default_happyy.png' alt=';D'> Atenciosamente, Daniel. Abraços! Meus tutoriais: Programação: Resolvendo QUALQUER erro na data base. Scripts (system's, creaturescripts, mod's, NPC's, etc): (Sistema) GOD Ambient Light Full. Adicionando novas mounts ao servidor [NPC] Papai Noel que dá presente todo ano. Web-site: Resolvendo problema de caracteres especiais em PHP Formatando textos em PHP! Mudando a cor, tamanho, fonte, etc. Criando e configurando tabelas para paginas PHP
Postado Junho 27, 2014 10 anos @danihcv Testei o seu e deu erro no loot.. @Topic Acho que esse funciona: <?xml version="1.0" encoding="UTF-8"?> <monster name="Fast Monster" nameDescription="a fast monster" race="blood" experience="1" speed="320" manacost="0"> <health now="7000" max="7000"/> <look type="332" corpse="5973"/> <targetchange interval="5000" chance="8"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="300"/> </flags> <attacks> <attack name="melee" interval="2000" min="-550" max="-630"/> <attack name="fire" interval="2000" chance="15" range="7" radius="4" target="1" min="-250" max="-320"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="fire" interval="3000" chance="13" length="8" spread="3" min="-120" max="-230"> <attribute key="areaEffect" value="firearea"/> </attack> </attacks> <defenses armor="25" defense="18"> <defense name="healing" interval="1000" chance="13" min="34" max="56"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <elements> <element firePercent="100"/> <element earthPercent="80"/> <element energyPercent="20"/> <element icePercent="-10"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="15"> <voice sentence="Agora eu te pego hahah!!" yell="1"/> <voice sentence="Sou criado pelo ADM" yell="1"/> </voices> <loot> <item id="2152" countmax="50" chance="100000"/><!-- platinum coin --> </loot> </monster> Ajudei? De nada \o/ Att Rusherzin
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.