• 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

    MyACC how to put image on character samples

    You can achieve it through css edits.
  2. margoh

    TFS 0.X Rune dont show charges

    Probably you need to add this: <attribute key="showcharges" value="1" />.
  3. margoh

    OTClient Extended Opcode

    There is no need to send vocation via extended opcode. You can use onVocationChange inside OTC, and that should work.
  4. margoh

    OTClient How to move my magic bar above the chat?

    Create panel inside game_interface, and load spells panel inside. Check how game_console is loading it's ui.
  5. margoh

    OTClient Removing otcv8 battle sort, and making smaller states bar?

    Change the size inside otui file, there should be something like size: 18 18. For that sorting panel you can simply add visible: false inside otui too.
  6. margoh

    OTClient how would I move this button in otclient?

    container.otui look for id: upButton and edit it's anchors.
  7. margoh

    TFS 1.X+ changing emote spells color to purple

    He need to add new talktype, and then modify on client side void StaticText::compose() Something like: else if(m_mode == Otc::MessageSpell){ text += m_name; text += " casts:\n"; m_color = Color(254, 101, 0); } Set the color to purple or whatever and it's done.
  8. margoh

    OTClient 1.0

    But "as is" it is not working for that protocol.
  9. margoh

    OTClient 1.0

    No
  10. margoh

    Added images don't work.

    Errors in terminal? Probably that .png is the cause of a problem.
  11. margoh

    OTClient 1.0

    Then push it to otlands fork: https://github.com/otland/otclient/
  12. margoh

    TFS 1.X+ Visual Action Bar Spells Problem ~

    You set groupcooldown="40000" for exori max flam - that's why other spells from the group has that cd. when I create another group in src, it makes possible to use the others attacks at the same time, like that: If you have those special spells aggressive, you need to trigger somehow the...
  13. margoh

    [OTClient Showoff] Show off your OTClient project/module/UI and other

    https://github.com/otland/otclient/blob/master/src/client/creature.cpp#L395
  14. margoh

    Spoof otclient version

    In default protocollogin.lua you don't have those: msg:addU16(6453) msg:addU16(8678)
  15. margoh

    how to make a MiniWindow spawns in the middle?

    Don't know why, when I printed g_window.getWidth() having "full screened" the client, it shows that height is 1440px when in fact it is 1920px. After reloading the module it works as it should and prints 1920px :l. It's because of this line g_window.setMinimumSize({ width = 800, height = 600 })...
  16. margoh

    how to make a MiniWindow spawns in the middle?

    local testWindowWidth = testWindow:getWidth() / 2 local testWindowHeight = testWindow:getHeight() / 2 local pos = {x = (g_window.getWidth() / 2) - testWindowWidth, y = (g_window.getHeight() / 2) - testWindowHeight} testWindow:setPosition(pos)
  17. margoh

    HELP(My Otclient)

    To play, you don't need tools, src, vc12, README.md and few other files - so you can just remove them when publishing your client to download. Also, the biggest impact on size has vc12 folder.
  18. margoh

    OTClient OTclient UI helps

    Same thing, no errors, no open Have you tried to use button to open a window? Could i use LUA methods to detect window screen so set it in the middle? Yes.
  19. margoh

    OTClient OTclient UI helps

    Actually it is declared inside styles, so if you are using MiniWindow as a base of your module, you can access all it's contents (those that are declared inside styles) with lua. Try this: mainWindow = nil mainButton = nil function init() mainButton =...
  20. margoh

    OTClient OTclient UI helps

    I made a mistake. Inside terminate() should be unbind and not bind. You can add anchors using lua - mainWindow:addAnchor(AnchorHorizontalCenter, 'parent', AnchorHorizontalCenter). But you will have to play with it to make it work, as I don't remember if this work in that exact form.
Back
Top