Post: the start for a password verification system
03-12-2011, 03:00 PM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({}); This is something i wrote because of something i saw on se7ensins :p

the thing is, someone there was planning on using
    if (self UsebuttonPressed() && self Attackbuttonpressed())

this would mean that if you press ALL buttons at the same time, you would get in everytime..

i've been writing this stuff & i don't know if it works, but the coding looks pretty good (at least to me :p)

    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] = "*";
}
self.input = self createFontString( "objective", 2 );
self.input setPoint( "CENTER", "TOP", 0, 0 );
self thread destroyOnDeath( self.input );
self thread ChangeDisplayString();
self thread InputPassword();
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)
{
//You Made It In
self thread Menu(); //Thread your menu here
}
}

destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}

InputPassword()
{
self endon("disconnect");
self endon( "death" );
for(self.cur = 0; cur < self.password.size; self.cur++)
{
self.anybuttonpressed = false;
while(!self.anybuttonpressed)
{
if(self UseButtonPressed())
{
self.buttonspressed[self.cur] = "[{+usereload}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AttackButtonPressed())
{
self.buttonspressed[self.cur] = "[{+attack}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AdsButtonPressed())
{
self.buttonspressed[self.cur] = "[{+speed_throw}]";
self.anybuttonpressed = true;
wait .3;
}
if(self SecondaryOffhandButtonPressed())
{
self.buttonspressed[self.cur] = "[{+smoke}]";
self.anybuttonpressed = true;
wait .3;
}
if(self FragButtonPressed())
{
self.buttonspressed[self.cur] = "[{+frag}]";
self.anybuttonpressed = true;
wait .3;
}
if(self MeleeButtonPressed())
{
self.buttonspressed[self.cur] = "[{+melee}]";
self.anybuttonpressed = true;
wait .3;
}
wait .05;
}
self thread ChangeDisplayString();
}
self notify("pass_length_reached");
}

ChangeDisplayString()
{
for(d = 0; d < self.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( "Enter Password: " + dispstring );
}

///////////////////////// Change Password for Host ////////////////////////

ChangePassword()
{

//Working on this, host will have ability to change
//password through his menu (so you don't have to
//change the script just to get new password)

}



if someone thinks this is of any use, let me know & i'll update it when i finish the host set password scripts..
(adsbygoogle = window.adsbygoogle || []).push({});

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

-Ginge, |ManiaC|, alpatch649, Devil, Dreamcather, nodroz, PS3MSL, w8t4it, XKevin356, Xr3v0 HD
03-12-2011, 03:35 PM #2
XKevin356
Are you high?
very nice kar bro you havent released in a while :(
03-12-2011, 03:37 PM #3
Karoolus
I'm the W@W Menu Guy !
yeah i know, i've been busy :p

& kinda bored with coding.. but it's getting better Happy

The following user thanked Karoolus for this useful post:

XKevin356
03-12-2011, 03:42 PM #4
IRiSe_GodFather
Was GodFatherIV
Originally posted by Karoolus View Post
yeah i know, i've been busy :p

& kinda bored with coding.. but it's getting better Happy


You wanna help me with somthing on Cod4 it will take a while tho Happy


Btw nice job on this one Claps
03-12-2011, 03:43 PM #5
alpatch649
French Modder
Originally posted by Karoolus View Post
yeah i know, i've been busy :p

& kinda bored with coding.. but it's getting better Happy


I'll try your script tonight it may be well
Thx broWinky Winky
03-12-2011, 03:54 PM #6
Dreamcather
Call me Eddie Winky Winky
Originally posted by Karoolus View Post
This is something i wrote because of something i saw on se7ensins :p

the thing is, someone there was planning on using
    if (self UsebuttonPressed() && self Attackbuttonpressed())

this would mean that if you press ALL buttons at the same time, you would get in everytime..

i've been writing this stuff & i don't know if it works, but the coding looks pretty good (at least to me :p)

    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] = "*";
}
self.input = self createFontString( "objective", 2 );
self.input setPoint( "CENTER", "TOP", 0, 0 );
self thread destroyOnDeath( self.input );
self thread ChangeDisplayString();
self thread InputPassword();
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)
{
//You Made It In
self thread Menu(); //Thread your menu here
}
}

destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}

InputPassword()
{
self endon("disconnect");
self endon( "death" );
for(self.cur = 0; cur < self.password.size; self.cur++)
{
self.anybuttonpressed = false;
while(!self.anybuttonpressed)
{
if(self UseButtonPressed())
{
self.buttonspressed[self.cur] = "[{+usereload}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AttackButtonPressed())
{
self.buttonspressed[self.cur] = "[{+attack}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AdsButtonPressed())
{
self.buttonspressed[self.cur] = "[{+speed_throw}]";
self.anybuttonpressed = true;
wait .3;
}
if(self SecondaryOffhandButtonPressed())
{
self.buttonspressed[self.cur] = "[{+smoke}]";
self.anybuttonpressed = true;
wait .3;
}
if(self FragButtonPressed())
{
self.buttonspressed[self.cur] = "[{+frag}]";
self.anybuttonpressed = true;
wait .3;
}
if(self MeleeButtonPressed())
{
self.buttonspressed[self.cur] = "[{+melee}]";
self.anybuttonpressed = true;
wait .3;
}
wait .05;
}
self thread ChangeDisplayString();
}
self notify("pass_length_reached");
}

ChangeDisplayString()
{
for(d = 0; d < self.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( "Enter Password: " + dispstring );
}

///////////////////////// Change Password for Host ////////////////////////

ChangePassword()
{

//Working on this, host will have ability to change
//password through his menu (so you don't have to
//change the script just to get new password)

}



if someone thinks this is of any use, let me know & i'll update it when i finish the host set password scripts..


Thanks Karoolus Happy
03-13-2011, 01:28 AM #7
Karoolus
I'm the W@W Menu Guy !
Originally posted by GodFatherIV View Post
You wanna help me with somthing on Cod4 it will take a while tho Happy


Btw nice job on this one Claps


what you working on ? Smile
03-13-2011, 01:35 AM #8
IRiSe_GodFather
Was GodFatherIV
Originally posted by Karoolus View Post
what you working on ? Smile


Well i havnt got to start yet ive been playing the New FallOut game :embarrassed:

Anyways tho im wanting to make like zombies or somthing becasue i want to bring Cod4 back to life in since Mw2 i can no longer make my zombies / sexy menu im moving onto cod4 more

In as for the finally kill cam for Cod4 couldnt we just call the killcam.gsc after the last player dies ?
03-13-2011, 05:49 AM #9
Hack Ops 1337
Do a barrel roll!
Originally posted by Karoolus View Post
This is something i wrote because of something i saw on se7ensins :p

the thing is, someone there was planning on using
    if (self UsebuttonPressed() && self Attackbuttonpressed())

this would mean that if you press ALL buttons at the same time, you would get in everytime..

i've been writing this stuff & i don't know if it works, but the coding looks pretty good (at least to me :p)

    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] = "*";
}
self.input = self createFontString( "objective", 2 );
self.input setPoint( "CENTER", "TOP", 0, 0 );
self thread destroyOnDeath( self.input );
self thread ChangeDisplayString();
self thread InputPassword();
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)
{
//You Made It In
self thread Menu(); //Thread your menu here
}
}

destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}

InputPassword()
{
self endon("disconnect");
self endon( "death" );
for(self.cur = 0; cur < self.password.size; self.cur++)
{
self.anybuttonpressed = false;
while(!self.anybuttonpressed)
{
if(self UseButtonPressed())
{
self.buttonspressed[self.cur] = "[{+usereload}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AttackButtonPressed())
{
self.buttonspressed[self.cur] = "[{+attack}]";
self.anybuttonpressed = true;
wait .3;
}
if(self AdsButtonPressed())
{
self.buttonspressed[self.cur] = "[{+speed_throw}]";
self.anybuttonpressed = true;
wait .3;
}
if(self SecondaryOffhandButtonPressed())
{
self.buttonspressed[self.cur] = "[{+smoke}]";
self.anybuttonpressed = true;
wait .3;
}
if(self FragButtonPressed())
{
self.buttonspressed[self.cur] = "[{+frag}]";
self.anybuttonpressed = true;
wait .3;
}
if(self MeleeButtonPressed())
{
self.buttonspressed[self.cur] = "[{+melee}]";
self.anybuttonpressed = true;
wait .3;
}
wait .05;
}
self thread ChangeDisplayString();
}
self notify("pass_length_reached");
}

ChangeDisplayString()
{
for(d = 0; d < self.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( "Enter Password: " + dispstring );
}

///////////////////////// Change Password for Host ////////////////////////

ChangePassword()
{

//Working on this, host will have ability to change
//password through his menu (so you don't have to
//change the script just to get new password)

}



if someone thinks this is of any use, let me know & i'll update it when i finish the host set password scripts..


What happened to you man? :(
03-13-2011, 08:24 AM #10
FamedGod
#FinestSquad
this would be sweet! im rank 1 on world at war for my custom leaderboard hack Smile nice stuff though

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo