Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Jaina47

Food trade?

12 posts in this topic

I ran into problem on my server with selling food. Is there ways to trade food (especially to buy it from player) given that the food has decay and its metadata changes all the time? Costom Npc for example can sell it, but can't buy it. And Trade booth can sell normaly, but it buys food without decay only for 1 day.

Maybe there is some mod or fix for it? 

 
Thanks in advance for your reply

 

0

Share this post


Link to post
Share on other sites

Well, couldn't you just cut out the decay and sell it right away? In my experience there's a bit of room between you cutting out decay and it getting 0.0% decay.

0

Share this post


Link to post
Share on other sites

Well, couldn't you just cut out the decay and sell it right away? In my experience there's a bit of room between you cutting out decay and it getting 0.0% decay.

Sell it to what? Metadata contains not only decay but a date the food was made. So u can cut and sell food only for 1 day. Next day Trade booth doesn't exept food even without decay.

0

Share this post


Link to post
Share on other sites

Hmmmmm.....Interesting. Can't you alter the code so that it ignores metadata? Or, better yet, that it only examines metadata that you want it to look at.

 

Really, the easiest solution would be to have players just trade food with each other, instead of your trade plugin, but I recon that isn't quite the answer you're hoping for.

0

Share this post


Link to post
Share on other sites

Hmmmmm.....Interesting. Can't you alter the code so that it ignores metadata? Or, better yet, that it only examines metadata that you want it to look at.

 

Really, the easiest solution would be to have players just trade food with each other, instead of your trade plugin, but I recon that isn't quite the answer you're hoping for.

Emm... Can't you alter the code?.. =)

Players have tones of food they don't need, why should they buy it...

0

Share this post


Link to post
Share on other sites

Why should they be able to sell it if there's such a surplus? If nobody would ever want to buy something, then why are people able to sell it at all? Who is the trade plugin NPC selling it all to?

And are you asking me to make the edits for you? I don't even know what plugin you're using :D I'd suggest making a post on their forums, asking if they plan on adding support for items with metadata. Not much that can be done from the TFC side.

0

Share this post


Link to post
Share on other sites

Why should they be able to sell it if there's such a surplus? If nobody would ever want to buy something, then why are people able to sell it at all? Who is the trade plugin NPC selling it all to?

And are you asking me to make the edits for you? I don't even know what plugin you're using :D I'd suggest making a post on their forums, asking if they plan on adding support for items with metadata. Not much that can be done from the TFC side.

There are lots of ways to spand money. Transportation, resources, decor. But you can sell little.. ores and food. And if you cant sell food, so there is just ores = (well there are quests and other stuff, but still I would like to sell food, because it is a big part of the game and players should continue to produce food, not drown in it.)No, I'm not asking you to write a code, that was irony. I have no idea how it all works.

0

Share this post


Link to post
Share on other sites

I was told this: Tradebooth 0.6.4.2 will ignore NBT values (it was a bug in the code). But you will also lose the extra features from 0.6.4.4.

0

Share this post


Link to post
Share on other sites

It is not a good option though. Older Trade booth version has NBT bugs =

0

Share this post


Link to post
Share on other sites

Only way I see is to buy it myself =

Players on the autumn festival put in trade boxes their food, and admin after that (ones in a year (10 real days) will come and change food into gold). Not a good solution but I can't see another.

0

Share this post


Link to post
Share on other sites

I kinda like your solution. A festival at which people make offerings of food to the forest spirits, which repay the kind people with gold. But unless you can convince your plugin creators to make checking nbt data, I don't think you'll be able to get a better solution, other than trading with admins directly.

0

Share this post


Link to post
Share on other sites

I kinda like your solution. A festival at which people make offerings of food to the forest spirits, which repay the kind people with gold. But unless you can convince your plugin creators to make checking nbt data, I don't think you'll be able to get a better solution, other than trading with admins directly.

In my case there comes a ship from cold lands and collects all the food for winter supplies. Players rent chests and put all the food there for 3 months of autumn and in the early winter comes the mythical ship and buys all the food, then festival place closes until the next autumn.And on account of nbt data you are right. I have already gave up. Developer of Trade booth mod promised to add a button to igronir nbt data in the next version and big thanks to him for that, but it'll be to late for my case.

0

Share this post


Link to post
Share on other sites