Hi all,
Is it possible for any of you to make webdownload/ fast download supported by 1.0?
Printable View
Hi all,
Is it possible for any of you to make webdownload/ fast download supported by 1.0?
Without client modifications - no.
I dont mind client modifications. It would be something like cod4.x ? It will download a client exe automatically when you join a certain server and keeps checking for updates
Download exe when joining a server is not possible. You will have to ship it to your clients manually somehow.
Well that would also be no problem. People without the modified exe will have to slow/normal download and if you download the "upgraded" exe you get the fast download
I found a client modification that allows you to fast download: http://www.gamershell.com/download_14209.shtml
Now go back and try to think why modifying cod2 1.0 clients to do fastdl is a bad idea
Its pointless as people will have to visit external website etc to get that modded stuff, isnt it easier to just ship the mod this way? I have a small idea for you though: small change to a download function that will trigger a error message if player doesnt have the files and you can change the error message to what you want.
Add this after line 1721 in libcod.cpp: https://github.com/voron00/libcod/bl...bcod.cpp#L1721PHP Code:
//////////////////////////////////////////////////////////////////////////////////////////////////////
Com_sprintf(errorMessage, sizeof(errorMessage), Cvar_VariableString("sv_downloadMessage"));
MSG_WriteByte(msg, 5);
MSG_WriteShort(msg, 0);
MSG_WriteLong(msg, -1);
MSG_WriteString(msg, errorMessage);
*(int *)(cl + 134248) = 0;
return 0;
//////////////////////////////////////////////////////////////////////////////////////////////////////
And change the cvar sv_downloadMessage to whatev you want.
Spoiler:
Ofc this will not trigger if player have the files.
In that case they can only the files elsewhere?
But like I said, is it not possible that people who have modified exe have fast download and the normal exe downloads at low speed? So you are lucky if you have the modified exe
It is very possible, i know php implemented something for cod1. Then again, who would want to develop something like that... There's patch 1.3 for everybody.
Yes he has in the UP mod that it opens a website to register. I know everybody on 1.0 and dont want to change to 1.3 Thats why im asking it
The benefits don't outweigh the risks.
Okay skip the website redirecting. Would it still be possible to modified the client exe to have faster download at 1.0?
Nobody stops you to learn Reverse Engineering and hack some code into the .exe and then distribute the .exe to all people you know
Attachment 1127
I have no knowledge about this (as you can see I already had problems with compiling libcod) Thats why I asked it as a request. If it takes too much time or anything, I understand that no one will try to do it.
Niels you absolutely need this for your zombots server. 120 mo :(