• 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

    How to remove right and left panel?

    I have done it that way: UIWindow id: gameBottomPanel anchors.left: gameLeftPanel.right anchors.bottom: parent.bottom width: 430 height: 200 ResizeBorder id: bottomResizeBorder anchors.bottom: parent.bottom anchors.left: parent.left...
  2. margoh

    [OTCLIENT] Function change vocations

    In connect and disconnect: onVocationChange = onVocationChange
  3. margoh

    [OTCLIENT] Function change vocations

    In refresh onVocationChange(localPlayer, localPlayer:getVocation()) And make function function onVocationChange(localPlayer, vocation) healthinfoWindow:setImageSource(Backgrounds[vocation].path) end Ofc don't forget to add it to connect and disconnect. That should do.
  4. margoh

    Scripter OTC Health Bar Hud

    Take hp, mp and exp from healthinfo module and level from skills, add onVocationChange(localPlayer, localPlayer:getVocation()) - if I remember it is like that, and done. No need to pay for it.
  5. margoh

    OTClient health bar question

    You just have a typo in "refresh". Inside onNameChange you have (player, {...}). It should be localPlayer like on the rest of declared variables. Inside onLevelChange the variable value is our current level.
  6. margoh

    OTClient Increase the width from chat button

    This: tab:setWidth(tab:getTextSize().width + tab:getPaddingLeft() + tab:getPaddingRight()) In modules/corelib/ui/tabbar.lua, in function UITabBar:addTab(text, panel, icon)
  7. margoh

    OTClient window fixed?

    You have to add to the Sources function that will setMaximumSize. Like you have here: g_window.setMinimumSize({ width = 600, height = 480 }) Or inside platform/win32window.cpp edit inside void WIN32Window::internalCreateWindow(): DWORD dwStyle = WS_OVERLAPPEDWINDOW; To: DWORD dwStyle =...
  8. margoh

    OTClient Chat Bug

    Check terminal for errors.
  9. margoh

    Doubt- OTClient Theme

    Check older releases of OTC.
  10. margoh

    OTClient health bar question

    function onLevelChange(localPlayer, value, percent) rootpanel = modules.game_interface.getRootPanel() experienceBar = g_ui.createWidget('ExperienceBar', rootpanel) experienceBar:setPercent(percent) experienceBar:setText(percent .. '%')...
  11. margoh

    OTClient health bar question

    Check how health info is made. Inside init. connect(LocalPlayer, { onNameChange = onNameChange }) Paste this in a place where it checks if game is online. onNameChange(player, g_game.getCharacterName()) Function. function onNameChange(player, name) characterName:setText(name) end
  12. margoh

    OTClient health bar question

    You can make function to clip image according to % of hp/mana I did it like that function onHealthChange(localPlayer, health, maxHealth) local healthPercent = ((health*100)/maxHealth) local globalWidth = healthBar:getImageTextureWidth() -- 100% local sizePercent =...
  13. margoh

    TFS 1.X+ Change Club weapon slot position to the right

    Otc related, inside game_inventory
  14. margoh

    IsInRange how to use?

    Instead of command make an action script.
  15. margoh

    [OTClient Mod] Loot stats

    Great module.
  16. margoh

    MiniMap Otclient Help

    Just declare it?
  17. margoh

    Display the nick

    edubart/otclient
  18. margoh

    Display the nick

    g_game.getCharacterName()
  19. margoh

    Dark skin for normal Tibia client 8.6

    Wrong section.
  20. margoh

    Changing background image

    $hover !disabled: background-color: orange
Back
Top