*Unlock All Weapons* in server patch 1.02

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

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

    I posted a copy of first post by Mofino on the GameArena forums http://www.gamearena.com.au/messageboards/

    and the thread was nuked by a GameOp

    This is a message from the GameArena Messageboard system letting you know that a post of yours in this thread:




    has been nuked.

    Please note that posting inappropriate material on the GameArena messageboards may result in a ban from the service
    when I sought a further explanation this is what I was sent:

    It's really a bit of a grey area if what you posted there is legal to do or not and who knows what punkbuster will ban for in future releases. I dont want to have to deal with people who have been banned for doing this.

    Comment

    • geddeth

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

      Towle, I think this happened partly because the mod/admin didn't understand (or bothered to understand) what this modification does, and/or partly because he just wants no hassle from EA/users as he states - in the odd case that this is somehow disallowed. I can't say I blame him for this. Just goes to show that TBF2 is a bit more open-minded about this stuff. It's not like we're exchanging stat-padding techniques or PB-invisible python-hacks after all :-)

      The thing is, in my eyes, this modification doesn't in any way change the game content on the server, least of all the client. The only way I could ever see this modification banning a user account is if you are playing on a server that uses this mod with an online account (you have to use online accounts apparently), and your client (BF2 game) somehow transmits to PB/EA/DICE that your current server is letting you have all the unlocks, even though you're not eligible for them. Since this sort of communication usually happens through Gamespy's servers, which are emulated by the server, I can't see how this could ever happen (it's a really far out fantasy of mine, I admit it).

      The primary thing, however, is that this is not being done on ranked servers, and no game content is changed, as per IndianScout's post above.

      Just my 2 kroner.

      Comment

      • PvtNoob
        Member
        • Dec 2005
        • 24

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

        Geddeth,

        Thank you for your help. No, I did not take it as a flame. I'm one for the technical side of things. At times I get stuck and I like to figure things out. I find this quite interesting. I have tried the host trick but to no avail. I'll need to look at the apache config file and see about the "listen" part to the ip addy. My additional problem is that I really don't think that this may work anyway. The server machine is on a LAN and this particular machine gets its internet access through my main rig. The funny thing is, that when I run apache, I can input the ip of the server in the ie browser of my main rig and up come the apache index page. The "getunlocksinfo.aspx" also works. I guess a little more tweaking and I'll have it. I'll post back soon with my results. I also got the special forces addon this last weekend....pretty cool.

        thanks again,

        pvtnoob

        Comment

        • Bullitt

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

          Originally posted by PvtNoob
          Geddeth,

          Thank you for your help. No, I did not take it as a flame. I'm one for the technical side of things. At times I get stuck and I like to figure things out. I find this quite interesting. I have tried the host trick but to no avail. I'll need to look at the apache config file and see about the "listen" part to the ip addy. My additional problem is that I really don't think that this may work anyway. The server machine is on a LAN and this particular machine gets its internet access through my main rig. The funny thing is, that when I run apache, I can input the ip of the server in the ie browser of my main rig and up come the apache index page. The "getunlocksinfo.aspx" also works. I guess a little more tweaking and I'll have it. I'll post back soon with my results. I also got the special forces addon this last weekend....pretty cool.

          thanks again,

          pvtnoob
          Jump on your _server_....
          Open IE/Firefox/Opera etc


          Does it return this?
          Code:
          O
          H       pid     nick    asof
          D       12345678        UNLOCKED        1137548946
          H       enlisted        officer
          D       0       0
          H       id      state
          D       11      s
          D       22      s
          D       33      s
          D       44      s
          D       55      s
          D       66      s
          D       77      s
          D       88      s
          D       99      s
          D       111     s
          D       222     s
          D       333     s
          D       444     s
          $       121     $
          In a new window, enter:


          Does it return the same stuff? If yes, your server is configured properly. If you get "this document contains no data" , then your hosts file is not properly configured. Please doublecheck that.
          Reboot the server or do a start->run->command (dos prompt) "ipconfig /flushdns" (enter)

          If you get "this page cannot be displayed" your apache is not set up properly.

          try again.

          What happens is this... Your server runs. Client joins your server and passes your GUID to the server to figure out the "global unlocks" the GUID has. The server now queries the gamespy server (or in this case, your local apache server emulating the response) and the server now knows what unlocks to offer to the client. In NO WAY does the client ever contact the gamespy server to determine unlocks (This is to prevent hacking, I assume).

          For this to even work... you MUST have your server set to
          sv.internet 1
          sv.useGlobalUnlocks 1
          sv.useGlobalRank 1

          in the /bf2/mods/bf2/settings/serversettings.con file
          Let me stress one more time, Only modify the SERVER. Do not modify your client PC with any of these steps whatsovever. It is not needed and _will_ cause problems.

          Comment

          • Bullitt

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

            Originally posted by Towle
            I posted a copy of first post by Mofino on the GameArena forums http://www.gamearena.com.au/messageboards/

            and the thread was nuked by a GameOp

            This is a message from the GameArena Messageboard system letting you know that a post of yours in this thread:



            when I sought a further explanation this is what I was sent:
            Yeah, misinformation abounds....

            This is NO different than running your own mod. You are running 1)Unranked server
            2)not modifying any game files

            I know that I'm preaching to the chior, but as soon as people start throwing around misinformation about what PB can and cannot do, it really ****es me off. PB only messes with Client side changes, not server side changes. PB only tracks CD keys. Dedicated servers do not have CD keys. Ok, rant off man, this illustrates terribly misinformed admins who rather than learn about what's going on, they assume the worst.

            Comment

            • MaximM

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

              Whether at present it is possible to make Unlock in versions 1.12?

              YES or NO ?

              Comment

              • geddeth

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

                You need only read back one page to find the answer to that. I'm nice, so I'll tell you: YES.

                Comment

                • Towle

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

                  Originally posted by geddeth
                  Towle, I think this happened partly because the mod/admin didn't understand (or bothered to understand) what this modification does, and/or partly because he just wants no hassle from EA/users as he states - in the odd case that this is somehow disallowed. I can't say I blame him for this. Just goes to show that TBF2 is a bit more open-minded about this stuff. It's not like we're exchanging stat-padding techniques or PB-invisible python-hacks after all :-)

                  The thing is, in my eyes, this modification doesn't in any way change the game content on the server, least of all the client. The only way I could ever see this modification banning a user account is if you are playing on a server that uses this mod with an online account (you have to use online accounts apparently), and your client (BF2 game) somehow transmits to PB/EA/DICE that your current server is letting you have all the unlocks, even though you're not eligible for them. Since this sort of communication usually happens through Gamespy's servers, which are emulated by the server, I can't see how this could ever happen (it's a really far out fantasy of mine, I admit it).

                  The primary thing, however, is that this is not being done on ranked servers, and no game content is changed, as per IndianScout's post above.

                  Just my 2 kroner.
                  I sent a reply to "Scorch" GameOp at Telstra GameArena
                  It wouldn't affect GA servers as you wouldn't be doing it so I am not sure why you would be concerned about what about other server admins do and how that would reflect back on GA. How could this become a GA problem? If someone does this editing config files on their server, then they take fully responsibility.

                  "dont want to have to deal with people who have been banned for doing this"

                  But you have covered yourself in your T & C's which clearly states:

                  2.2 We do not check the content of information accessed using GameArena and we are not liable for any loss or damage which you or anyone else suffers as a result of using such information.

                  So I fail to see where your concerns about dealing with people being banned from me giving this advice will impact directly on GA when it isn't an official announcement nor does it relate to what GA will do on their BF2 servers. I think the public interest would outweigh any perceived concerns you may have.

                  and he replied below


                  You've only addressed one concern, I did state that I do believe what you are suggesting is not entirely legal. Modification of files to obtain content that is usually locked out is possibly illegal. Oh well you posted it got nuked it's not really a big deal.

                  Comment

                  • Bullitt

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

                    Originally posted by MaximM
                    Whether at present it is possible to make Unlock in versions 1.12?

                    YES or NO ?
                    Letsee...

                    No, I've been wasting my time explaining the detailed steps presented by Mofino and koolaidman to propogate an elaborate hoax upon the unsuspecting masses here at totalbf2.com. I hereby retract any advice I have given and freely admit, I had the CIA and NSA hack my server to get the unlocks going, after all, it _cant_ be that simple... :wall:

                    Comment

                    • Bullitt

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

                      Originally posted by geddeth
                      You need only read back one page to find the answer to that. I'm nice, so I'll tell you: YES.
                      You are nicer than I am. :)

                      I told him no

                      Comment

                      • PvtNoob
                        Member
                        • Dec 2005
                        • 24

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

                        amd.Bullitt,

                        The apache server returns the 127.0.0.1/asp/getunlocksinfo.aspx correctly. But, when I go to bf2web.gamespy.com/asp/getunlocksinfo.aspx it returns the following:

                        The page cannot be found......

                        thanks,

                        pvtnoob

                        Edited.......

                        Just got the weapons unlocks to work. My brother and I just played a multiplayer (just us mind you) with all weapons unlocked.

                        Also, is it possible to get the single player maps to work in a dedicated server in order to have bots in multiplayer and have a rotating map lists?

                        Comment

                        • PvtNoob
                          Member
                          • Dec 2005
                          • 24

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

                          amd.Bullitt and geddeth,

                          As of yesterday the unlocks worked perfectly for my lan server w/bots. But, today, nothing. No unlocks. I was wondering if something is not working correctly with 209.91.168.238 bf2web.gamespy.com. Your thoughts are appreciated.

                          pvtnoob

                          btw ...

                          The following script work with apache....

                          #!/usrl/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();


                          This script worked until yesterday.....Apache returns an error :[Sun Feb 12 18:42:19 2006] [error] [client 127.0.0.1] Premature end of script headers: getunlocksinfo.aspx
                          [Sun Feb 12 18:42:19 2006] [error] [client 127.0.0.1] Can't use an undefined value as a symbol reference at H:/www/asp/getunlocksinfo.aspx line 42.\r

                          Here's the script that is now in error:

                          #!/usr/bin/perl
                          # this script may not work, I don't use it anymore.
                          # and I've made code changes without testing them.
                          # if it doesn't work.. fix it.
                          use IO::Socket::INET;
                          my @ids=qw/11 22 33 44 55 66 77/;
                          sub parse_form(\%);
                          sub parse_form(\%) {
                          my $webvar=$_[0];
                          my $buffer;
                          if ($ENV{'REQUEST_METHOD'} eq "GET") {
                          $buffer=$ENV{'QUERY_STRING'};
                          } elsif ($ENV{'REQUEST_METHOD'} eq 'POST' && $ENV{'CONTENT_TYPE'} eq "application/x-www-form-urlencoded") {
                          read(STDIN, $buffer, $ENV{CONTENT_LENGTH});
                          } else {
                          $buffer = $ENV{'QUERY_STRING'};
                          $buffer || read(STDIN, $buffer, $ENV{CONTENT_LENGTH});
                          }
                          my @pairs = split(/&/, $buffer);
                          for (@pairs) {
                          my ($name, $value)=split(/=/);
                          $name =~ tr/+/ /;
                          $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
                          $value =~ tr/+/ /;
                          $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
                          $value =~ s/'/\\'/g;
                          $$webvar{$name} = $value;
                          }
                          }
                          sub main();
                          sub main() {
                          my %webvar;
                          parse_form(%webvar);
                          my $sock = IO::Socket::INET->new(PeerAddr => 'BF2Web.gamespy.com', PeerPort => '80', Proto => 'tcp');
                          print $sock "GET /ASP/getunlocksinfo.aspx?pid=$webvar{'pid'} ";
                          print $sock "HTTP/1.1\nHost: BF2Web.gamespy.com\nUser-Agent: ";
                          print $sock "GameSpyHTTP/1.0\nConnection: close\n\n";
                          print "Content-type: text/plain\n\n";
                          while(my $recv=<$sock>) {
                          next unless $recv=~/^(?:O|H|D|\$)\s/;
                          if ($recv=~/^D/) {
                          for (@ids) {
                          if ($recv=~/\s$_\s/) {
                          $recv=~s/n/s/;
                          }
                          }
                          }
                          print $recv;
                          }
                          }
                          main();


                          or is the site: 209.91.168.238 down right now?

                          Edited:

                          The bf2web.gamespy.com site was done yesterday..........the site did not work until late last night.

                          Comment

                          • satcomNL

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

                            Why bother unlockin your server , when you can run yoru server Ranked, and be part of the WorldWide ABR Rankings?

                            DewaPoker! Akses lewat link resmi ceme online terlengkap dengan koneksi aman, server stabil, dan pilihan room yang lengkap untuk semua level pemain di dewapoker.

                            its ' finally there.

                            Comment

                            • PvtNoob
                              Member
                              • Dec 2005
                              • 24

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

                              Hi,

                              I am in need of some deparate help today....I did have the ability to have unlocks on my server. But, now I do not. Recently, I was trying to get a "Ranking" system to work with it, but I messed up the Apache conf file and now my aspx file seems to return only html coding. Can anybody help me figure out how to reconfigure my apache server?

                              The coding below is what should come out on the webserver:

                              O
                              H pid nick asof
                              D 12345678 UNLOCKED 1137548946
                              H enlisted officer
                              D 0 0
                              H id state
                              D 11 s
                              D 22 s
                              D 33 s
                              D 44 s
                              D 55 s
                              D 66 s
                              D 77 s
                              D 88 s
                              D 99 s
                              D 111 s
                              D 222 s
                              D 333 s
                              D 444 s
                              $ 121 $


                              But this is what comes out on the webpage. Any help is appreciated!

                              #!/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();

                              Thanks

                              pvtnoob

                              Edited: Found the solution...but in the process ... i lost the ability to use PHP scripts

                              Comment

                              • PvtNoob
                                Member
                                • Dec 2005
                                • 24

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

                                Hi,

                                Got it to work again!

                                pvtnoob

                                Comment

                                Working...