Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Request - Fast download 1.0

  1. #11
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    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

  2. #12
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    The benefits don't outweigh the risks.

  3. #13
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Okay skip the website redirecting. Would it still be possible to modified the client exe to have faster download at 1.0?

  4. #14
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Nobody stops you to learn Reverse Engineering and hack some code into the .exe and then distribute the .exe to all people you know

    Click image for larger version. 

Name:	is-such-a-thing-even-possible-yes-it-is.jpg 
Views:	53 
Size:	30.7 KB 
ID:	1127
    timescale 0.01

  5. #15
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    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.

  6. #16
    Private First Class
    Join Date
    Mar 2016
    Posts
    134
    Thanks
    48
    Thanked 11 Times in 10 Posts
    Niels you absolutely need this for your zombots server. 120 mo

  7. #17
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Quote Originally Posted by voron00 View Post
    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.

    PHP Code:
    //////////////////////////////////////////////////////////////////////////////////////////////////////
        
    Com_sprintf(errorMessagesizeof(errorMessage), Cvar_VariableString("sv_downloadMessage"));
        
    MSG_WriteByte(msg5);
        
    MSG_WriteShort(msg0);
        
    MSG_WriteLong(msg, -1);
        
    MSG_WriteString(msgerrorMessage);
        *(
    int *)(cl 134248) = 0;
        return 
    0;
        
    ////////////////////////////////////////////////////////////////////////////////////////////////////// 
    Add this after line 1721 in libcod.cpp: https://github.com/voron00/libcod/bl...bcod.cpp#L1721
    And change the cvar sv_downloadMessage to whatev you want.
    Spoiler:


    Ofc this will not trigger if player have the files.
    This works perfect!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •