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:
    https://www.mediafire.com/?1d56g7y26dv513u

could someone record this patch ( a short video, so we can see how it looks on console Smile )
(adsbygoogle = window.adsbygoogle || []).push({});

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

Diddles2Fresshh, INSAN3LY_D34TH, w8t4it
08-11-2011, 07:13 PM #29
Originally posted by Karoolus View Post
Thanks, but since you already got this much, you could as well just release it yourself Smile
no time for playing games this week.. work to do, money to make.. Smile
08-11-2011, 07:45 PM #30
Goona Babby
Can’t trickshot me!
nice patch now i can put my own password
08-11-2011, 08:36 PM #31
Karoolus
I'm the W@W Menu Guy !
Originally posted by x. View Post
no time for playing games this week.. work to do, money to make.. Smile


did you use this ? Happy

You must login or register to view this content.
08-11-2011, 09:09 PM #32
Originally posted by Karoolus View Post
did you use this ? Happy

You must login or register to view this content.


I didn't but , wow, whoever did that has a lot of times on their hands Smile
I used the modtools xmodels file and searched for "watermelon"...

I really need to try a gun that shoots the head models though haha..

The following user thanked x_DaftVader_x for this useful post:

Karoolus
08-14-2011, 03:58 PM #33
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Karoolus View Post
did you use this ? Happy


just one thing i have to say about your password verification, if you thread this onplayerspawned() then you have to do it every time you change teams which is annoying. there has to be a way to code it to if you did it once you dont need to do it again.
08-15-2011, 07:30 PM #34
txlonghorn97
Master Prestige, Shotgun zombies. Life complete
Originally posted by Karoolus View Post
yes please Smile

i could make a video on PC, but it doesn't show the button icons, but text..
on console, it actually shows the button icons you pushed Smile
so if someone could record it on ps3 Smile

did you try the patch ? ^^


you should try to make a patch with a codjumping course. add those weird green things with slants to use as bounces and do some map edits. that would be cool in my oppinion
08-15-2011, 11:45 PM #35
w8t4it
Are you high?
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!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo