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

Search results

  1. margoh

    OTClient OTclient UI helps

    mainWindow = g_ui.displayUI('main.otui') - remove that. g_keyboard.bindKeyDown('Shift+F12', onoff) move to init() and add g_keyboard.bindKeyDown('Shift+F12') to terminate(). To move mainWindow to the center, you can try adding anchors through lua - don't rlly remember if that work, butI think...
  2. margoh

    OTClient OTclient UI helps

    Not to onoff() function, put it inside init(). function init() mainButton = modules.client_topmenu.addRightToggleButton('mainButton', tr('Elfbot OTC'), 'data/imgs/elfbot_icon.png', onoff) mainWindow = g_ui.displayUI('main.otui') mainWindow:hide()...
  3. margoh

    OTClient OTclient UI helps

    It should be like that. mainButton = modules.client_topmenu.addRightToggleButton('mainButton', tr('Elfbot OTC'), 'data/imgs/elfbot_icon.png', onoff) And move mainWindow:recursiveGetChildById('minimizeButton'):hide() under mainWindow:hide(). Also you don't need to add extensions of files -...
  4. margoh

    OTClient OTclient UI helps

    2. Remove one of the left/right anchor. 3. Change botWindow to mainWindow - also change inside otui id: botWindow to id: mainWindow. 4. Are you sure that path is correct? Or remove / from the beggining, so it will look inside bot module folder for that image.
  5. margoh

    Do something Every step

    Maybe inside player.cpp function void Player::onWalk(Direction& dir) or void Player::onCreatureMove(Creature* creature, const Tile* newTile, const Position& newPos, const Tile* oldTile, const Position& oldPos, bool teleport) You can add line to change mana - this->changeMana(-1);. Didn't tested.
  6. margoh

    OTClient OTclient UI helps

    1. Don't remember, but you could add anchors when loading module. anchors.horizontalCenter/verticalCenter. 2. Wrong anchors, anchors.left: prev.right- should be anchors.left: parent.left 3. Inside lua you need to add callback to hide it, botWindow:recursiveGetChildById('minimizeButton'):hide()...
  7. margoh

    my sql problem

    I think to access phpMyAdmin page you need to start Apache too.
  8. margoh

    my sql problem

    You need to start mysql server. Use Xampp or other software.
  9. margoh

    AAC looking for script www discord

    It's not revscript D: Also, go to your Discord Server -> Server Settings -> Widget You will have there Enable Server Widget - turn it on. There will be section Premade Widget. Copy content and paste it inside your layout.
  10. margoh

    Compiling problem

    Follow this guide: https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows-%28vcpkg%29
  11. margoh

    Problem with read Tibia.spr and Tibia.dat from private server

    I wonder which legacy of goku has those sprites :d Also, you won't open them before DECIPHERING them.
  12. margoh

    Problem with read Tibia.spr and Tibia.dat from private server

    To open this spr and dat, you need to decipher them first.
  13. margoh

    Strange Error "unable to create item with invalid id"

    This error means there is no item with that id, so you need to create it through item editor. Also client id =/= server id.
  14. margoh

    Looking for Tibia.spr and Tibia.dat editor (Ubuntu or Windows)

    Object Builder working with 10.98 https://github.com/opentibiabr/tools/blob/master/Object%20Builder.rar
  15. margoh

    [TFS 1.3][Revscript]I search a script of lever that teleport to 2 teams, change colors of your outfit

    You can create condition for outfit change and remove that condition when leaving arena.
  16. margoh

    OTClient Dat/ObjectBuilder/Animation

    This one has options to set times for each frame. https://github.com/opentibiabr/tools/blob/master/Object%20Builder.rar
  17. margoh

    Right 2 panel and blocking movement

    Dat/items.otb conflict. Check in which file there is unpassable flag checked for that item - uncheck it.
  18. margoh

    Microsoft visual 2019

    With 2019 I was able to compile 1.1 and 1.3 without any problems. After first opening of solution there will be error and we need to convert solution to our version of VS, convert and that's it.
  19. margoh

    Error Storage Skill Level HELP

    It looks like you have registered item ids twice in actions.xml. Check if some of the id's are not repeating.
  20. margoh

    OTClient Map problem after logging in

    It looks like client tries to get more tiles than it is sended from server. If you add code badly it results in that error.
Back
Top