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-13-2011, 08:58 AM #11
Solo.
Solo Da Noobs
release something or ill stab you :evil:
03-13-2011, 10:31 AM #12
Karoolus
I'm the W@W Menu Guy !
Originally posted by sMD
this would be sweet! im rank 1 on world at war for my custom leaderboard hack Smile nice stuff though


i've been #1 on the world for a while, until i released one of my patches Happy

Originally posted by xTechnique View Post
release something or ill stab you :evil:


patience Winky Winky
i'm working on some new scripts and a LOT more mods Winky Winky

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

Devil, Josh1210, Solo.
03-13-2011, 12:32 PM #13
|ManiaC|
Carburator 45mm
nice your the beast on W@W coding
03-13-2011, 05:59 PM #14
nodroz
Do a barrel roll!
Thanks a lot mate karoolus.
We live in the same city!
I enjoy all of you COD5 patches! Thanks!
03-14-2011, 08:47 AM #15
Solo.
Solo Da Noobs
Originally posted by Karoolus View Post
i've been #1 on the world for a while, until i released one of my patches Happy



patience Winky Winky
i'm working on some new scripts and a LOT more mods Winky Winky


Claps ok i was just jking around Winky Winky and i no it will be great like always Happy

edit: oh yeah and finally something new for zombies eh?but alpatch released some good stuff too :y:
03-18-2011, 10:38 AM #16
Sounds awesome
03-18-2011, 11:41 AM #17
Dreamcather
Call me Eddie Winky Winky
Originally posted by ManiiaCL View Post
nice your the beast on W@W coding


Karoolus are Not the best waw coder.
There is Many coders in this world! /facepalm
03-18-2011, 12:46 PM #18
|ManiaC|
Carburator 45mm
Originally posted by Playstation3lb View Post
Karoolus are Not the best waw coder.
There is Many coders in this world! /facepalm


I said he is a beast on waw coding...not best but yes i also think hes the best W@W coder,,,,if not tell me who is better coder than him in w@w?¿?¿¿?¿?¿?¿? Claps

I know there are alot of coders,,i kno u also code w@w patches .....im coder too...........FAG
03-18-2011, 03:13 PM #19
Dreamcather
Call me Eddie Winky Winky
Originally posted by ManiiaCL View Post
I said he is a beast on waw coding...not best but yes i also think hes the best W@W coder,,,,if not tell me who is better coder than him in w@w?¿?¿¿?¿?¿?¿? Claps

I know there are alot of coders,,i kno u also code w@w patches .....im coder too...........FAG


And DON´T call me ``fag`` -.-

-Jesus- from se7ensins are better coder than Karoolus...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo