• 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!

Store game debug

xLosT

Member
Joined
Jan 11, 2010
Messages
1,022
Reaction score
13
Location
Brasil, Rio Grande do Sul
i configure /data/store
store.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<store>
  <category name="Tool" icons="Sneaky_Stabber_of_Eliteness.png" description="Buy items direct for your character.">
  <offer name="Sneaky Stabber of Eliteness" price="2" icons="Sneaky_Stabber_of_Eliteness.png" description="This nifty gadget can be used for many vital and less vital purposes. If it's not jammed, that is." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Squeezing Gear of Girlpower" price="2" icons="Squeezing_Gear_of_Girlpower.png" description="This nifty gadget can be used for many vital and less vital purposes. If it's not jammed, that is." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Whacking Driller of Fate" price="2" icons="Whacking_Driller_of_Fate.png" description="This nifty gadget can be used for many vital and less vital purposes. If it's not jammed, that is." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Mechanical Fishing Rod" price="5" icons="Mechanical_Fishing_Rod.png" description="You need that fishing rod and nails stick to catch Mechanical Fish." message="Thank you for buying this overpriced item." script="items.lua" />
  </category>
</store>


and tibia debug, all versions

qltcD9j.png
 
post the xml file will not explain the needed things, you have to say what tfs, what version are using
and what functions are in c++
the debug is caused because of some bytes/code left
 
I don't need this shit, I have the store fully working
to help with the debug I need check what bytes are passed in protocolgame, wrong byte = debug
 
Bumg Please i need help to ...

i using this xml..

Code:
<?xml version="1.0" encoding="UTF-8"?>
<store>
    
     <!-- CUSTOM -->
  <category name="Custom Items" icons="Custom.png" description="Buy items direct for your character.">
  <offer name="Viking Boots" price="25" icons="VikingBoots.png" description="You see viking boots (speed +20). Faster regeneration and infinity." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Refill Stamina" price="5" icons="RefillStamina.png" description="It will refill all stamina 1 charge." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Premium Points" price="11" icons="PremiumPoints.png" description="Using this scroll will add 10 Premium Points to your account once." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Remover Skull" price="6" icons="RemoverSkull.png" description="Use to remove red and black skull." message="Thank you for buying this overpriced item." script="items.lua" />
  <offer name="Experience Card" price="10" icons="expcard.png" description="Use to add bonus 30% exp for 2 days for your character." message="Thank you for buying this overpriced item." script="items.lua" />
  </category>
 
    <category name="Extra Services" icons="Category_ExtraServices.png" description="Buy an Extra Service to transfer a character to another game world or to change your character's name or sex.">
        <offer name="Sex Change" price="15" icons="Product_CharacterSexChange.png" description="If you are playing a male character, but would rather play a female one - or vice versa, you can purchase a Character Sex Change. All outfits that you have purchased or earned by completing quests will of course still be available after you changed your character's sex.&#10;Note: You will change the sex of the character who is purchasing this product in the Store." message="Thank you for your purchase! Note that your character is now wearing the default outfit until you change it to an outfit of your choice." script="sexchange.lua" />
        <!--<offer name="Name Change" price="25" icons="Product_CharacterNameChange.png" description="Tired of your current character name? Here you can purchase a new one. Note that also your new name must follow the naming conventions stated in the Tibia Rules or your character might get namelocked.&#10;In case your newly selected name is not available, the purchase will be cancelled and no Tibia Coins will be charged. In this case, you can simply try once more with another new name.&#10;Note: You will change the name of the character who is purchasing this product in the Store." message="Thank you for your purchase! To finalise the Character Name Change, please start your client anew. Note that you cannot enter houses or open doors anymore which are still labelled with your old character name until the responsible character invites you with your new name." script="namechange.lua" />-->
    </category>
    <category name="Keys" icons="1Copper_Prison_Key.png" description="Buy an Extra Service to transfer a character to another game world or to change your character's name or sex.">
        <offer name="Copper Prison Key" price="4" icons="1Copper_Prison_Key.png" description="You dreamt that this key unlocks the prison of a powerful horror that you had to face on your own." message="Thank you for your purchase!" script="items.lua" />
        <offer name="Bronze Prison Key" price="5" icons="1Copper_Prison_Key.png" description="You dreamt that this key unlocks the prison of a powerful horror that you had to face on your own." message="Thank you for your purchase!" script="items.lua" />
        <offer name="Golden Prison Key" price="6" icons="1Golden_Prison_Key.png" description="You dreamt that this key unlocks the prison of a powerful horror that you had to face on your own." message="Thank you for your purchase!" script="items.lua" />
        
    </category>
    
    <!-- OUTROS -->
    <category name="Others" icons="Music_Box.png" description="Buy items direct for your character."> 
    <offer name="Music Box" price="40" icons="Music_Box.png" description="It may have some charming effects when played to certain creatures, but disappears in the process." message="Thank you for your purchase!" script="items.lua" />
    </category>
</store>


I open Store and Win DEBUG in game.
 
Back
Top