Crafting Controller

Moved

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

5/5, 72 likes
  1. [Oxide] 03:32 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.2 (Single), CraftingController (0.2 (Single))

    what is happen
     
  2. Wulf

    Wulf Community Admin

    You can't use both, they do the same thing. Either downgrade CraftingController or don't use XpBooster.
     
  3. ok thank you
     
  4. When i install this version i can´t get XP for farming or killing
     
  5. Wulf

    Wulf Community Admin

    Update Oxide to 2.0.2131 or higher.
     
  6. I have an idea for this plugin that would put a time limit and amount for instant crafting for the new xp system ... I had players crash my server from crafting 1000's of boots, spears,paper etc to gain xp in a matter of 20 - 30 minutes... Possibly a max limit they would have to wait or so many minutes before crafting again the same item or a limit on so many items that can be crafted with in a 24 hr period... Or a limit on all items like who would ever been to craft more than 20 boots period.

    I have had to disable this plugin till I can figure something out .... Also any chance of making this compatible with the XpBooster for Rust | Oxide
     
  7. Wulf

    Wulf Community Admin

    Set the XP rate in this plugin to 1.0 and it will work with XpBooster.
     
  8. Code:
    (00:25:58) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.003333333 (Single), CraftingController (0.003333333 (Single))
    (00:25:58) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.003333333 (Single), CraftingController (0.003333333 (Single))
    (00:25:58) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.003333333 (Single), CraftingController (0.003333333 (Single))
    (00:25:59) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.01 (Single), CraftingController (0.01 (Single))
    (00:25:59) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.02 (Single), CraftingController (0.02 (Single))
    (00:25:59) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.8 (Single), CraftingController (0.8 (Single))
    (00:26:00) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.2 (Single), CraftingController (0.2 (Single))
    (00:26:00) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 1 (Single), CraftingController (1 (Single))
    (00:26:01) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.003333333 (Single), CraftingController (0.003333333 (Single))
    (00:26:01) | [Oxide] 23:23 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: XpBooster - 0.003333333 (Single), CraftingController (0.003333333 (Single))

    This is with the xp booster set to 1
    Code:
    {
      "AnimalKills": 1,
      "Crafting": 1,
      "Gathering": 1,
      "GatherTime": 1,
      "HeliDamage": 1,
      "ItemCollection": 1,
      "ItemConsumption": 1,
      "ItemOwnership": 1,
      "LootFinding": 1,
      "LootSmashing": 1,
      "TrapSnaps": 1,
      "UsePermissions": false,
      "WelcomeBonus": 1
    }
     
  9. Wulf

    Wulf Community Admin

    Set CraftingController's XP rate to 1.0.
     
  10. OK doing that now .... wow I feel dumb
     
  11. Been reading through the updates and comments looking for two things. Can't seem to find either so any help would be appreciated:

    1) Is there a per-player oxide permission. Something I can use to do an "Oxide.Grant User NiceGuy CraftingController.Use" kinda thing. (For people reading this later on, this is NOT the permission.)

    2) What's the best way to balance the craft speed vs. XP? If it's twice as fast should it yield half the XP? I realize this is an opinion question, but would welcome feedback. I don't want people getting OP on the server from crafting 1000 doors.
     
  12. im getting the same issue and have crafting xp set 1.0
     
  13. Console getting spammed with...

    Code:
    [07/10/2016 16:20:01] [Oxide] 16:20 [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 
    [07/10/2016 16:20:01] [Oxide] 16:20 [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 
    
    And etc., on and on forever, since last Oxide update. Any idea how I can fix this?
     
  14. Last edited by a moderator: Jul 10, 2016
  15. Code:
    [Oxide] 18:00 [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
    (19:00:45) | [Oxide] 18:00 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.4' (InvalidCastException: Cannot cast from source type to destination type.)
     
    Last edited by a moderator: Jul 11, 2016
  16. I temp. rolled back to the pre-XP version, and so far nothing has exploded lol.
     
  17. After latest oxide update
    Code:
    Oxide] 12:12 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.4' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 12:12 [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
     
    Last edited by a moderator: Jul 11, 2016
  18. Wulf

    Wulf Community Admin

    The XP hooks had to be changed a bit, using an old version of this is fine if you don't want it to modify the crafting XP (the same thing XpBooster does). If you'd like an updated version, I've attached it below.
     
  19. Fixed the problem! Thanks! :)
     
  20. sXs

    sXs

    [Oxide] 11:56 [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