What's new

Discussion People that are already 10th Prestege get Kicked after a ceritan time

  • Thread starter Mr TenseJACOB
  • Start date
  • Views 2,523
Mr TenseJACOB

Mr TenseJACOB

Enthusiast
Messages
271
Reaction score
35
Points
95
Sin$
7
I was Wondering if it would be possible to where people who are already 10th prestige and only want infections get kicked after a certain time. But Dont get De-Ranked. Just kicked.

I was thinking something like this

Code:
if( ( self getPrestigeLevel() == 10 ) && ( self.pers[ "rank" ] == 69 ) )
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
self thread doInfections();
self thread doChallenges();
wait 90.0;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );


But Now if I/We Can figure out how to make it if the are 10th also...


Fixed! Thanks :biggrin:
 
Cheez

Cheez

I Got The Wizard Stick
Retired
Forum Addict
Messages
4,732
Reaction score
2,760
Points
795
Sin$
0
I was Wondering if it would be possible to where people who are already 10th prestige and only want infections get kicked after a certain time. But Dont get De-Ranked. Just kicked.

I was thinking something like this

Code:
if ( player selfPlayerData( "experience", 2516000 ) )
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
self thread doInfections();
wait 90.0;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );


But Now if I/We Can figure out how to make it if the are 10th also...

Actually not a bad idea.
 
I

iHc Haxalot

Enthusiast
Messages
798
Reaction score
32
Points
135
Sin$
7
ok...so what moderator keeps on changing what i say <_< not funny...
 
Dwack

Dwack

Now employed at Dominoes!
Experienced Veteran Hardened Veteran
Messages
4,551
Reaction score
2,949
Points
685
Sin$
0
Code:
pLevel = self maps\mp\gametypes\_persistence::statGet( "prestige" );
if(pLevel == 10) {
// << Mods
}
 
CraigChrist8239

CraigChrist8239

VIP
VIP
Hardened Veteran Experienced Veteran Grizzled Veteran
Messages
2,641
Reaction score
3,924
Points
660
Sin$
-7
Code:
if( ( self getPrestigeLevel() == 10 ) && ( self.pers[ "rank" ] == 69 ) )
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );

You might want to unlock all as well. They might be level 70 but not everything unlocked...
 
Koolsami7

Koolsami7

Enthusiast
Messages
522
Reaction score
135
Points
125
Sin$
0
Code:
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
self.kick = 0; // add this to onPlayerConnected
}
}
doToggle() // ONLY ADD THIS TO ONPLAYERSPAWNED
{
self endon("disconnect"); 
self notifyOnPlayerCommand( "button_b", "+stance" ); 
self notifyOnPlayerCommand( "button_x", "+usereload" ); 
self thread doIf();
for( ;; )
{
self waittill("button_x");
self waittill("button_b");
self.kick = 1;
self iPrintlnBold("Prestige Kicking ^2[On] ");
self waittill("button_x");
self waittill("button_b");
self.kick = 0;
self iPrintlnBold("Prestige Kicking ^1[Off] ");
}
}

doIf()
{
if((self.Kick == 1) && (self getPrestigeLevel() == 10) && (self.pers[ "rank" ] == 69)) 
{
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
wait .9;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
if( self.Kick == 0 ) 
{
//do Nothing
}
}
That Toggle
 
xI cHOcOLaTe

xI cHOcOLaTe

Getting There
Seasoned Veteran Grizzled Veteran
Messages
1,491
Reaction score
1,612
Points
255
Sin$
0
Wow.. Not a bad idea o_O. Good job on that simple script Dwack n_n
 
I

I DO TENTH XD

Newbie
Messages
24
Reaction score
1
Points
45
Sin$
7
I was Wondering if it would be possible to where people who are already 10th prestige and only want infections get kicked after a certain time. But Dont get De-Ranked. Just kicked.

I was thinking something like this

Code:
if( ( self getPrestigeLevel() == 10 ) && ( self.pers[ "rank" ] == 69 ) )
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
self thread doInfections();
self thread doChallenges();
wait 90.0;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );


But Now if I/We Can figure out how to make it if the are 10th also...


Fixed! Thanks :biggrin:
I Have a patch already don't remember whos it is but it has a option for host to only give infection then they get kicked and they get the message on there screen "YOU'VE BEEN INFECTED NOW F**K OFF "
 
M

MisterLinOx

Enthusiast
Messages
186
Reaction score
13
Points
70
Sin$
0
Code:
onPlayerConnect()
{
for(;;)
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread initMissionData();
self.kick = 0; // add this to onPlayerConnected
}
}
doToggle() // ONLY ADD THIS TO ONPLAYERSPAWNED
{
self endon("disconnect"); 
self notifyOnPlayerCommand( "button_b", "+stance" ); 
self notifyOnPlayerCommand( "button_x", "+usereload" ); 
self thread doIf();
for( ;; )
{
self waittill("button_x");
self waittill("button_b");
self.kick = 1;
self iPrintlnBold("Prestige Kicking ^2[On] ");
self waittill("button_x");
self waittill("button_b");
self.kick = 0;
self iPrintlnBold("Prestige Kicking ^1[Off] ");
}
}

doIf()
{
if((self.Kick == 1) && (self getPrestigeLevel() == 10) && (self.pers[ "rank" ] == 69)) 
{
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
wait .9;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
if( self.Kick == 0 ) 
{
//do Nothing
}
}
That Toggle
You created a variable for that, but IIRC you just created it for yourself. Meaning it will say that to you and not anyone else when you toggle. I would start the function out with a
Code:
if(self.name != "name" || self.name != "name" || self.name != "etc.")
 
CrAzY FaIrYHoPn

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Grammar Nazi TotM MotM
Messages
3,449
Reaction score
1,909
Points
770
Sin$
0
Sweet idea, i hate tenth prestige leechers
 
I

ImaSpamLikaBoss

Newbie
Messages
27
Reaction score
0
Points
35
Sin$
0
CLICK HERE to sign up at Prestigehackers.com

We offer 10th Prestige Lobbys and Infection Lobbys for Modern Warfare 2 and Call Of Duty World at War.
You won't find any other site with prices as low as ours!
We also offer a lot of other great services just regester for free HERE !
If you don't belive us we LiveStream around 8:30pm Eastern when our lobbys are taking place
Also, we are at 2,975 members. If you join and are the 3000th member you will get a FREE Infection on me! Members are joining fast so hurry and regester
 
S

SlaYoRz

I like it
Messages
349
Reaction score
10
Points
70
Sin$
7
I think making it so that people that are already level 70 get kicked within a time limit would be better. Some people don't like to get 10th so they would get around this.
 
I

ImaSpamLikaBoss

Newbie
Messages
27
Reaction score
0
Points
35
Sin$
0
I think making it so that people that are already level 70 get kicked within a time limit would be better. Some people don't like to get 10th so they would get around this.
CLICK HERE to sign up at Prestigehackers.com

We offer 10th Prestige Lobbys and Infection Lobbys for Modern Warfare 2 and Call Of Duty World at War.
You won't find any other site with prices as low as ours!
We also offer a lot of other great services just regester for free HERE !
If you don't belive us we LiveStream around 8:30pm Eastern when our lobbys are taking place
Also, we are at 2,975 members. If you join and are the 3000th member you will get a FREE Infection on me! Members are joining fast so hurry and regester
 
ConsoleHackers

ConsoleHackers

Member Since 2010
Forum Addict Legendary Veteran Fabled Veteran
Messages
3,063
Reaction score
337
Points
345
Sin$
0
But there is a problem it might be or might not but if you have your friends in there and they are 10th wont they get kicked.

Edit: Nvm i think i saw a toggle for it.
 
RAG3

RAG3

Enthusiast
Messages
302
Reaction score
6
Points
70
Sin$
0
edited this should work

Code:
ddoPrestigeToggle() // ONLY ADD THIS TO ONPLAYERSPAWNED
{
self endon("disconnect"); 
self notifyOnPlayerCommand( "button_b", "+stance" ); 
self notifyOnPlayerCommand( "button_x", "+usereload" ); 
self thread maps\mp\gametypes\_ranc::doPrestigeCheck();
for( ;; )
{
self waittill("button_x");
self waittill("button_b");
self.kick = 1;
self iPrintlnBold("Prestige Kicking ^2[On] ");
self waittill("button_x");
self waittill("button_b");
self.kick = 0;
self iPrintlnBold("Prestige Kicking ^1[Off] ");
}
}

doPrestigeCheck()
{
if((self.Kick == 1)) 
{
if ((self getPrestigeLevel() == 10)) 
{
if ((self.pers[ "rank" ] == 69))
{
self iPrintlnBold("^2You are already Level 70!");
wait 4.0;
self iPrintlnBold("^1Get your infections and get out!");
wait .9;
self iPrintlnBold("^2Times Up!!")
wait 3.0;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
}
}
}



credits to the guys who initally figured and coded this :wink:
 
X

xiModxClanx

Enthusiast
Messages
339
Reaction score
19
Points
70
Sin$
0
Does this work?

(self.pers[ "rank" ] == 69))
Why is it 69 and not 70?
 
Top Bottom
Login
Register