Type `Oxide.Plugins.StackSizeController.ItemInfo' does not contain a definition for `IsNull'Fixed

StackSizeController - Failed to compile: StackSizeController.cs(805,33): error CS1061: Type Oxide.Plugins.StackSizeController.ItemInfo' does not contain a definition for IsNull' and no extension method IsNull' of type Oxide.Plugins.StackSizeController.ItemInfo' could be found. Are you missing `UnityEngine.Playables' using directive?

anyone know what to change here ?

Fix for **AdminRadar.cs**
Replace **RelationshipManager.Instance** with **RelationshipManager.ServerInstance** in the .cs file

Fix for **NTeleportation.cs**
Replace **RelationshipManager.Instance** with **RelationshipManager.ServerInstance** in the .cs file

Fix for **Clans.cs** (for reborn)
Replace **RelationshipManager.Instance** with **RelationshipManager.ServerInstance** in the .cs file

Fix for **RemoverTool.cs**
Replace **RelationshipManager.Instance** with **RelationshipManager.ServerInstance** in the .cs file

Fix for **AutonmaticAuthorization.cs**
Replace **RelationshipManager.Instance** with **RelationshipManager.ServerInstance** in the .cs file

Fix for **StackSizeController.cs**
Delete config and data file.
Upload old config and data file
Replace .cs with version 2.0.4
(I hope for your sake you have config and data file backup from this version, if not happy writing!)

I fixed it by replacing all the IsNull calls with == null

with "== null" or "null" ?

Ryrzy

with "== null" or "null" ?

To be precise if there was e.g. config.IsNull<bool>() or something like that, I changed it to config == null
ftmb2IaD2DW6jBc.jpg Yzarul

I fixed it by replacing all the IsNull calls with == null

Error while compiling: StackSizeController.cs(805,50): error CS1001: Unexpected symbol `)',expecting identifier

 

EDIT: Oh I see..my fault

ilineus

Error while compiling: StackSizeController.cs(805,50): error CS1001: Unexpected symbol `)',expecting identifier

 

EDIT: Oh I see..my fault

Same error how you fixed that

can you guys upload fixed stacks and give a link to download ?

ilineus

Error while compiling: StackSizeController.cs(805,50): error CS1001: Unexpected symbol `)',expecting identifier

 

EDIT: Oh I see..my fault

Same here how to fix that ?
3PkJSzcmseQu9WY.jpg Pluthorium1047

Same error how you fixed that

I'm still on it, it doesn't work yet..no I have this error:

Error while compiling: StackSizeController.cs(752,43): error CS1525: Unexpected symbol `ProtoBuf'

Error while compiling: StackSizeController.cs(788,33): error CS1061: Type `Oxide.Plugins.StackSizeController.ItemInfo' does not contain a definition for `IsNull' and no extension method `IsNull' of type `Oxide.Plugins.StackSizeController.ItemInfo' could be found. Are you missing `UnityEngine.Playables' using directive?

ilineus

I'm still on it, it doesn't work yet..no I have this error:

Error while compiling: StackSizeController.cs(752,43): error CS1525: Unexpected symbol `ProtoBuf'

Yes i also got to that now

No warranty on this one:

At least it compiles. Problem is moving weapons around throws an error but so far attachments and ammo are not being removed...

3PkJSzcmseQu9WY.jpg Pluthorium1047

Yes i also got to that now

Same problem here! Anyone can just send the working config?

Yep. I have the same issue.

Locked automatically