rouzbeh_TopGTA Posted October 3, 2016 Posted October 3, 2016 hi, i want to set cache of my maps to true so i want use a lot of maps for my server but i dont like players download and download again maps in every connect! download .map only once in first joining... how its possible? [sry for my bad english]
Mr.Loki Posted October 3, 2016 Posted October 3, 2016 A little note. To cache a file is to store it for later use and faster loading. Setting cache to false means that it will not be downloaded and saved. 1
rouzbeh_TopGTA Posted October 3, 2016 Author Posted October 3, 2016 10 hours ago, loki2143 said: 10 hours ago, loki2143 said: A little note. To cache a file is to store it for later use and faster loading. Setting cache to false means that it will not be downloaded and saved. i want my client download maps once and will not download on every join...
Bonsai Posted October 3, 2016 Posted October 3, 2016 Maps are automatically cached. Unless you use your own downloader, but you probably don't.
rouzbeh_TopGTA Posted October 4, 2016 Author Posted October 4, 2016 i just want my players download maps once! not everytime! and after that, dont download any map again! how i can do that?
koragg Posted October 4, 2016 Posted October 4, 2016 1 minute ago, rouzbeh_TopGTA said: i just want my players download maps once! not everytime! and after that, dont download any map again! how i can do that? Don't think it's possible. Unless there is some mod on mta community, but I haven't seen anything like it.
RizoN Posted October 4, 2016 Posted October 4, 2016 If you would develop your own map loader, you could simply transfer map data from server to client and keep it there and load when needed (however keeping .map file on client without encrypting it will result in your maps to be easily stolen) 1
Mr_Moose Posted October 5, 2016 Posted October 5, 2016 (edited) Maps stored in *.map files is not cached, those are downloaded every time a player join. You cold however convert them to a *.lua script using a tool like this to let them be cached properly. That would also reduce your download size for each map with up to 80%. Just remember to keep the *.map file in case you'd like to edit your map later using map editor. Edited October 5, 2016 by Mr_Moose 2
rouzbeh_TopGTA Posted October 7, 2016 Author Posted October 7, 2016 (edited) oh REALLY Thanks ! thats perfect! Edited October 7, 2016 by rouzbeh_TopGTA
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now