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

About map Loading from distance

Stanos

Veteran OT User
Joined
Jun 12, 2018
Messages
634
Solutions
7
Reaction score
372
Location
Europe
Hi
i have this problem that map is not showing if you are not close enough so lets say you go away from object it starts to show floor and if you come closer just then it shows the object. Ideas how to fix it? Its really annoying and makes it so disgusting
 
Solution
Just split the whole object into 2x2, it's not required much thinking to draw some conclusions.
The server part send to you only small port of the whole map which in standard is 18x14 but most of time you see on the client only 15x11 tiles which means that you have additional 1 tile for top and left or 2 tiles for bottom and right.
With this you know that you have 2 additional tiles that do rendering outside of your view port which means that objects higher than 2x2 will get "glitchy"(client will draw them only if they will be in the 18x14 tiles) in the game.
The other solution is to increase the server part that send tiles to client but it will only increase network traffic for stupid reason and if you end increasing client "view port"...
Did yoy implement the "more tiles" for otclient? Is the only thing related i could think similar to your problem
 
Then i dont get whats your problem. Could you please use share a video?
Problem is just like i said it doesnt load objects/buildings they disappear when you go away. So lets say you have big buildings that are like 10x10 pixel size so to create you probably split them to 5x5 and in rme you merge them to one building and when you got to the game one part of building disappears so you have to come closer and just then it starts to load that part.
Lets say this it the building that should look like this in game from all distances
Untitled.png

And this is how it looks when you start to go away from it
Untitled.png

It should stay the same all the time. Its pretty much with very object that are merged that are really big sprite.
 
I guess thats something about the map tiles sent to client... you can check flatlanders server part to check how to increase them
 
Just split the whole object into 2x2, it's not required much thinking to draw some conclusions.
The server part send to you only small port of the whole map which in standard is 18x14 but most of time you see on the client only 15x11 tiles which means that you have additional 1 tile for top and left or 2 tiles for bottom and right.
With this you know that you have 2 additional tiles that do rendering outside of your view port which means that objects higher than 2x2 will get "glitchy"(client will draw them only if they will be in the 18x14 tiles) in the game.
The other solution is to increase the server part that send tiles to client but it will only increase network traffic for stupid reason and if you end increasing client "view port" you will still have this "bug".
 
Solution
Instead of bumping, join the unofficial Discord server. Flatlander is online there daily.
What is the link of that dicord channel?
Just split the whole object into 2x2, it's not required much thinking to draw some conclusions.
The server part send to you only small port of the whole map which in standard is 18x14 but most of time you see on the client only 15x11 tiles which means that you have additional 1 tile for top and left or 2 tiles for bottom and right.
With this you know that you have 2 additional tiles that do rendering outside of your view port which means that objects higher than 2x2 will get "glitchy"(client will draw them only if they will be in the 18x14 tiles) in the game.
The other solution is to increase the server part that send tiles to client but it will only increase network traffic for stupid reason and if you end increasing client "view port" you will still have this "bug".
Is there function to split the object into 2x2 in ob? If not its kinda frustrating because that sprite has like 300~ details so i will spend a lot of time to recreate the sprite by 2x2
 
Back
Top