Liberty Unleashed
Liberty Unleashed => Suggestions => Topic started by: VetalYA on November 18, 2011, 05:49:52 pm
-
Usually, all files which we want send, we write in Script.xml file:
<sound file="supersound.mp3"/>
<sound file="cool.mp3"/>
<script file="nicescript.nut" client="1" />
<script file="hehe.nut" client="1" />
I would like to see a new Squirrel Server-side Function, which will load content files Dynamically, when they needed.
Smth like:
LoadServerFile(pPlayer, format_sound , "Path_to_file/File.mp3");
Benefits: It will save bandwidth for server.
-
That would indeed be nice, Only downloads files that are needed.
On the other hand, that needs waiting.
Would be epic if this is possible..
-
That would indeed be nice, Only downloads files that are needed.
On the other hand, that needs waiting.
Would be epic if this is possible..
Well... Yes, this idea is crazy, i wrote it only because i dont want to waste my bandwidth for mp3 files.
Now i think, more useful ability will be to expand abilities of Client & Server in this way:
Simply allow to write in Script.xml - http urls, example:
<url type="sound" link="http://myysite.org/some_file.mp3" />
But it will demand to create friendship between << TCP protocol & injected into gta3.exe - LU Client >>.
-
If a dynamic file download feature is added, it should also check if the file is on the computer, and the checksum and filesize of the client's copy of the file is the same as the server's copy.
That way, the client isn't downloading the same file repeatedly in some deranged pseudo-DDoS.