Fix locale send, spelllist reload, few changes

This commit is contained in:
Henrique Santiago
2013-02-18 22:18:10 -03:00
parent 67fc77d507
commit 59a5b8115a
6 changed files with 25 additions and 12 deletions

View File

@@ -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 = {}