Post: [RELEASE] Actual Working Password Verification
08-08-2011, 10:08 PM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({}); Actual Working Password Verification
(can't get access by pressing all buttons at the same time)


I don't have a video, cause it looks better on ps3/xbox then it does on pc
i DO have a PS3 patch that has the password thingy built in (& only that)
when you spawn, you have to set the password, just like host would have to do
then 5 seconds later, it'll ask you to enter the password, so you can see what other ppl see when they get to enter the password Smile

Host has the ability to change the password in-game, so it's not hardcoded in gsc.. which makes it a lot more reliable (look at GodlyModz double left on the dpad protection :p)

enough talking, more code Winky Winky

on spawn, set this:
    self.tries = 0;

The Actual Code ^^
    SetPW()
{
BG = createIcon( "black", 650, 30 );
BG.hidewheninmenu = true;
BG setPoint( "TOP", undefined, 0, 10 );
BG.alpha = .2;
BG.sort = 0;
input = self createFontString( "objective", 1.6, self);
input.hidewheninmenu = true;
input setPoint( "TOP", undefined, 0, 10 );
input.sort = 0.5;
length = 1;
input SetText("Choose Password Length: " + length + "");
level.password = [];
length_reached = false;
while(!length_reached)
{
if(self AttackButtonPressed())
{
length++;
wait .2;
}
if(self AdsButtonPressed())
{
length--;
wait .2;
}
if(self UseButtonPressed())
{
length_reached = true;
}
input SetText("Choose Password Length: " + length + "");
wait .05;
}
input Destroy();
wait .3;
for(p = 0;p < length;p++)
{
level.password[p] = "*";
self.buttonspressed[p] = "*";
}
self.input = self createFontString( "objective", 1.6, self);
self.input.hidewheninmenu = true;
self.input setPoint( "TOP", undefined, 0, 10 );
self.input.sort = 0.5;
self thread destroyOnDeath( self.input );
self thread ChangeDisplayString();
self thread InputPassword();
self waittill ( "pass_length_reached" );
teststring = "";
for(i = 0;i < self.buttonspressed.size;i++)
{
level.password[i] = self.buttonspressed[i];
teststring = teststring + " " + level.password[i];
}
self.input Destroy();
BG Destroy();
wait .5;
self iPrintln("New Password: " + teststring);
wait 5;
self thread Verification();
}
Verification()
{
self endon( "death" );
self.passwordcorrect["correct"] = 0;
self.passwordcorrect["false"] = 0;
self.Buttonspressed = [];
self.Password = [];
for(p = 0;p < level.password.size;p++)
{
self.Password[p] = level.password[p];
self.buttonspressed[p] = "*";
}
BG = createIcon( "black", 650, 30 );
BG.hidewheninmenu = true;
BG setPoint( "TOP", undefined, 0, 10 );
BG.alpha = .2;
BG.sort = 0;
if(isDefined(self.input))
{
self.input Destroy();
}
self.input = self createFontString( "objective", 1.6 , self );
self.input setPoint( "TOP", undefined, 0, 10 );
self thread destroyOnDeath( self.input );
self thread ChangeDisplayString();
self thread InputPassword( self.buttonspressed );
self waittill ( "pass_length_reached" );
for(c = 0;c < self.password.size;c++)
{
if(self.password[c] == self.buttonspressed[c])
{
self.passwordcorrect["correct"]++;
}
else
{
self.passwordcorrect["false"]++;
}
}
if(self.passwordcorrect["correct"] == self.password.size)
{
self iPrintln("You made it in");
self.input Destroy();
BG Destroy();
}
else
{
self.tries++;
self iPrintln("" + self.tries + "/3 tries");
if(self.tries >= 3)
{
self iPrintln("No More Tries");
self.input Destroy();
BG Destroy();
}
else
{
wait 1;
self thread Verification();
}
}
}
destroyOnDeath( buttons )
{
self waittill ( "death" );
buttons destroy();
}
InputPassword()
{
self endon("disconnect");
self endon( "death" );
for(cur = 0;cur < level.password.size;cur++)
{
self.anybuttonpressed = false;
while(!self.anybuttonpressed)
{
if(self UseButtonPressed())
{
self.buttonspressed[cur] = "[{+usereload}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AttackButtonPressed())
{
self.buttonspressed[cur] = "[{+attack}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AdsButtonPressed())
{
self.buttonspressed[cur] = "[{+speed_throw}]";
self.anybuttonpressed = true;
wait .3;
}
if(self SecondaryOffhandButtonPressed())
{
self.buttonspressed[cur] = "[{+smoke}]";
self.anybuttonpressed = true;
wait .3;
}
if(self FragButtonPressed())
{
self.buttonspressed[cur] = "[{+frag}]";
self.anybuttonpressed = true;
wait .3;
}
if(self MeleeButtonPressed())
{
self.buttonspressed[cur] = "[{+melee}]";
self.anybuttonpressed = true;
wait .3;
}
wait .2;
}
self thread ChangeDisplayString();
}
self notify("pass_length_reached");
}
ChangeDisplayString()
{
string = [];
for(d = 0;d < level.password.size;d++)
{
string[d] = self.buttonspressed[d];
}
dispstring = "";
for(s = 0;s < string.size;s++)
{
buildstring = dispstring;
dispstring = buildstring + " " + string[s];
}
self.input setText( "^3Enter Password: " + dispstring );
}


it works great, it shows the buttons you pushed etc.. just take a look at it, try the script, w/e Smile


PS3 Patch: (COD4 though, it was the one i had fastest Happy)
    https://www.mediafire.com/?1d56g7y26dv513u
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Karoolus for this useful post:

Exploits, FourzerotwoFAILS, Jeremy, Kane500, lovebros, Neff, s70con, w8t4it
08-13-2011, 09:54 AM #11
Karoolus
I'm the W@W Menu Guy !
Originally posted by lovebros View Post
Is on spawned the same as OnPlayerSpawned?


yeah..
actually it should be set on connect

    OnPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );
//there's a bunch of stuff here, don't change anything
//just add this one line:
player.tries = 0;
}
}

The following user thanked Karoolus for this useful post:

lovebros
08-13-2011, 07:25 PM #12
Originally posted by Karoolus View Post
yeah..
actually it should be set on connect

    OnPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );
//there's a bunch of stuff here, don't change anything
//just add this one line:
player.tries = 0;
}
}


Thanks for this, i got it to work. Its pretty cool. I only tested it on myself, so what happens after you mess up 3 times cuz nothing happened to me
08-14-2011, 08:41 AM #13
Karoolus
I'm the W@W Menu Guy !
Originally posted by lovebros View Post
Thanks for this, i got it to work. Its pretty cool. I only tested it on myself, so what happens after you mess up 3 times cuz nothing happened to me


nothing yet, you should add a derank/kick/torture/idk Smile
08-14-2011, 06:17 PM #14
Originally posted by Karoolus View Post
nothing yet, you should add a derank/kick/torture/idk Smile


Haha okay i'll try my best :p I've never done that, but i'll see if i get it working
08-15-2011, 11:50 PM #15
w8t4it
Are you high?
So I tried the COD4 Patch and Dude, I tried everything.... I was video taping and trying to show all parts of the patch and I kept getting an overflow error message. The force host worked but when I tried to access a player from the menu it blacked out and gave me an overflow error. And the same thing happened when I selected the XP menu. I could upload the video... Let me know if you want it.. Keep up the great work brother!
08-16-2011, 09:26 AM #16
Karoolus
I'm the W@W Menu Guy !
Originally posted by w8t4it View Post
So I tried the COD4 Patch and Dude, I tried everything.... I was video taping and trying to show all parts of the patch and I kept getting an overflow error message. The force host worked but when I tried to access a player from the menu it blacked out and gave me an overflow error. And the same thing happened when I selected the XP menu. I could upload the video... Let me know if you want it.. Keep up the great work brother!


patch ? :s

the patch included ONLY has the password thingy in it.. nothing else ?
how do you get an overflow ? :s
08-16-2011, 06:13 PM #17
can some one please help me with this im new to w@w coding/hacking i cant figure out were to add the actual code
08-18-2011, 02:42 AM #18
w8t4it
Are you high?
I wonder if it has anything to do with the fact that I have the BLUS version game...??? Probably... Sorry for wasting your time(the greatest modder on NGU>>>Karoolus!).
08-18-2011, 06:31 AM #19
Karoolus
I'm the W@W Menu Guy !
Originally posted by w8t4it View Post
I wonder if it has anything to do with the fact that I have the BLUS version game...??? Probably... Sorry for wasting your time(the greatest modder on NGU>>>Karoolus!).


what's the problem ?
it's a script, so region doesn't matter..
the only difference between different region patches is the actual header i think..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo