Only the default (TGN Light) theme for now. Dark them is also coming back soon. Then CSN. Then Wrestlin' Nation. A lot of WIP stuff right now. There are a couple of things still not working either. Sorry.
I tried to setup my webserver to host that script, and the script returns some values, just like some others have stated a few pages ago, so it should be working.
My question is, why doesnt the server we're all referring to, mentioned on the first page here, print the same text. If you put a url in your browser 209.91.168.238/ASP/getunlocksinfo.aspx it doesnt return anything, blank page yet the unlocks work. So i guess my web server, if it returns some text, is not set up correctly yet the script gets executed.
Any idea ?
Mines still not working. Tried setting up my own server and no dice either. Wondering if it may have something to do with my server? I am running W2K3 on VMware.
Now i know you're all big guru's here, knowing everything, and just laughing at posts like this, but if this was a common problem, there's no way i couldn't find that on google, but this thing....
Just tell me, if i get this outout from the script does that mean it gets executed or not ?
Code:
Content-type: text/plain
O
H pid nick asof
D 12345678 UNLOCKED 1132044035
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
$ 103 $
And if yes, why the he*** don't the unlocks work then. If that is not the result of script executing, just say so i will fu*** with my web server until i get it working. But till then I'm on a deadly spot here.
Hope you'll help a fella out here, mate...
Originally posted by Primski
I tried to setup my webserver to host that script, and the script returns some values, just like some others have stated a few pages ago, so it should be working.
My question is, why doesnt the server we're all referring to, mentioned on the first page here, print the same text. If you put a url in your browser 209.91.168.238/ASP/getunlocksinfo.aspx it doesnt return anything, blank page yet the unlocks work. So i guess my web server, if it returns some text, is not set up correctly yet the script gets executed.
Has anyone here had the script running on their own server? Can't remember if anyone ever said they had .. what about mofino - are you still there, man, or did EA make you disappear? </conspiracy>
No replies to PM's or in the forums
My guess would be the server is no longer running the script.
Dont know the reason for that.
If you Http to the IP you used to get a front page now you get nothing.
I dont know the bandwith offering this cost him but a lot of servers were using it.
I havent seen anyone else who succesfully managed to get his script to run either on windows or unix.
If you did can you post how and perhaps we can get a few more servers up?
I've got some great news too... How to unlock all the weapons ingame!!
Zitat:
Only the linux server has been tested -- sort've. I only tested it alone on my server. But it appears to work just fine. I'm not giving out the code quite yet, it just a simple perl CGI, and I think this will be easier for now.
Anyway on to the fix. 3770280
For Linux servers:
1. edit /etc/hosts and add this line:
Code:
209.91.168.238 bf2web.gamespy.com
2. enjoy!
For Windows servers:
1. edit X:\$WINDOWS\system32\drivers\etc\hosts and add this line:
Code:
209.91.168.238 bf2web.gamespy.com
2. enjoy!
Basically I'm emulating the "unlocked weapons" responses from Gaymenspy.
This is posted in the total bf2 forums... And the rest comes here--->
HERE IS THE CODE!
This version of the CGI simple gives back the fully unlocked status, but with fake credentials (ID and nick). If Dice were to ever require these items to be valid, this script will no longer function, but until then it's the better one to use.
Now this one actually queries the Gaymenspy "web cluster" (haha it's garbage). This one has frequent errors and sometimes does not unlock the weapons. This is not due to my code!!! It's because Gamespy barely has a grasp on how to deal with large traffic volumes and spews "bad request" errors (stats not updating anyone?). So if Dice ever looks for a valid player ID and nick name, you will need this script instead of the one above. They could screw me by looking for the header info returned by Gamespy. But if they do, I'll just make an all out proxy, so no worries. So basically, use the above script until it breaks!
Zitat:
#!/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 "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();
So after you've taken the script of your choice. You'll need to name it like this:
Zitat:
/ASP/getunlocksinfo.aspx
Once that is done, do the hosts file trick on your BF2 server, but now point it to your web server's IP and not mine. At this point you should know how to assign bf2web.gamespy.com to your web server configuration. And you should know how to enable CGI on the getunlocksinfo.aspx file.
I will NOT help you with your web server configuration. If you do not know how to use this script, then please use the hosts file trick I've provided in the first post, it's so much easier! Plus I will always keep script updated!
Discover the secrets of BlackOps Market, your gateway to the darknet for illicit trades.
Check forum, basically the guy made some scripts, which not only give you all unlocks, but earned ones + complete statistics in the BFHQ all data taken from Bighamsters.de stats.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment