Many changes

* IMPORTANT: dat/spr should now be placed in /data/things/
* Rename game_tibiafiles to game_things
* Make battle list algorithm much faster
* Split UITabBar into UITabBar and UIMoveableTabBar
* Fix other minor issues
This commit is contained in:
Eduardo Bart
2013-01-21 19:36:53 -02:00
parent 0729e35b50
commit 71cccac3da
27 changed files with 467 additions and 524 deletions

View File

@@ -191,4 +191,10 @@ VipState = {
Pending = 2
}
ExtendedIds = {
Activate = 0,
Locale = 1,
Ping = 2
}
-- @}

View File

@@ -14,8 +14,10 @@ function g_game.chooseRsa(host)
g_game.setCustomOs(OsTypes.Linux)
end
else
if currentRsa == CIPSOFT_RSA then
g_game.setCustomOs(-1)
end
g_game.setRsa(OTSERV_RSA)
g_game.setCustomOs(-1)
end
end

View File

@@ -5,7 +5,7 @@ Module
website: www.otclient.info
dependencies:
- game_tibiafiles
- game_things
@onLoad: |
dofile 'const'

View File

@@ -28,6 +28,7 @@ end
function ProtocolLogin:sendLoginPacket()
local msg = OutputMessage.create()
msg:addU8(ClientOpcodes.ClientEnterAccount)
msg:addU16(g_game.getOs())