rouzbeh_TopGTA Posted October 3, 2016 Share 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] Link to comment
Mr.Loki Posted October 3, 2016 Share 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 Link to comment
rouzbeh_TopGTA Posted October 3, 2016 Author Share 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... Link to comment
Mr.Loki Posted October 3, 2016 Share Posted October 3, 2016 Oh sorry I read that post wrong my bad. Link to comment
Bonsai Posted October 3, 2016 Share Posted October 3, 2016 Maps are automatically cached. Unless you use your own downloader, but you probably don't. Link to comment
rouzbeh_TopGTA Posted October 4, 2016 Author Share 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? Link to comment
koragg Posted October 4, 2016 Share 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. Link to comment
RizoN Posted October 4, 2016 Share 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 Link to comment
Mr_Moose Posted October 5, 2016 Share 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 Link to comment
rouzbeh_TopGTA Posted October 7, 2016 Author Share Posted October 7, 2016 (edited) oh REALLY Thanks ! thats perfect! Edited October 7, 2016 by rouzbeh_TopGTA Link to comment
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