Post: My WAW Player Verification Script
02-24-2012, 04:44 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); onPlayerSpawned()
{
self endon("disconnect");

for( ;; )
{
self waittill("spawned_player");
self.jump = false;
self.aim = false;
self.god = false;
self.ufo = false;
self.wall = false;
self.invisible = false;
self.third = false;
self.unlammo = false;
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self thread doSpawned();
if(self.verified == true && self.vip == true && self.coHost == true && self GetEntityNumber() == 0)
{
self iPrintlnBold(self.name+" ^2WELCOME YOU ARE NOW VERIFIED^0!");//Dont Freeze The Verified...
}
else
{
self freezecontrols(true);//Freeze EveryOne On Spawning...
self iPrintlnBold( "^0================================" );
self iPrintlnBold( "^0===^1PLEASE ^7WAIT ^5TO ^7BE ^1VERIFIED^0===" );
self iPrintlnBold( "^0================================" );
}
}
}
}

verify(){
player = level.players[self.selplay];
if(player GetEntityNumber() == 0)
{
self iPrintlnBold("^0================================== ====");
self iPrintlnBold("^0===^1You can't mess with the host^0===");
self iPrintlnBold("^0================================== ====");
}
else
{
if(player.verified == false)
{
player suicide();
player.verified = true;
player.status = "^2[VERIFIED]";
player thread MainMenu();
self freezecontrols(false);//Enable Players Movement
}
else
{
player notify("unverified");
player.verified = false;
player.vip = false;
player.coHost = false;
player.status = "[WAIT...]";
player iPrintln( level.hostname + " ^3Remove Access to the Menu");
self freezecontrols(true);//Freeze Players Movement
}
}
self thread submenu(11);
}


vipPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.status = "^5[*VIP*]";
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

hostPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.coHost = true;
player.status = "^0[^1CO^0-^1HOST^0]";
player giveWeapon( "defaultweapon_mp", 0, false );
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

Ok so what this simple script i made does is freeze players on spawn until they are verified they cant move. Thanks to kbrizzle's for the idea on his mw2 tree patch... Enjoy... Tested And Working...



Im using this for my patch and it is really fun Smile

The following user thanked COD5-MAN- for this useful post:

Cmd-X
02-24-2012, 04:45 AM #2
Cmd-X
It's been awhile.
Originally posted by COD5
onPlayerSpawned()
{
self endon("disconnect");

for( ;; )
{
self waittill("spawned_player");
self.jump = false;
self.aim = false;
self.god = false;
self.ufo = false;
self.wall = false;
self.invisible = false;
self.third = false;
self.unlammo = false;
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self thread doSpawned();
if(self.verified == true && self.vip == true && self.coHost == true && self GetEntityNumber() == 0)
{
self iPrintlnBold(self.name+" ^2WELCOME YOU ARE NOW VERIFIED^0!");//Dont Freeze The Verified...
}
else
{
self freezecontrols(true);//Freeze EveryOne On Spawning...
self iPrintlnBold( "^0================================" );
self iPrintlnBold( "^0===^1PLEASE ^7WAIT ^5TO ^7BE ^1VERIFIED^0===" );
self iPrintlnBold( "^0================================" );
}
}
}
}

verify(){
player = level.players[self.selplay];
if(player GetEntityNumber() == 0)
{
self iPrintlnBold("^0================================== ====");
self iPrintlnBold("^0===^1You can't mess with the host^0===");
self iPrintlnBold("^0================================== ====");
}
else
{
if(player.verified == false)
{
player suicide();
player.verified = true;
player.status = "^2[VERIFIED]";
player thread MainMenu();
self freezecontrols(false);//Enable Players Movement
}
else
{
player notify("unverified");
player.verified = false;
player.vip = false;
player.coHost = false;
player.status = "[WAIT...]";
player iPrintln( level.hostname + " ^3Remove Access to the Menu");
self freezecontrols(true);//Freeze Players Movement
}
}
self thread submenu(11);
}


vipPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.status = "^5[*VIP*]";
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

hostPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.coHost = true;
player.status = "^0[^1CO^0-^1HOST^0]";
player giveWeapon( "defaultweapon_mp", 0, false );
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

Ok so what this simple script i made does is freeze players on spawn until they are verified they cant move. Thanks to kbrizzle's for the idea on his mw2 tree patch... Enjoy... Tested And Working...



Im using this for my patch and it is really fun Smile


Why do you keep "releasing" "new" scripts? That "you made"?

The following user thanked Cmd-X for this useful post:

COD5-MAN-
02-24-2012, 04:51 AM #3
Originally posted by xBlackberryHaze View Post
Why do you keep "releasing" "new" scripts? That "you made"?


So other people can use them. I feel selfish when i keep things to myself lol :p

---------- Post added at 11:51 PM ---------- Previous post was at 11:48 PM ----------

And why "" your text for? You have something to ask me? Or wanna know. And yes i scripted this. Got the idea of kbrizzles mw2 tree patch Smile
02-24-2012, 04:54 AM #4
Cmd-X
It's been awhile.
Originally posted by COD5
So other people can use them. I feel selfish when i keep things to myself lol :p

---------- Post added at 11:51 PM ---------- Previous post was at 11:48 PM ----------

And why "" your text for? You have something to ask me? Or wanna know. And yes i scripted this. Got the idea of kbrizzles mw2 tree patch Smile


Okay.. But they're such basic codes, and super similar to existing ones, you just add a few things.. Not really worth releasing.
02-24-2012, 09:37 AM #5
forflah123
Who’s Jim Erased?
Originally posted by xBlackberryHaze View Post
Okay.. But they're such basic codes, and super similar to existing ones, you just add a few things.. Not really worth releasing.


w@w already has a lot of stuff made for it and there not much you can do with it anyway something like this will really help other people stand out from the rest as every patch not matter what has exactly the same stuff as the next 1 in it it just they look a bit different in the menu by people naming them differently
02-24-2012, 10:01 AM #6
BlazingDope
Can’t trickshot me!
Originally posted by COD5
onPlayerSpawned()
{
self endon("disconnect");

for( ;; )
{
self waittill("spawned_player");
self.jump = false;
self.aim = false;
self.god = false;
self.ufo = false;
self.wall = false;
self.invisible = false;
self.third = false;
self.unlammo = false;
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self thread doSpawned();
if(self.verified == true && self.vip == true && self.coHost == true && self GetEntityNumber() == 0)
{
self iPrintlnBold(self.name+" ^2WELCOME YOU ARE NOW VERIFIED^0!");//Dont Freeze The Verified...
}
else
{
self freezecontrols(true);//Freeze EveryOne On Spawning...
self iPrintlnBold( "^0================================" );
self iPrintlnBold( "^0===^1PLEASE ^7WAIT ^5TO ^7BE ^1VERIFIED^0===" );
self iPrintlnBold( "^0================================" );
}
}
}
}

verify(){
player = level.players[self.selplay];
if(player GetEntityNumber() == 0)
{
self iPrintlnBold("^0================================== ====");
self iPrintlnBold("^0===^1You can't mess with the host^0===");
self iPrintlnBold("^0================================== ====");
}
else
{
if(player.verified == false)
{
player suicide();
player.verified = true;
player.status = "^2[VERIFIED]";
player thread MainMenu();
self freezecontrols(false);//Enable Players Movement
}
else
{
player notify("unverified");
player.verified = false;
player.vip = false;
player.coHost = false;
player.status = "[WAIT...]";
player iPrintln( level.hostname + " ^3Remove Access to the Menu");
self freezecontrols(true);//Freeze Players Movement
}
}
self thread submenu(11);
}


vipPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.status = "^5[*VIP*]";
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

hostPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.coHost = true;
player.status = "^0[^1CO^0-^1HOST^0]";
player giveWeapon( "defaultweapon_mp", 0, false );
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

Ok so what this simple script i made does is freeze players on spawn until they are verified they cant move. Thanks to kbrizzle's for the idea on his mw2 tree patch... Enjoy... Tested And Working...



Im using this for my patch and it is really fun Smile

but when someone shoots them, they will become unfrozen? and be able to move once they have spawned. what you want to do is this. thread this from player spawned from when people are verified, it shall stop the function.

    
FreezeNonVer()
{
self endon("disconnect");
self endon("verified");
for(;Winky Winky
{
self freezecontrols(true);
wait .2;
}
}
02-24-2012, 12:37 PM #7
Originally posted by KillaMaJic View Post
but when someone shoots them, they will become unfrozen? and be able to move once they have spawned. what you want to do is this. thread this from player spawned from when people are verified, it shall stop the function.

    
FreezeNonVer()
{
self endon("disconnect");
self endon("verified");
for(;Winky Winky
{
self freezecontrols(true);
wait .2;
}
}


They used to be able to but i fixed it Smile

self thread doSpawned();
if(self.verified == true && self.vip == true && self.coHost == true && self GetEntityNumber() == 0) //Dont freeze the verified Smile
{
self iPrintlnBold(self.name+" ^2WELCOME YOU ARE NOW VERIFIED^0!");//Dont Freeze The Verified...
}
else
{
self freezecontrols(true);//Freeze EveryOne On Spawning... //For everyone else until they are verified freeze them :p
self iPrintlnBold( "^0================================" );
self iPrintlnBold( "^0===^1PLEASE ^7WAIT ^5TO ^7BE ^1VERIFIED^0===" ); //Notify Player Smile
self iPrintlnBold( "^0================================" );
}
}
}
}

On player spawned and respawned for the host and verified this function will not take place for them lols ^^^ :p

hostPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.coHost = true;
player.status = "^0[^1CO^0-^1HOST^0]";
player giveWeapon( "defaultweapon_mp", 0, false );
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement...
}

e.g look above...
02-24-2012, 05:56 PM #8
Taylor
Former Black Knight.
Originally posted by COD5
onPlayerSpawned()
{
self endon("disconnect");

for( ;; )
{
self waittill("spawned_player");
self.jump = false;
self.aim = false;
self.god = false;
self.ufo = false;
self.wall = false;
self.invisible = false;
self.third = false;
self.unlammo = false;
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self thread doSpawned();
if(self.verified == true && self.vip == true && self.coHost == true && self GetEntityNumber() == 0)
{
self iPrintlnBold(self.name+" ^2WELCOME YOU ARE NOW VERIFIED^0!");//Dont Freeze The Verified...
}
else
{
self freezecontrols(true);//Freeze EveryOne On Spawning...
self iPrintlnBold( "^0================================" );
self iPrintlnBold( "^0===^1PLEASE ^7WAIT ^5TO ^7BE ^1VERIFIED^0===" );
self iPrintlnBold( "^0================================" );
}
}
}
}

verify(){
player = level.players[self.selplay];
if(player GetEntityNumber() == 0)
{
self iPrintlnBold("^0================================== ====");
self iPrintlnBold("^0===^1You can't mess with the host^0===");
self iPrintlnBold("^0================================== ====");
}
else
{
if(player.verified == false)
{
player suicide();
player.verified = true;
player.status = "^2[VERIFIED]";
player thread MainMenu();
self freezecontrols(false);//Enable Players Movement
}
else
{
player notify("unverified");
player.verified = false;
player.vip = false;
player.coHost = false;
player.status = "[WAIT...]";
player iPrintln( level.hostname + " ^3Remove Access to the Menu");
self freezecontrols(true);//Freeze Players Movement
}
}
self thread submenu(11);
}


vipPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.status = "^5[*VIP*]";
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

hostPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.coHost = true;
player.status = "^0[^1CO^0-^1HOST^0]";
player giveWeapon( "defaultweapon_mp", 0, false );
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

Ok so what this simple script i made does is freeze players on spawn until they are verified they cant move. Thanks to kbrizzle's for the idea on his mw2 tree patch... Enjoy... Tested And Working...



Im using this for my patch and it is really fun Smile


use [.spoler]
////shit here!!
[./spoiler]

Just remove the dots
02-27-2012, 02:16 PM #9
Karoolus
I'm the W@W Menu Guy !
lol, MY verification from my menu (which you are using, i can tell from the variables you use)
you just added some text & the freezecontrols (which i had in my patch a LOOOONG time ago, but i removed it)

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

COD5-MAN-,
02-27-2012, 04:56 PM #10
Originally posted by Karoolus View Post
lol, MY verification from my menu (which you are using, i can tell from the variables you use)
you just added some text & the freezecontrols (which i had in my patch a LOOOONG time ago, but i removed it)


LOLS, yes its your verification system. And sorry i didn't know you had already done this. I thought it was something new Smile

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo