Jump to content

Recommended Posts

Posted

Hello

 

Im foley from (CEW) clan. We have a jaymod 2.1.7 server in the 2.60b version.

 

I was searching some way to activate panzers when we are 5 vs 5 players in the server or more. In etpro this can be done easy if you install kmod but in jaymod i dont know how to do that, maybe you someone can you help us?

 

If you need some more information of the server just tell me.

 

Thanks in advance ;)

Posted

I'm not sure I understand what you want.

 

Have you got Panza's locked/blocked until you have a certain amount of players?

 

Have you got etadmin mod running as well?

  • Administrators
Posted

If you tell me the max slot of the server, I can give you very specific answer.

Posted

Our server has 24 players on it and panzer is always active but we want it to be active when there are 5 players per team.

 

I dont have etadmin mod. If i have to install it tell me.

 

Thank you for your fast answers ;)

  • Administrators
Posted

Try this in your server config if you don't want to use et admin mod. But out come would be, they will be able to have their second panzer when they have 11 players on the team.

 

set team_maxPanzers 10%

 

If you install et admin mod, then also please patch it with the security fixes or your server can be hacked in 5 mins.

  • Administrators
Posted

Find the following in bin/etadmin_mod.pl:

 

elsif ( index( $line, "Userinfo" ) == 0 )
   {

       #$line =~ /cl_guid\([^\]*)\.*name\([^\]*)\.*\/; #ip\(d+.d+.d+.d+):+\/;
       my $rhash           = &parse_userinfo($line);
       my $guid            = $$rhash{'cl_guid'};
       my $name            = &strip_name( $$rhash{'name'} );
       my $ip              = $$rhash{'ip'};
       my $custom_password = $$rhash{'hp_password'};
       my $custom_exec     = $$rhash{'hp_logincmd'};
       my $greeting        = $$rhash{'hp_greeting'};

       $kick = "";
       $ip =~ s/:.*$//;

       $over_ip      = $ip;
       $over_guid    = $guid;
       $over_name    = $name;
       $ready{$guid} = time;

 

Replace it with:

 

elsif ( index( $line, "Userinfo" ) == 0 )
   {

       #$line =~ /cl_guid\([^\]*)\.*name\([^\]*)\.*\/; #ip\(d+.d+.d+.d+):+\/;
       my $rhash           = &parse_userinfo($line);
       my $guid            = $$rhash{'cl_guid'};
       my $name            = &strip_name( $$rhash{'name'} );
       my $ip              = $$rhash{'ip'};
       my $custom_password = $$rhash{'hp_password'};
       my $custom_exec     = $$rhash{'hp_logincmd'};
       my $greeting        = $$rhash{'hp_greeting'};

       $kick = "";
       $ip =~ s/:.*$//;

       # START: Lucel's admin steal fix....
  if ( $$rhash{'name'} =~ /.+^$/ )
  {
     &log("Kicked $name. Has trailing carrot in their name, can be used to hack etadmin mod!");
     $kick = "You have an invalid name! Please remove the last character!";
     next;
  }
       # END: Lucel's admin steal fix....

       $over_ip      = $ip;
       $over_guid    = $guid;
       $over_name    = $name;
       $ready{$guid} = time;

Posted

Thank you daredevil

 

I had heard about a et admin mod bug but i didnt know that fix ^^

 

;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.