Jump to content

2 Screenshots

  • 11.5k
  • 46
  • 11.14 kB
This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments

Ambroisie

Posted

Hello, once the item is purchased it does not appear in the inventory, but a sound confirms the creation of the item. I can't find a configuration to solve this.

ninco90

Posted

On 5/24/2024 at 10:38 AM, Ambroisie said:

Hello, once the item is purchased it does not appear in the inventory, but a sound confirms the creation of the item. I can't find a configuration to solve this.

Hello! What item are you crafting? If it is a custom item, do you have the plugin for said item?

Ambroisie

Posted

hello, I solved the problem, I also had to install the Portable Vehicles - extend recycler and Super Card plugins. To be specified in the “Depends on” section.

ninco90

Posted

19 hours ago, Ambroisie said:

hello, I solved the problem, I also had to install the Portable Vehicles - extend recycler and Super Card plugins. To be specified in the “Depends on” section.

Correct. Craft Panel is nothing more than a "direct access" to the creation of items from other plugins. Although you can also give items from the normal game.

You can add as many items as you need. In the plugin I give several options as an example, but you can add more options by configuring the details and command correctly.

oplataru

Posted

Error while compiling CraftPanel: ; expected | Line: 362, Pos: 21

ninco90

Posted

17 hours ago, oplataru said:

Error while compiling CraftPanel: ; expected | Line: 362, Pos: 21

can you confirm if you are using the latest version? 1.5.5 compiles fine for me on my modded server.

f0kus

Posted

Make it so that it is visible which components of the craft are enough, and which are not. As an example, the item that is in abundance is highlighted in green, and the one that is missing is highlighted in red.

pgs.png

oplataru

Posted

On 18.02.2025 at 09:54, f0kus said:

Сделайте так, чтобы было видно, каких компонентов в поделке достаточно, а каких нет. Например, зеленым цветом выделено то, чего в избытке, а красным — то, чего не хватает.

pgs.png

To do this, the developer will need to add a check to the plugin, which will heavily load the server

ninco90

Posted

It would be a bit complicated to check the code. And overload the server a bit.

Currently, when you check if the player has the resources, you do it item by item, and if you don't have one item, you automatically stop checking and return the message that you don't have the necessary items. So the process doesn't know if you really have the rest or not, it only cancels if 1 is missing. You could make them always check and once everything is checked, the ones that you don't have are listed, but I think the current approach is more efficient, even if it doesn't provide as much information.

Once that's done, you could update the view accordingly (which would consume resources) and you could put a red background on the item that you don't have. But you can't make shadows as you propose.

oplataru

Posted

6 hours ago, ninco90 said:

Это было бы немного сложно для проверки кода. И немного перегрузило бы сервер.

В настоящее время, когда вы проверяете, есть ли у игрока ресурсы, вы делаете это поэлементно, и если у вас нет одного элемента, вы автоматически прекращаете проверку и возвращаете сообщение о том, что у вас нет необходимых элементов. Таким образом, процесс не знает, есть ли у вас на самом деле остальное или нет, он отменяется только в случае отсутствия одного. Вы можете сделать так, чтобы они всегда проверялись, и после проверки всего перечислены те, которых у вас нет, но я думаю, что текущий подход более эффективен, даже если он не предоставляет столько информации.

После этого вы можете обновить вид соответствующим образом (что потребует ресурсов) и можете поместить красный фон на элемент, которого у вас нет. Но вы не можете сделать тени, как предлагаете.

I also wrote about this above, but you can do a full checking cycle until the last element and place a red background where there are not enough elements and complete the checking cycle, this will waste more server resources, but will not do a constant check. In any case, you will have to exit the crafting menu to take the missing element and go through a new check cycle.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.