Updated to OTCv8 3.0 rev 99

This commit is contained in:
OTCv8
2021-09-05 16:09:55 +00:00
parent a22d7a7a63
commit 4231b74314
96 changed files with 3024 additions and 1713 deletions

View File

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

View File

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