mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-22 15:35:55 +02:00
Updated market to work on >10.90
This commit is contained in:
@@ -81,6 +81,15 @@ local function parseMarketDetail(protocol, msg)
|
||||
msg:getU16()
|
||||
end
|
||||
end
|
||||
|
||||
if g_game.getClientVersion() >= 1100 then -- imbuements
|
||||
if msg:peekU16() ~= 0x00 then
|
||||
table.insert(descriptions, {MarketItemDescription.Last + 1, msg:getString()})
|
||||
else
|
||||
msg:getU16()
|
||||
end
|
||||
end
|
||||
|
||||
local time = (os.time() / 1000) * statistics.SECONDS_PER_DAY;
|
||||
|
||||
local purchaseStats = {}
|
||||
|
Reference in New Issue
Block a user