Okay I got it working. I realized I messed up on a few things. First, in the blueprint section I didn't add the correct name of the items. I redid the config, restarted, and it is now working.
Crafting Controller [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
It's working fine for me except that users doesn't get a message printed when they can't use an item. (BPs for example)
can somebody help me ? -
-
-
Anyone run into issues with the new Rust update and restricting lock pick crafting?
-
I know it does not answer your question directly but... Well I didnt have to.
On my server I have locked backpacks disabled ;-)
So if any1 wants to craft a lockpick its his choice.
Anyway would like to know too as it might be another way to inform players that they dont need it on our server. -
I have not been able to get this to work at all since the 1.12 patch. Anyone else having this problem or can confirm it DOES work with 1.12?
On HFB server btw -
-
Any ides on this entry in my log? I noticed items are not craftable still, however the popupall messages when a person tries to craft, research, etc are not showing
Code:11:02 PM: ERROR: craftingcontroller: A .NET exception was thrown trying to call static function Find on NetUser! 11:02 PM: ERROR: craftingcontroller: invalid arguments to method call (@) 11:02 PM: ERROR: craftingcontroller: nil 11:02 PM: ERROR: craftingcontroller: A .NET exception was thrown trying to call static function Find on NetUser! 11:02 PM: ERROR: craftingcontroller: invalid arguments to method call (@) 11:02 PM: ERROR: craftingcontroller: nil
-
Code:
{ "BlockedCrafting": {"556 Ammo": true, "Explosive Charge": true, "Explosives": true, "F1 Grenade": true, "M4": true, "MP5A4": true, "Shotgun Shells": true},"BlockedBlueprints": {},"BlockedResearch": {"556 Ammo": true, "Explosive Charge": true, "Explosives": true, "F1 Grenade": true, "M4": true, "MP5A4": true, "Shotgun Shells": true},"blockblueprintsmessage": "This blueprint has been disabled. You can use the shop, farm RAD-towns or wait for an Airdrop to get it.", "blockresearchmessage": "Researching this item has been blocked. You can use the shop, farm RAD-towns or wait for an Airdrop to get it.", "blockcraftingmessage": "Crafting this item has been blocked. You can use the shop, farm RAD-towns or wait for an Airdrop to get it." }
-
NICE!
-
-
-
Not working for me either, wasnt able to find error messages (but definitely no notification that anything had been blocked) and everything that shouldnt be craftable is.
-
HFB with 1.12.1 and it works fine for me, not getting any errors and messages pop up just fine as well.
-
-
Here.
Attached Files:
-
-
Note: the crafting controller stopped working for me since the update.
-
ffs. it's totally not working at all anymore. ppl can craft C4 again.[DOUBLEPOST=1391999441][/DOUBLEPOST]
Code:[Oxide] Lua error (craftingcontroller) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\KaiS\1649\save\oxide\plugin..."]:60: attempt to index field 'BlockedResearching' (a nil value) --- End of inner exception stack trace --- 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 : NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\KaiS\1649\save\oxide\plugin..."]:60: attempt to index field 'BlockedResearching' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
Code:3:19 AM: ERROR: Lua error (craftingcontroller) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\KaiS\1649\save\oxide\plugin..."]:34: bad argument #1 to 'pairs' (table expected, got nil) --- End of inner exception stack trace --- 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 : NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\KaiS\1649\save\oxide\plugin..."]:34: bad argument #1 to 'pairs' (table expected, got nil) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
So crafting ban still works.Last edited by a moderator: Feb 10, 2014 -