Posts: 5
Threads: 2
Joined: Jul 2017
Reputation:
0
Hey. I'm from the Russian segment of the players, and I use an interpreter. I have a question: can not I control the downloadable objects via the script? In some cases, this would be useful.
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
It's better if the client/server maintain a static list then players won't have to download new files very often.
But there may be some scriptable elements added later.
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
Changing the file would change the CRC, so yes the client will see it doesn't have that CRC, request and download the new version of the file. Since the original CRC is gone from the list, the client will delete the old file.
Edit: Let me be more clear. If the server changes dffs and txds, they should restart the server. The player's game can't be interrupted to download new files, so changing the files requires a complete restart.
Posts: 1,276
Threads: 6
Joined: Aug 2014
Do you think there'd be a possible way of receiving new custom objects when you close & re-open the server whilst still in game? I have to keep leaving and re-entering just for things to work and it is kind of annoying. (When I _FULLY_ restarted the server and changed some models/textures, I did not get the downloading dialog nor did I see the changes.)
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
Well the server logs shows the CRC of the files as it's starting up. Then you can check your local cache to make sure they're updating properly.
Posts: 1,276
Threads: 6
Joined: Aug 2014
I could just delete the cache and SA-MP should download them again if I'm still in game right?