Give
Moved
Total Downloads: 21,435 - First Release: Oct 21, 2014 - Last Update: Mar 9, 2017
- 5/5, 35 likes
-
Can you /give in Rusty console without having to be in the game?
-
inv.giveplayer
-
i have updatet de give.lua but it works mo more now....
it gives big errors in rusty... what i do wrong??
sorry for bad english
Code:[Oxide] 11:46 AM [Error] rustcore: NullReferenceException while calling OnRunCommand: Object reference not set to an instance of an object at Oxide.Rust.Libraries.Command. HandleChatCommand (.BasePlayer sender, System.String name, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Rust.Plugins.RustCore.OnRunCommand (.Arg arg) [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
Last edited by a moderator: Feb 8, 2015 -
You dont have oxide latest version
-
this is all what i have from my server host... -
Wulf Community Admin
-
seem to be getting this error now since second oxide update
Code:[Error] give: LuaScriptException while calling OnServerInitialized: [string "give.lua"]:26: attempt to index field 'Arg' (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 unknow
Last edited by a moderator: Feb 9, 2015 -
Reneb updated Give with a new update entry:
fix for new oxide version
-
Reneb updated Give with a new update entry:
new C# version & kit compatibility
-
these are
Code:inv.giveplayer "Mughisi" "kit" "starter" => will give Mughisi a kit starter
-
Wow, Thanks!
Where it saves all logs? And can it saves all logs? Thanks! -
When i do /give Hatchet 1, its not working. Its say "No player found"
Oxide Version: 2.0.309, Rust Protocol: 1199
-
oxide/logs/
you'll have to search for: "GIVE:"
that's the beginning of the log string.
[DOUBLEPOST=1423699819][/DOUBLEPOST]
actually now you dont have to put the amount.
so /give SeB Hatchet
will work -
Ok its working, but i don't understand, in admin and with 1.1.4, it was really simply to give anything to himself i could do : /give hatchet 1.
Now its more complicated to give fast to yourself. -
-
nop can't make a file other then a json file, and it's too hard to read it manuallt,
it's way easier to just use CTRL+F in the logs
and yes i guess i need to find a good way on doing that SeBL4RD i'll think of a way, i still have some improvements to do to this version. -
Waiting for deathmessages big update -
Oxide] 8:42 PM [Info] GIVE: {E1}NikNak used /give NikNak Lantern 1
[Oxide] 8:42 PM [Error] Give: FormatException while calling cmdChatGivePlayer:
[Oxide] 8:42 PM [Error] Give: Input string was not in a correct format.
at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0 -
OMG reneb you broke Give.
Before I could type in /give wood 500000 and now I try it and it comes up no player found. Worst I add my name is there and it doesn't stack it, give me 1000 at a time