Jump to content

Question about downloading script each time


cocowen

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...