silkroad-laravel icon indicating copy to clipboard operation
silkroad-laravel copied to clipboard

Spirit Item and Flag Items

Open deadly009 opened this issue 4 years ago • 1 comments

Spirit item position is swapped with the flag item, when you wear a spirit item, it appears on the flag slot and if the character is wearing a flag, it shows an error on the web called "500 SERVER ERROR ".

deadly009 avatar Oct 09 '20 23:10 deadly009

SELECT IFA.*,RO.CodeName128,RO.TypeID1,RO.TypeID2,RO.TypeID3,RO.TypeID4 FROM dbo._InventoryForAvatar IFA INNER JOIN dbo._Items IT ON IT.ID64 = IFA.ItemID INNER JOIN dbo._RefObjCommon RO ON IT.RefItemID = RO.ID
WHERE IFA.CharID = 1

TypeID3 = 13 and TypeID4 = 1 then 'Hat'
TypeID3 = 13 and TypeID4 = 2 then 'Dress'
TypeID3 = 13 and TypeID4 = 3 then 'Attach'
TypeID3 = 13 and TypeID4 = 4 then 'Flag'
TypeID3 = 14 and TypeID4 = 1 then 'Spirit Item'
  • 13 - 1 (hat)

  • 13 - 2 (dress)

  • 13 - 3 (attach)

  • 13 - 4 (flag)

  • 14 - 1 (spirit)

  • typeid3 - typeid4

Thanks to Deadly

Devsome avatar Oct 30 '20 08:10 Devsome