NL0bP / AAEmu

A server software for ArcheAge written in .Net Core
Other
16 stars 8 forks source link

[BUG] <Баг с прокатом авто в Мираже> #80

Closed Black-Judge closed 2 months ago

Black-Judge commented 2 months ago

I confirm that:

Code branch that is affected by this issue

AAEmu-client_version-3.0_client(2017-03-15)+

Bug description

Проявился баг с прокатом авто в мираже, тестовый болид можно вызвать, но если попытаться занять место водителя то клиент закрывается с ошибкой.

Сообщения в логе:

09:49:52 [ERROR] PacketMarshaler - GamePacket: C->S type 039 .C2G.CSBindSlavePacket 09:49:52 [FATAL] PacketMarshaler - System.Collections.Generic.KeyNotFoundException: The given key '119' was not present in the dictionary. System.Collections.Generic.KeyNotFoundException: The given key '119' was not present in the dictionary. at System.Collections.Generic.Dictionary2.get_Item(TKey key) at AAEmu.Game.Core.Managers.SlaveManager.BindSlave(GameConnection connection, UInt32 tlId) in /server/AAEmuRage/AAEmu.Game/Core/Managers/SlaveManager.cs:line 236 at AAEmu.Game.Core.Packets.C2G.CSBindSlavePacket.Read(PacketStream stream) in /server/AAEmuRage/AAEmu.Game/Core/Packets/C2G/CSBindSlavePacket.cs:line 18 at AAEmu.Game.Core.Network.Game.GamePacket.Decode(PacketStream ps) in /server/AAEmuRage/AAEmu.Game/Core/Network/Game/GamePacket.cs:line 149 at AAEmu.Game.Core.Network.Game.GameProtocolHandler.OnReceive(GameConnection connection, Byte[] buf, Int32 bytes) in /server/AAEmuRage/AAEmu.Game/Core/Network/Game/GameProtocolHandler.cs:line 171 09:49:52 [ERROR] GameProtocolHandler - System.Collections.Generic.KeyNotFoundException: The given key '119' was not present in the dictionary. System.Collections.Generic.KeyNotFoundException: The given key '119' was not present in the dictionary. at System.Collections.Generic.Dictionary2.get_Item(TKey key) at AAEmu.Game.Core.Managers.SlaveManager.BindSlave(GameConnection connection, UInt32 tlId) in /server/AAEmuRage/AAEmu.Game/Core/Managers/SlaveManager.cs:line 236 at AAEmu.Game.Core.Packets.C2G.CSBindSlavePacket.Read(PacketStream stream) in /server/AAEmuRage/AAEmu.Game/Core/Packets/C2G/CSBindSlavePacket.cs:line 18 at AAEmu.Game.Core.Network.Game.GamePacket.Decode(PacketStream ps) in /server/AAEmuRage/AAEmu.Game/Core/Network/Game/GamePacket.cs:line 149 at AAEmu.Game.Core.Network.Game.GameProtocolHandler.OnReceive(GameConnection connection, Byte[] buf, Int32 bytes) in /server/AAEmuRage/AAEmu.Game/Core/Network/Game/GameProtocolHandler.cs:line 171

Steps to reproduce

Зайти в игру персонажем, переместиться в Мираж, вызвать болид для теста, попытаться занять место водителя.

Expected behavior

Screenshots

Any additional context for this bug

NL0bP commented 2 months ago

Исправил в 4f54aa230d041a9af91abc88c564c7555c43f91c