Jump to content

Compile Error

Fixed 2.9.96 2.9.97

venda_vole
venda_vole

Posted

Error while compiling Skinner: 'ItemSkin' does not contain a definition for 'itemid' and no accessible extension method 'itemid' accepting a first argument of type 'ItemSkin' could be found (are you missing a using directive or an assembly reference?) | Line: 322, Pos: 62

Aeryn Sun

Posted (edited)

same here...

 

08/13 08:18:25 | Error while compiling Skinner: 'ItemSkin' does not contain a definition for 'itemid' and no accessible extension method 'itemid' accepting a first argument of type 'ItemSkin' could be found (are you missing a using directive or an assembly reference?) | Line: 322, Pos: 62

 

this is the line in question:

 

                        _contentToItemID[skin.id] = itemSkin.itemid;

 

probably an easy fix, but i don't know enough about these cs files and how to properly fix this.

Edited by Aeryn Sun
m3dus4

Posted (edited)

2 hours ago, Aeryn Sun said:

same here...

 

08/13 08:18:25 | Error while compiling Skinner: 'ItemSkin' does not contain a definition for 'itemid' and no accessible extension method 'itemid' accepting a first argument of type 'ItemSkin' could be found (are you missing a using directive or an assembly reference?) | Line: 322, Pos: 62

 

this is the line in question:

 

                        _contentToItemID[skin.id] = itemSkin.itemid;

 

probably an easy fix, but i don't know enough about these cs files and how to properly fix this.

u can try this:

 

search for:
_contentToItemID[skin.id] = itemSkin.itemid;

and replace it with:
_contentToItemID[skin.id] = itemSkin.itemDefinition.itemid;

Edited by m3dus4
Aeryn Sun

Posted

yep that fixed it, no compile errors.

 

 

08/13 10:40:50 | Unloaded plugin Skinner v2.9.94 by Whispers88

08/13 10:40:57 | [CSharp] Started Oxide.Compiler v successfully

08/13 10:41:01 | Skinner was compiled successfully in 1549ms

08/13 10:41:01 | Calling 'OnServerInitialized' on 'Skinner v2.9.96' took 163ms

08/13 10:41:01 | Loaded plugin Skinner v2.9.96 by Whispers88

08/13 10:41:05 | Restarting in 120 seconds

 

 

_contentToItemID[skin.id] = itemSkin.itemDefinition.itemid;    < this fixed it.!!!

 

  • Love 1
  • Curator
Whispers88

Posted

The fix is out, please make sure you are using the latest version

  • Like 1
  • Curator
Whispers88

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 2.9.97

1.9m

Downloads

Total number of downloads.

9k

Customers

Total customers served.

131.6k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.