Skins
Moved
Total Downloads: 13,481 - First Release: Apr 20, 2017 - Last Update: May 5, 2017
- 5/5, 51 likes
-
For test it, you can change delay at line 429:
Code:timer.In(0.25f, () => { PlayerLootContainer(player, container.storage); });
(or maybe you have some anti cheat system, which prevent to loot this box)
Last edited by a moderator: Jun 21, 2017 -
-
Guys this plugin dont have all the skins how can i add all the skins to the plugin on the config. can some one help me please?
-
how do I add gun skins
-
-
Or just go to the steam workshop via web browser and copy the ID from the address bar. That way you know what your getting.
I have attached mine to help folk along, (there is a lot)Attached Files:
-
-
-
-
This plugin seems to have a conflict with the FurnaceSorter by Absolut, and it allows players to duplicate their ore inside of furnaces. If you would change the hooks on the plugin, that would be great, if possible. The conflict goes as is: Calling hook CanAcceptItem resulted in a conflict between the following plugins: FurnaceSorter - CannotAccept (CanAcceptResult), Skins (True (Boolean))
-
Anyone have ready config with cool sets?
Pls. 160 plugins instlalled, and i am solo!
Help me =DDDDDDDD -
Code:
05:04 [Error] Failed to call hook 'CanMoveItem' on plugin 'Skins v1.2.9' (NullReferenceException: Object reference not set to an instance of an object) 05:04 [Stacktrace] at Oxide.Plugins.Skins+<CanMoveItem>c__AnonStorey3.<>m__0 (Oxide.Plugins.SkinContainer c) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.Skins+SkinContainer].GetIndex (Int32 startIndex, Int32 count, System.Predicate`1 match) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.Skins+SkinContainer].Exists (System.Predicate`1 match) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Skins.CanMoveItem (.Item item, .PlayerInventory playerLoot, UInt32 targetContainer, Int32 targetSlot) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Skins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
@MalkoR Not my place to tell you how to code but I have a few complaints on conflicts. I can't change my code on my plugin because the rejection of items from a box is critical to prevent stacking from occuring (long story).
I noticed you are using CanAcceptItem with a return true and a return false;
I think you are trying to prevent an item from being added to the SkinBox (no pun intended) prior to it being ready to accept items; if this is the case you want to return a "ItemContainer.CanAcceptResult" instead of true/false. Also if you change the true to null I think we will be good from conflicts.
Do as you please, as it is your code but figured I'd share my two cents.
Snippet for you:
Code:object CanAcceptItem(ItemContainer container, Item item) { if (Containers.Exists(c => c.inventory == container && c.status != ContainerStatus.Ready)) { return ItemContainer.CanAcceptResult.CannotAccept; } return null; }
-
-
Would like to see the ability to add an entire collection via the console commands
skin.add hoodie "CollectionID"
This is simply so one can go through and create a collection and expedite the adding of skins process. -
EDIT: I made a video showing what it does.
I did put in a skin for the AK first, as it doesn't accept items with no skins. -
Hi guys
can some1 please help me on how do i setup the config file
i added the cs files oxide plugin folder
i did run server and gor the json file in config folder
now what must i add in the json folder
if i run the server and type /skin it says i do not have permissionLast edited by a moderator: Jul 14, 2017 -
And for the .json, you don't NEED to modify it through editing the actual file, but instead can go into your RCON or even your F1 console and do "skin.add shortnameoftheobject skinid" And it will add the skin for the item corresponding with the short name. If you need any more help let me know. Here's an actual example, "skin.add metal.facemask 784316334" For a list of all the skin id's and the shortnames of the items, go here. -
-