• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help with Mounts Premi )

Nuelman

Member
Joined
Nov 9, 2017
Messages
98
Solutions
1
Reaction score
6
What file do I have to edit so that all mounts that are paid in real tibia, are free on my server?
i am using Global 10.99 OTX
thanks
 
but what i edit?
File ( Mounts.xml )
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mounts>
    <mount id="1" clientid="368" name="Widow Queen" speed="20" premium="no" />
    <mount id="2" clientid="369" name="Racing Bird" speed="20" premium="no" />
    <mount id="3" clientid="370" name="War Bear" speed="20" premium="no" />
    <mount id="4" clientid="371" name="Black Sheep" speed="20" premium="no" />
    <mount id="5" clientid="372" name="Midnight Panther" speed="20" premium="no" />
    <mount id="6" clientid="373" name="Draptor" speed="20" premium="no" />
    <mount id="7" clientid="374" name="Titanica" speed="20" premium="no" />
    <mount id="8" clientid="375" name="Tin Lizzard" speed="20" premium="no" />
    <mount id="9" clientid="376" name="Blazebringer" speed="20" premium="no" />
    <mount id="10" clientid="377" name="Rapid Boar" speed="20" premium="no" />
    <mount id="11" clientid="378" name="Stampor" speed="20" premium="no" />
    <mount id="12" clientid="379" name="Undead Cavebear" speed="20" premium="no" />
    <mount id="13" clientid="387" name="Donkey" speed="20" premium="no" />
    <mount id="14" clientid="388" name="Tiger Slug" speed="20" premium="no" />
    <mount id="15" clientid="389" name="Uniwheel" speed="20" premium="no" />
    <mount id="16" clientid="390" name="Crystal Wolf" speed="20" premium="no" />
    <mount id="17" clientid="392" name="War Horse" speed="20" premium="no" />
    <mount id="18" clientid="401" name="Kingly Deer" speed="20" premium="no" />
    <mount id="19" clientid="402" name="Tamed Panda" speed="20" premium="no" />
    <mount id="20" clientid="405" name="Dromedary" speed="20" premium="no" />
    <mount id="21" clientid="406" name="Scorpion King" speed="20" premium="no" />
    <mount id="22" clientid="421" name="Rented Horse" speed="20" premium="no" />
    <mount id="23" clientid="426" name="Armoured 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="no" />
    <mount id="26" clientid="438" name="Rented Horse" speed="20" premium="no" />
    <mount id="27" clientid="447" name="Lady Bug" speed="20" premium="no" />
    <mount id="28" clientid="450" name="Manta Ray" speed="20" premium="no" />
    <mount id="29" clientid="502" name="Ironblight" speed="20" premium="no" />
    <mount id="30" clientid="503" name="Magma Crawler" speed="20" premium="no" />
    <mount id="31" clientid="506" name="Dragonling" speed="20" premium="no" />
    <mount id="32" clientid="515" name="Gnarlhound" speed="20" premium="no" />
    <mount id="33" clientid="521" name="Crimson Ray" speed="20" premium="yes" />
    <mount id="34" clientid="522" name="Steelbeak" speed="20" premium="yes" />
    <mount id="35" clientid="526" name="Water Buffalo" speed="20" premium="no" />
    <mount id="36" clientid="546" name="Tombstinger" speed="20" premium="yes" />
    <mount id="37" clientid="547" name="Platesaurian" speed="20" premium="yes" />
    <mount id="38" clientid="548" name="Ursagrodon" speed="20" premium="no" />
    <mount id="39" clientid="559" name="Hellgrip" speed="20" premium="no" />
    <mount id="40" clientid="571" name="Noble Lion" speed="20" premium="no" />
    <mount id="41" clientid="572" name="Desert King" speed="20" premium="yes" />
    <mount id="42" clientid="580" name="Shock Head" speed="20" premium="no" />
    <mount id="43" clientid="606" name="Walker" speed="20" premium="no" />
    <mount id="44" clientid="621" name="Azudocus" speed="20" premium="yes" />
    <mount id="45" clientid="622" name="Carpacosaurus" speed="20" premium="yes" />
    <mount id="46" clientid="624" name="Death Crawler" speed="20" premium="yes" />
    <mount id="47" clientid="626" name="Flamesteed" speed="20" premium="yes" />
    <mount id="48" clientid="627" name="Jade Lion" speed="20" premium="yes" />
    <mount id="49" clientid="628" name="Jade Pincer" speed="20" premium="yes" />
    <mount id="50" clientid="629" name="Nethersteed" speed="20" premium="yes" />
    <mount id="51" clientid="630" name="Tempest" speed="20" premium="yes" />
    <mount id="52" clientid="631" name="Winter King" speed="20" premium="yes" />
    <mount id="53" clientid="644" name="Doombringer" speed="20" premium="yes" />
    <mount id="54" clientid="647" name="Woodland Prince" speed="20" premium="yes" />
    <mount id="55" clientid="648" name="Hailtorm Fury" speed="20" premium="yes" />
    <mount id="56" clientid="649" name="Siegebreaker" speed="20" premium="yes" />
    <mount id="57" clientid="650" name="Poisonbane" speed="20" premium="yes" />
    <mount id="58" clientid="651" name="Blackpelt" speed="20" premium="yes" />
    <mount id="59" clientid="669" name="Golden Dragonfly" speed="20" premium="yes" />
    <mount id="60" clientid="670" name="Steel Bee" speed="20" premium="yes" />
    <mount id="61" clientid="671" name="Copper Fly" speed="20" premium="yes" />
    <mount id="62" clientid="672" name="Tundra Rambler" speed="20" premium="yes" />
    <mount id="63" clientid="673" name="Highland Yak" speed="20" premium="yes" />
    <mount id="64" clientid="674" name="Glacier Vagabond" speed="20" premium="yes" />
    <mount id="65" clientid="688" name="Flying Divan" speed="20" premium="yes" />
    <mount id="66" clientid="689" name="Magic Carpet" speed="20" premium="yes" />
    <mount id="67" clientid="690" name="Floating Kashmir" speed="20" premium="yes" />
    <mount id="68" clientid="691" name="Ringtail Waccoon" speed="20" premium="yes" />
    <mount id="69" clientid="692" name="Night Waccoon" speed="20" premium="yes" />
    <mount id="70" clientid="693" name="Emerald Waccoon" speed="20" premium="yes" />
    <mount id="71" clientid="682" name="Glooth Glider" speed="20" premium="no" />
    <mount id="72" clientid="685" name="Shadow Hart" speed="20" premium="yes" />
    <mount id="73" clientid="686" name="Black Stag" speed="20" premium="yes" />
    <mount id="74" clientid="687" name="Emperor Deer" speed="20" premium="yes" />
    <mount id="75" clientid="726" name="Flitterkatzen" speed="20" premium="yes" />
    <mount id="76" clientid="727" name="Venompaw" speed="20" premium="yes" />
    <mount id="77" clientid="728" name="Batcat" speed="20" premium="yes" />
    <mount id="78" clientid="734" name="Sea Devil" speed="20" premium="yes" />
    <mount id="79" clientid="735" name="Coralripper" speed="20" premium="yes" />
    <mount id="80" clientid="736" name="Plumfish" speed="20" premium="yes" />
    <mount id="81" clientid="738" name="Gorongra" speed="20" premium="yes" />
    <mount id="82" clientid="739" name="Noctungra" speed="20" premium="yes" />
    <mount id="83" clientid="740" name="Silverneck" speed="20" premium="yes" />
 
    <mount id="84" clientid="761" name="Slagsnare" speed="20" premium="no" />
    <mount id="85" clientid="762" name="Nightstinger" speed="20" premium="no" />
    <mount id="86" clientid="763" name="Razorcreep" speed="20" premium="no" />
    <mount id="87" clientid="848" name="Rift Runner" speed="20" premium="no" />
    <mount id="88" clientid="849" name="Nightdweller" speed="20" premium="no" />
    <mount id="89" clientid="850" name="Frostflare" speed="20" premium="no" />
    <mount id="90" clientid="851" name="Cinderhoof" speed="20" premium="no" />
    <mount id="91" clientid="868" name="Mouldpincer" speed="20" premium="no" />
    <mount id="92" clientid="869" name="Bloodcurl" speed="20" premium="no" />
    <mount id="93" clientid="870" name="Leafscuttler" speed="20" premium="no" />
 
    <mount id="94" clientid="883" name="Sparkion" speed="20" premium="no" />
    <mount id="95" clientid="889" name="Neon Sparkid" speed="20" premium="no" />
    <mount id="96" clientid="890" name="Vortexion" speed="20" premium="no" />
 
    <mount id="97" clientid="886" name="Swamp Snapper" speed="20" premium="no" />
    <mount id="98" clientid="887" name="Mould Shell" speed="20" premium="no" />
    <mount id="99" clientid="888" name="Reed Lurker" speed="20" premium="no" /> 
 
    <mount id="100" clientid="414" name="Thornfire Wolf" speed="30" premium="no" />
</mounts>

And I have other file Mountsold.xml
Code:
<?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="no" />
    <mount id="23" clientid="426" name="Armoured 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="no" />
    <mount id="26" clientid="438" name="Rented Horse" speed="20" premium="no" />
    <mount id="27" clientid="447" name="Ladybug" speed="20" premium="yes" />
    <mount id="28" clientid="450" name="Manta Ray" speed="20" premium="yes" />
    <mount id="29" clientid="502" name="Ironblight" speed="20" premium="yes" />
    <mount id="30" clientid="503" name="Magma Crawler" speed="20" premium="yes" />
    <mount id="31" clientid="506" name="Dragonling" speed="20" premium="yes" />
    <mount id="32" clientid="515" name="Gnarlhound" speed="20" premium="yes" />
    <mount id="33" clientid="521" name="Crimson Ray" speed="20" premium="yes" />
    <mount id="34" clientid="522" name="Steelbeak" speed="20" premium="yes" />
    <mount id="35" clientid="526" name="Water Buffalo" speed="20" premium="yes" />
    <mount id="36" clientid="546" name="Tombstinger" speed="20" premium="yes" />
    <mount id="37" clientid="547" name="Platesaurian" speed="20" premium="yes" />
    <mount id="38" clientid="548" name="Ursagrodon" speed="20" premium="yes" />
    <mount id="39" clientid="559" name="The Hellgrip" speed="20" premium="yes" />
    <mount id="40" clientid="571" name="Noble Lion" speed="20" premium="yes" />
    <mount id="41" clientid="572" name="Desert King" speed="20" premium="yes" />
    <mount id="42" clientid="580" name="Shock Head" speed="20" premium="yes" />
    <mount id="43" clientid="606" name="Walker" speed="20" premium="yes" />
    <mount id="44" clientid="621" name="Azudocus" speed="20" premium="yes" />
    <mount id="45" clientid="622" name="Carpacosaurus" speed="20" premium="yes" />
    <mount id="46" clientid="624" name="Death Crawler" speed="20" premium="yes" />
    <mount id="47" clientid="626" name="Flamesteed" speed="20" premium="yes" />
    <mount id="48" clientid="627" name="Jade Lion" speed="20" premium="yes" />
    <mount id="49" clientid="628" name="Jade Pincer" speed="20" premium="yes" />
    <mount id="50" clientid="629" name="Nethersteed" speed="20" premium="yes" />
    <mount id="51" clientid="630" name="Tempest" speed="20" premium="yes" />
    <mount id="52" clientid="631" name="Winter King" speed="20" premium="yes" />
    <mount id="53" clientid="644" name="Doombringer" speed="20" premium="yes" />
    <mount id="54" clientid="647" name="Woodland Prince" speed="20" premium="yes" />
    <mount id="55" clientid="648" name="Hailtorm Fury" speed="20" premium="yes" />
    <mount id="56" clientid="649" name="Siegebreaker" speed="20" premium="yes" />
    <mount id="57" clientid="650" name="Poisonbane" speed="20" premium="yes" />
    <mount id="58" clientid="651" name="Blackpelt" speed="20" premium="yes" />
    <mount id="59" clientid="669" name="Golden Dragonfly" speed="20" premium="yes" />
    <mount id="60" clientid="670" name="Steel Bee" speed="20" premium="yes" />
    <mount id="61" clientid="671" name="Copper Fly" speed="20" premium="yes" />
    <mount id="62" clientid="672" name="Tundra Rambler" speed="20" premium="yes" />
    <mount id="63" clientid="673" name="Highland Yak" speed="20" premium="yes" />
    <mount id="64" clientid="674" name="Glacier Vagabond" speed="20" premium="yes" />
    <mount id="65" clientid="682" name="Glooth Glider" speed="20" premium="yes" />
    <mount id="66" clientid="685" name="Shadow Hart" speed="20" premium="yes" />
    <mount id="67" clientid="686" name="Black Stag" speed="20" premium="yes" />
    <mount id="68" clientid="687" name="Emperor Deer" speed="20" premium="yes" />
    <mount id="69" clientid="688" name="Flying Divan" speed="20" premium="yes" />
    <mount id="70" clientid="689" name="Magic Carpet" speed="20" premium="yes" />
    <mount id="71" clientid="690" name="Floating Kashmir" speed="20" premium="yes" />
    <!-- 10.73 -->
    <mount id="72" clientid="691" name="Ringtail Waccoon" speed="10" premium="yes" />
    <mount id="73" clientid="692" name="Night Waccoon" speed="10" premium="yes" />
    <mount id="74" clientid="693" name="Emerald Waccoon" speed="10" premium="yes" />
    <!-- 10.77 -->
    <mount id="75" clientid="726" name="Flitterkatzen" speed="10" premium="yes" />
    <mount id="76" clientid="727" name="Venompaw" speed="10" premium="yes" />
    <mount id="77" clientid="728" name="Batcat" speed="10" premium="yes" />
    <!-- 10.78 -->
    <mount id="78" clientid="734" name="Sea Devil" speed="10" premium="yes" />
    <mount id="79" clientid="735" name="Coralripper" speed="10" premium="yes" />
    <mount id="80" clientid="736" name="Plumfish" speed="10" premium="yes" />
    <!-- 10.80 -->
    <mount id="81" clientid="738" name="Gorongra" speed="20" premium="no" />
    <mount id="82" clientid="739" name="Noctungra" speed="20" premium="no" />
    <mount id="83" clientid="740" name="Silverneck" speed="20" premium="no" />
    <mount id="84" clientid="761" name="Kimera" speed="10" premium="yes" />
    <mount id="85" clientid="762" name="Kimera Devil" speed="10" premium="yes" />
    <mount id="86" clientid="763" name="Shadow Beast" speed="10" premium="yes" />
   
    <!-- 10.90 -->
    <mount id="87" clientid="848" name="Rift Runner" speed="20" premium="yes" />
    <mount id="88" clientid="849" name="Nightdweller" speed="20" premium="yes" />
    <mount id="89" clientid="850" name="Frostflare" speed="20" premium="yes" />
    <mount id="90" clientid="851" name="Cinderhoof" speed="20" premium="yes" />
    <mount id="91" clientid="414" name="Thornfire Wolf" speed="20" premium="yes" />   
   
</mounts>
 
Last edited:
after you change everything in mounts.xml to be "premium=no", you then need to give the players access to those mounts using a login script, for example.

-- edit someone beat me to the punch
 
can you help me create a startup script to put those mounts? I do not understand very well how to do it

add this to your data/creaturescripts/scripts/login.lua
Code:
if player:getLastLoginSaved() <= 0 then
    for i = 1, 100 do
        player:addMount(i)
    end
end
I added it as you told me, but it does not work
 
Last edited by a moderator:
Now it works, I need to know how I add the mounts to the characters that had already created their account before ... because this system only works for the new accounts created
 
Last edited:
Now it works, I need to know how I add the mounts to the characters that had already created their account before ... because this system only works for the new accounts created
Just put it on onLogin, like:

creaturescripts.xml
Code:
<event type="login" name="ADDmOunt" script="AddAllMounts.lua"/>

Inside your login.lua
Code:
player:registerEvent("ADDmOunt")

addMounts.lua
LUA:
function onLogin(player)
    local loginStr = 'Congratulations, you received all mounts for free.'
    if player:getStorageValue(99999) < 1 then
        player:setStorageValue(99999, 1)
        player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)
            for i = 1, 100 do
                player:addMount(i)
            end       
    end
    return true
end
 
Just put it on onLogin, like:

creaturescripts.xml
Code:
<event type="login" name="ADDmOunt" script="AddAllMounts.lua"/>

Inside your login.lua
Code:
player:registerEvent("ADDmOunt")

addMounts.lua
LUA:
function onLogin(player)
    local loginStr = 'Congratulations, you received all mounts for free.'
    if player:getStorageValue(99999) < 1 then
        player:setStorageValue(99999, 1)
        player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)
            for i = 1, 100 do
                player:addMount(i)
            end       
    end
    return true
end

You don't need to use storage values. You can use last login info to check if player has logged in for the first time.

like this:
Code:
if player:getLastLoginSaved() <= 0 then
 
You don't need to use storage values. You can use last login info to check if player has logged in for the first time.

like this:
Code:
if player:getLastLoginSaved() <= 0 then

"Now it works, I need to know how I add the mounts to the characters that had already created their account before ... because this system only works for the new accounts created"
 
Back
Top