Client downloading from server - waterblock
by Simon Waite · in Torque Game Engine · 07/08/2004 (5:24 pm) · 0 replies
This is due to my original research first mentioned in www.garagegames.com/mg/forums/result.thread.php?qt=19835 Please refer there for more details.
No ideas on precisely what code to write as yet how to fix this, but here goes it with a description of the bug, and my research so far.
Problem:
client downloads all it's assets from the server
everything appears to be downloaded, apart from the water textures.
The "MissingFiles" portion of the Renderer is populated okay, but none of the files contained are attempted to be downloaded.
It appears to be because the engine is in:
"*** Phase 2: Download Ghost Objects" mode
And I can't see that any file transfer request packets being sent when in this mode.
Possible fixes:
Check for missing files in the phase 2 loop, and request missing files.
Add a vfs module to request (and cache?) these missing files via some alternative method (http/ftp/other) and depricating the download via TGEs network library as it can be excruciating slow) as there seems to be a bandwidth limiter per client on the (dedicated) server
No ideas on precisely what code to write as yet how to fix this, but here goes it with a description of the bug, and my research so far.
Problem:
client downloads all it's assets from the server
everything appears to be downloaded, apart from the water textures.
The "MissingFiles" portion of the Renderer is populated okay, but none of the files contained are attempted to be downloaded.
It appears to be because the engine is in:
"*** Phase 2: Download Ghost Objects" mode
And I can't see that any file transfer request packets being sent when in this mode.
Possible fixes:
Check for missing files in the phase 2 loop, and request missing files.
Add a vfs module to request (and cache?) these missing files via some alternative method (http/ftp/other) and depricating the download via TGEs network library as it can be excruciating slow) as there seems to be a bandwidth limiter per client on the (dedicated) server
About the author