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:
BeniS
2012-12-27 02:56:06 +13:00
parent a86449dea9
commit 619285069c
13 changed files with 103 additions and 29 deletions

View File

@@ -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