Jump to content

server crash

Closed 2.0.8

Theswingingturtle
Theswingingturtle

Posted (edited)

I don't know what it is, but got it this morning
[Error] Failed to call hook 'OnPlayerLootEnd' on plugin 'ShoppyStock v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.CarbonAliases.LUI.SendUi (BasePlayer player) [0x00000] in <8d5eac3d7c2543cb851b260642ab9512>:0 
  at Oxide.Plugins.ShoppyStock.UpdateCurrencyDepositUI (BasePlayer player, ItemContainer cont) [0x00123] in <b12570b3355c4146b8a686e18ca8b444>:0 
  at Oxide.Plugins.ShoppyStock+<>c__DisplayClass120_0.<SpawnAndOpenContainer>b__3 () [0x00017] in <b12570b3355c4146b8a686e18ca8b444>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void()
  at ItemContainer.MarkDirty () [0x00022] in <44b37ac32d304ed58c19aa1a111d2b5c>:0 
  at ItemContainer.Remove (Item item) [0x0008c] in <44b37ac32d304ed58c19aa1a111d2b5c>:0 
  at Item.SetParent (ItemContainer target) [0x00012] in <44b37ac32d304ed58c19aa1a111d2b5c>:0 
  at Item.RemoveFromContainer () [0x00009] in <44b37ac32d304ed58c19aa1a111d2b5c>:0 
  at Item.MoveToContainer (ItemContainer newcontainer, System.Int32 iTargetPos, System.Boolean allowStack, System.Boolean ignoreStackLimit, BasePlayer sourcePlayer, System.Boolean allowSwap) [0x005f9] in <44b37ac32d304ed58c19aa1a111d2b5c>:0 
  at Oxide.Plugins.ShoppyStock.OnPlayerLootEnd (PlayerLoot loot) [0x00120] in <b12570b3355c4146b8a686e18ca8b444>:0 
  at Oxide.Plugins.ShoppyStock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001aa] in <b12570b3355c4146b8a686e18ca8b444>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

It happens when players rapidly open/close the deposit UI.

Environment: Oxide 2.0.4138 / CSharp 2.0.4149, CarbonAliases 1.1.3, Unity 2022.3.41f1.

The server crashed immediately after this error.

Edited by Theswingingturtle
giving more details
ThePitereq

Posted

Investigating on discord for a while, will close it here.

ThePitereq

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.8k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.