• 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!

Help add new Client Options into OTCLIENT

shass

Banned User
Joined
Dec 3, 2017
Messages
67
Reaction score
6
Hi

Otland i have problem adding new options into option box of OTCLIENT

i edited this at option.otui giving more height to the otclient option box
Code:
MainWindow
  id: optionsWindow
  !text: tr('Options')
  size: 415 360

then in game.otui
after this
Code:
 OptionCheckBox
    id: showLeftPanel
    !text: tr('Show left panel')

i added this
Code:
    OptionCheckBox
    id: displayMana
    !text: tr('Display Mana bar')

    OptionCheckBox
    id: showPing
    !text: tr('Display ping')

then after this
Code:
OptionsBroder
    id: broder1
    anchors.top: showLeftPanel.top
    anchors.left: showLeftPanel.left
    anchors.right: showLeftPanel.right
    margin-top: -5
    margin-left: -7
i added this
Code:
      OptionsBroder
    id: broder1
    anchors.top: displayMana.top
    anchors.left: displayMana.left
    anchors.right: displayMana.right
    margin-top: -5
    margin-left: -7

       OptionsBroder
    id: broder1
    anchors.top: showPing.top
    anchors.left: showPing.left
    anchors.right: showPing.right
    margin-top: -5
    margin-left: -7

but now all the option that are placed in options > general dissapeared
where i should add more editions or what i did wrong?

help me please
 
i can't execute terminal :C

im using this
otc
Tibia - OTClient 7.4 with Real Tibia features
terminal was removed from code and i don't know how to add it again
im sure i don't have spelled wrong option border or wrongs scape tabs :/
do you have other idea?
i tried to do the same but with no success whenever i tried to add the option for a extra panel all the options dissapear :O
 
terminal was removed from code and i don't know how to add it again
just add terminal folder to libs again, should work, else check init.lua which should have an option to enable terminal again.
 
just add terminal folder to libs again, should work, else check init.lua which should have an option to enable terminal again.
thanks a lot
Code:
MainWindow
  id: optionsWindow
  !text: tr('Options')
  size: 415 360

i expanded options windows before add new optiosn in the option box

there is another otui code i should "exapand" to avoid my optiosn dissapearing?
@Olddies
if you solve this please let me know it !

Thanks to all for the replies
 
Back
Top