More multiprotocol support

This commit is contained in:
Eduardo Bart
2012-07-26 03:10:28 -03:00
parent e393bc245d
commit c795eb91ab
43 changed files with 421 additions and 341 deletions

View File

@@ -92,7 +92,7 @@ end
local function onLoginWait(message, time)
CharacterList.destroyLoadBox()
waitingWindow = g_ui.loadUI('waitinglist.otui')
waitingWindow = g_ui.displayUI('waitinglist.otui')
local label = waitingWindow:getChildById('infoLabel')
label:setText(message)

View File

@@ -168,7 +168,8 @@ function EnterGame.doLogin()
end })
g_game.chooseRsa(G.host)
g_game.setProtocolVersion(protocol)
g_game.setClientVersion(protocol)
modules.game_tibiafiles.load()
protocolLogin:login(G.host, G.port, G.account, G.password)
end