overview resistance
[DOUBLEPOST=1442150256][/DOUBLEPOST]new kits tutorial
Rust-Kits
Moved
Total Downloads: 70,151 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
I can't download the plugin
"The requested attachment could not be found." -
trying to upload it but it seems to bug at the moment
-
Reneb updated Kits with a new update entry:
3.0.3
[DOUBLEPOST=1442150497][/DOUBLEPOST]you can download it here atm:
Oxide2Plugins/Kits.cs at master · strykes/Oxide2Plugins · GitHub
[DOUBLEPOST=1442150515][/DOUBLEPOST]nm this it worked -
-
So I cant use these commands any more
Code:/kit add "autokit" "This is the autokit" -authlevel2 /kit add "daily" "Daily resources for being so devoted" -cooldown86400 /kit add "starter" "Help to get started, usable twice at 1hour interval" -max2 -cooldown3600 /kit add "sniper" "Help for them raids, usable twice at 1hour interval" -max2 -cooldown3600 /kit add "hunter" "Help to hunt them beasts, usable twice at 1hour interval" -max2 -cooldown3600 /kit add "blueprints" "Couple blueprints to help you start" -max1 /kit add donatorreward "Donator reward" -donator -max1
-
It's work, I can download.
-
for starter:
/kit add "starter"
/kit items description "Help to get started, usable twice at 1hour interval" max 2 cooldown 3600
for donator:
/kit add donatorreward
/kit description "Donator reward" permission donator max 1 items -
Before I start doing this is this ok
Code:/kit add "autokit" /kit items description "This is the autokit" authlevel 2/kit add "daily" /kit items description "Daily resources for being so devoted" cooldown 86400/kit add "starter" /kit items description "Help to get started, usable twice at 1hour interval" max 2 cooldown 3600/kit add "sniper" /kit items description "Help for them raids, usable twice at 1hour interval" max 2 cooldown 3600/kit add "hunter" /kit items description "Help to hunt them beasts, usable twice at 1hour interval" max 2 cooldown 3600/kit add "blueprints" /kit items description "Couple blueprints to help you start" max 1/kit add donatorreward /kit description "Donator reward" permission donator max 1 items/kit add "vip" /kit items description "VIP reward" permission vip max 1 items/kit add "moderator" /kit items description "Moderator Kit" authlevel 1/kit add "admin" /kit items description "Admin Kit" authlevel 2
Last edited by a moderator: Sep 13, 2015 -
Dont put the - And keep spaces between the option And the value
Like i showed you
And No you cant sorry -
Hi Reneb, I get the following error after adding a kit and then reloading the plugin.
Code:> oxide.reload Kits [Oxide] 3:18 PM [Info] Unloaded plugin Kits v3.0.3 by Reneb [Oxide] 3:18 PM [Info] Loaded plugin Kits v3.0.3 by Reneb [Oxide] 3:19 PM [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.0.3' (InvalidCastException: Cannot cast from source type to destination type.) [Oxide] 3:19 PM [Debug] at Oxide.Plugins.Kits.GetData (.BasePlayer player, System.String kitname, System.String dataname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [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:/kit add "daily" then, /kit items description "Daily resource kit" hide false cooldown 86400
-
you most likely downloaded the kit from version 3.0.0 or 3.0.1?
if so do: /kit resetdata -
I have the same problem with the daily kit. Using 3.0.3. Oddly enough, works on my local server but not my live server.
Edit: get error with any kit on live server or even just the /kit command. -
Just edit the file in the data folder and change it to true if you are having problems
"hide": "true",
I done mine ok, but done the command after I added the kit it worked for me -
reset all kits and data before making new kits. it possible that there is an incompatibility with the old kits plugin that tries to use the old datas.
-
Just did a fresh install, deleted every trace of the old kit plugin. Installed new, created a quick test kit. Still get following error with any /kit command.
Code:[Oxide] 11:04 AM [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.0.3' (InvalidCastException: Cannot cast from source type to destination type.) [Oxide] 11:04 AM [Debug] at Oxide.Plugins.Kits.GetData (.BasePlayer player, System.String kitname, System.String dataname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.CanRedeemKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.TryGiveKit (.BasePlayer player, System.String kitname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [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: Sep 13, 2015 -
Working
-
May be a very dumb question but I need to ask. This doesn't affect using the give plugin to give kits via console does it? I use that in a plugin of my own.
-
no it shouldnt.
-