Jump to content

Can't get 10% speed with 0.1

Pending 1.3.2

Nomad Rush
Nomad Rush

Posted

Dear Tofurahie,

    My server applies slow crafting. Using your plug-in I decimate it to 10% by setting...

"craftcontroller.default": 0.1,
"craftcontroller.vip": 0.1

I set /PERMS, 'default' and not 'VIP' at same time for groups. Do you suspect what I may be doing wrong? Please advise.

-- Nomad

Nomad Rush

Posted

According to our new AI overlords... 

This is a known break from a recent Facepunch Rust update. They removed cancelled field from ItemCraftTask, so plugins that still set task.cancelled = true; fail to compile. 

Rusty regards! -- Nomad

tofurahie

Posted

Hi, 0.1 is correct for 10% of normal crafting speed, meaning crafting takes 10 times as long. CraftController doesn't use ItemCraftTask.cancelled, so that explanation doesn't apply here.

Please run oxide.reload CraftController after saving the config and setting the group permissions, then queue a new craft. If the speed is still wrong, send me the item name, actual crafting time, and any console errors.

Nomad Rush

Posted (edited)

Thank you for your reply Tofurahie. I'm, getting no console errors. Default in Perms is selected. Only item which appears to 'work'  that gets made at 0.1 (10%) speed is tool cupboard which take 5 minutes. Everything else is normal quick, like tier1 workbench in 15 secs. Very puzzling. Shall remove all other plug-ins tomorrow one by one to see if something is clashing. -- Nomad

Edited by Nomad Rush
tofurahie

Posted

26 minutes ago, Nomad Rush said:

Thank you for your reply Tofurahie. I'm, getting no console errors. Default in Perms is selected. Only item which appears to 'work'  that gets made at 0.1 (10%) speed is tool cupboard which take 5 minutes. Everything else is normal quick, like tier1 workbench in 15 secs. Very puzzling. Shall remove all other plug-ins tomorrow one by one to see if something is clashing. -- Nomad

Please send your CraftController config, CraftController/data.json from the server’s data folder, and your plugin list. I’d like to check the saved crafting times too.

Also, does the workbench actually finish after 15 seconds, or is that the time displayed in the crafting menu? That distinction will help narrow this down.

Nomad Rush

Posted

Tofurahie, thank you for your pointers. Attached for your perusal...

  • CraftController config
  • CraftController/data.json
  • Plugin list

To test further, I changed craftcontroller.default to 5.0 - it made tier1workbench and TC in 5 secs. So plug-in works. However, changed to 0.1, only tool cupboard takes 5 mins. Everything else appears to revert to default.

Then removed other plug-ins one by one and tested each time. Ended up with only Craftcontroller and PermissonManager. Got same results. Tested on two seperate servers; Germany and US, with same results.

Only clue I can find is that toolcupboard crafts in the expected time when reducing crafting 10% but everything else doesn't.

Nomad's_Plug-in_list.png

CraftController.json data.json

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.4m
Total downloads
Customers
12.5k
Customers served
Files Sold
177.3k
Total sales
Payments
3.9m
Processed total
×
×
  • 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.