CraftingController - Failed to compile: 'ItemCraftTask' does not contain a definition for 'cancelled' and no accessible extension method 'cancelled' accepting a first argument of type 'ItemCraftTask' could be found (are you missing a using directive or an assembly reference?) | Line: 766, Pos: 22
Сегодня после рестарта, вылезла ошибка. Просьба починить
Удали все строки из плагина
task.cancelled = true;
И заработает
grodesis
Удали все строки из плагина
task.cancelled = true;И заработает
да, заработало) Спасибо большое))
Made few more changes, on top of the fix... feel free to use if you want, maybe Whisper will adopt some of them.
SeesAllMade few more changes, on top of the fix... feel free to use if you want, maybe Whisper will adopt some of them.
After updating our Rust server and Carbon, we ran into a crafting issue involving ItemCraftTask.cancelled. I’ve posted an unofficial Crafting Controller hotfix based on Whispers88’s 3.3.7 for anyone hitting the same issue.
I tested it alongside the Instant Craft hotfix on our Carbon server. Rock crafting was blocked as configured, and instant crafting worked. The GitHub pull request shows the exact changes for server owners and the maintainer to review.
Hey SeesAll, maybe we should merge our work... I didn't find this thread when I was searching cause it's in Russian...
Thanks for sharing your Enhanced build. I tested your 3.4.2 and our hotfix on the same Carbon server, with Instant Craft loaded for both. Each request was for 4 hammers at 100 wood each.
- 500 wood, one empty belt slot: Our hotfix crafted 1 hammer and left 400 wood. Your 3.4.2 gave the no-room message and left 500 wood. Nothing dropped in either run.
- 400 wood, no empty slots: Both builds gave the no-room message and left all 400 wood. Neither produced a hammer, dropped anything, or left anything queued.
We’re keeping partial crafting on our server because we want players to receive what fits. In the one-slot case, that meant the player got one useful hammer and paid exactly 100 wood for it.
I can see the value of your all-or-nothing approach for servers that want the full batch to fit before crafting starts. These tests covered the hammer requests only. We haven’t compared manual-cancellation refunds.
MajikTom
After updating our Rust server and Carbon, we ran into a crafting issue involving
ItemCraftTask.cancelled. I’ve posted an unofficial Crafting Controller hotfix based on Whispers88’s 3.3.7 for anyone hitting the same issue.I tested it alongside the Instant Craft hotfix on our Carbon server. Rock crafting was blocked as configured, and instant crafting worked. The GitHub pull request shows the exact changes for server owners and the maintainer to review.
Hey SeesAll, maybe we should merge our work... I didn't find this thread when I was searching cause it's in Russian...
Thanks for sharing your Enhanced build. I tested your 3.4.2 and our hotfix on the same Carbon server, with Instant Craft loaded for both. Each request was for 4 hammers at 100 wood each.
- 500 wood, one empty belt slot: Our hotfix crafted 1 hammer and left 400 wood. Your 3.4.2 gave the no-room message and left 500 wood. Nothing dropped in either run.
- 400 wood, no empty slots: Both builds gave the no-room message and left all 400 wood. Neither produced a hammer, dropped anything, or left anything queued.
We’re keeping partial crafting on our server because we want players to receive what fits. In the one-slot case, that meant the player got one useful hammer and paid exactly 100 wood for it.
I can see the value of your all-or-nothing approach for servers that want the full batch to fit before crafting starts. These tests covered the hammer requests only. We haven’t compared manual-cancellation refunds.
MajikTom,
Sure, could merge it if you like... I really only revised a few things, the real credit goes to Whisper ... he did all the heavy lifting, I just walked around and tossed out some paint once I noticed it stopped working. :P
Nice work though brotha, good to see a solid community supporting the devs with updates. Facepunch really doing a number these days with their updates, hard for these guys to keep up. lol