News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > UnrealEngine2 Runtime > General Discussion

Reply
 
Thread Tools Display Modes
Old 16th Feb 2006, 04:36 PM   #1
spark
Registered User
 
Join Date: Oct. 28th, 2005
Posts: 18
server redirect problems

We're running the latest registered runtime (2226.20.02) and have http server redirects working (finally!). Unfortunately, it does not seem to want to work with compression.

We've stored the map, texture, and static mesh packages on an IIS web server, set the u, .usx, etc. MIME types, and set the appropriate lines in the .ini files according to the various posts you'll find if you google for "unreal server redirect".

In the following section in the ue2runtime.ini file:

[IpDrv.HTTPDownload]
RedirectToURL=http://ourserver.at.gatech.edu/
UseCompression=False

you'll notice that we've turned off compression. Our server redirection does NOT work if we turn on compression! Runs like a champ without it, but with our packages getting larger and larger this is becoming a serious problem.

If we "ucc compress" the appropriate files and put them on the server, set the "UseCompression=" line to "True", and restart the server we get

DevNet: Received invalid file request

errors in the ucc.log file. The webserver log shows that it transfers about a quarter of the map file before crapping out, and it CONSISTENTLY transfers that same amount every time. It's almost as if there's a line in an .ini file somewhere that says, "MaxFileSizeToTransferViaHTTP=65000" or something.

Can anybody confirm that they got server redirection working with compressed files?

Thanks!
spark is offline   Reply With Quote
Old 17th Feb 2006, 12:45 AM   #2
elmuerte
Master of Science
 
elmuerte's Avatar
 
Join Date: Jan. 25th, 2000
Location: the Netherlands
Posts: 1,936
Make sure the filename case stays the same
elmuerte is offline   Reply With Quote
Old 17th Feb 2006, 07:19 AM   #3
spark
Registered User
 
Join Date: Oct. 28th, 2005
Posts: 18
Quote:
Originally Posted by El_Muerte_[TDS]
Make sure the filename case stays the same
We're not using Unix, so I don't believe case matters. Regardless, the case is the same.
spark is offline   Reply With Quote
Old 1st May 2006, 07:46 AM   #4
eblade
Registered User
 
Join Date: Jan. 29th, 2006
Posts: 113
I have an engine game, that uses UE build 2226, and we've had MANY people try to get redirection to work. One person has managed to get the redirection working, but without compression. (And for any resources larger than 6mb or so, the client crashes with an infinite loop error)

It would appears that it does not deal with virtual hosts, or it cannot deal with IP names, and only IP address .. as we have been wholly unable to get it to communicate with any server that we've referred to by name ..

(ex: redirectserver=http://lotd.swgcrimesyndicate.com/ .. when i try and connect with the client, i get "Invalid URL: http://lotd.swgcrimesyndicate.com:80/INStation.dz" even though copying that URL directly to my web browser loads the file just fine ..)

I did get it working specifying a direct IP address, but that eliminates a LOT of hosting options. Sure, we can run the redirect on our cable modems, but that doesn't give us much faster downloads than just doing the channel download.

If we try the compression on the redirect, the client's log simply states "Error renaming file", and the client complains that there is a file size mismatch, and crashes. I'm not sure if there's any way to diagnose this further, or if it would somehow be possible to replace the IPDRV.DLL with one that works somehow ...
eblade is offline   Reply With Quote
Old 1st May 2006, 01:41 PM   #5
spark
Registered User
 
Join Date: Oct. 28th, 2005
Posts: 18
I actually got confirmation from some developer folks that the server redirect stuff is *broken* in the runtime version. It will work with either Unix or Windows web servers for uncompressed files, but will *not* work with compressed files.

We're running gigabit ethernet here, and transferring uncompressed 100 GB texture packages goes relatively quickly. ;-)


steve
spark is offline   Reply With Quote
Old 14th May 2006, 04:10 PM   #6
eblade
Registered User
 
Join Date: Jan. 29th, 2006
Posts: 113
spark:
I don't know if maybe we might be able to help each other out here, somehow .. I've -finally- managed to get Land of the Dead (UE build 2226) to redirect .. but we're having problems on the client end when trying to use compression.

The game gives the error "Downloading package 'mapname' failed: File size mismatch" .. while the client throws in the log:

Warning: Error deleting file '../Cache0000.tmp'

I'm wondering if there's something that I might be able to hack to fix this .. is it calling ucc improperly to decompress? what is it trying to do that it fails to move this cache0000.tmp file? (which is the correct size, by the way)

I just tested, and if I rename the cache0000.tmp to cache0000.tmp.uz2 , then ucc decompress will work on it...

Last edited by eblade; 14th May 2006 at 04:12 PM.
eblade is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:12 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer