mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Game control precision edits and many other fixes:
* Updated the walking(mouse/keys) control to be a lot more responsive/smooth! * Updated creature diagonal steps to animate faster (due to demand). * Added a warning popup for boost walker option in cipsoft servers. * Added KeyUp event controls in the g_keyboard class. * Fixed an issue with the minimap not reconfiguring. * Fixed a bug with creature lights drawing properly. * Fixed refreshContainer method. * Some layout edits. * Some minor typo fixes. TODO: * Add walk event stack. * Test new walking edits extensively. * Finish pending state feature.
This commit is contained in:
@@ -3,6 +3,7 @@ EnterGame = { }
|
||||
-- private variables
|
||||
local loadBox
|
||||
local enterGame
|
||||
local motdWindow
|
||||
local motdButton
|
||||
local enterGameButton
|
||||
local protocolBox
|
||||
@@ -121,6 +122,8 @@ function EnterGame.terminate()
|
||||
enterGame = nil
|
||||
enterGameButton:destroy()
|
||||
enterGameButton = nil
|
||||
motdWindow:destroy()
|
||||
motdWindow = nil
|
||||
motdButton:destroy()
|
||||
motdButton = nil
|
||||
protocolBox = nil
|
||||
@@ -200,7 +203,9 @@ function EnterGame.doLogin()
|
||||
end
|
||||
|
||||
function EnterGame.displayMotd()
|
||||
displayInfoBox(tr('Message of the day'), G.motdMessage)
|
||||
if not motdWindow or not motdWindow:isVisible() then
|
||||
motdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)
|
||||
end
|
||||
end
|
||||
|
||||
function EnterGame.setDefaultServer(host, port, protocol)
|
||||
|
Reference in New Issue
Block a user