Getting the following:
oxide.version shows:Code:[Oxide] 19:31 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.4' (InvalidCastException: Cannot cast from source type to destination type.) [Oxide] 19:31 [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
[Oxide] 19:33 [Info] Oxide 2.0.2149 for Rust 942.65 (1470)
Crafting Controller
Moved
Total Downloads: 52,437 - First Release: Oct 29, 2014 - Last Update: Apr 19, 2018
- 5/5, 72 likes
-
Wulf Community Admin
-
Though i had the newest version my bad.
-
I installed latest version and now i get this too
Code:<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 (19:46:25) | [Oxide] 11:46 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64) (19:46:25) | [Oxide] 11:46 [Debug] at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in
-
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
-
[Oxide] 21:48 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
[Oxide] 21:48 [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[] arg -
Wulf Community Admin
-
Please all make sure that you are using the latest version of both Oxide (2.0.2149)
and CraftingController (2.4.5).
Edit: Fekkin Wulf a millisecond in front of me ;D -
[DOUBLEPOST=1468264625][/DOUBLEPOST]Also appears there was a server update.
Server Update | Updates server to latest version and disables Oxide. (Last Updated 2016-07-10 13:29:14) -
sorry guys, im really new to this. How do i update oxide ? is it just running this
https://i.gyazo.com/23e79835e8a5d68f899bc052cef19e92.png -
so i downloaded it installed it but bulk craft does not work
-
Wulf Community Admin
[DOUBLEPOST=1468269074,1468269057][/DOUBLEPOST] -
Hi guys, I just updated the plugin.
I´m running the last version of CraftingController, Oxide and Rust.
I noticed that when I craft 1 by 1, its intacraft. But when I place a queue of, lets say, 10 cupboards, its 100% crafting time.
Thanks in advance.
Le Dieu -
it says it loaded the plugin and instant craft works its just bulk craft thats not working i think it might be sometrhing wrong in the config file but im not sure
-
big bug
-
Line 575
replace
private object OnXpEarn(ulong id, float amount, string source)
by
private object OnXpEarn(BasePlayer player, float amount, string source) -
ok thx
-
[Oxide] 14:21 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64)
[Oxide] 14:23 [Error] Failed to call hook 'OnXpEarn' on plugin 'CraftingController v2.4.5' (InvalidCastException: Value is not a convertible object: BasePlayer to System.UInt64) -
Wulf Community Admin
-