Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
3K
Use same config for all chars #14
This will allow you to use multiple storage files for the same bot config
Open your OtClient folder and open \modules\game_bot\bot.lua

Find the text -- storage and replace with the code below.
You can then copy the contents of your previous storage.json into the new file and reopen the config.
File: bot.lua | 460b | 13 lines.
--[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
]]--
  local configName = settings[index].config
+ local playerName = g_game.getLocalPlayer():getName()

  -- storage
  botStorage = {}
  
  local path = "/bot/" .. configName .. "/storage/"
  if not g_resources.directoryExists(path) then
    g_resources.makeDir(path)
  end

- botStorageFile = path.."profile_" .. g_settings.getNumber('profile') .. ".json"
+ botStorageFile = path.. playerName.."_profile_" .. g_settings.getNumber('profile') .. ".json"
+ add | - remove

22 Jun 2024
Ads