Lightman's Currency

Lightman's Currency

331k Downloads

BUG: Не работает автоматическая покупка

GDhdjww opened this issue · 5 comments

commented

Minecraft Version

1.19.2

Forge Version

43.3.7

Lightman's Currency Version

Environment Type

Minecraft Client (Bug/crash happened in a single-player world or while the game was booting)

Other relevant Mods

Других модов нет

Describe the bug

Я хотел создать автоматическую покупку, но когда стоит что я покупаю деньги за руду, то почему то не работает. Но если стоит что я покупаю руду за деньги то все работает.
Я хочу сделать так, чтобы я автоматически мог за железо получать деньги. Помогите пожалуйста.
Изображение WhatsApp 2024-03-15 в 22 04 28_398b6624

To Reproduce

Screenshots/Logs/Crash Reports

commented

1st note:
You did not list the Lightman's Currency version. This is a required field, and MUST be provided no matter what.

2nd note:
Are you certain that the trader that you are attempting to purchase items from has money to pay out to your item trader interface? And are you also certain that your item trader interface has the requisite iron ingots in its storage to give to the trader?

A lot of people seem to mess this part up in regards to "purchase" trades, as the trader you are selling items to must have the coins in its coin storage (details on how to do so can be found in the wiki here, but the TLDR is that you need to put the coins in the coin slots of the storage menu, and then click the store coins button that appears) so that it can actually pay the customer (your).

3rd note:
Could you keep your issue reports in English please?

commented
  1. Mod version: 2.2.0.3d
  2. I set up a creative for the trader I want to sell hardware from. I also put the iron in the iron sales trader before I wrote to you about the error. Despite the fact that there is iron in the trader that I want to sell and despite the fact that the trader who, according to the idea, should buy is in creative mode, there is still no sale.
  3. I also want to note that the sale of iron is carried out by a trader without using an automatic sale. But as soon as I want to make a sale through an automatic sale, then for some reason it doesn't happen
  4. I also checked and if the trader is set not to buy, but to exchange, then everything works. But what I need is a purchase. I also checked if you remove the creative on the trader and put money there, then automatic buying does not work either
commented

Found the issue. Had to do with it validating any trade changes (as the trader interface double-checks the trade before interacting with it so that the traders owner doesn't just double the price on you and trick you into paying undesired prices for the items), and it accidentally thought the price was cheaper (which is detrimental to a purchase as you're getting paid less for your items) even when the price was the same.
Will be fixed in the next update.

commented

Thank you very much. I will be waiting for an update. I hope the update will be released quickly.

commented

Fixed in v2.2.1.2