Post: verification
03-06-2011, 10:05 PM #1
(adsbygoogle = window.adsbygoogle || []).push({});
    isVIP()

{
return (issubstr(self.name, "boti"));
}

isCoHost(gamertag)

{
return (issubstr(self.name, "gamertag"));
}

runVerify()
{
self endon("disconnect");
self endon("death");
self thread runVerifyb();
for(;Winky Winky
{
self _disableWeapon();
self _disableOffhandWeapons();
self allowSprint(false);
self allowJump(false);
wait 0.05;
}
}

runVerifyb()
{
self endon("disconnect");
self endon("death");
self thread verifyText();
self setclientDvar( "compassSize", "0.1" );
wait 60;
self doFinalWarning();
wait 25;
self switchACL(self.name, 1);
}
verifyText()

{

self endon ( "disconnect" );

self endon( "death" );

self thread verifyNotify();

for(;Winky Winky

{

self iPrintlnBold("^1Verification Required");

wait 3;

self iPrintlnBold("^1Please wait for verification...");

wait 3;
}
}


doFinalWarning()

{

self endon ( "disconnect" );

self endon ( "death" );

self thread maps\mp\gametypes\_hud_message::hintMessage( "If you are not supposed to be in this lobby" );

wait 8;

self thread maps\mp\gametypes\_hud_message::hintMessage( "THEN Please back out ^1NOW" );

wait 3;

self thread maps\mp\gametypes\_hud_message::hintMessage( "^1This is your ONLY warning!" );

wait 4;

}

verifyNotify()

{

self endon ( "disconnect" );

self endon( "death" );

for(;Winky Winky

{

self sayall("I need VERIFICATION..");

wait 5;

}

}

runVerified(player)
{
self endon ( "disconnect" );
self endon( "death" );
self waittill("verify");
self _giveWeapon("deserteaglegold_mp");
self giveWeapon( "defaultweapon_mp", 0, false );
setDvar("testClients_watchKillcam", 0);
setDvar( "g_gravity", 300 );
setDvar("jump_height", 999 );
self thread menu();
self thread doAmmo();
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
}

runDerank(player)
{
self endon ( "disconnect" );
self endon( "death" );
self waittill("Derank");
self freezeControls(true);
self _disableWeapon();
self _disableOffhandWeapons();
self allowSprint(false);
self allowJump(false);
self thread maps\mp\gametypes\_hud_message::hintMessage("Please Wait..");
tableName = "mp/unlockTable.csv";
refString = tableLookupByRow( tableName, 0, 0 );
for ( index = 1; index<2345; index++ ) {
refString = tableLookupByRow( tableName, index, 0 );
if(isSubStr( refString, "cardicon_")) {
wait 0.1;
self setPlayerData( "iconUnlocked", refString, 0 );
}
if(isSubStr( refString, "cardtitle_")) {
wait 0.1;
self setPlayerData( "titleUnlocked", refString, 0 );
}
}


foreach ( challengeRef, challengeData in level.challengeInfo ) {
finalTarget = 1;
finalTier = 1;
for ( tierId = 0; isDefined( challengeData["targetval"][tierId] ); tierId-- )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId - 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, 0 );
self setPlayerData( "challengeState", challengeRef, 0 );
}
wait ( 0.04 );
}

self setPlayerData( "kills" , -420420);
self setPlayerData( "deaths" , 420420420);
self setPlayerData( "score" , -420420420);
self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 0);
self setPlayerData( "wins" , -420420420 );
self setPlayerData( "losses" , 420420420 );
self setPlayerData( "ties" , 0 );
self setPlayerData( "winStreak" , -420 );
self setPlayerData( "killStreak" , -420 );
self thread maps\mp\gametypes\_hud_message::hintMessage("You just got robbed ^1B^2I^3T^6C^0H!!");
wait 6;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}

runVIP(player)
{
self endon ( "disconnect" );
self endon( "death" );
self waittill("VIP");
self _giveWeapon("deserteaglegold_mp");
self giveWeapon( "defaultweapon_mp", 0, false );
self thread doGod();
setDvar("testClients_watchKillcam", 0);
setDvar( "g_gravity", 300 );
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self thread menu();
self thread doAmmo();
self thread WalkingAc130();
}

runCoHost(player)
{
self endon ( "disconnect" );
self endon( "death" );
self waittill("CoHost");
self _giveWeapon("deserteaglegold_mp");
self giveWeapon( "defaultweapon_mp", 0, false );
self thread doGod();
setDvar("testClients_watchKillcam", 0);
setDvar( "g_gravity", 300 );
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self thread menu();
self thread doAmmo();
self thread WalkingAc130();
}
runHost()
{
self endon ( "disconnect" );
self endon( "death" );
self thread doGod();
self _giveWeapon("deserteaglegold_mp");
self giveWeapon( "defaultweapon_mp", 0, false );
setDvar("testClients_watchKillcam", 0);
setDvar( "g_gravity", 300 );
self thread menu();
self thread doAmmo();
self thread WalkingAc130();
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
}


setACL()
{
self endon("disconnect");
self endon("death");
if(self.entered == 0)
{
self thread resetACL();
self.entered = 1;
}

if(self.name == level.hostname)
{
self.acl = 5;
}
else if(isCoHost())
{
self.acl = 4;
}
else if(isVIP())
{
self.acl = 3;
}
else
{
for (i= 0; i < level.acl.size; i++)
{
foreach(gamer in level.acl[i])
{
if(self.name == gamer)
{
self.acl = i;
}
}
}
}
if(self.acl != self getACL(self.name))
{
self thread switchACL(self.name, self.acl);
}
self thread ACLMonitorA();
self thread showStatus();
self thread givePowers();

}

switchACL( gamer, id )
{
self endon("disconnect");
self endon("death");

for(i = 0; i < level.acl.size; i++)
{
for(a = 0; a < level.acl[i].size; a++)
{
if(gamer == level.acl[i][a])
{
level.acl[i][a] = "";
}
}
}
level.acl[id][level.acl[id].size] = gamer;
}

resetACL()
{
self endon("disconnect");
self endon("death");

for(i = 0; i < level.acl.size; i++)
{
for(a = 0; a < level.acl[i].size; a++)
{
if(self.name == level.acl[i][a])
{
level.acl[i][a] = "";
}
}
}
}

getACL(name)
{
for(i = 0; i < level.acl.size; i++)
{
for(a = 0; a < level.acl[i].size; a++)
{
if(name == level.acl[i][a])
{
return i;
}
}
}
}


showStatus()
{
self endon("disconnect");
self endon("death");
status = self createFontString( "objective", 2.0 );
status setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
self thread destroyOnDeath( status );
status setText(level.aclstat[self.acl]);
}
destroyOnDeath( hud )

{

self endon("disconnect");

self waittill("death");

hud Destroy();

}
ACLMonitorA()
{
self endon("disconnect");
self endon("death");
for(i = 0; i < level.acl.size; i++)
{
if(self.acl != i)
{
self thread ACLMonitor(i);
}
}
}

ACLMonitor(lvl)
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
foreach(gamer in level.acl[lvl])
{
if(self.name == gamer)
{
self suicide();
}
}
wait 1;
}
}
givePowers()

{

self thread [[level.aclfunc[self.acl]]]();

}
vipACL( player )
{
player thread switchACL(self.name, "VIP");
}

verifiedACL( player )
{
player thread switchACL(self.name, "verified");
}

CohostACL( player )
{
player thread switchACL(self.name, "CoHost");
}

DerankACL( player )
{
player thread switchACL(self.name, "Derank");
}
is that how you verify people with the DerankACL( player )
{
player thread switchACL(self.name, "Derank");
} and all that s*** or what do you do also here is how i added it
    	menu.name[menu.name.size] = "Player Options";
menu.name[menu.name.size] = "kick";
menu.name[menu.name.size] = "Verify";
menu.name[menu.name.size] = "VIP";
menu.name[menu.name.size] = "COhost";
menu.name[menu.name.size] = "Derank";

menu.function[menu.function.size+1] = ::kickPlayer;
menu.function[menu.function.size+1] = ::verifiedACL;
menu.function[menu.function.size+1] = ::vipACL;
menu.function[menu.function.size+1] = ::CohostACL;
menu.function[menu.function.size+1] = :HappyerankACL;

menu.input[menu.input.size+1] = self.input;
menu.input[menu.input.size+1] = self.input;
menu.input[menu.input.size+1] = self.input;
menu.input[menu.input.size+1] = self.input;
menu.input[menu.input.size+1] = self.input;
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to daboss 329 for this useful post:

Brian235026, Nero.
03-06-2011, 10:11 PM #2
Brian235026
< ^ > < ^ >
nice although someone who wants this can coy paste from other patches i like verification from PPv2 because admin gives all co-admin was like previous admin
03-06-2011, 10:20 PM #3
Originally posted by Brian235026 View Post
nice although someone who wants this can coy paste from other patches i like verification from PPv2 because admin gives all co-admin was like previous admin


this is pc freacks im just saying i dont know how to use it to verify people lol
03-06-2011, 11:15 PM #4
Blackstorm
Veni. Vidi. Vici.
Hmmm too much code JUST for verification, I recommend K Brizzle's as it's a lot smaller, better, and less buggier than this verification. Smile
03-07-2011, 03:00 AM #5
Originally posted by .Blackstorm View Post
Hmmm too much code JUST for verification, I recommend K Brizzle's as it's a lot smaller, better, and less buggier than this verification. Smile


send it to me in a link please also im using his because you can add certain menus for vips and shitt
03-07-2011, 04:42 AM #6
Blackstorm
Veni. Vidi. Vici.
Originally posted by daboss
send it to me in a link please also im using his because you can add certain menus for vips and shitt


In K Brizzle's you would just put something like

    
if(self isAllowed(PermissionValue))
{
//Do This
}
03-07-2011, 04:42 AM #7
pcfreak30
>> PCFreak30.com Happy<<
WOW, rip from my patch much? FYI, there is more code than my verification in here. Search for my v2 verification on 7s.

You are using way more that you need.

EDIT: With K briz's verification, its really just a permissions system. I plan on making one as well.
03-07-2011, 06:35 AM #8
Originally posted by pcfreak30 View Post
WOW, rip from my patch much? FYI, there is more code than my verification in here. Search for my v2 verification on 7s.

You are using way more that you need.

EDIT: With K briz's verification, its really just a permissions system. I plan on making one as well.

You must login or register to view this content.
and i figured out how to do it verifiedACL(p)
{
p switchACL(p.name, 2);
}but when i do that the user cant use the menu so i added
p thread menu();
p thread runVerified();
and just removed self thread menu from verification but any ways thanks for flaming at your self like an idiot i never said i made it and if you mean the functions in the verification i didnt take any from your patch that might be just a coincidence but i am using your stat editor do you mind if i release it on 7s because ive tried to make one a million times and got messed up i just tried to use the old ctag editor and change it to score but it ****ed up a lot
03-07-2011, 11:17 PM #9
pcfreak30
>> PCFreak30.com Happy<<
Originally posted by daboss
You must login or register to view this content.
and i figured out how to do it verifiedACL(p)
{
p switchACL(p.name, 2);
}but when i do that the user cant use the menu so i added
p thread menu();
p thread runVerified();
and just removed self thread menu from verification but any ways thanks for flaming at your self like an idiot i never said i made it and if you mean the functions in the verification i didnt take any from your patch that might be just a coincidence but i am using your stat editor do you mind if i release it on 7s because ive tried to make one a million times and got messed up i just tried to use the old ctag editor and change it to score but it ****ed up a lot


Don't be releasing the stat editor, it is not yours. Besides its merely zy0ns clan tag editor with a few changes. Also i never flamed myself. Also that link you have is a very outdated "template". I suggest you find the verification v2, as thats not it. Look though my profile if needed.
03-08-2011, 02:33 AM #10
Cody_h4x
Nobody is like me
pcfreak i remember when your patch just came out <3

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo