mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 06:33:26 +02:00
Updated to OTCv8 3.0 rev 99
This commit is contained in:
@@ -206,6 +206,8 @@ GameMapIgnoreCorpseCorrection = 117
|
||||
GameDontCacheFiles = 118 -- doesn't work with encryption and compression
|
||||
GameBigAurasCenter = 119 -- Automatic negative offset for aura bigger than 32x32
|
||||
GameNewUpdateWalk = 120 -- Walk update rate dependant on FPS
|
||||
GameNewCreatureStacking = 121 -- Ignore MAX_THINGS limit while adding to tile
|
||||
GameCreaturesMana = 122 -- get mana from server for creatures other than Player
|
||||
|
||||
LastGameFeature = 130
|
||||
|
||||
|
@@ -110,7 +110,7 @@ function ProtocolLogin:sendLoginPacket()
|
||||
msg:addU8(1) --unknown
|
||||
msg:addU8(1) --unknown
|
||||
|
||||
if g_game.getClientVersion() >= 1072 then
|
||||
if g_game.getProtocolVersion() >= 1072 then
|
||||
msg:addString(string.format('%s %s', g_graphics.getVendor(), g_graphics.getRenderer()))
|
||||
else
|
||||
msg:addString(g_graphics.getRenderer())
|
||||
@@ -221,7 +221,7 @@ end
|
||||
function ProtocolLogin:parseCharacterList(msg)
|
||||
local characters = {}
|
||||
|
||||
if g_game.getClientVersion() > 1010 then
|
||||
if g_game.getProtocolVersion() > 1010 then
|
||||
local worlds = {}
|
||||
|
||||
local worldsCount = msg:getU8()
|
||||
|
Reference in New Issue
Block a user