mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-04-29 10:49:21 +02:00
Small bug fixes, new lua functions and few new customized features
This commit is contained in:
parent
b471981601
commit
1df9b82846
@ -483,6 +483,10 @@ function removeTab(tab)
|
||||
g_game.closeNpcChannel()
|
||||
end
|
||||
|
||||
if getCurrentTab() == tab then
|
||||
consoleTabBar:selectTab(defaultTab)
|
||||
end
|
||||
|
||||
consoleTabBar:removeTab(tab)
|
||||
end
|
||||
|
||||
|
@ -527,7 +527,6 @@ local function openAmountWindow(callback, actionType, actionText)
|
||||
widget:setText((value*offer:getPrice())..'gp')
|
||||
itembox:setText(value)
|
||||
end
|
||||
|
||||
scrollbar:setRange(1, maximum)
|
||||
scrollbar:setValue(1)
|
||||
|
||||
|
@ -170,7 +170,8 @@ GameDoubleTradeMoney = 87
|
||||
|
||||
GameNewWalking = 90
|
||||
GameSlowerManualWalking = 91
|
||||
GameExtendedNewWalking = 92
|
||||
GameItemTooltip = 93
|
||||
|
||||
GameBot = 95
|
||||
GameBiggerMapCache = 96
|
||||
GameForceLight = 97
|
||||
@ -179,6 +180,7 @@ GameBotProtection = 99
|
||||
|
||||
GameFasterAnimations = 101
|
||||
GameCenteredOutfits = 102
|
||||
GameSendIdentifiers = 103
|
||||
|
||||
GamePacketSizeU32 = 110
|
||||
GamePacketCompression = 111
|
||||
|
@ -131,6 +131,10 @@ function ProtocolLogin:sendLoginPacket()
|
||||
msg:encryptRsa()
|
||||
end
|
||||
|
||||
if g_game.getFeature(GamePacketSizeU32) then
|
||||
self:enableBigPackets()
|
||||
end
|
||||
|
||||
if g_game.getFeature(GameProtocolChecksum) then
|
||||
self:enableChecksum()
|
||||
end
|
||||
|
BIN
otclient_dx.exe
BIN
otclient_dx.exe
Binary file not shown.
BIN
otclient_gl.exe
BIN
otclient_gl.exe
Binary file not shown.
BIN
otclient_linux
BIN
otclient_linux
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user