mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
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:
@@ -191,4 +191,10 @@ VipState = {
|
||||
Pending = 2
|
||||
}
|
||||
|
||||
ExtendedIds = {
|
||||
Activate = 0,
|
||||
Locale = 1,
|
||||
Ping = 2
|
||||
}
|
||||
|
||||
-- @}
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -5,7 +5,7 @@ Module
|
||||
website: www.otclient.info
|
||||
|
||||
dependencies:
|
||||
- game_tibiafiles
|
||||
- game_things
|
||||
|
||||
@onLoad: |
|
||||
dofile 'const'
|
||||
|
@@ -28,6 +28,7 @@ end
|
||||
|
||||
function ProtocolLogin:sendLoginPacket()
|
||||
local msg = OutputMessage.create()
|
||||
|
||||
msg:addU8(ClientOpcodes.ClientEnterAccount)
|
||||
msg:addU16(g_game.getOs())
|
||||
|
||||
|
Reference in New Issue
Block a user