• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How do I move this bar? Otclient

Jpstafe

Well-Known Member
Joined
Aug 8, 2011
Messages
505
Reaction score
67
hello I would like to delete this bar, for my ot oldschool, I see that it is not necessary .. I already have the common hotckey bars well, I just need to delete this

barra.png
 
Go to a \modules\client_options\options.lua

and set to a false.
actionBar1 = false,
actionBar2 = false

after that go to a
\modules\client_options\interface.otui:

and remove or block
Code:
  OptionCheckBox
    id: actionBar1
    !text: tr("Show first action bar")

  OptionCheckBox
    id: actionBar2
    !text: tr("Show second action bar")

after that go to a %appdata% then OTClientV8 and remove everything from there which will reset all settings and you should not be able to see those actionbars and turn them on in settings anymore.
 
Go to a \modules\client_options\options.lua

and set to a false.
actionBar1 = false,
actionBar2 = false

after that go to a
\modules\client_options\interface.otui:

and remove or block
Code:
  OptionCheckBox
    id: actionBar1
    !text: tr("Show first action bar")

  OptionCheckBox
    id: actionBar2
    !text: tr("Show second action bar")

after that go to a %appdata% then OTClientV8 and remove everything from there which will reset all settings and you should not be able to see those actionbars and turn them on in settings anymore.
thanks for your answer .. the \ client_options \ options.lua part came out fine, what I can't find is the second step client_options \ interface.otui:

I do not have it equal to the code that you have passed me
Lua:
OptionPanel
  Label
    width: 130
    id: layoutLabel
    !text: tr("Layout (change requries client restart)")
    $mobile:
      visible: false
 
  ComboBox
    id: layout
    margin-top: 3
    margin-right: 2
    margin-left: 2
    $mobile:
      visible: false
    @onOptionChange: modules.client_options.setOption(self:getId(), self:getCurrentOption().text)
    @onSetup: |
      self:addOption("Default")
      for _, file in ipairs(g_resources.listDirectoryFiles("/layouts", false, true)) do
        if g_resources.directoryExists("/layouts/" .. file) then
          self:addOption(file:gsub("^%l", string.upper))
        end
      end


    
    $mobile:
      visible: false


    $mobile:
      visible: false
    
  OptionCheckBox
    id: showPing
    !text: tr('Show connection ping')
    !tooltip: tr('Display connection speed to the server (milliseconds)')

  OptionCheckBox
    id: displayNames
    !text: tr('Display creature names')

  OptionCheckBox
    id: displayHealth
    !text: tr('Display creature health bars')

  OptionCheckBox
    id: displayHealthOnTop
    !text: tr('Display creature health bars above texts')
    $mobile:
      visible: false

  OptionCheckBox
    id: hidePlayerBars
    !text: tr('Show player health bar')

  OptionCheckBox
    id: displayMana
    !text: tr('Show player mana bar')
    $mobile:
      visible: false

  OptionCheckBox
    id: topHealtManaBar
    !text: tr('Show player top health and mana bar')

  OptionCheckBox
    id: showHealthManaCircle
    !text: tr('Show health and mana circle')
    $mobile:
      visible: false



  Panel
    height: 40
    margin-top: 3
    
    Label
      width: 90
      anchors.left: parent.left
      anchors.top: parent.top
      id: leftPanelsLabel
      !text: tr("Left panels")

    Label
      width: 90
      anchors.left: prev.right
      anchors.top: prev.top
      id: rightPanelsLabel
      !text: tr("Right panels")

    Label
      width: 130
      anchors.left: prev.right
      anchors.top: prev.top
      id: backpackPanelLabel
      !text: tr("Container's panel")
      !tooltip: tr("Open new containers in selected panel")

    ComboBox
      id: leftPanels
      anchors.left: leftPanelsLabel.left
      anchors.right: leftPanelsLabel.right
      anchors.top: leftPanelsLabel.bottom
      margin-top: 3
      margin-right: 20
      @onOptionChange: modules.client_options.setOption(self:getId(), self.currentIndex)
      @onSetup: |
        self:addOption("0")
        self:addOption("1")
        self:addOption("2")
        self:addOption("3")
        self:addOption("4")

    ComboBox
      id: rightPanels
      anchors.left: rightPanelsLabel.left
      anchors.right: rightPanelsLabel.right
      anchors.top: rightPanelsLabel.bottom
      margin-top: 3
      margin-right: 20
      @onOptionChange: modules.client_options.setOption(self:getId(), self.currentIndex)
      @onSetup: |
        self:addOption("1")
        self:addOption("2")
        self:addOption("3")
        self:addOption("4")

    ComboBox
      id: containerPanel
      anchors.left: backpackPanelLabel.left
      anchors.right: backpackPanelLabel.right
      anchors.top: backpackPanelLabel.bottom
      margin-top: 3
      @onOptionChange: modules.client_options.setOption(self:getId(), self.currentIndex)
      @onSetup: |
        self:addOption("1st left panel")
        self:addOption("2nd left panel")
        self:addOption("3rd left panel")
        self:addOption("4th left panel")
        self:addOption("1st right panel")
        self:addOption("2nd right panel")
        self:addOption("3rd right panel")
        self:addOption("4th right panel")

  Label
    margin-top: 3
    id: crosshairLabel
    !text: tr("Crosshair")
    
  ComboBox
    id: crosshair
    margin-top: 3
    margin-right: 2
    margin-left: 2
    @onOptionChange: modules.client_options.setOption(self:getId(), self.currentIndex)
    @onSetup: |
      self:addOption("None")
      self:addOption("Default")
      self:addOption("Full")

  Label
    id: floorFadingLabel
    margin-top: 6
    @onSetup: |
      local value = modules.client_options.getOption('floorFading')
      self:setText(tr('Floor fading: %s ms', value))

  OptionScrollbar
    id: floorFading
    margin-top: 3
    minimum: 0
    maximum: 2000

  Label
    id: floorFadingLabel2
    margin-top: 6
    !text: (tr('Floor fading doesn\'t work with enabled light'))
 
thanks for your answer .. the \ client_options \ options.lua part came out fine, what I can't find is the second step client_options \ interface.otui:

I do not have it equal to the code that you have passed me
then remove game_actionbar folder from modules. Will do the job too
 
then remove game_actionbar folder from modules. Will do the job too
I have already solved it, the problem I have is that I delete all the folders in% appdata% and now it does not enter the account, but I test it with my virtual machine and if it works
 
Back
Top