Client to Server File Transfer
by Ronald J Nelson · in Torque Game Engine · 09/01/2008 (1:39 am) · 3 replies
I know I have heard this a thousand times already, I already know the general consensus is that transferring a file from a client to the server for distribution to every other player is considered a bad idea.
Yet, I would like to know if anyone has done it yet. I am looking to transfer a texture as they do in Half-Life 2 and Counter-Strike Source.
Thanks in advance.
Yet, I would like to know if anyone has done it yet. I am looking to transfer a texture as they do in Half-Life 2 and Counter-Strike Source.
Thanks in advance.
#2
09/01/2008 (11:17 am)
Is there even the remote chance you still have that backed up somewhere? I am very interested, even willing to pay for it.
#3
09/01/2008 (1:50 pm)
You're welcome to the code. Yes, it's backed up.. the main problem is trying to recall which files are relevant. Basically I split a file up into a linked list of 'chunks' and sent each of these over the connection, sticking them together at the other end. Can't remember why the chunking was necessary. Send me an email and I'll dig up what I can.
Torque Owner Sam Redfern