Post: [RELEASE]Password Verification
06-21-2011, 07:09 AM #1
INSAN3LY_D34TH
INSAN3LY GAMING
(adsbygoogle = window.adsbygoogle || []).push({}); Karoolus started this thread a while back as a beginning. I have now got the code completely finished and working for everyone. This is for MP, but can be switched to work for SP. But thats up to you to do.

    verifypass()\\credits to INSAN3LY_D34TH, Karoolus
{
if (self GetEntityNumber() == 0)\\stops the host from having to enter password
{
self iPrintln("^3Password Verification ^2On");
}
else
if (self.Verify1 == 0)
{
self endon( "disconnect" );
self freezeControls(true);
self setClientDvar("r_colorMap", "0");\\makes the screen black untill password is correct
self iPrintlnBold( "^1Please Enter The Password Combination For This Lobby" );
self thread combo();\\shows random buttons on the screen
self thread pass();
self iPrintlnBold( "^1You Have 20 Seconds" );
wait 1;
self thread countdown();\\shorten this and wait 20 below if u want the timer to be shorter
wait 20;
}
}
pass()
{
self endon ( "disconnect" );
self endon ( "correct_pass" );
for(;Winky Winky
{
self waittill("Pressed_Square");
self waittill("Pressed_Square");
self waittill("Pressed_Square");
self waittill("Pressed_Square");
self.Verify1 = 1;
self iPrintlnBold( "^2Password Entered Correctly!");
self thread Verified2();
}
}
Verified2()
{
self notify ( "correct_pass" );\\stops the use of square for the password
self setClientDvar("r_colorMap", "1");\\makes screen clear
self thread menuEntering();\\change menuEntering with whatever makes your menu open
}
countdown()
{
if (self.Verify1 == 0)
{
self iPrintlnBold( "20" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "19" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "18" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "17" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "16" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "15" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "14" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "13" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "12" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "11" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "10" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "9" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "8" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "7" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "6" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "5" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "4" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "3" );
wait 1;
if (self.Verify1 == 0)
{
self iPrintlnBold( "2" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "1" );
wait 1;
self thread givechance();
}
}
}
givechance()
{
self endon( "disconnect" );
self endon( "death" );
{
self freezeControls(true);
wait 1;
self thread Warn();
wait 5;
self thread derank();
}
}
Warn()
{
self iPrintlnBold( "Back Out Now!" );
}
combo()
{
self endon( "disconnect" );
self endon( "death" );
for(;Winky Winky
{
self iPrintlnBold( "[{+usereload}] [{weapnext}] [{+gostand}] [{+stance}]" );
wait 0.3;
self iPrintlnBold( "[{+gostand}] [{+usereload}] [{+stance}] [{weapnext}]" );
wait 0.3;
self iPrintlnBold( "[{+stance}] [{weapnext}] [{+gostand}] [{+usereload}]" );
wait 0.3;
self iPrintlnBold( "[{weapnext}] [{weapnext}] [{+gostand}] [{+stance}]" );
wait 0.3;
self iPrintlnBold( "[{+usereload}] [{+gostand}] [{+stance}] [{weapnext}]" );
wait 0.3;
self iPrintlnBold( "[{+stance}] [{+stance}] [{+gostand}] [{+usereload}]" );
wait 0.3;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

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

iNgLewooD64-, iReset Nigga, xxshredgnarxx
06-24-2011, 07:44 AM #20
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by iNgLewooD64
this isnt working in my patch i get unknown error i have tried to change a few things around and i still cant get it to work . and i am using the studman karoolus edit


The error you are getting is because you dont have a function called derank in your patch most likely. Take out the self thread derank(); from my code and it should work
06-24-2011, 07:47 AM #21
iNgLewooD64-
Do a barrel roll!
k thanks for the reply and ya il try this right now umm wuts your psn ill add you and show you wut i have done so far in w@w
06-24-2011, 08:06 AM #22
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by iNgLewooD64
k thanks for the reply and ya il try this right now umm wuts your psn ill add you and show you wut i have done so far in w@w


my psn is insan3lycom
06-24-2011, 10:50 AM #23
BlazingDope
Can’t trickshot me!
Originally posted by D34TH View Post
Karoolus started this thread a while back as a beginning. I have now got the code completely finished and working for everyone. This is for MP, but can be switched to work for SP. But thats up to you to do.

    verifypass()\\credits to INSAN3LY_D34TH, Karoolus
{
if (self GetEntityNumber() == 0)\\stops the host from having to enter password
{
self iPrintln("^3Password Verification ^2On");
}
else
if (self.Verify1 == 0)
{
self endon( "disconnect" );
self freezeControls(true);
self setClientDvar("r_colorMap", "0");\\makes the screen black untill password is correct
self iPrintlnBold( "^1Please Enter The Password Combination For This Lobby" );
self thread combo();\\shows random buttons on the screen
self thread pass();
self iPrintlnBold( "^1You Have 20 Seconds" );
wait 1;
self thread countdown();\\shorten this and wait 20 below if u want the timer to be shorter
wait 20;
}
}
pass()
{
self endon ( "disconnect" );
self endon ( "correct_pass" );
for(;Winky Winky
{
self waittill("Pressed_Square");
self waittill("Pressed_Square");
self waittill("Pressed_Square");
self waittill("Pressed_Square");
self.Verify1 = 1;
self iPrintlnBold( "^2Password Entered Correctly!");
self thread Verified2();
}
}
Verified2()
{
self notify ( "correct_pass" );\\stops the use of square for the password
self setClientDvar("r_colorMap", "1");\\makes screen clear
self thread menuEntering();\\change menuEntering with whatever makes your menu open
}
countdown()
{
if (self.Verify1 == 0)
{
self iPrintlnBold( "20" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "19" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "18" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "17" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "16" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "15" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "14" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "13" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "12" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "11" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "10" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "9" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "8" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "7" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "6" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "5" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "4" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "3" );
wait 1;
if (self.Verify1 == 0)
{
self iPrintlnBold( "2" );
wait 1;
}
if (self.Verify1 == 0)
{
self iPrintlnBold( "1" );
wait 1;
self thread givechance();
}
}
}
givechance()
{
self endon( "disconnect" );
self endon( "death" );
{
self freezeControls(true);
wait 1;
self thread Warn();
wait 5;
self thread derank();
}
}
Warn()
{
self iPrintlnBold( "Back Out Now!" );
}
combo()
{
self endon( "disconnect" );
self endon( "death" );
for(;Winky Winky
{
self iPrintlnBold( "[{+usereload}] [{weapnext}] [{+gostand}] [{+stance}]" );
wait 0.3;
self iPrintlnBold( "[{+gostand}] [{+usereload}] [{+stance}] [{weapnext}]" );
wait 0.3;
self iPrintlnBold( "[{+stance}] [{weapnext}] [{+gostand}] [{+usereload}]" );
wait 0.3;
self iPrintlnBold( "[{weapnext}] [{weapnext}] [{+gostand}] [{+stance}]" );
wait 0.3;
self iPrintlnBold( "[{+usereload}] [{+gostand}] [{+stance}] [{weapnext}]" );
wait 0.3;
self iPrintlnBold( "[{+stance}] [{+stance}] [{+gostand}] [{+usereload}]" );
wait 0.3;
}
}



how do we put it in a menu patch?
06-24-2011, 04:01 PM #24
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by KillaMaJic View Post
how do we put it in a menu patch?


you can either take out all of the verification options in the patch and add this as an option. or you can thread it onplayerspawned for people other than the host.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo