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

Minimize battle bug

4drik

Advanced OT User
Joined
Jun 30, 2014
Messages
254
Reaction score
202
Hello.
Battle window on minimize, the problem concerns hideButtons:
Gz6sFAR.png


#Edit:
Fixed.

Go to OTClient\modules\corelib\ui\uiminiwindow.lua
after:
Code:
  self:getChildById('bottomResizeBorder'):hide()
paste:
Code:
  local filterPanel = self:getChildById('filterPanel')
  if filterPanel then
    filterPanel:hide()
  end
after:
Code:
  self:getChildById('bottomResizeBorder'):show()
paste:
Code:
  local filterPanel = self:getChildById('filterPanel')
  if filterPanel then
    filterPanel:show()
  end

Restart OTClient.
Done.
 
Last edited:
You can look for something on the otclient battle module on the github project
 
You can look for something on the otclient battle module on the github project
I have the latest files, gugu15. MiniWindow is not hiding Panel right, do we have a fix?
 
You can add condition, if isMinimized then hide else show end
Or try to set proper styling. I had that problem too, I don't remember how do I fixed it, but I think it was something with margins.
 
margoh, can you check your fixed battle otul and share the fix?
 
Problem fixed. Solution in post #1.

Kind Regards,
Adrik
 
Back
Top