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:
@@ -24,6 +24,7 @@ function init()
|
||||
g_ui.importStyle("ui/panels.otui")
|
||||
g_ui.importStyle("ui/config.otui")
|
||||
g_ui.importStyle("ui/icons.otui")
|
||||
g_ui.importStyle("ui/container.otui")
|
||||
|
||||
connect(g_game, {
|
||||
onGameStart = online,
|
||||
@@ -195,7 +196,7 @@ function refresh()
|
||||
|
||||
-- run script
|
||||
local status, result = pcall(function()
|
||||
return executeBot(configName, botStorage, botTabs, message, save, botWebSockets) end
|
||||
return executeBot(configName, botStorage, botTabs, message, save, refresh, botWebSockets) end
|
||||
)
|
||||
if not status then
|
||||
return onError(result)
|
||||
|
Reference in New Issue
Block a user