ECToo / open-sauce

Automatically exported from code.google.com/p/open-sauce
0 stars 1 forks source link

Setting up Map Downloads Hosted on 3rd Party Server #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm finding it difficult to setup map downloads for my dedicated server.  I 
would like to have the downloads hosted from a 3rd party.

Please Review and advise:

----------INIT.ini-----------------

sv_log_enabled true
sv_log_rotation_threshold 1024
sv_httpserver_log_enable true
sv_httpserver_set_throttle *=1m
sv_httpserver_set_thread_count 3
sv_httpserver_start
sv_mapdownload_set_part_definitions_path definitions - My definitions file is 
withing a folder named "definitions" within the root of my dedicated server.  
sv_mapdownload_set_host http://www.halostarwars.com/download/parts
sv_mapdownload_start_server
sv_mapcycle_begin

---------------Header of my Definitions file------------------

osHTTPServer>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> -<map_download 
host_directory="http://www.halostarwars.com/download/parts" 
compressed_size="56576023" uncompressed_size="215750917" 
md5="C80E4CFB2BC5548A3C1FD43571D5AC21" name="starwars-beta.89.yelo" 
algorithm="7zip">

Any advice would be great.  Thanks

Original issue reported on code.google.com by c...@conspiracygroup.net on 24 Jul 2013 at 2:36

GoogleCodeExporter commented 9 years ago
The host_directory is appended on to the host URL, so your host_directory needs 
to be "starwars-beta.89". That way the url ends up being 
"http://www.halostarwars.com/download/parts/starwars-beta.89/".

Original comment by TheFieryScythe@gmail.com on 25 Jul 2013 at 6:56

GoogleCodeExporter commented 9 years ago
Unfortunately this didn't resolve the problem.  I'll attach my definitions file 
and Init.txt file.  Please reference these and provide any feedback you can.  
Thanks

Original comment by c...@conspiracygroup.net on 26 Jul 2013 at 5:13

Attachments:

GoogleCodeExporter commented 9 years ago
Your definitions file is still wrong. For some reason you have " 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">" floating around after 
<osHTTPServer> which makes the definition invalid XML. Also you still haven't 
changed your host_directory to host_directory="starwars-beta.89".

Also, if you were planning on encrypting the map, that currently causes clients 
to crash which will be fixed in the next release.

Original comment by TheFieryScythe@gmail.com on 1 Aug 2013 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by TheFieryScythe@gmail.com on 27 Aug 2013 at 9:55

GoogleCodeExporter commented 9 years ago
Sorry to reopen this case but I'm still struggling with getting this 
functionality to work.  Its probably something really simple that I'm 
overlooking but I have exhausted all my efforts trying to get this to work and 
I'm left scratching my head.  I would love to have this functionality for some 
public beta tests I'm planning and if I could get some help getting this setup 
I'll be forever grateful.

Thanks

Original comment by c...@conspiracygroup.net on 1 Oct 2013 at 4:40

Attachments: