• 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

    [RIPOFF] Health/Mana bar.

    Improved of the first.
  2. margoh

    my window doesn't close

    That's really weird, never encountered that before, so there is not much I can help with.
  3. margoh

    my window doesn't close

    No need for destroying. Just use MainWindow:hide(). I made new module using MainWindow to test this out, when I log out it just closes. This is lua code: local rootWindow local characterName function init() connect(LocalPlayer, { onNameChange = onNameChange })...
  4. margoh

    [RIPOFF] Health/Mana bar.

    Small update on this. Add this to gamelib/util.lua function createTexturedBar(id, min, max, texWidth, texHeight, panel, step, pos) local clipY local posY local height if step == nil and pos == nil then clipY = 0 posY = 0 height = texHeight else clipY = texHeight / step...
  5. margoh

    OTClient otui question

    Default: otland/otclient (https://github.com/otland/otclient/blob/master/src/framework/ui/uiwidgetbasestyle.cpp#L72) Images: otland/otclient (https://github.com/otland/otclient/blob/master/src/framework/ui/uiwidgetimage.cpp#L34) Text: otland/otclient...
  6. margoh

    How to display outfit on inventory window?

    Declare outfitCreatureBox = nil Hook it to an element inside init() function: outfitCreatureBox = inventoryWindow:getChildById('outfitCreatureBox') Add this onOutfitChange = onOutfitChange, under onInventoryChange = onInventoryChange, in both functions init() and terminate(). Next add this...
  7. margoh

    OTClient Need help, moving FreeCapacity down.

    As an attribute for CapLabel.
  8. margoh

    OTClient Need help, moving FreeCapacity down.

    Try with text-offset.
  9. margoh

    OTClient Health/Mana Bars

    https://otland.net/threads/ripoff-health-mana-bar.274899/
  10. margoh

    [RIPOFF] Health/Mana bar.

    Hello, it is the answear to this: OTClient - Health/Mana Bars (https://otland.net/threads/health-mana-bars.274279/) Also can be used by people who wants to use custom textured bars. At this point I am not going to explain every single step, because if you modify your ui, you don't need it. Lua...
  11. margoh

    Action Advanced quest chests 1.x

    Add the chest.vocation BEFORE chest.expReward, because if you want to make chest for X vocation that gives exp, it will add exp before checking vocation, so everyone will be able to use it to get experience.
  12. margoh

    (SOLVED) Quest TFS 1.3 lua

    Try this vocation = { id = {1, 2, } }, And add this to lib file before Give player exp reward if chest.vocation then if not table.contains(chest.vocation.id, player:getVocation():getId()) then return player:sendCancelMessage("Your vocation cannot open this chest.") end end Not...
  13. margoh

    OTClient Shop Module

    local shopWindow is present at the beggining of shop.lua? If this is your "main" window: shopWindow < MainWindow(...) Then why it is declared inside of this?: ClanWindow < MainWindow(...) What you try to achieve by this?
  14. margoh

    problem with otc markup on map

    I've tested with clean otc, and I don't have any errors. Same goes for mehah one. But I have noticed that there is no position label on your screenshot. Probably you have removed it, causing those errors. Instead of deleting it, you could simply use visible: false and/or set height: 0 and it...
  15. margoh

    problem with otc markup on map

    Errors in terminal?
  16. margoh

    looking for English anime tibia servers

    Like they/you are the one who come up with the idea. https://otland.net/threads/otclient-showoff-show-off-your-otclient-project-module-ui-and-other.254460/post-2467539
  17. margoh

    OTClient Compile VS 2019

    Compiling on Windows · edubart/otclient Wiki · GitHub Open PowerShell/Command Prompt or other app you use as Administrator.
  18. margoh

    OTClient compiling error : C3861

    Have you linked/installed all libs? Compiling on Windows · edubart/otclient Wiki · GitHub
  19. margoh

    Weird problem with transparency option in Object builder

    You need to enable alpha channel on client side.
  20. margoh

    Distanceeffect problem

    In items.xml for burst arrow you have <attribute key="shootType" value="burstarrow" /> or any arrow/bolt. Probably you need to add those for your new ammo with your new values.
Back
Top