1. Yes, 0.0001 for 1000x craft (might as well make it instant, use 0.0 for instant)
     
  2. Is there a way to block specific item from being crafted?

    im ujsing blueprintmanager to give players all bp's but they also get "Smoke Rocket WIP!!!!" and i dont want them to be able to craft it
     
  3. My plugin does not have that role, but I'm pretty sure blueprintmanager has a way of doing that already, no? If not, look at ItemConfig, you can set "userCraftable" to false in there.
     
  4. there is no "userCraftable" option in itemconfig and blueprint manager has no option for that :(
     
  5. I'll get back to you when I'm at home, but I have an old version of itemconfig here that does have userCraftable...
     
  6. thanks :)
     
  7. Well damn you're right that property isn't there anymore.. Perhaps it didn't work in the first place, I never really tried it.
     
  8. Deicide666ra updated LimeBench with a new update entry:

    1.0.7

     
  9. Code:
    [Oxide] 12:10 AM [Error] Failed to call hook 'OnItemCraftFinished' on plugin 'L.I.M.E. Bench' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 12:10 AM [Debug] at Oxide.Plugins.LimeBench.AdjustCraftingTime (.BasePlayer player, .ItemBlueprint bp, .ItemCraftTask task) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.LimeBench.OnItemCraftFinished (.ItemCraftTask task, .Item item) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1439069662][/DOUBLEPOST]Delete
    Code:
     void OnItemCraftFinished(ItemCraftTask task, Item item)
            {
                BasePlayer player = task.owner;
                var crafter = player.inventory.crafting;
                if (crafter.queue.Count == 0) return;
                AdjustCraftingTime(player, crafter.queue.First().blueprint, task);
            }
    And now working
     
    Last edited by a moderator: Aug 8, 2015
  10. Are you using the latest version mak?

    By removing this function, players can queue a bunch of stuff in their base and then go out of cupboard range and the crafting time will not revert back to the "outside cupboard range" rate. The error is occuring in AdjustCraftingTime which is also called when a task is created, so you might get the same issue somewhere else!

    I recommend putting it back and finding what item is causing this, it's quite possible some items could cause issues, I haven't tested them all and they did some changes to blueprints with the skins and all, might be the skinned items that cause this I'll have to investigate. If anyone can tell me what item(s) cause this error I'd be interested to know!
     
  11. I use your plugin, just to reduce the time crafting powder and no more privileges!
     
  12. You can do /blacklist additem "Smoke Rocket WIP!!!!" and /blacklist addbp "Smoke Rocket WIP!!!!" to add the 2 to Blacklist then hopefully it won't give it to them to begin with.

    Edit: can't remember if its in-game or short name for the command "ammo.rocket.smoke"
     
    Last edited by a moderator: Aug 10, 2015
  13. How would i add more than one item to the config file with the blacklist bulk crafting , like atm its tis "bulkCraftBlacklist": [ "spear.wooden" ], how would i add another item to this ?
     
  14. "bulkCraftBlacklist": [ "spear.wooden", "someotheritem", "yetanother", "etc" ]

    You can validate the json file with www.jsonlint.com
     
  15. [Oxide] 3:45 PM [Warning] CallHook 'OnItemCraft' on plugin 'L.I.M.E. Bench' took: 12139ms [Oxide] 3:45 PM [Warning] CallHook 'OnItemCraft' on plugin 'L.I.M.E. Bench' took average: 722ms caused a crash do you think this is related to weapons?
     
  16. I doubt it has to do with the plugin at all. Rust has been throwing delays like that on ALL plugins since update, pretty sure it's Rust itself that has hangups. My theory is that this issue here is just a side effect of those Rust issues.
     
  17. Dude how do you get the bulk crafting working?
     
  18. Set bulkCraft to true and make sure either the craftingMultiplier or benchMultiplier is zero. The bulkCraft option checks the authLevel but there is no way to currently allow insta + bulk for admins only.
     
  19. Cheers man, all gravy!
     
  20. This doesnt seem to work with the new Skins implemented. When you craft something with a skin it does the vanilla version of it