foley Posted July 14, 2010 Posted July 14, 2010 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 Quote
Notajedi Posted July 14, 2010 Posted July 14, 2010 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? Quote
Administrators daredevil Posted July 14, 2010 Administrators Posted July 14, 2010 If you tell me the max slot of the server, I can give you very specific answer. Quote
foley Posted July 14, 2010 Author Posted July 14, 2010 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 Quote
Administrators daredevil Posted July 14, 2010 Administrators Posted July 14, 2010 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. Quote
foley Posted July 15, 2010 Author Posted July 15, 2010 Thank you very much daredevil What are those patches? Quote
Administrators daredevil Posted July 15, 2010 Administrators Posted July 15, 2010 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; Quote
foley Posted July 16, 2010 Author Posted July 16, 2010 Thank you daredevil I had heard about a et admin mod bug but i didnt know that fix ^^ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.