Hello,
So i am working on an property system, I’ve been cloning vanilla MLO’s and placing them all over the place underneath houses. After updating my FXServer build i am getting this when i connect the server:
https://gyazo.com/b707c1e7c5ab98a0f21b86ae0bb6631c
Is this related to having to many custom maps or map resources at all? Can anyone explain to me what might be causing this problem. I haven’t experienced any client crashes so far.
I’ve seen a lot of people posting about the same message that i get when i connect the server but none of the posts seem to have any answers.
1 Like
how many have you placed in your server? and are they all close to one another?
personally looks like its a problem with just how many you’ve got.
would always be a good bet to try and put as many ymaps into a consolidated file as long as they dont conflict with each other.
Well I currently have cloned about 150 interiors, but they are way below the map, z = -100.0 and the streamingExtentsMin/Max are set to same as entitiesExtentsMin/Max so they should never be streamed unless your inside one of the interiors.
Example:

well thats definitely a lot of interiors. Personally i think its just throwing out that its a large file for players to download and could cause crashes simply due to the size of it. if you’re not experiencing any other errors or client crashes yet I think you’re fine.
If you haven’t tried compiling them all into one resource yet, i would try that first.
if you already have them all compiled into one resource, then try splitting them into 2,3 or 4 resources instead of them all being in the same one. Personally that should fix it, if thats why the error is coming out.
Hope this helps lol. At least those are the steps i would take.
The thing is, the files size should not be the problem since one resource of 65 MLO’s and its the biggest of them so far its only 600 kb since its vanilla MLO’s but there are about 65 ymap files just containing the cords of where they are placed. I have no idea if having so many small files might causing a problem.
I have no idea if splitting them up into more resource might help? But i guess i could try doing that

2kb per ymap
lmao well its all interesting, i can’t really relate because i don’t have that many interiors on my server yet. So this is a new venture for me as well!
And i agree, it shouldn’t be a problem, but for whatever reason the console isn’t happy with it. 
Let me know if that helps, if not we can think of something else. Interested to see if that fixes it though 
Write a cache file using save_gta_cache [resource name] in the F8 console, place the saved file (from appdata\citizenfx\[resource name]_cache_y.dat) in your resource directory + add it as a file in __resource.lua:
file 'myresource_cache_y.dat'
6 Likes
Thank you so much that fixed it. Can you shortly explain what this does?
I guess this will make the map load client side?
It is a pre-load of the streamingExtents fields (and some other metadata) so that the entire map data doesn’t have to be downloaded just to know when the map data has to be downloaded.
2 Likes
can you explain how to do this and find out which resource needs it