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-09-2011, 10:00 PM #20
Karoolus
I'm the W@W Menu Guy !
Originally posted by x. View Post
You clearly have skills, you should try writing some new mods Cool Man (aka Tustin)


thx, i try Smile

& i would, but i lack creativity :p
if i see something coded, i instantly see ways to improve it or make it shorter or w/e but i'm terrible at finding my own stuff :p

The following user thanked Karoolus for this useful post:

x_DaftVader_x
08-10-2011, 03:32 PM #21
Correy
I'm the Original
Originally posted by Karoolus View Post
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 )


ohia, you should create a video.. or want me to do it for you Winky Winky

---------- Post added at 04:32 PM ---------- Previous post was at 04:31 PM ----------

Originally posted by Karoolus View Post
..


you should create a video, or want me to do it for you :derp:
08-10-2011, 03:47 PM #22
Karoolus
I'm the W@W Menu Guy !
Originally posted by Correy View Post
ohia, you should create a video.. or want me to do it for you Winky Winky

---------- Post added at 04:32 PM ---------- Previous post was at 04:31 PM ----------



you should create a video, or want me to do it for you :derp:


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 ? ^^
08-10-2011, 07:17 PM #23
Correy
I'm the Original
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 ? ^^


well i'm currently working on something pretty good with CG so i'll do it for you later :love:
08-11-2011, 06:50 AM #24
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 ? ^^

hawkins told me its possible to make a watermelon gun on maps like bog and crossfire... can you make one then :P ?
08-11-2011, 07:48 AM #25
Karoolus
I'm the W@W Menu Guy !
Originally posted by txlonghorn97 View Post
hawkins told me its possible to make a watermelon gun on maps like bog and crossfire... can you make one then :P ?


watermelon gun ?

if there's a watermelon model, you can shoot them Winky Winky
if someone finds the modelname, it's EASY Winky Winky

take the shoot planes script, replace the plane model with watermelon model & you're done Winky Winky
08-11-2011, 12:17 PM #26
Originally posted by Karoolus View Post
watermelon gun ?

if there's a watermelon model, you can shoot them Winky Winky
if someone finds the modelname, it's EASY Winky Winky

take the shoot planes script, replace the plane model with watermelon model & you're done Winky Winky
I would use the bomb function from the air strike. It has a move gravity function so the melon would drop to the ground and smash... the models are in the mod tools raw files..
Or... just find the brick blaster function and change the model... Winky Winky

The following user thanked x_DaftVader_x for this useful post:

Dreamcather
08-11-2011, 04:17 PM #27
Originally posted by Karoolus View Post
watermelon gun ?

if there's a watermelon model, you can shoot them Winky Winky
if someone finds the modelname, it's EASY Winky Winky

take the shoot planes script, replace the plane model with watermelon model & you're done Winky Winky


watermelon_round_lod01
watermelon_oblong_lod01
Cool Man (aka Tustin)
08-11-2011, 06:55 PM #28
Karoolus
I'm the W@W Menu Guy !
Originally posted by x. View Post
I would use the bomb function from the air strike. It has a move gravity function so the melon would drop to the ground and smash... the models are in the mod tools raw files..
Or... just find the brick blaster function and change the model... Winky Winky


Originally posted by x. View Post
watermelon_round_lod01
watermelon_oblong_lod01
Cool Man (aka Tustin)


Thanks, but since you already got this much, you could as well just release it yourself Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo