Jump to content

Stack sizes causing RPC error

Work in Progress 2.1.2

Bear Grills
Bear Grills

Posted

Had following report from player:

When you open the skin box, if you split your stack and move the splitted item into the skinbox and you try to skin it, you get kicked

"RPC Error in MoveItem"

mdwatson1979

Posted (edited)

I have a player on my server having this issue as well. Doesn't happen every time. Just at random. He was trying to reskin a twitch rivals hazzmat to an arctic one. It was stacked as well since I use Carbon's stacksize module. 

 

To resolve this temporarily, I set all items that normally don't stack back to their default of 1 in a stack. 

Edited by mdwatson1979
Whispers88

Posted

Thanks im having a hard time reproducing this error but ill look into it further

Whispers88

Posted

Changed Status from Pending to Work in Progress

Bear Grills

Posted

4 hours ago, Whispers88 said:

Thanks im having a hard time reproducing this error but ill look into it further

I believe they were either putting a stack in - eg 4 doors, then splitting this to 2 doors then skinning. Or they were splitting a stack 2 doors and dragging those in to skin box, not sure which way it worked. If anyone else has the issue I'll ask them to send a recording.

RustyW

Posted

I just downloaded the plugin and started playing with it on the test server to see what it can do and got myself kicked out with the same error too by coincidence (I had 1 rug and stack of 49. Our max stack is 50). I'm not sure if it's the same issue in this case, it was so fast that I couldn't even see what happened. Here is the error from the log:

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.Skinner+BoxController.Preremove (Item item) [0x00185] in <f9e219f6afdc4351baa608d1df809e39>:0
  at ItemContainer.Remove (Item item) [0x0001a] in <318041ffb9d44d0286d4b5dbce692cfa>:0
  at Item.SetParent (ItemContainer target) [0x00012] in <318041ffb9d44d0286d4b5dbce692cfa>:0
  at Item.RemoveFromContainer () [0x00009] in <318041ffb9d44d0286d4b5dbce692cfa>:0
  at Item.MoveToContainer (ItemContainer newcontainer, System.Int32 iTargetPos, System.Boolean allowStack, System.Boolean ignoreStackLimit, BasePlayer sourcePlayer, System.Boolean allowSwap) [0x00553] in <318041ffb9d44d0286d4b5dbce692cfa>:0
  at PlayerInventory.GiveItem (Item item, ItemMoveModifier modifiers, ItemContainer container) [0x0003a] in <318041ffb9d44d0286d4b5dbce692cfa>:0
  at PlayerInventory.MoveItem (BaseEntity+RPCMessage msg) [0x0027f] in <318041ffb9d44d0286d4b5dbce692cfa>:0
  at PlayerInventory.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x001e2] in <318041ffb9d44d0286d4b5dbce692cfa>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
PlayerInventory:OnRpcMessage(BasePlayer, UInt32, Message)
BaseEntity:SV_RPCMessage(UInt32, Message)
ServerMgr:OnRPCMessage(Message)
ServerMgr:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Server:ProcessRead(NetRead)
Network.BaseNetwork:Cycle()
ServerMgr:Update()

EvDark1

Posted

Bump. Also having this issue.

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.