*Unlock All Weapons* in server patch 1.02

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • geddeth

    #136
    Re: *Unlock All Weapons* in server patch 1.02

    Hey guys, not really related to the above, but wth: I have just successfully played BF2:SF in coop mode! And with offline accounts at that.

    It was just using the same ol' method:
    1. start local multiplayer server on one client
    2. let other clients find the server in their LAN server browser in-game
    3. first client exits multiplayer game, starts single player game
    4. other clients join server in their server browser
    5. rock 'n' roll!

    HTH.

    Comment

    • MrGrimm

      #137
      Re: *Unlock All Weapons* in server patch 1.02

      Is there a way to do this and have server available online ?

      Comment

      • geddeth

        #138
        Re: *Unlock All Weapons* in server patch 1.02

        Originally posted by Primski
        create a blank .htaccess file in that folder, and add this line in it
        AddType application/x-httpd-php .aspx
        Okay - I need to know. Why do we pretend that this file is a PHP-file, when the contents are obviously made in Perl? When I install PHP5 on my Apache2 server (for Win32), load the module, and add that line, I just get the source shown when I visit the page. PHP works on that server, I checked. But what else am I missing?

        Comment

        • zdh.koolaidman

          #139
          Re: *Unlock All Weapons* in server patch 1.02

          I know I did not add that line to my working config. Mine simple states: AddHandler cgi-script .aspx

          The first line of the getunlocksinfo.aspx:
          #!/usr/bin/perl

          This tells Apache to run the script using Perl, not PHP. I didn't look back through the thread so you might be responding to some thread hijack and in which case my response is completely off.

          Now, this script goes a long way for those running Apache. I am thinking about putting together an ASP.NET version of this page for those who have webservers that run IIS with the .NET Framework. I just haven't had the time lately to do it.

          Comment

          • MrGrimm

            #140
            Re: *Unlock All Weapons* in server patch 1.02

            Anyone got all the unlocks working in a script yet...Another words will the SF unlocks work ?

            Comment

            • jdogg88-Fed

              #141
              Re: *Unlock All Weapons* in server patch 1.02

              Originally posted by Andy
              dip**** dont you think everyone and there mother knows about the 1's

              indeed try 1.02
              lmao that guy is way behind isnt he

              Comment

              • Killtek

                #142
                Re: *Unlock All Weapons* in server patch 1.02

                So... does his host file method still work? Is his server functional or hacked?

                Comment

                • zdh.koolaidman

                  #143
                  Re: *Unlock All Weapons* in server patch 1.02

                  He sez his server is back up. Only way to know is to give it a shot. We use a copy of his script loaded on our own server so I can't tell you.

                  Comment

                  • zdh.koolaidman

                    #144
                    Re: *Unlock All Weapons* in server patch 1.02

                    In case anyone was wondering, I have been successful with getting the SF unlocks to work on vanilla BF2 servers with a modified version of this script. It wasn't too difficult with Ethereal and the groundwork layed by Mofino. Let me know if you are interested and I can provide it.

                    Comment

                    • Kameel

                      #145
                      Re: *Unlock All Weapons* in server patch 1.02

                      In case anyone was wondering, I have been successful with getting the SF unlocks to work on vanilla BF2 servers with a modified version of this script. It wasn't too difficult with Ethereal and the groundwork layed by Mofino. Let me know if you are interested and I can provide it.

                      Yes I am very interested. :)

                      Comment

                      • zdh.koolaidman

                        #146
                        Re: *Unlock All Weapons* in server patch 1.02

                        Here is the modified code in all its glory.... Use as before... Hopefully Mofino will incorporate these changes into his copy so everyone can get the SF unlocks to play with.

                        getunlocksinfo.aspx

                        <--Start Code-->
                        #!/usr/bin/perl

                        my @ids=qw/11 22 33 44 55 66 77 88 99 111 222 333 444/;

                        sub main();
                        sub main() {
                        my $time=time;

                        print "Content-type: text/plain\n\n";
                        print "O\n";
                        print "H\tpid\tnick\tasof\n";
                        print "D\t12345678\tUNLOCKED\t$time\n";
                        print "H\tenlisted\tofficer\n";
                        print "D\t0\t0\n";
                        print "H\tid\tstate\n";
                        for (@ids) {
                        print "D\t$_\ts\n";
                        }
                        print "\$\t121\t\$\n";
                        }

                        main();
                        <--End Code-->

                        Comment

                        • PvtNoob
                          Member
                          • Dec 2005
                          • 24

                          #147
                          Re: *Unlock All Weapons* in server patch 1.02

                          zdh.koolaidman,

                          I'm interested in learning how you did it.

                          PvtNoob

                          Comment

                          • lbgspam

                            #148
                            Re: *Unlock All Weapons* in server patch 1.02

                            Hi, I went through this long thread, but didn't see an answer to this question:

                            Are global unlocks allowed on non-ranked servers? Does EA forbid this? Thanks!

                            Comment

                            • Bullitt

                              #149
                              Re: *Unlock All Weapons* in server patch 1.02

                              Originally posted by zdh.koolaidman
                              Here is the modified code in all its glory.... Use as before... Hopefully Mofino will incorporate these changes into his copy so everyone can get the SF unlocks to play with.

                              getunlocksinfo.aspx
                              You 'da man, like Mofino. Thanks dude!

                              Comment

                              • geddeth

                                #150
                                Re: *Unlock All Weapons* in server patch 1.02

                                Originally posted by zdh.koolaidman
                                I know I did not add that line to my working config. Mine simple states: AddHandler cgi-script .aspx

                                The first line of the getunlocksinfo.aspx:
                                #!/usr/bin/perl
                                Hey koolaidman - just for clarity: is your Apache on Win32 or *nix? Because the path to the perl interpreter wouldn't really work for Windows, would it? Shouldn't it point to some proper Windows path, where Perl is installed?

                                EDIT: Yeah, it should

                                Comment

                                Working...