mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
changes for otb compability
This commit is contained in:
@@ -7,8 +7,8 @@ local function sendLoginPacket(protocol)
|
||||
msg:addU16(1) -- todo: ClientOs
|
||||
msg:addU16(g_game.getClientVersion())
|
||||
|
||||
msg:addU32(g_thingsType.getSignature())
|
||||
msg:addU32(g_sprites.getSignature())
|
||||
msg:addU32(g_things.getDatSignature())
|
||||
msg:addU32(g_sprites.getSprSignature())
|
||||
msg:addU32(0) -- todo: pic signature
|
||||
|
||||
local paddingBytes = 128
|
||||
|
@@ -4,9 +4,9 @@ Module
|
||||
reloadable: false
|
||||
|
||||
@onLoad: |
|
||||
if not g_thingsType.load('/game_tibiafiles/Tibia.dat') then
|
||||
if not g_things.loadDat('/game_tibiafiles/Tibia.dat') then
|
||||
fatal(tr("Unable to load dat file, please place a valid Tibia dat in modules/game_tibiafiles/Tibia.dat"))
|
||||
end
|
||||
if not g_sprites.load('/game_tibiafiles/Tibia.spr') then
|
||||
if not g_sprites.loadSpr('/game_tibiafiles/Tibia.spr') then
|
||||
fatal(tr("Unable to load spr file, please place a valid Tibia spr in modules/game_tibiafiles/Tibia.spr"))
|
||||
end
|
||||
|
Reference in New Issue
Block a user