Announcement

Collapse
No announcement yet.

Server Redirection refuses Downloading

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by superchebs
    I've written a tiny command line program to change a maps flags/bits. It will easily let you remove the "Official" bit which is stopping these new maps from being pushable.

    Luckily changing the flags doesnt cause mismatches. Which means if the server has the bit unset and the client has it set (or visa versa), they will still be able to play normally without having to download it again.

    Download the windows binary here
    utmapflagger.zip

    Full source is also included which should compile on windows, linux or mac.
    Awesome work!!!!

    So can you set the flag in UEDIT?

    It will make it interesting if you dont want your map to get out.. Give it to your friends or forum... And just enable the official bit.. Then anyone joining the server wont be able to play nor get your map...

    Comment


      #17
      Nice Tool.
      Thanks superchebs

      Comment


        #18
        I don't really know how a redirect works but here's a question for you guys. If I've already uploaded a .uz2 map on a redirect server with the "Official" flag on, can I just upload the fixed map to my server?

        When a client tries to download a map, does it check the flag on the server map as well as the redirect map?

        Comment


          #19
          I just tested these and the answer is yes. You can leave the flag on in the compressed .uz2 file on redirect but you have to fix the maps on your server.

          96

          Comment


            #20
            Originally posted by Ninetysix
            I don't really know how a redirect works but here's a question for you guys. If I've already uploaded a .uz2 map on a redirect server with the "Official" flag on, can I just upload the fixed map to my server?

            When a client tries to download a map, does it check the flag on the server map as well as the redirect map?
            Which redirect?

            I added the unflagged versions of both Airidoom and Ascendancy to http://uz2.gameservers.net/ut2004/ yesterday. This is a quasi new redirect as they have just separated the files into ut2003 and ut2004 folders.

            I just now hope they're not overwritten as they worked fine last night.

            Comment


              #21
              how do u compile utmapflagger in linux?

              Comment


                #22
                Change to the src directory and type;

                gcc -o utmapflagger *.c

                Think that should work

                Comment


                  #23
                  nope..

                  Comment


                    #24
                    anyone else knows how?

                    Comment


                      #25
                      Works fine for me

                      Code:
                      [malone@woot src]$ ls
                      getopt1.c  getopt.c  getopt.h  utmapflagger.c
                      [malone@woot src]$ gcc -o utmapflagger *.c
                      [malone@woot src]$ ls -l
                      total 68
                      -rw-rw-rw-    1 malone   malone       4554 Apr 14  1998 getopt1.c
                      -rw-rw-rw-    1 malone   malone      30081 Apr 28  1998 getopt.c
                      -rw-rw-rw-    1 malone   malone       4591 Jun 21  1997 getopt.h
                      -rwxrwxr-x    1 malone   malone      10357 Apr  8 14:58 utmapflagger
                      -rw-rw-rw-    1 malone   malone       7341 Apr  3 19:13 utmapflagger.c
                      [malone@woot src]$ ./utmapflagger 
                      UTMapFlagger 1.0 by Malone
                      ...
                      What error messages are you getting?

                      Comment


                        #26
                        Do you have gcc installed?

                        Comment


                          #27
                          Originally posted by superchebs
                          I've written a tiny command line program to change a maps flags/bits. It will easily let you remove the "Official" bit which is stopping these new maps from being pushable.

                          Luckily changing the flags doesnt cause mismatches. Which means if the server has the bit unset and the client has it set (or visa versa), they will still be able to play normally without having to download it again.

                          Download the windows binary here
                          utmapflagger.zip

                          Full source is also included which should compile on windows, linux or mac.

                          Thx m8, you are a hero :up:

                          Comment


                            #28
                            Sweet mother... Thank you, Chebs!

                            Comment


                              #29
                              It's not working. Even with the official bit set to off. Before I killed the official bit though, it was giving me a different message. Now it's just basically telling me "server refused download".

                              Our line isn't that fast so we use "false" so that users are forced to download from other redirect servers. What in the holy hell could I be doing wrong here? Is there perhaps some other redirect servers I should be using? Any suggestions on that? I tried:

                              http://uz.unrealadmin.org/redirect/

                              &

                              http://uz2.gameservers.net/UT2004/

                              but both refused the download. Also a side question, if I ultimately don't get this to work (being a UT2K4 newb and all), how can I at least make SURE that clients are downloading COMPRESSED (uz2) versions of maps from our server and not the un-compressed ones? Thanks.

                              Comment


                                #30
                                i had all sorts of problems till i changed the redirect url to http://uz2.gameservers.net/ut2004/
                                i also changed my web admin port at the same time from its default but i think it had more to do with the url

                                i also have had no problems with the offical ons map pak using the redirect change the url

                                Comment

                                Working...
                                X