Ir para conteúdo
  • 0

Script De Montaria


neroxp

Pergunta

Tipo do script: Talkaction

Protocolo (versão do Tibia): 9.44

Servidor utilizado: global compacto by eddy havoc

Nível de experiência: Médio

Adicionais/Informações:urgente.

 

Preciso de um script para mounts no 9.44 adicionei mais algumas mounts alem das que ja havia agora o server possui 51 mounts no total. eu posso visualiza-las com o god queria 1 script para quando o player fala-se !mount ele teria todas as mounts.vou colocar as mounts.xml para ajudar na formação do script

ai vai :

 

<?xml version="1.0" encoding="UTF-8"?>

<mounts>

<mount id="1" clientId="368" name="Widow Queen" speed="20" premium="yes" />

<mount id="2" clientId="369" name="Racing Bird" speed="20" premium="yes" />

<mount id="3" clientId="370" name="War Bear" speed="20" premium="yes" />

<mount id="4" clientId="371" name="Black Sheep" speed="20" premium="yes" />

<mount id="5" clientId="372" name="Midnight Panther" speed="20" premium="yes" />

<mount id="6" clientId="373" name="Draptor" speed="20" premium="yes" />

<mount id="7" clientId="374" name="Titanica" speed="20" premium="yes" />

<mount id="8" clientId="375" name="Tin Lizzard" speed="20" premium="yes" />

<mount id="9" clientId="376" name="Blazebringer" speed="20" premium="yes" />

<mount id="10" clientId="377" name="Rapid Boar" speed="20" premium="yes" />

<mount id="11" clientId="378" name="Stampor" speed="20" premium="yes" />

<mount id="12" clientId="379" name="Undead Cavebear" speed="20" premium="yes" />

<mount id="13" clientId="387" name="Donkey" speed="20" premium="yes" />

<mount id="14" clientId="388" name="Tiger Slug" speed="20" premium="yes" />

<mount id="15" clientId="389" name="Uniwheel" speed="20" premium="yes" />

<mount id="16" clientId="390" name="Crystal Wolf" speed="20" premium="yes" />

<mount id="17" clientId="392" name="War Horse" speed="20" premium="yes" />

<mount id="18" clientId="401" name="Kingly Deer" speed="20" premium="yes" />

<mount id="19" clientId="402" name="Tamed Panda" speed="20" premium="yes" />

<mount id="20" clientId="405" name="Dromedary" speed="20" premium="yes" />

<mount id="21" clientId="406" name="King Scorpion" speed="20" premium="yes" />

<mount id="22" clientId="421" name="Rented Horse" speed="20" premium="yes" />

<mount id="23" clientId="426" name="Fire War Horse" speed="20" premium="yes" />

<mount id="24" clientId="427" name="Shadow Draptor" speed="20" premium="yes" />

<mount id="25" clientId="437" name="Rented Horse" speed="20" premium="yes" />

<mount id="26" clientId="438" name="Rented Horse" speed="20" premium="yes" />

<mount id="27" clientId="447" name="Ladybug" speed="20" premium="yes" />

<mount id="28" clientId="450" name="Manta" speed="20" premium="yes" />

 

<!-- Customs Mounts by Neroxd -->

<mount id="29" clientId="94" name="Hyaena" speed="5" premium="yes"/>

<mount id="30" clientId="219" name="Tarantula" speed="5" premium="yes"/>

<mount id="31" clientId="222" name="Toad" speed="5" premium="yes"/>

<mount id="32" clientId="230" name="Hand of cursed fate" speed="5" premium="yes"/>

<mount id="33" clientId="245" name="Nightmare" speed="5" premium="yes"/>

<mount id="34" clientId="305" name="Mutated Rat" speed="5" premium="yes"/>

<mount id="35" clientId="317" name="Young Sea Serpent" speed="5" premium="yes"/>

<mount id="36" clientId="348" name="Lancer Beetle" speed="5" premium="yes"/>

<mount id="37" clientId="77" name="Quara Pincher" speed="50" premium="yes"/>

<mount id="38" clientId="199" name="mamoth" speed="50" premium="yes"/>

<mount id="39" clientId="198" name="Turtle" speed="50" premium="yes"/>

<mount id="40" clientId="238" name="Defiler" speed="50" premium="yes"/>

<mount id="41" clientId="292" name="cOWBOY BEBOP" speed="50" premium="yes"/>

<mount id="42" clientId="294" name="WISP" speed="50" premium="yes"/>

<mount id="42" clientId="303" name="Bucky" speed="50" premium="yes"/>

<mount id="42" clientId="318" name="Rapid Tiger" speed="50" premium="yes"/>

<mount id="42" clientId="307" name="Super Bat" speed="50" premium="yes"/>

<mount id="42" clientId="322" name="Hellspawn" speed="50" premium="yes"/>

<mount id="42" clientId="326" name="Super golem" speed="50" premium="yes"/>

<mount id="42" clientId="301" name="earth golem" speed="50" premium="yes"/>

 

 

 

</mounts>

Link para o comentário
Compartilhar em outros sites

3 respostass a esta questão

Posts Recomendados

  • 0

mas ai só tem 42 mounts não é? e ainda estão repetidas algumas '-'

 

 

function onSay(cid, words, param, channel)
for i = 1,42 do
doPlayerAddMount(cid, i)
end
return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"você recebeu todas as mounts") 
end

 

1,42

 

coloquei 42 porque é o limite de mounts do seu server?

Link para o comentário
Compartilhar em outros sites

  • 0

entao mano como eu faço isso eu crio um arquivo lua e coloco isso dentro dele?

 

olha eu dei uma melhorada ake no xml ficou

assim:

 

 

<?xml version="1.0" encoding="UTF-8"?>

<mounts>

<mount id="1" clientId="368" name="Widow Queen" speed="20" premium="yes" />

<mount id="2" clientId="369" name="Racing Bird" speed="20" premium="yes" />

<mount id="3" clientId="370" name="War Bear" speed="20" premium="yes" />

<mount id="4" clientId="371" name="Black Sheep" speed="20" premium="yes" />

<mount id="5" clientId="372" name="Midnight Panther" speed="20" premium="yes" />

<mount id="6" clientId="373" name="Draptor" speed="20" premium="yes" />

<mount id="7" clientId="374" name="Titanica" speed="20" premium="yes" />

<mount id="8" clientId="375" name="Tin Lizzard" speed="20" premium="yes" />

<mount id="9" clientId="376" name="Blazebringer" speed="20" premium="yes" />

<mount id="10" clientId="377" name="Rapid Boar" speed="20" premium="yes" />

<mount id="11" clientId="378" name="Stampor" speed="20" premium="yes" />

<mount id="12" clientId="379" name="Undead Cavebear" speed="20" premium="yes" />

<mount id="13" clientId="387" name="Donkey" speed="20" premium="yes" />

<mount id="14" clientId="388" name="Tiger Slug" speed="20" premium="yes" />

<mount id="15" clientId="389" name="Uniwheel" speed="20" premium="yes" />

<mount id="16" clientId="390" name="Crystal Wolf" speed="20" premium="yes" />

<mount id="17" clientId="392" name="War Horse" speed="20" premium="yes" />

<mount id="18" clientId="401" name="Kingly Deer" speed="20" premium="yes" />

<mount id="19" clientId="402" name="Tamed Panda" speed="20" premium="yes" />

<mount id="20" clientId="405" name="Dromedary" speed="20" premium="yes" />

<mount id="21" clientId="406" name="King Scorpion" speed="20" premium="yes" />

<mount id="22" clientId="421" name="Rented Horse" speed="20" premium="yes" />

<mount id="23" clientId="426" name="Fire War Horse" speed="20" premium="yes" />

<mount id="24" clientId="427" name="Shadow Draptor" speed="20" premium="yes" />

<mount id="25" clientId="437" name="Rented Horse" speed="20" premium="yes" />

<mount id="26" clientId="438" name="Rented Horse" speed="20" premium="yes" />

<mount id="27" clientId="447" name="Ladybug" speed="20" premium="yes" />

<mount id="28" clientId="450" name="Manta" speed="20" premium="yes" />

 

<!-- Customs Mounts -->

<mount id="29" clientId="94" name="Hyaena" speed="5" premium="yes"/>

<mount id="30" clientId="219" name="Tarantula" speed="5" premium="yes"/>

<mount id="31" clientId="222" name="Toad" speed="5" premium="yes"/>

<mount id="32" clientId="230" name="Hand of cursed fate" speed="5" premium="yes"/>

<mount id="33" clientId="245" name="Nightmare" speed="5" premium="yes"/>

<mount id="34" clientId="305" name="Mutated Rat" speed="5" premium="yes"/>

<mount id="35" clientId="317" name="Young Sea Serpent" speed="5" premium="yes"/>

<mount id="36" clientId="348" name="Lancer Beetle" speed="5" premium="yes"/>

<mount id="37" clientId="77" name="Quara Pincher" speed="50" premium="yes"/>

<mount id="38" clientId="199" name="mamoth" speed="50" premium="yes"/>

<mount id="39" clientId="198" name="Turtle" speed="50" premium="yes"/>

<mount id="40" clientId="238" name="Defiler" speed="50" premium="yes"/>

<mount id="41" clientId="292" name="cOWBOY BEBOP" speed="50" premium="yes"/>

<mount id="42" clientId="294" name="WISP" speed="50" premium="yes"/>

<mount id="43" clientId="303" name="Bucky" speed="50" premium="yes"/>

<mount id="44" clientId="318" name="Rapid Tiger" speed="50" premium="yes"/>

<mount id="45" clientId="307" name="Super Bat" speed="50" premium="yes"/>

<mount id="46" clientId="322" name="Hellspawn" speed="50" premium="yes"/>

<mount id="47" clientId="326" name="Super golem" speed="50" premium="yes"/>

<mount id="48" clientId="301" name="earth golem" speed="50" premium="yes"/>

 

 

 

</mounts>

Link para o comentário
Compartilhar em outros sites

  • 0

ai vc vai em talkactions/script

 

nome do seu script.lua

function onSay(cid, words, param, channel)
for i = 1,48 do
doPlayerAddMount(cid, i)
end
return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"você recebeu todas as mounts") 
end

 

talkactions.xml

 <talkaction words="!mounts" script="nome do seu script.lua"/>

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...