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

TFS 1.2 Tibia Store

undead mage

Active Member
Joined
Mar 25, 2012
Messages
364
Solutions
2
Reaction score
47
Location
Amsterdam
So im using client 10.95 and I've added some items and other things to the in-game tibia store but now my question was is there is already a script for gesior to buy tibia coins instead of premium points with real money? @Gesior.pl
Solved!

And another problem is that im not seeing any images in the client store. Does anyone have any idea what's wrong?
 
Last edited:
https://otland.net/threads/in-game-store-images.245420/

Image must be 64x64 px and .png format
config.lua
Code:
coinImagesURL = "http://xxx/images/store/"
coinPacketSize = 25
in folder store you must put folder named 64 and put in there icons
So I created the folder htdocs/images/store/64 and I've put it in there but it doesn't work.
Code:
        {name = "Yalahari Mask", thingId = 9778, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"YalaharMask.png"}, description = "Become rich!"},

I've put the png image 64x64 in the map 64 and I've called it YalaharMask.png. When I opend it the first time in the store I got debug but the second time it opend but it still showed a ?

and config is like this (im first testing it on my own pc that's why it's 127.0.0.1)
Code:
coinImagesURL = "http://127.0.0.1/images/store/"


Thanks! But if I want something that isn't on that list where should I get it from? Like let's say a solar axe?
 
So I created the folder htdocs/images/store/64 and I've put it in there but it doesn't work.
Code:
        {name = "Yalahari Mask", thingId = 9778, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"YalaharMask.png"}, description = "Become rich!"},

I've put the png image 64x64 in the map 64 and I've called it YalaharMask.png. When I opend it the first time in the store I got debug but the second time it opend but it still showed a ?

and config is like this (im first testing it on my own pc that's why it's 127.0.0.1)
Code:
coinImagesURL = "http://127.0.0.1/images/store/"



Thanks! But if I want something that isn't on that list where should I get it from? Like let's say a solar axe?
Image must be 64x64 px and .png format
 
To make sure everything is working name this image without capslock like
yalaharmask.png and remember that only editing gif to png wont work. You must use special program to save in other format.
 
To make sure everything is working name this image without capslock like
yalaharmask.png and remember that only editing gif to png wont work. You must use special program to save in other format.

Yea the images are fine I've downloaded them they are 64x64 and saved as png (with invisible background). I will try putting no caps in a moment.
 
If you done go to appdata and find folder tibia, then clean folder with saved images

C:\Users\Administrator\AppData\Roaming\Tibia\ImageCache

Tibia client must be closed. Then run tibia and check if you see images.
 
If you done go to appdata and find folder tibia, then clean folder with saved images

C:\Users\Administrator\AppData\Roaming\Tibia\ImageCache

Tibia client must be closed. Then run tibia and check if you see images.
I've tried it without the caps but that still didn't work :/
 
If you done go to appdata and find folder tibia, then clean folder with saved images

C:\Users\Administrator\AppData\Roaming\Tibia\ImageCache

Tibia client must be closed. Then run tibia and check if you see images.

Did this and it creates a file YalaharMask.png but there's no image in it

C:\Users\Administrator\AppData\Roaming\Tibia\ImageCache\YalaharMask.png
2pqjryg.jpg
 
Last edited:
@undead mage
Closed Tibia, be sure that you tibia 10.95 run on that path,
now delete all files inside of ImageCache,
finally run Tibia again and open Store,
there you must look the images...

easy :p
Yea I did that but there are no images in the file only the screenshot that I made is what I see. But I will try it again when I get home today
 
Test to replace one of your png images with this:
http://static.tibia.com/images/store/64/Category_Outfits.png

And then repeat what @darkjav said
I tried it out with a solar axe and when I open the store it creates a folder called Catergory_Weapons.png and after I click on solar axe it creates a folder called solaraxe.png and this is what's inside that folder
acua2p.png


data\modules\scripts\gamestore\gamestore.lua
Code:
        {name = "Solar Axe", thingId = 8925, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 300, icons = {"solaraxe.png"}},

config.lua
Code:
-- Store
coinImagesURL = "http://127.0.0.1/images/store/"
coinPacketSize = 25
 
Back
Top