Crafting Controller

Moved

Total Downloads: 52,437 - First Release: Oct 29, 2014 - Last Update: Apr 19, 2018

5/5, 72 likes
  1. Wulf

    Wulf Community Admin

    That isn't a fix, that's downgrading it. The change was made per Oxide changes to prevent errors.
     
  2. It was a fix when I did it for my server and I didn't know there was a new version
     
  3. Wulf

    Wulf Community Admin

    Your server is outdated then. The latest version of this plugin was changed for the last Oxide update.
     
  4. (15:55:47) | [Oxide] 15:55 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Cannot cast from source type to destination type.)

    (15:55:47) | [Oxide] 15:55 [Debug] at Oxide.Plugins.CraftingController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    My server is up to date
     
  5. Wulf

    Wulf Community Admin

    Your server is not up-to-date last you showed me, and isn't if you are getting that message.
     
  6. my version oxide . (16:05:49) | [Oxide] 16:05 [Info] Oxide 2.0.2152 for Rust 942.65 (1470)
     
  7. Wulf

    Wulf Community Admin

    Did you modify the line that sami told you to? If so, you broke the plugin and I'd recommend downloading the latest again.
     
  8. I just downloaded it again and walking no problem thank you
     
  9. Wulf

    Wulf Community Admin

  10. Just started to get this error, crafting has not changed , do i have the latest version of oxide if not i will get server host to update it,

    oxide.version
    [Oxide] 00:42 [Info] Oxide 2.0.2131 for Rust 939.93 (1470)

    Do i have to worry about it or just ignore the error. only problem is that is spamming my rust i/o console
    Code:
    Oxide] 00:39 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
    [Oxide] 00:39 [Debug] at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    This last game update certainly wreaked havoc with the plugins,
     
    Last edited by a moderator: Jul 13, 2016
  11. Hey, instant bulk craft is not working for me can somone help me ?
     
  12. Wulf

    Wulf Community Admin

    That's not from that game change, that's from a hook change in Oxide. All you need to do is update Rust and then Oxide, you're outdated with both.
     
  13. Hey, can i set value 0.0 on "CraftingExperienceRate" or will it not work?
     
  14. Wulf

    Wulf Community Admin

    You should be able to, but unsure.
     
  15. I uninstalled Craft Controller and removed config files and reloaded it again , this is the cfg created by the plugin on my server,
    I did the aforementioned as i did not see any reference to the line in aSPENBACK"s post, I asked my server host to update Oxide and
    now have this version [Oxide] 12:35 [Info] Oxide 2.0.2131 for Rust 939.93 (1470) are they both up to date ? (Rust and Oxide)
    Crafting controller version installed is listed as 15 "Crafting Controller" (2.4.5) by Mughisi (0.00s)
    Code:
    {
      "Settings": {
      "ChatPrefix": "Crafting Controller",
      "ChatPrefixColor": "#008000ff"
      },
      "Options": {
      "BlockedItems": [],
      "CraftingRate": 100.0,
      "IndividualCraftingRates": {},
      "InstantBulkCraft": false,
      "InstantCraftForAdmins": true,
      "InstantCraftForModerators": false
      },
      "Messages": {
      "BlockedItem": "{0} has already been blocked!",
      "BlockSucces": "{0} has been blocked from crafting.",
      "CancelledCrafting": "Cancelled crafting for all players and refunded the costs.",
      "CraftBlockedItem": "{0} is blocked and can not be crafted!",
      "CurrentCraftingRate": "The crafting rate is set to {0}%.",
      "IndividualCraftingRate": "The following items have a different crafting rate:",
      "InvalidItem": "{0} is not a valid item. Please use the name of the item as it appears in the item list. Ex: Camp Fire",
      "ModifyCraftingRate": "The crafting rate is now set to {0}%.",
      "ModifyCraftingRateError": "The new crafting rate must be a number. 0 is instant craft, 100 is normal and 200 is double!",
      "ModifyCraftingRateItem": "The crafting rate for {0} is now set to {1}%.",
      "NoBlockedItems": "No items have been blocked.",
      "NoItemRate": "You need to specify an item and a new crafting rate for this command.",
      "NoItemSpecified": "You need to specify an item for this command.",
      "NoPermission": "You don't have permission to use this command.",
      "NoRoom": "You don't have enough room to craft this!",
      "ShowBlockedItems": "The following items are blocked: ",
      "UnblockItem": "{0} is not blocked!",
      "UnblockSucces": "{0} is no longer blocked from crafting."
      }
    }
     
  16. Wulf

    Wulf Community Admin

    No, Oxide 2.0.2131 is a week old and about 3 or so Rust versions out-of-date. See Release Changelog | Page 3 | Oxide.
     
  17. Nvm, I found my problem
     
  18. This plugin needs an update as off today's update

    Code:
    '(22:15:13) | [Oxide] 22:15 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.4' (InvalidCastException: Cannot cast from source type to destination type.)
     
  19. You're outdated. Update to the newest version 2.4.5