mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 12:16:23 +01:00
Fix locale send, spelllist reload, few changes
This commit is contained in:
@@ -25,7 +25,7 @@ function ProtocolLogin:cancelLogin()
|
||||
self:disconnect()
|
||||
end
|
||||
|
||||
function ProtocolLogin:sendLoginPacket(extended)
|
||||
function ProtocolLogin:sendLoginPacket()
|
||||
local msg = OutputMessage.create()
|
||||
|
||||
msg:addU8(ClientOpcodes.ClientEnterAccount)
|
||||
@@ -130,12 +130,12 @@ function ProtocolLogin:parseCharacterList(msg)
|
||||
character.worldName = msg:getString()
|
||||
character.worldIp = iptostring(msg:getU32())
|
||||
character.worldPort = msg:getU16()
|
||||
characters[i] = character
|
||||
|
||||
-- ??
|
||||
if g_game.getProtocolVersion() >= 971 then
|
||||
msg:getU8()
|
||||
character.unknown = msg:getU8()
|
||||
end
|
||||
|
||||
characters[i] = character
|
||||
end
|
||||
|
||||
local account = {}
|
||||
|
||||
Reference in New Issue
Block a user