Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression error in commit 75097db #571

Closed
nitoygo opened this issue Jan 2, 2025 · 0 comments
Closed

Regression error in commit 75097db #571

nitoygo opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@nitoygo
Copy link
Contributor

nitoygo commented Jan 2, 2025

Describe the bug
Regression error in commit 75097db

To Reproduce
Steps to reproduce the behavior:

  1. Login a character with a socketed item in inventory
  2. Error:
2025-01-03 01:35:43.354 +08:00 [Error] [MUnique.OpenMU.GameLogic.Player] Error when invoking view action of MUnique.OpenMU.GameLogic.Views.Inventory.IUpdateInventoryListPlugIn
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at MUnique.OpenMU.GameServer.RemoteView.ItemSerializerHelper.SetSocketBytes(Span`1 target, Item item) in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\ItemSerializerHelper.cs:line 130
   at MUnique.OpenMU.GameServer.RemoteView.ItemSerializerExtended.SerializeItem(Span`1 target, Item item) in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\ItemSerializerExtended.cs:line 92
   at MUnique.OpenMU.GameServer.RemoteView.Inventory.UpdateInventoryListPlugIn.<>c__DisplayClass2_0.<UpdateInventoryListAsync>g__Write|1() in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\Inventory\UpdateInventoryListPlugIn.cs:line 57
   at MUnique.OpenMU.Network.ConnectionExtensions.SendAsync(IConnection connection, Func`1 packetBuilder) in C:\Users\bg3\MU\server\OpenMU\src\Network\ConnectionExtensions.cs:line 25
2025-01-03 01:38:10.025 +08:00 [Error] [MUnique.OpenMU.GameLogic.Player] Error when invoking view action of MUnique.OpenMU.GameLogic.Views.Inventory.IUpdateInventoryListPlugIny\UpdateInventoryListPlugIn.cs:line 66
System.IndexOutOfRangeException: Index was outside the bounds of the array.ViewPlugIn](IWorldObserver observer, Func`2 action) in C:\Users\bg3\MU\server\OpenMU\src\GameLogic\ObservableExtensions.cs:line 40
   at MUnique.OpenMU.GameServer.RemoteView.ItemSerializerHelper.SetSocketBytes(Span`1 target, Item item) in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\ItemSerializerHelper.cs:line 130
   at MUnique.OpenMU.GameServer.RemoteView.ItemSerializerExtended.SerializeItem(Span`1 target, Item item) in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\ItemSerializerExtended.cs:line 92
   at MUnique.OpenMU.GameServer.RemoteView.Inventory.UpdateInventoryListPlugIn.<>c__DisplayClass2_0.<UpdateInventoryListAsync>g__Write|1() in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\Inventory\UpdateInventoryListPlugIn.cs:line 57
   at MUnique.OpenMU.Network.ConnectionExtensions.SendAsync(IConnection connection, Func`1 packetBuilder) in C:\Users\bg3\MU\server\OpenMU\src\Network\ConnectionExtensions.cs:line 25
   at MUnique.OpenMU.GameServer.RemoteView.Inventory.UpdateInventoryListPlugIn.UpdateInventoryListAsync() in C:\Users\bg3\MU\server\OpenMU\src\GameServer\RemoteView\Inventory\UpdateInventoryListPlugIn.cs:line 66
   at MUnique.OpenMU.GameLogic.ObservableExtensions.InvokeViewPlugInAsync[TViewPlugIn](IWorldObserver observer, Func`2 action) in C:\Users\bg3\MU\server\OpenMU\src\GameLogic\ObservableExtensions.cs:line 40
@nitoygo nitoygo added the bug label Jan 2, 2025
@nitoygo nitoygo changed the title Regression error in commit 75097db095e08864c5d07bc0ee39c84e478ef552 Regression error in commit 75097db Jan 2, 2025
@sven-n sven-n closed this as completed in f836c35 Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant