mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-04-29 18:59:20 +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()
|
g_game.closeNpcChannel()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if getCurrentTab() == tab then
|
||||||
|
consoleTabBar:selectTab(defaultTab)
|
||||||
|
end
|
||||||
|
|
||||||
consoleTabBar:removeTab(tab)
|
consoleTabBar:removeTab(tab)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -527,7 +527,6 @@ local function openAmountWindow(callback, actionType, actionText)
|
|||||||
widget:setText((value*offer:getPrice())..'gp')
|
widget:setText((value*offer:getPrice())..'gp')
|
||||||
itembox:setText(value)
|
itembox:setText(value)
|
||||||
end
|
end
|
||||||
|
|
||||||
scrollbar:setRange(1, maximum)
|
scrollbar:setRange(1, maximum)
|
||||||
scrollbar:setValue(1)
|
scrollbar:setValue(1)
|
||||||
|
|
||||||
|
@ -170,7 +170,8 @@ GameDoubleTradeMoney = 87
|
|||||||
|
|
||||||
GameNewWalking = 90
|
GameNewWalking = 90
|
||||||
GameSlowerManualWalking = 91
|
GameSlowerManualWalking = 91
|
||||||
GameExtendedNewWalking = 92
|
GameItemTooltip = 93
|
||||||
|
|
||||||
GameBot = 95
|
GameBot = 95
|
||||||
GameBiggerMapCache = 96
|
GameBiggerMapCache = 96
|
||||||
GameForceLight = 97
|
GameForceLight = 97
|
||||||
@ -179,6 +180,7 @@ GameBotProtection = 99
|
|||||||
|
|
||||||
GameFasterAnimations = 101
|
GameFasterAnimations = 101
|
||||||
GameCenteredOutfits = 102
|
GameCenteredOutfits = 102
|
||||||
|
GameSendIdentifiers = 103
|
||||||
|
|
||||||
GamePacketSizeU32 = 110
|
GamePacketSizeU32 = 110
|
||||||
GamePacketCompression = 111
|
GamePacketCompression = 111
|
||||||
|
@ -131,6 +131,10 @@ function ProtocolLogin:sendLoginPacket()
|
|||||||
msg:encryptRsa()
|
msg:encryptRsa()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if g_game.getFeature(GamePacketSizeU32) then
|
||||||
|
self:enableBigPackets()
|
||||||
|
end
|
||||||
|
|
||||||
if g_game.getFeature(GameProtocolChecksum) then
|
if g_game.getFeature(GameProtocolChecksum) then
|
||||||
self:enableChecksum()
|
self:enableChecksum()
|
||||||
end
|
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