• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.
Resource icon

Support is available for [TFS 1.4.2] 1098. GameStore.

Mateus Robeerto

Legendary OT User
Joined
Jun 5, 2016
Messages
1,744
Solutions
92
Reaction score
1,256
Location
ლ(ಠ益ಠლ)
Mateus Robeerto submitted a new resource:

Support is available for [TFS 1.4.2] 1098. - The gamestore exhibits significant similarities to Canary and OtserBrasil 12+


1721754046022.png



If you find any bugs or if something isn't working properly, please report it to me so that I can fix it and ensure everything remains 100% stable. Thank you!

Review the GIF showing the gamestore functioning at 100%. I will provide several GIFs, including both the CIP client and OTClient with the default store from Kondra's (simple store) and another custom module similar to the global Tibia. I will also document the OTClient module, stores, and GitHub repository. Enjoy!



Tibia client cip 1098.
View attachment 86183

OtClient v8 (kondra or OTAcademy).

[ATTACH type="full" width="561px"...

Read more about this resource...
 
Last edited:
I'm using Nekiro 8.0 downgrade, I installed the store, but it doesn't display the purchase history.

Client Error:
1729987240020.webp

ERROR: ProtocolGame parse message exception (242 bytes, 223 unread, last opcode is 0x0a (10), prev opcode is 0xfd (253)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 800)
 
Damaged module has no search system
images do not appear when clicking on the item there is no item separation in case you want to make 100 hp potion it is impossible
not working well
outfit does not separate by addons
mount system does not separate by addons basically it will be necessary to reprogram

but thanks for the initiative
 
Damaged module has no search system
images do not appear when clicking on the item there is no item separation in case you want to make 100 hp potion it is impossible
not working well
outfit does not separate by addons
mount system does not separate by addons basically it will be necessary to reprogram

but thanks for the initiative
Which base are you using? TFS 1.5 NeKiRo or 1.4.2 1098? If so, contact me on Discord: 82mateusroberto. I tested with TFS 1.4.2 and 1.5, and both seem fine (to be honest, I didn’t test much). However, I’d like you to show me what bugs or issues you're encountering. I can fix them and update the commit to make it more stable.
 
I just sent the invitation and I'm testing it on tfs 1.4.2 10.98 tibia

In this case, there is no item search engine, the items cannot be made in packs of 100, for example, selling 100 potions
or the outfit does not work perfectly, it is not possible to register the outfit, you would have to do several tests
the only thing that worked correctly was renaming the character and changing the gender, the others need to be reviewed.

just as the imaging system is faulty.
and type to search and only one image there is no search engine
 
Last edited:
In this case, there is no item search engine, the items cannot be made in packs of 100, for example, selling 100 potions
  • They have already been fixed. Now you can enter an example like 'count x quantity you want to buy and deliver to the player's store inbox via store.xml.

Example:
<offer name="ham" state="1" count="100" price="100" icons="ham.png" description="food" message="Thank you for buying this item." script="items.lua" />
If you want to change it, search for ID 2000 in items.lua.
It comes with a bag store or any custom bag of your preference.



  • They have already been fixed. The names 'Game Master' and 'GM Hoster' are now blocked, and only names with 4 to 20 characters are allowed.
    You can check game.cpp and edit it as needed to block names, ensuring players cannot insert names like 'Game Master' or 'GM Hoster'. Also, only names with 4 to 20 characters are allowed.
C++:
C++:
static const std::unordered_set<std::string> blockedNames = {
    "admin", "god", "cm", "gm", "tutor", "support", "staff",
    "CM", "GM", "GOD", "GAME MASTER", "GAMEMASTER", "HOSTER", "RACIST",
    "Tutor", "Admin", "Owner", "Developer", "Support", "Moderator",
    "accountmanager", "gamemaster", "comunitymanager"
};


  • Outfit Addons Issue:
    The player wants to buy only the addons for the specific outfit, namely addons 1 and 2. Also, outfits cannot have addons selected.

    Transfer Module:
    I also need to edit the transfer module so that it works for transferring to another player.

    Images Not Showing:
    The images are not showing in both places. I will edit this later.

The problems mentioned above, I will fix later.
 
  1. Name Change was fixed. Previously, it would log you out and display the name as "1" after purchase. Thanks to @bonitonetx for finding the solution. Now, after purchasing and changing the name, you wait 3 seconds and are automatically logged out. You need to fully log out and log back in to see the correct name. It has also been fixed to block special characters like {}|_+-=&lt;&gt;0123456789@#%^&amp;()/'.,:;~!"$";. It cannot contain spaces or special characters that could potentially damage the database. This was corrected.
  2. Outfits and Addons: The issue was fixed. You need to add the option to purchase full or partial addons in the store. This is to complete outfits since a player might only have one addon and want to buy the full addon. Previously, it would show that the player already has the addon and would not complete it. The basic idea is to complete the addons the player doesn't have until the outfit is fully complete, and inform the player if they already own the outfit or addon through a message.
  3. Mounts Issue: Previously, players could purchase a mount multiple times, and there was no check for whether they already had it. This has now been fixed so that players can buy and receive the mount correctly. I also added a check for players who do not have a premium account. If they try to buy a premium mount, it will notify them that they cannot buy this mount unless they have a premium account. Premium account is required to buy and use the mount.
  4. Points Transfer: The points transfer between players is working normally for now, and I haven't made changes to the source yet. I sent points to another player, and everything is working fine.
  5. ClientID for Store: Now I'm trying to resolve an issue with the store so it can use ClientID to display images in the game without needing to place the images in the htdocs/images folder. Using ClientID for the item images will be a simpler method to display images, animations, and movements, similar to how Kondra handles their store.
  6. Categories: I am also working on a way to add subcategories, just like in the global store.
It's not easy to fix everything on my own. If anyone is interested in working together to improve the game store and keep it stable, you're welcome. Thank you, OTland!

>> here commit <<<

There are some commits that need to be corrected. Please review the commit history for necessary adjustments.
here
Post automatically merged:

Good. How can this be done since in OTCv8 there is only the game_shop module and OTClient also uses game_store?
Do you want to use both modules? I will remove the default game shop that came with the OTC and add a custom module because it looks better.
 
Last edited:
Back
Top