Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ internal class InventoryUpdateItemResponse : IPacketHandler
/// <param name="packet">The packet.</param>
public void Invoke(Packet packet)
{
if (Game.ClientType == GameClientType.Global)
if (Game.ClientType == GameClientType.Global
|| Game.ClientType == GameClientType.RuSro)
if (packet.ReadByte() != 0) //sometimes appears 9 with unknown structure
return;

var sourceSlot = packet.ReadByte();

if (Game.ClientType == GameClientType.Global)
if (Game.ClientType == GameClientType.Global
|| Game.ClientType == GameClientType.RuSro)
packet.ReadByte(); //0 - normal, 2 - item disappearing

var itemUpdateFlag = (ItemUpdateFlag)packet.ReadByte();
Expand Down
Loading