Monitoring downloaded objects 0.3.8
#1

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.
Reply
#2

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.
Reply
#3

Quote:
Originally Posted by Kalcor
View Post
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.
If you make changes to a DFF or TXD file, does it make the client redownload or does it not detect changes?
Reply
#4

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.
Reply
#5

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.)
Reply
#6

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.
Reply
#7

I could just delete the cache and SA-MP should download them again if I'm still in game right?
Reply
#8

Does the server "hang" if a lot of people are downloading? And what if somebody makes some sort of an exploit where the fake clients continuously delete/redownload files from the server to make it slow / crash?
Reply
#9

Quote:
Originally Posted by wallee
View Post
Does the server "hang" if a lot of people are downloading? And what if somebody makes some sort of an exploit where the fake clients continuously delete/redownload files from the server to make it slow / crash?
Too interesting this question and the answer to it
Reply
#10

Quote:
Originally Posted by wallee
View Post
Does the server "hang" if a lot of people are downloading? And what if somebody makes some sort of an exploit where the fake clients continuously delete/redownload files from the server to make it slow / crash?
I stress tested this earlier with four people when I was loading a segment of Liberty City.

The only delay I noticed is clientside when you're connecting. Each user downloaded 1.800 files at a rate of 40KB/ps as somehow we didn't manage to get more than this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)