cocowen Posted July 13, 2013 Share Posted July 13, 2013 I know that if you want to play at a server , you need to download two steps , and the second steps only need to download one time , but each time you enter the server the , first step of download have to do , and my question is I am making a gamemode , the first step need to download 2Mb files then I add 600 vehilce , the first step need to download 3Mb files so I want to ask : 1.what increase the files which need to be download at first step , is it serverside script? 2.will it cause many waste of Bandwidth ? 3. do we have some function to control it ? or decrease the files size? Link to comment
Jaysds1 Posted July 13, 2013 Share Posted July 13, 2013 The first download is always the client files, after that, the server files would be downloaded and saved in the players ram. 1. I'm not sure what increases it, but I think it's something to do with how much characters are in a file and integers. 2. It also depends on how you write your script 3. No, we do not have any. Link to comment
ixjf Posted July 13, 2013 Share Posted July 13, 2013 Jaysds1: Server-side code is run on the server, not on the client (pretty obvious). cocowen: The size increases because you add more files to download, again, obvious. Link to comment
cocowen Posted July 13, 2013 Author Share Posted July 13, 2013 thank u two kind friend ! Link to comment
Moderators IIYAMA Posted July 13, 2013 Moderators Share Posted July 13, 2013 The first step is downloading, scripts,models etc. The second step a far as I know, elementdata, playerdata, anti cheat things etc. The second step got increased by the amount of synchronisation data. I don't know if that is true what I just did said, but it sounds very logistic to me. YOU CAN: 3. do we have some function to control it ? or decrease the files size? 1: Just reduce the amount of models/images/music. 2: try working with: https://wiki.multitheftauto.com/wiki/FetchRemote 3: or you have to wait for this: https://wiki.multitheftauto.com/wiki/DownloadFile 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