• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. sabodden

    OTClient Close button by window OTClient

    what are u mean with this? i just want to when players click on the X https://ibb.co/sWq2SFR it call that function onoff()
  2. sabodden

    OTClient Close button by window OTClient

    How to when player press X button Make the window hide calling the function OnOff just as the hotkey... function init() mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) mainWindow = g_ui.displayUI('main.otui') mainWindow:hide()...
  3. sabodden

    how to make a MiniWindow spawns in the middle?

    THANK YOU, how can i give him best answer?
  4. sabodden

    Elf Bot Problem (Shift+F11, F12 NOT WORK)

    same thing on wine :(
  5. sabodden

    how to make a MiniWindow spawns in the middle?

    i dont get your point... anchors.centerIn: parent was working before the problem is when i use anchors i cant move the window around
  6. sabodden

    how to make a MiniWindow spawns in the middle?

    mainWindow = g_ui.displayUI('main.otui') function init() mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) mainWindow = g_ui.displayUI('main.otui') SpawnsInCenter(mainWindow) mainWindow:hide()...
  7. sabodden

    how to make a MiniWindow spawns in the middle?

    :( sad, same here, only works if i reload the modules if i do anchors.centerIn: parent or anchors.horizontalcenter: parent.horizontalcenter anchors.verticalcenter: parent.verticalcenter it works, put in the center, but i cant move the window and i want to be able to move the window where...
  8. sabodden

    how to make a MiniWindow spawns in the middle?

    Lol i think that is the way!!! TY It change the position, but don't put in the center horizontal/vertical, did u know why?
  9. sabodden

    how to make a MiniWindow spawns in the middle?

    I have this UI: MiniWindow id: mainWindow width: 625 height: 160 top: 100 bottom: 100 left: 100 right: 100 @onClose: modules.game_minimap.onMiniWindowClose() but when i show it it always comes on top left how to make it always spawn in the middle of screen? on the center...
  10. sabodden

    TFS 0.X attempt to concatenate upvalue 'maximum' (a nil value)

    [0:9:04.831] [Error - Weapon Interface] [0:9:04.832] data/weapons/scripts/wands_n_rods/multielements_staff.lua:onUseWeapon [0:9:04.832] Description: [0:9:04.832] .../scripts/wands_n_rods/multielements_staff.lua:54: attempt to concatenate upvalue 'maximum' (a nil value) [0:9:04.832] stack...
  11. sabodden

    OTClient OTclient UI helps

    that top,left,right,bottom should be something i do on .lua? i mean, like mainWindow:addAnchor(AnchorHorizontalCenter, 'parent', AnchorHorizontalCenter) maybe on init, or when create the stuff? if it is a good place to test, how to do there?
  12. sabodden

    OTClient OTclient UI helps

    Yes i did, not open either on button even on shortkey why that top,left,right,bottom example is not working?
  13. sabodden

    OTClient OTclient UI helps

    Same thing, no errors, no open I'm not understanding what are u trying to do in this On this way is working: mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) function init() mainButton = modules.client_topmenu.addRightToggleButton('mainButton', tr('Elfbot...
  14. sabodden

    OTClient OTclient UI helps

    Like this? mainWindow = nil mainButton = nil function init() mainButton = modules.client_topmenu.addRightToggleButton('mainButton', tr('Elfbot OTC'), 'data/imgs/elfbot_icon.png', onoff) mainWindow = g_ui.loadUI('main', modules.game_interface.getRootPanel()) mainWindow:hide()...
  15. sabodden

    Some thoughts on the community openness direction

    We also need a documentation to UIs I'm not a frontend dev and i just dont know where to search to make otclients UIs
  16. sabodden

    OTClient OTclient UI helps

    I tried mainWindow = nil mainButton = nil function init() mainButton = modules.client_topmenu.addRightToggleButton('mainButton', tr('Elfbot OTC'), 'data/imgs/elfbot_icon.png', onoff) mainWindow = g_ui.loadUI('main', modules.game_interface.getRootPanel()) mainWindow:hide()...
  17. sabodden

    OTClient OTclient UI helps

    if i just remove that anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter it starts on north west and i can move normal... like this: mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) function init()...
  18. sabodden

    OTClient OTclient UI helps

    1) i just wanted to this starts in the center horizontal and vertical, but i would like to move the window, like it can be done on elfbot I wouldnt like this fixed on the center :( 3) like this: mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) function init()...
  19. sabodden

    OTClient OTclient UI helps

    2- TY 4- TY 3- like this? mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) function init() mainWindow:recursiveGetChildById('minimizeButton'):hide() mainWindow = g_ui.displayUI('main.otui') mainWindow:hide() mainButton =...
Back
Top