mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Started updating to 9.8+ features, not yet finished (unsafe version).
Need to finish: * Pending login state * New creature speed changes * Vip state displays Fixed: * Creature light * Missing lua constants If someone can finish this off that would be good, I will be busy for a while :)
This commit is contained in:
@@ -38,7 +38,13 @@ end
|
||||
|
||||
-- parsing protocols
|
||||
local function parseMarketEnter(msg)
|
||||
local balance = msg:getU32()
|
||||
local balance
|
||||
if(g_game.getClientVersion() >= 980) then
|
||||
balance = msg:getU64()
|
||||
else
|
||||
balance = msg:getU32()
|
||||
end
|
||||
|
||||
local vocation = -1
|
||||
if g_game.getClientVersion() < 950 then
|
||||
vocation = msg:getU8() -- get vocation id
|
||||
|
Reference in New Issue
Block a user