mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 2.1 - imbuements, wrap/unwrap, 4 byte header, packet compression and other features
This commit is contained in:
@@ -165,6 +165,8 @@ GameMinimapLimitedToSingleFloor = 81
|
||||
GameDoubleLevel = 83
|
||||
GameDoubleSoul = 84
|
||||
GameDoublePlayerGoodsMoney = 85
|
||||
GameCreatureWalkthrough = 86 -- add Walkthrough for versions less than 854, unpass = msg->getU8(); in protocolgameparse.cpp
|
||||
GameDoubleTradeMoney = 87
|
||||
|
||||
GameNewWalking = 90
|
||||
GameSlowerManualWalking = 91
|
||||
@@ -174,9 +176,14 @@ GameBiggerMapCache = 96
|
||||
GameForceLight = 97
|
||||
GameNoDebug = 98
|
||||
GameBotProtection = 99
|
||||
GameFasterAnimations = 101
|
||||
|
||||
LastGameFeature = 110
|
||||
GameFasterAnimations = 101
|
||||
GameCenteredOutfits = 102
|
||||
|
||||
GamePacketSizeU32 = 110
|
||||
GamePacketCompression = 111
|
||||
|
||||
LastGameFeature = 120
|
||||
|
||||
TextColors = {
|
||||
red = '#f55e5e', --'#c83200'
|
||||
|
@@ -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
|
||||
|
@@ -26,11 +26,7 @@ function UIItem:onDrop(widget, mousePos, forced)
|
||||
if not item or not item:isItem() then return false end
|
||||
|
||||
if self.selectable then
|
||||
self:setItemId(item:getId())
|
||||
self:setItemCount(item:getCount())
|
||||
if item:getSubType() > 1 then
|
||||
self:setItemSubType(item:getSubType())
|
||||
end
|
||||
self:setItem(Item.create(item:getId(), item:getCount()))
|
||||
return
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user