• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

OTClient always open with ctrl-

I've changed Show() to
Code:
function show()
  connect(g_app, { onClose = tryExit })
  modules.client_background.hide()
  gameRootPanel:show()
  gameRootPanel:focus()
  gameMapPanel:followCreature(g_game.getLocalPlayer())
  setupViewMode(1)
  updateStretchShrink

And
Code:
elseif mode == 1 then
    gameMapPanel:setKeepAspectRatio(false)
    gameMapPanel:setLimitVisibleRange(true)
    gameMapPanel:setZoom(9)
    gameMapPanel:setVisibleDimension({ width = 15, height = 11 })

So i can cut the right and left pannel, but now there is a absurd zoom
And everytime i try to remove that zoom i got some parts of screen black, like this:
https://i.imgur.com/Doq9Snv.png
https://i.imgur.com/jZZsg2Q.jpg

Did u know how set a good zoom, without left and right pannel and without this dark squares?


Black bars is because your server is not sending those tiles. You need to edit TFS for that. Theres a guide by flatlander on this forums.
 
Black bars is because your server is not sending those tiles. You need to edit TFS for that. Theres a guide by flatlander on this forums.

I know, i've searched about this, but it's not in my server.
But there isn't another where to adjust so i can get a nice zoom and a nice screen view without black squares, i mean with defaul OTs limit
 
gameMapPanel:setKeepAspectRatio(false) set to tue?

Be aware that bigger/wider screens will just make the thing look bad.
 
Back
Top