Crafting Controller

Moved

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

5/5, 72 likes
  1. What should I do? My server won't even go up? (Screenshot)
     
  2. Make sure the rust server files are up-to-date (validate with steamcmd) and reinstall Oxide, if it then still doesn't boot check your logs for errors.
     
  3. The only error is ([07/11/2016 22:02:20] [Oxide] 22:02 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)) and you told me to update my server in which I did, now it's running but not on the RUST main page..
     
  4. What does `oxide.version` give as output?
     
  5. Were would I find that?
     
  6. It is a console command which you should be able to run in the server console/rcon, or it should also be visible in the oxide logs
     
  7. I can't run RUSTAdmin because it won't connect to the server
    [DOUBLEPOST=1468244819][/DOUBLEPOST]NullReferenceException: Object reference not set to an instance of an object
    at ServerMgr.Update () [0x00000] in <filename unknown>:0

    This is appearing in the console on my Control Panel
     
  8. How did you find out who was doing it? Can't seem to locate that info anywhere.
     
  9. Can you come on Skype or something to help assist?
     
  10. Looks like the last rust update might have corrupted one of the xp db files (xp2.db), do make sure if you see something regarding a query error in the logs involving AgentData, and if you do shutdown the server, remove xp2.db (in your server identity folder, can possibly wipe xp but this is currently an issue with rust, hopefully fixed soon) and then start the server again
     
  11. For the moment unless another way is developed I was using /vanish then /tp *player* and watching them spawn loads of stuff from their inventory. If they do the walls and the items stay in the inventory it seems fine, but when somebody spawns 1000 wooden spears the server grinds to a halt.
     
    Last edited by a moderator: Jul 11, 2016
  12. Ha, yeah. We had a guy craft 10k rocks and the server imploded lol.
     
  13. Deleted the file "xp2.db" and the server is now up again, I will check now if the XP is removed, fingers crossed.
    [DOUBLEPOST=1468245752][/DOUBLEPOST]It's wiped my whole entire server? All my buildings etc have been remove all the sleepers what has happened??
     
  14. No idea, but I would go into your save folder and restore one the server saves from there.

    /save/Procedural Map...
     
  15. I do have the save still their, but how do I place it back into actual map I'm not sure? It's all gone into a new save? could somebody skype?
     
  16. Found this.... CraftLog seems to be working ok so far.
     
  17. Installed. Thanks for that.

    Back to Crafting Controller though, tried that again.

    Code:
    (15:41:58) | [Oxide] 15:41 [Info] CraftingController was compiled successfully in 2195ms
    (15:41:59) | [Oxide] 15:41 [Info] Loaded plugin Crafting Controller v2.4.5 by Mughisi
    (15:42:00) | [Oxide] 15:41 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
    (15:42:00) | [Oxide] 15:41 [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
    (15:42:00) | [Oxide] 15:41 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
    (15:42:00) | [Oxide] 15:41 [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
    (15:42:00) | [Oxide] 15:41 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
    (15:42:00) | [Oxide] 15:41 [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
    (15:42:00) | [Oxide] 15:41 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
    (15:42:00) | [Oxide] 15:41 [Debug]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0...and so on.
     
  18. Make sure to update your rust server and install oxide again, there was an update yesterday (Release Changelog | Page 3 | Oxide) which changed the OnXpEarn hook a bit
     
  19. Will save the server and update now. Maybe this will stop all the leg and rubber-banding we are seeing as well.
     
  20. Is there any way to create a custom permission with this mod to give certain user/group instant craft but not whole server?