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

OTClient help me with the client? otv8

bpm91

Intermediate OT User
Joined
May 23, 2019
Messages
931
Solutions
7
Reaction score
127
Location
Brazil
YouTube
caruniawikibr
I've been trying for a while to configure this window to be smaller, such as skills, etc., but I haven't been successful.


this is the limit it closes itself to. I don't know for what reason.
 
Last edited:
unjustifiedpoins.lua u say?
it doesn't decrease any more than that, I wanted it to be like skills.lua, being able to appear just one square away.
Post automatically merged:

i found this on skills.lua in function refresh()
Lua:
local contentsPanel = skillsWindow:getChildById('contentsPanel')
  skillsWindow:setContentMinimumHeight(44)
  if hasAdditionalSkills then
    skillsWindow:setContentMaximumHeight(480)
  else
    skillsWindow:setContentMaximumHeight(309)
  end
 
my refresh have only this

Lua:
function refresh()
  local localPlayer = g_game.getLocalPlayer()

  local unjustifiedPoints = g_game.getUnjustifiedPoints()
  onUnjustifiedPointsChange(unjustifiedPoints)

 
  onOpenPvpSituationsChange(g_game.getOpenPvpSituations())
end
Post automatically merged:

I did this but still without success, I'm trying to make it have a minimum and maximum size
Lua:
function refresh()
  local localPlayer = g_game.getLocalPlayer()

  local unjustifiedPoints = g_game.getUnjustifiedPoints()
  onUnjustifiedPointsChange(unjustifiedPoints)

 
  onOpenPvpSituationsChange(g_game.getOpenPvpSituations())
 
  local contentsPanel = unjustifiedPointsWindow:getChildById('contentsPanel')
  unjustifiedPointsWindow:setContentMinimumHeight(44)
  if hasAdditionalSkills then
    unjustifiedPointsWindow:setContentMaximumHeight(480)
  else
    unjustifiedPointsWindow:setContentMaximumHeight(309)
  end
end
 
Last edited:
Post automatically merged:

unjustifiedPointsWindow:setContentMinimumHeight(44)

change 44 to 20 or something
work now, i use this line on
unjustifiedPointsWindow = g_ui.loadUI('unjustifiedpoints', modules.game_interface.getRightPanel())
unjustifiedPointsWindow:setContentMinimumHeight(44)
unjustifiedPointsWindow:setup()


ty bro <3
 
Last edited:
Back
Top