Then no sorry, I cant do anything for you.![]()
Alter (Custom Recipes) [Unmaintained]
Discussion in 'Plugin Support' started by Carex65, Feb 12, 2014.
-
Is it possible to create Rad Pills? I've had many people request the ability to do a custom recipe for them. Paper + Water + Beans = Rad Pills? Don't know how to add Rad Pills to the creation list though. Is this even possible?
-
-
Code:
11:53 PM: ERROR: Lua error (Alter) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\xxxxxxxx\11957\save\oxide\pl..."]:188: attempt to perform arithmetic on 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\xxxxxxxx\11957\save\oxide\pl..."]:188: attempt to perform arithmetic on 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:11:53 PM: ERROR: Alter: Netuser not found 11:53 PM: ERROR: Alter: [string "C:\TCAFiles\Users\xxxxxxxx\11957\save\oxide\pl..."]:197 - Invalid argument 1 to rust.Notice (expecting NetUser, got number)
-
-
This error means that for some reason the netuser cant be found. But I used a netuser to warn you. xD so try this one. If a player cannot craft, then this is his errror. And should popup in your log as:
print( "[ ALTER ] No players found with name: *Namefound*)Attached Files:
-
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Debug version to check why it sometimes gives errors.
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Debug.
-
I have changed C4 to be much harder but the default resources are still being used but when I craft one I get the following error with your latest version;
Code:[Oxide] Lua error (Alter (debug version)) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\PaulK\1559\save\oxide\plugi..."]:188: attempt to perform arithmetic on 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\PaulK\1559\save\oxide\plugi..."]:188: attempt to perform arithmetic on 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
-
really hope they get this damage issue fixed
-
A shit! I see what I did wrong. I put a targetuser instead of a netuser at the inventory check!
I'm in bed right now, lemme quickly fix this tho!
If this fix doesn't work, Then I'm confused and need to review the ondamage bug again. -
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Debug version
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Wrong file.
-
I can just craft C4 normally with no alterations of any kind, same error before and after damage.
Code:[Oxide] Lua error (Alter (debug version)) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\PaulK\1559\save\oxide\plugi..."]:189: attempt to perform arithmetic on 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\PaulK\1559\save\oxide\plugi..."]:189: attempt to perform arithmetic on 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
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Capt. BugSquasher at your service!
-
Was working good until damage occued
Code:[Oxide] Alter: [string "C:\TCAFiles\Users\PaulK\1559\save\oxide\plugi..."]:187 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string) [Oxide] Alter: [string "C:\TCAFiles\Users\PaulK\1559\save\oxide\plugi..."]:188 - Invalid argument 1 to rust.GetUserID (expecting NetUser, got nil) [Oxide] Lua error (Alter) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "rust.stl"]:92: attempt to index local 'netuser' (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 "rust.stl"]:92: attempt to index local 'netuser' (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
-
For fuck sake. REALLY?!
Sadly, I dont have time to fix it atm. -
You'll get it in the end!
No way to disable crafting of the items that are in the alter - data.txt file if the player has taken damage?
Give them a notification to relog in order to craft said item?
As a temp work-a-round. -
No, I need a netuser to send a notice, but it bugs out on getting the netuser. xD
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
The inventorybug was still there.