mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 1.2 - more advanced bot, new hotkeys, bug fixes
This commit is contained in:
@@ -17,7 +17,7 @@ local errorOccured = false
|
||||
local statusLabel = nil
|
||||
local compiledConfig = nil
|
||||
local configTab = nil
|
||||
local tabs = {"main", "macros", "hotkeys", "callbacks", "other"}
|
||||
local tabs = {"main", "panels", "macros", "hotkeys", "callbacks", "other"}
|
||||
local mainTab = nil
|
||||
local activeTab = nil
|
||||
local editorText = {"", ""}
|
||||
@@ -26,6 +26,9 @@ function init()
|
||||
dofile("defaultconfig")
|
||||
dofile("executor")
|
||||
|
||||
g_ui.importStyle("ui/basic.otui")
|
||||
g_ui.importStyle("ui/panels.otui")
|
||||
|
||||
connect(g_game, {
|
||||
onGameStart = online,
|
||||
onGameEnd = offline,
|
||||
@@ -346,6 +349,10 @@ function clearConfig()
|
||||
widget:destroy()
|
||||
end
|
||||
end
|
||||
local gameMapPanel = modules.game_interface.getMapPanel()
|
||||
if gameMapPanel then
|
||||
gameMapPanel:unlockVisibleFloor()
|
||||
end
|
||||
end
|
||||
|
||||
function refreshConfig()
|
||||
|
Reference in New Issue
Block a user