*Unlock All Weapons* in server patch 1.02

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

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

    looking into it...but i would still like a plain ole unlocked server again :)

    Comment

    • preem

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

      Well i think that would work too.

      just use getunlocksinfo.aspx from those scripts, you can download them at mentioned site. And config your apache server to execute it.

      Code:
      AddType application/x-httpd-php .aspx
      I'm using this line in my .htaccess file.

      Edit your hosts file on the server to point to your webserver and voila. It should work.

      if you make your clients edit their hosts file, and you use all the other scripts, then you even got statistics shown in-game thru BFHQ plus you got yourselves a perfectly working private ranked server.

      Give it a try mate, you wont regret it.

      Lpp

      Comment

      • MrGrimm

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

        Problem is i dont have my own webserver running...Just remote hosting.Will the getplayerinfo still work on that ?

        Comment

        • preem

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

          Hm you can try. just create folder ASP/ in the web root of your server.

          You will need to check, maybe ask your admin, to see if you got .htaccess files enabled.

          Apache needs "AllowOveride All" options enable for .htaccess to take effect.

          create a blank .htaccess file in that folder, and add this line in it
          AddType application/x-httpd-php .aspx

          Then you will need to change the hosts file on your game server.
          Add these two lines:

          xxx.xxx.xxx.xxx bf2web.gamespy.com
          xxx.xxx.xxx.xxx stage-net.gamespy.com

          where x's are your web server's IP.

          Give it a try.


          Lpp

          Comment

          • MrGrimm

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

            Does it have to be the ip or can it be my domain name ?

            Comment

            • geddeth

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

              For the hosts file, I believe it has to be the IP address specified in either dotted decimal or octal format. No domain names allowed. And unless you have dynamic ip, that shouldn't be a problem.

              Comment

              • geddeth

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

                Okay - I've now tried setting up my own Unlocks server without success. I'm fairly proficient with Apache, so I think I did it right.

                However, as I've written about in numerous forums - the situation is entirely different when you use offline accounts, and I think that's the reason why it's not working for me. For that purpose I use Medic's BF2 Coop Emulator which broadcasts the SP1 server onto the LAN for the other BF2 clients and their in-game local server browsers.

                I believe this means that certain settings cannot be changed. So far, I've found that mods are unavailable, as well as stuff like server logo, title, etc. and the player count and ping in the server browser is also wrong. And so I think this is also the case with these sv-settings (sv.internet and sv.useglobalrank and sv.useglobalunlocks) in combination with that Coop server emulator.

                However, I'll try the trick with first starting an in-game multiplayer LAN server and then starting an SP1 server afterwards, with the clients waiting in their server browser for the SP1 game. I think the end result will be the same though.

                Finally, a few comments to the procedure with the local Apache server. Make sure you install PHP on the server (obvious, yes, but still ..). And I assume that the hosts files have to be changed for both the server and the clients, right? That's what I've done at least, and it still didn't work. I can't test this with online accounts, as my setup is behind a firewall only - so this is why I'm writing all this.

                And, of course - will this work with the 1.12 patch? Well ... we'll find out, won't we?

                /G.

                Comment

                • zdh.koolaidman

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

                  The unlocks on our server quit working as well.... I am in agreement with the previous posts that something has happened with his host and he is no longer supplying the code necessary. That being said, I took matters into my own hands. My clanmates were getting ****ed that our unlocks quit working so I got to fiddling. I believe that I now have a working copy of the script on our webserver. Now, I'm no Linux expert and I may have done this the hard way, but it appears to be working. By working, I mean that the webserver is giving me the reponses I expect to see. I will be trying it in game later this evening. If I find it works, I would be willing to help some people getting this working on their web servers.

                  Our web server is Fedora Core 4 and Apache 2... We DO have SELinux in enforce mode also so that was an additional hurdle I had to get over. I will let you guys no how I made out.

                  Comment

                  • zdh.koolaidman

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

                    OK, well my last post was slightly premature but I firmly believe I will have this working before the night is over. I need to do some tweaking on virtual hosts in my Apache config but that it. Will let you guys know.

                    Comment

                    • preem

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

                      Let me just add, that i have successfuly gotten this thing to work. So i got the newest patch 1.12 on linux/debian dedicated server with these unlocks. I'm also using bighamster's stats on our homepage and am successfully using these stats for ranks, medals and unlock s in-game through BFHQ (not all stats but most, and i know some guys that are still working on it - real time stats, just like EA's)

                      So this thing does work, so anyone with problems, must have config'ed something wrongly.

                      I will gladly help if any needed.

                      Lpp

                      Comment

                      • zdh.koolaidman

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

                        OK guys.... It's rocking and rolling now.... I have successfully taken the scrip listed previously an added it to our own web server for use by our game server. I just verified all unlocks are occuring again. Like I said, I'm no Linux guru, but I think I could help some people out if they have questions. Also, I might be able to allow some server operators to point their host file off my web server. You can get in touch with me and we can talk. I can't let a lot of people bounce off of me but I can help a few out. And don't try to find our website and do it anyways. It won't work... Thank god for Apache access controls

                        Comment

                        • mofino

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

                          The unlocks on our server quit working as well....

                          Whoops sorry.

                          Yeah that server got moved around. I forgot you guys are all stuck on that IP address. It should be ok, at least for the last couple weeks. If there are any problems, you can always email me: mofinoAT@ATgmail.com (remove the two ATs, duh :)).

                          At some point soon I look into unlocking the SF weapons. I doubt it's possible, but who knows.

                          -mo

                          Comment

                          • geddeth

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

                            Originally posted by mofino
                            At some point soon I look into unlocking the SF weapons. I doubt it's possible, but who knows.
                            Yeah, was thinking about that too .. why do you think it's not possible?

                            Comment

                            • zdh.koolaidman

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

                              If he is successful in figuring out the SF unlocks, that would be the ONLY reason I would install that patch. I'm hoping a mod is relaesed soon....

                              And I will conitnue to run the script locally rather than off your site. Nice and fast that way and I really do not need to rely on someone else.

                              Good luck with the SF unlock hunt.

                              Comment

                              • MrGrimm

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

                                Originally posted by zdh.koolaidman
                                OK guys.... It's rocking and rolling now.... I have successfully taken the scrip listed previously an added it to our own web server for use by our game server. I just verified all unlocks are occuring again. Like I said, I'm no Linux guru, but I think I could help some people out if they have questions. Also, I might be able to allow some server operators to point their host file off my web server. You can get in touch with me and we can talk. I can't let a lot of people bounce off of me but I can help a few out. And don't try to find our website and do it anyways. It won't work... Thank god for Apache access controls

                                PM Sent

                                Comment

                                Working...