diff --git a/README.md b/README.md index abc736a..f2d1529 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,18 @@ Preview version of OTClientV8, version v1.0 with tutorials will be released soon. It's based on https://github.com/edubart/otclient and it's not backward compatible. -# DISCORD -OTClientV8 discord channel: https://discord.gg/feySup6 (new, working link!) - -# Forum -OTClientV8 forum: https://otland.net/forums/otclient.494/ +## DISCORD: https://discord.gg/feySup6 +## Forum: https://otland.net/forums/otclient.494/ # FEATURES - Rewritten and optimized rendering (60 fps on 11 years old computer) - Better DirectX9 and DirectX11 support - Adaptive rendering (automated graphics optimizations) -- Rewritten light rendering +- Rewritten and optimized light rendering - Rewritten path finding and auto walking -- Rewritten walking system -- HTTP lua API with JSON support -- Auto updater +- Rewritten walking system with animations +- HTTP/HTTPS lua API with JSON support +- Auto updater with failsafe (recovery) mode - New filesystem - File encryption and compression - Automatic diagnostic system @@ -28,12 +25,15 @@ OTClientV8 forum: https://otland.net/forums/otclient.494/ - Updated hotkey manager - Updated and optimized battle list - Crosshair, floor fading, extra health/mana bars and panels +- Much more client options - Removed a lot of useless and outdated things -- Bot (https://github.com/OTCv8/otclientv8_bot) +- Advanced bot (https://github.com/OTCv8/otclientv8_bot) - Support for proxies to lower latency and protect against DDoS (extra paid option) +- Bot protection (extra paid option) +- [Soon] Mobile application for quick authorization ### And hundreds of smaller features, optimizations and bug fixes! -### Check out directory `tutorials` to see how activate and use features +### Check out directory `tutorials` to see how activate and use new features ### There's github repo of tfs 1.3 with otclientv8 features: https://github.com/OTCv8/otclientv8-tfs diff --git a/modules/game_bot/bot.otmod b/modules/game_bot/bot.otmod index 05634ea..1d9fd55 100644 --- a/modules/game_bot/bot.otmod +++ b/modules/game_bot/bot.otmod @@ -1,8 +1,8 @@ Module name: game_bot - description: Bot + description: Advanced OTClientV8 Bot author: otclient@otclient.ovh sandboxed: true - scripts: [ bot ] + scripts: [ ui/botitemcontainer, ui/botwaypoints, bot ] @onLoad: init() @onUnload: terminate() diff --git a/modules/game_bot/executor.lua b/modules/game_bot/executor.lua index dc241e9..aed94dd 100644 --- a/modules/game_bot/executor.lua +++ b/modules/game_bot/executor.lua @@ -38,6 +38,7 @@ function executeBot(config, storage, tabs, msgCallback) context.regexMatch = regexMatch -- classes + context.g_resources = g_resources context.g_game = g_game context.g_map = g_map context.g_ui = g_ui diff --git a/modules/game_bot/panels/basic.lua b/modules/game_bot/panels/basic.lua index cfa376d..f9c5135 100644 --- a/modules/game_bot/panels/basic.lua +++ b/modules/game_bot/panels/basic.lua @@ -26,7 +26,7 @@ end Panels.AntiParalyze = function(parent) context.macro(500, "Anti Paralyze", nil, function() - if not context.isParalyzed() and context.storage.autoHasteText:len() > 0 then + if context.isParalyzed() and context.storage.autoAntiParalyzeText:len() > 0 then if context.saySpell(context.storage.autoAntiParalyzeText, 2500) then context.delay(5000) end diff --git a/modules/game_bot/ui/botitemcontainer.lua b/modules/game_bot/ui/botitemcontainer.lua new file mode 100644 index 0000000..e69de29 diff --git a/modules/game_bot/ui/botwaypoints.lua b/modules/game_bot/ui/botwaypoints.lua new file mode 100644 index 0000000..e69de29 diff --git a/modules/game_outfit/outfit.lua b/modules/game_outfit/outfit.lua index 6c221e0..919d281 100644 --- a/modules/game_outfit/outfit.lua +++ b/modules/game_outfit/outfit.lua @@ -247,10 +247,12 @@ function onColorCheckChange(colorBox) colorBox:setChecked(true) colorBox.onCheckChange = onColorCheckChange else - currentColorBox.onCheckChange = nil - currentColorBox:setChecked(false) - currentColorBox.onCheckChange = onColorCheckChange - + if currentColorBox then + currentColorBox.onCheckChange = nil + currentColorBox:setChecked(false) + currentColorBox.onCheckChange = onColorCheckChange + end + currentColorBox = colorBox if currentClotheButtonBox:getId() == 'head' then diff --git a/otclient_dx.exe b/otclient_dx.exe index d99f84d..93d7e89 100644 Binary files a/otclient_dx.exe and b/otclient_dx.exe differ diff --git a/otclient_gl.exe b/otclient_gl.exe index 3a1b022..4b644bf 100644 Binary files a/otclient_gl.exe and b/otclient_gl.exe differ diff --git a/pdb/otclient_dx.pdb b/pdb/otclient_dx.pdb index 64b4727..eacea39 100644 Binary files a/pdb/otclient_dx.pdb and b/pdb/otclient_dx.pdb differ diff --git a/pdb/otclient_gl.pdb b/pdb/otclient_gl.pdb index ba4bf16..d648f4c 100644 Binary files a/pdb/otclient_gl.pdb and b/pdb/otclient_gl.pdb differ