Ideas to improve H&S

Custom maps custom maps custom maps.
Indeed, in fact I've recently spoken with many staff members about hosting a 2nd h&s server dedicated for custom maps; Mclaren said he is (hopefully) on it, fingers crossed!

An external program that connects to the remote server and auto-downloads all custom maps/places in the correct directory. With in mind that egys should be able to download the maps in ~30 secs..

@Splash This sounds like a job for you to do.
External program? Sounds like a great alternative to the in-game "sv_autodownload" (which doesnt work)!

Ye but it still expects them to download the program first. That’s the problematic side
True, if we could figure out a minimal and smart way to automatically download the all-maps-in-one .pk3 file and to extract it at the correct directory with one click, that will be a huge win.

Can't think of any other ways than to:

Display a mini tab overlaying the forums in English/Arabic as you enter www.3d-sof2.com,
that contains a message saying "We created a custom maps server blah blah want to download the custom maps pk3? blah blah yes or no prompt."

Clicking yes can either ask you to locate base/mp folder, so the file gets automatically downloaded there.

Or at least locate your sof2 folder, and we can add an extra "/base/mp" to that directory.

dont think the download directories can be set/changed by websites, unless its been given permissions?
 
Last edited:
True, if we could figure out a minimal and smart way to automatically download the all-maps-in-one .pk3 file and to extract it at the correct directory with one click, that will be a huge win.
They can download FP means they can download a file and put it to the right location.

my question rather would be that httpdownloader doesn’t need serving from server side and we have the source of RPM 0.75. Why don’t we add httpdownloader on top of that, put together a new clientmod and push that out instead of 2k3?
 
Indeed, in fact I've recently spoken with many staff members about hosting a 2nd h&s server dedicated for custom maps; Mclaren said he is (hopefully) on it, fingers crossed!
Creating a second server and dividing the players is not going to work.

1 click program can’t be that complicated for egys.. if they figured out how to use my hacks then i dont see a problem how they wouldnt figure out how to download a simple maps.exe program and click on it.
 
if they figured out how to use my hacks
Hhhhhhhhhhh

but still I would move on with a clientmod level fix instead of a single purpose file downloading app. The app shouldn’t be hard to make yes and would take like 30 minutes I’d guess to create one (just have one file pop up window - show me to your sof2mp file and rest is just downloading, don’t even need a crazy UI for it). Just that with having a clientmod we might have more plans in the future, more extras, even more gametypes which might need file downloads whatever, having a new mod which would have a httpdownloader (and preferably an updater for itself) would be better in the long run
 
Indeed, in fact I've recently spoken with many staff members about hosting a 2nd h&s server dedicated for custom maps; Mclaren said he is (hopefully) on it, fingers crossed
Can also confirm that yes a 2nd server is on the way yet I agree with Shoke. Didn’t agree with separating servers but as I told mclaren he won’t listen to me anyhow hhhh
 
Yep obviously a clientmod is a better alternative but that is if you are going to put all your time and effort into it. But for the time being an external downloader wud do the trick for now.
 
you could make a software that runs along-side the client (similar to anti-cheat) that communicates with the 3D server and pre-downloads a couple maps ahead, while playing (according to the mapcycle) in the background, their ping is gonna suffer but its aweful anyway so how bad can it get <:
good idea but making a program that just connect to 3D server download whatever we want it to download then they start the game with maps predownloaded so a one time thing seems better

instead of keeping a constant connection between the server and the client let alone download and play sof2 at the same time will lag for most egys
 
They can download FP means they can download a file and put it to the right location.

my question rather would be that httpdownloader doesn’t need serving from server side and we have the source of RPM 0.75. Why don’t we add httpdownloader on top of that, put together a new clientmod and push that out instead of 2k3?
Sounds like a great idea, since nowadays the source code of at least 80% of such client side mods are now available.

I have shit ton of resource codes of random mods in my sof directory,

however if we could merge (at least the good features of) all those mods into 1 3d RPM-like mod,

then it'd be fucking awesome as we might indeed have future plans and the existence of such mod will be a good addition!

you could make a software that runs along-side the client (similar to anti-cheat) that communicates with the 3D server and pre-downloads a couple maps ahead, while playing (according to the mapcycle) in the background, their ping is gonna suffer but its aweful anyway so how bad can it get <:
Why not (if possible) create our own patch of sof2mp.exe that allows such feature?

Also, nowadays my ping doesnt get as massively affected by background downloads as it used to be years ago even though im living in the worst (infrastracture-wise) egyptian city lol
 
Why not (if possible) create our own patch of sof2mp.exe that allows such feature?

does not work well with fairplay, guard and patches fixes as they use their own sof2mp.exe too
 
Had a bit of time today... this is something what i had in my mind when i said its best to make a 1 click download program.. Devil you should make it more advanced.

C:
#define CURL_STATICLIB
#include <curl\curl.h>

#pragma warning(disable:4996) //_CRT_

size_t write_file(void* ptr, size_t size, size_t nmemb, FILE* stream) {
    size_t written = fwrite(ptr, size, nmemb, stream);
    return written;
}



int main(void)
{
    CURL* curl;
    FILE* fp = NULL;
    CURLcode res;

    printf("simple maps downloader 8==D");

    char* addy = "http://link/custommaps.rar";

    char OutMe[] = "maps.rar";

    curl = curl_easy_init();
    if (curl) {

        printf("\nDOWNLOADING THE FILES... PLEASE WAIT.");

        fp = fopen(OutMe, "wb");
        curl_easy_setopt(curl, CURLOPT_URL, addy);
        curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_file);
        curl_easy_setopt(curl, CURLOPT_WRITEDATA, fp);

        int res = curl_easy_perform(curl);
        
        double download = 0;

        res = curl_easy_getinfo(curl, CURLINFO_SPEED_DOWNLOAD, &download);
        
        double dl = download / 1024;
        if(!res){
            printf("AVG DL %0.3f kbyte/sec.\n", dl);
        }

        if (res == CURLE_OK) {
            printf("custom maps shizzle is done..\n");
        }
        else {
            printf("failed to download custom maps..");
        }
        curl_easy_cleanup(curl);

        fclose(fp);
    }
    
    printf("\n\npress a key to exit..\n");

    _getch();
    return 0;
}
 
yoo good job shoke

But Janno and me are already working in a new sof2 client/mod with http downloader using cURL with good features
but hey making a fast GUI external downloader with advanced features using C# winforms for now till our new sof2 mod is finished won't harm and take me any time
 
Thats good to hear. So if the custom download thingie works out which im very skeptical about anyway (this is prob like 10th attempt) then it would be worth creating new small custom maps.
 
How about a nade for the hider when thrown under you, creates a bot that runs the other direction to confuse the seeker
 
Back
Top