diff --git a/README.md b/README.md index 719e4fc..7eea945 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ It's based on https://github.com/edubart/otclient and it's not backward compatib ## DISCORD: https://discord.gg/feySup6 ## Forum: https://otland.net/forums/otclient.494/ +## Open Tibia Login Server: https://github.com/OTCv8/OpenTibiaLoginServer # FEATURES - Rewritten and optimized rendering (60 fps on 11 years old computer) @@ -30,7 +31,8 @@ It's based on https://github.com/edubart/otclient and it's not backward compatib - Removed a lot of useless and outdated things - Advanced bot (https://github.com/OTCv8/otclientv8_bot) - Linux version -- Tibia 11.00 support (preys) +- Full tibia 11.00 support +- New login server (with ingame account and character creation) - Support for proxies to lower latency and protect against DDoS (extra paid option) - Bot protection (extra paid option) - [Soon] Mobile application for quick authorization @@ -45,7 +47,7 @@ The difference between paid version and this one is that the 1st one comes with # Quick Start for players -Download whole repository and run binary. +Download whole repository and run one of binary file. # Quick Start for server owners diff --git a/modules/game_imbuing/imbuing.lua b/modules/game_imbuing/imbuing.lua index c551f2f..d7f2e1a 100644 --- a/modules/game_imbuing/imbuing.lua +++ b/modules/game_imbuing/imbuing.lua @@ -32,20 +32,21 @@ function init() groupsCombo.onOptionChange = function(widget) imbueLevelsCombo:clear() if itemImbuements ~= nil then - local selectedGroup = widget:getCurrentOption()["text"] - selectedImbue = itemImbuements[widget.currentIndex] + local selectedGroup = groupsCombo:getCurrentOption().text for _,imbuement in ipairs(itemImbuements) do if imbuement["group"] == selectedGroup then - emptyImbue.imbuement:addOption(imbuement["name"]) + emptyImbue.imbuement:addOption(imbuement["name"]) end end + imbueLevelsCombo.onOptionChange(imbueLevelsCombo) -- update options end end imbueLevelsCombo.onOptionChange = function(widget) setProtection(false) + local selectedGroup = groupsCombo:getCurrentOption().text for _,imbuement in ipairs(itemImbuements) do - if imbuement["group"] == selectedImbue["group"] then + if imbuement["group"] == selectedGroup then if #imbuement["sources"] == widget.currentIndex then selectedImbue = imbuement for i,source in ipairs(imbuement["sources"]) do diff --git a/modules/game_interface/gameinterface.lua b/modules/game_interface/gameinterface.lua index 618f7a3..779a3b3 100644 --- a/modules/game_interface/gameinterface.lua +++ b/modules/game_interface/gameinterface.lua @@ -868,9 +868,6 @@ function refreshViewMode() gameMapPanel:setMarginLeft(0) gameMapPanel:setMarginRight(0) gameMapPanel:setMarginTop(0) - if modules.game_textmessage then - modules.game_textmessage.messagesPanel:setMarginTop(0) - end else gameLeftPanels:setMarginTop(modules.client_topmenu.getTopMenu():getHeight() - gameLeftPanels:getPaddingTop()) gameRightPanels:setMarginTop(modules.client_topmenu.getTopMenu():getHeight() - gameRightPanels:getPaddingTop()) @@ -954,11 +951,7 @@ function updateSize() gameMapPanel:setMarginLeft(margin) gameMapPanel:setMarginRight(margin) end - - if modules.game_textmessage then - modules.game_textmessage.messagesPanel:setMarginTop(-gameMapPanel:getMarginTop()) - end - + if modules.game_bot then for i, child in ipairs(gameMapPanel:getChildren()) do if child.botIcon and child.onGeometryChange then diff --git a/modules/game_prey/prey.lua b/modules/game_prey/prey.lua index b3557b9..1e25a2f 100644 --- a/modules/game_prey/prey.lua +++ b/modules/game_prey/prey.lua @@ -129,6 +129,7 @@ function show() preyWindow:show() preyWindow:raise() preyWindow:focus() + g_game.preyRequest() -- update preys end function toggle() diff --git a/modules/game_textmessage/textmessage.otui b/modules/game_textmessage/textmessage.otui index 32cd2b6..7af5ed1 100644 --- a/modules/game_textmessage/textmessage.otui +++ b/modules/game_textmessage/textmessage.otui @@ -8,7 +8,6 @@ TextMessageLabel < UILabel Panel anchors.fill: gameMapPanel - anchors.bottom: gameBottomPanel.top focusable: false Panel diff --git a/modules/gamelib/protocollogin.lua b/modules/gamelib/protocollogin.lua index bfaad7a..44e28dc 100644 --- a/modules/gamelib/protocollogin.lua +++ b/modules/gamelib/protocollogin.lua @@ -131,10 +131,6 @@ function ProtocolLogin:sendLoginPacket() msg:encryptRsa() end - if g_game.getFeature(GamePacketSizeU32) then - self:enableBigPackets() - end - if g_game.getFeature(GameProtocolChecksum) then self:enableChecksum() end diff --git a/otclient_dx.exe b/otclient_dx.exe index 4625e8c..815b1fc 100644 Binary files a/otclient_dx.exe and b/otclient_dx.exe differ diff --git a/otclient_gl.exe b/otclient_gl.exe index 3262eb2..defeb41 100644 Binary files a/otclient_gl.exe and b/otclient_gl.exe differ diff --git a/otclient_linux b/otclient_linux index 9c0f4ff..f4b36db 100644 Binary files a/otclient_linux and b/otclient_linux differ diff --git a/pdb/otclient_dx.zip b/pdb/otclient_dx.zip index 83e2fc9..4bf6774 100644 Binary files a/pdb/otclient_dx.zip and b/pdb/otclient_dx.zip differ diff --git a/pdb/otclient_gl.zip b/pdb/otclient_gl.zip index a6041b6..55d796e 100644 Binary files a/pdb/otclient_gl.zip and b/pdb/otclient_gl.zip differ