Jump to content

Insane Limits - Examples


ImportBot

Recommended Posts

Originally Posted by HexaCanon*:

 

any chance i can use some server control panel commands like:

reservedSlotsList.add

reservedSlotsList.clear

reservedSlotsList.list

reservedSlotsList.load

reservedSlotsList.remove

reservedSlotsList.save

just to eliminate a few slots from the server,we have a 64 slots server on metro,sometimes is to much and we want to put it on 48 but the server to show up 64 slots if anybady browse the server,but only 48 to be able to join,like 16 fake players...

so i found that commands but i don't know how to use them or if they are the right ones.

anybady can help me whit this problem _pls

the correct command you need is vars.maxplayers 48.

 

if you want it to be permanently 48 then just add (vars.maxplayers 48) in your startup file

 

otherwise i suggest using adaptive server size plugin

 

 

i use No RPG/M320 Kicker plugin and i working fine but for m320 is not working all the time or maybe the plugin is not working for underslug,any way to ban this weapon too?

there is no way to block underslug m320.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 1.4k
  • Created
  • Last Reply

Originally Posted by sorinnana*:

 

the correct command you need is vars.maxplayers 48.

 

if you want it to be permanently 48 then just add (vars.maxplayers 48) in your startup file

 

otherwise i suggest using adaptive server size plugin

yes i tryed that but in battlelog the server will be 48 slots,i want to be still 64 slots but only 48 to be able to join,if u know what i meen,

can i have a link for the thst plugin,pls

 

thx

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sorinnana*:

 

there is no way to block underslug m320.

has no sense to ban a weapon from a server as M320, but u can kill with M320 BUCK and M320 smoke too (if u hit him in the head),or if used like underslug.

there is no solution?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by QUACK-Major-Pain*:

 

You would have to create a limit to kick excess players.

 

Leave your server at 64, and set up a limit that would be like:

 

Onjoin

 

If current players >= 48 then kick joiner.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sorinnana*:

 

You would have to create a limit to kick excess players.

 

Leave your server at 64, and set up a limit that would be like:

 

Onjoin

 

If current players >= 48 then kick joiner.

can I have more details how to do it? thx
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

OnAnyChat

 

first check expression

Code:

( player.LastChat.StartsWith("!rules") )
second check Code

 

Code:

// Edit rules here
List<String> TDMRules = new List<String>();
TDMRules.Add("----- MAP RULES -----");
TDMRules.Add("player commands : !votekick | !slap | !insult | !feedback");
TDMRules.Add("player commands : !help | top | rank | !calladmin");
TDMRules.Add("No RPG/SMAW/M320");
TDMRules.Add("No M67 grenade/Usas-12");
// Try not to add more TDMRules.Add because it won't fit in the chat box.



// Edit rules here
List<String> ConqRules = new List<String>();
ConqRules.Add("----- SERVER RULES -----");
ConqRules.Add("player commands : !votekick | !slap | !insult | !feedback");
ConqRules.Add("player commands : !help | top | rank | !calladmin");
// Try not to add more ConqRules.Add because it won't fit in the chat box.



// Edit rules here
List<String> RushRules = new List<String>();
RushRules.Add("----- SERVER RULES -----");
RushRules.Add("player commands : !votekick | !slap | !insult | !feedback");
RushRules.Add("player commands : !help | top | rank | !calladmin");
// Try not to add more RushRules.Add because it won't fit in the chat box.




if (server.GameMode.StartsWith("TeamDeathMatch")) {
	foreach(string Rule in TDMRules) 
		plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

		
} else if(server.GameMode.StartsWith("Conquest")) {
	foreach(string Rule in ConqRules) 
		plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

		
} else if(server.GameMode.StartsWith("Rush")) {
	foreach(string Rule in RushRules) 
		plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);
}

return false;
remember to edit the rules in the code to suit your needs, test it and tell me if there is an issue because i did not test it.

 

edit : also the rules will be displayed into the squad only not the whole server.

Thanks for the code.

Unfortunately I get the following Errors. :/

[13:22:28 66] [insane Limits] ERROR: 3 errors compiling Expression

[13:22:28 68] [insane Limits] ERROR: (CS0117, line: 0, column: 0): PRoConEvents.ServerInfoInterface enthält keine Definition für GameMode.

[13:22:28 68] [insane Limits] ERROR: (CS0117, line: 0, column: 0): PRoConEvents.ServerInfoInterface enthält keine Definition für GameMode.

[13:22:28 68] [insane Limits] ERROR: (CS0117, line: 0, column: 0): PRoConEvents.ServerInfoInterface enthält keine Definition für GameMode.

Insane Limits 0.0.0.8 patch3

 

 

---edit---

Changed code to

if (server.Gamemode == "TeamDeathMatch0") {

foreach(string Rule in TDMRules)

plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

 

 

} else if(server.Gamemode == "ConquestLarge0|ConquestSmall0|ConquestSmall1" ) {

foreach(string Rule in ConqRules)

plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

 

 

} else if(server.Gamemode == "RushLarge0") {

foreach(string Rule in RushRules)

plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

}

It seems it works. :o

Anything wrong in "my" code?

---edit...

 

Thx!

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

Thanks for the code.

Unfortunately I get the following Errors. :/

 

 

Insane Limits 0.0.0.8 patch3

 

 

---edit---

Changed code to

 

 

It seems it works. :o

Anything wrong in "my" code?

---edit...

 

Thx!

Rucki

i think it wont work on conquest.

 

make it

 

Code:

(server.Gamemode == "ConquestLarge0" || server.Gamemode == "conquestSmall0" || server.Gamemode == "ConquestSmall1")
can you try this one again ? did a small change

 

Code:

// Edit rules here
List<String> TDMRules = new List<String>();
TDMRules.Add("----- MAP RULES -----");
TDMRules.Add("player commands : !votekick | !slap | !insult | !feedback");
TDMRules.Add("player commands : !help | top | rank | !calladmin");
TDMRules.Add("No RPG/SMAW/M320");
TDMRules.Add("No M67 grenade/Usas-12");
// Try not to add more TDMRules.Add because it won't fit in the chat box.



// Edit rules here
List<String> ConqRules = new List<String>();
ConqRules.Add("----- SERVER RULES -----");
ConqRules.Add("player commands : !votekick | !slap | !insult | !feedback");
ConqRules.Add("player commands : !help | top | rank | !calladmin");
// Try not to add more ConqRules.Add because it won't fit in the chat box.



// Edit rules here
List<String> RushRules = new List<String>();
RushRules.Add("----- SERVER RULES -----");
RushRules.Add("player commands : !votekick | !slap | !insult | !feedback");
RushRules.Add("player commands : !help | top | rank | !calladmin");
// Try not to add more RushRules.Add because it won't fit in the chat box.




if (server.Gamemode.StartsWith("TeamDeathMatch")) {
	foreach(string Rule in TDMRules) 
		plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

		
} else if(server.Gamemode.StartsWith("Conquest")) {
	foreach(string Rule in ConqRules) 
		plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

		
} else if(server.Gamemode.StartsWith("Rush")) {
	foreach(string Rule in RushRules) 
		plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);
}

return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

The long awaited in-game command to kick players until your friend the VIP joins is done! R1 release of the code available here: Kick for VIP Command*

 

Thanks to everyone who helped test this massive piece of code! I think this the biggest Insane Limit yet.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

can you try this one again ? did a small change

It is a pleasure to me! :ohmy:

Working perfect. Tried in all gamemodes.

 

Is it possible, to send this rules also on interval?

 

If gamemode tdm

SendGlobalMessage tdmrules

on intervall 300

 

If gamemode conq

SendGlobalMessage conqrules

on intervall 300

 

If gamemode rush

SendGlobalMessage rushrules

on intervall 300

 

Tried with your code and changed "OnAnyChat" to "On IntervalPlayers", but it does not work :/

 

 

Thanks to everyone who helped test this massive piece of code! I think this the biggest Insane Limit yet.

I will not at all know how much time you've invested in this code. :o

Thanks a lot!

 

Thx!

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

It is a pleasure to me! :ohmy:

Working perfect. Tried in all gamemodes.

 

Is it possible, to send this rules also on interval?

 

If gamemode tdm

SendGlobalMessage tdmrules

on intervall 300

 

If gamemode conq

SendGlobalMessage conqrules

on intervall 300

 

If gamemode rush

SendGlobalMessage rushrules

on intervall 300

 

Tried with your code and changed "OnAnyChat" to "On IntervalPlayers", but it does not work :/

 

 

 

 

I will not at all know how much time you've invested in this code. :o

Thanks a lot!

 

Thx!

Rucki

OnIntervalServer : 300

first check

Code:

( true )
try the same code on second check.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

try the same code on second check.

I tried it yesterday, because i would not ask again....and again.... :/

But i get this error at compiling:

[17:06:29 81] [insane Limits] Thread(settings): ERROR: (CS0103, line: 0, column: 0): Der Name player ist im aktuellen Kontext nicht vorhanden.

No Error on IntervalPlayer.........but no messages ingame.

 

Regards!

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

I tried it yesterday, because i would not ask again....and again.... :/

But i get this error at compiling:

 

 

No Error on IntervalPlayer.........but no messages ingame.

 

Regards!

Rucki

fixed it for you.. changed squad message to global message

 

Code:

// Edit rules here
List<String> TDMRules = new List<String>();
TDMRules.Add("----- MAP RULES -----");
TDMRules.Add("player commands : !votekick | !slap | !insult | !feedback");
TDMRules.Add("player commands : !help | top | rank | !calladmin");
TDMRules.Add("No RPG/SMAW/M320");
TDMRules.Add("No M67 grenade/Usas-12");
// Try not to add more TDMRules.Add because it won't fit in the chat box.



// Edit rules here
List<String> ConqRules = new List<String>();
ConqRules.Add("----- SERVER RULES -----");
ConqRules.Add("player commands : !votekick | !slap | !insult | !feedback");
ConqRules.Add("player commands : !help | top | rank | !calladmin");
// Try not to add more ConqRules.Add because it won't fit in the chat box.



// Edit rules here
List<String> RushRules = new List<String>();
RushRules.Add("----- SERVER RULES -----");
RushRules.Add("player commands : !votekick | !slap | !insult | !feedback");
RushRules.Add("player commands : !help | top | rank | !calladmin");
// Try not to add more RushRules.Add because it won't fit in the chat box.




if (server.Gamemode.StartsWith("TeamDeathMatch")) {
	foreach(string Rule in TDMRules) 
		plugin.SendGlobalMessage(Rule);

		
} else if(server.Gamemode.StartsWith("Conquest")) {
	foreach(string Rule in ConqRules) 
		plugin.SendGlobalMessage(Rule);

		
} else if(server.Gamemode.StartsWith("Rush")) {
	foreach(string Rule in RushRules) 
		plugin.SendGlobalMessage(Rule);
}

return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

For HelloKitty. Make the red changes to your code to handle # as well as the other command characters.

 

Code:

String txt = player.LastChat;
/* Remove the first character if it is "/" */
if (txt.Length > 0 && txt[0] == '/' )
    txt = txt.Substring(1);
/* Exit if text is not prefixed with "/", "!", "@", "#" or "_" */ 
Match cmd = Regex.Match(txt, @"^\s*[!@#\_](.*)$");
if (!cmd.Success) return false;
txt = cmd.Groups[1].Value;
List<String> commands = new List<String>();
commands.Add("kick");
commands.Add("tban");
commands.Add("kill");
commands.Add("ban");
List<String> words = new List<String>(Regex.Split(txt.Trim(), @"\s+"));
/* Exit if not enough words */
if ( words.Count < 2)
    return false;
/* Get the command being executed */
String command = words[0];
/* Exit if command is not in list */
if (!commands.Contains(command)) 
    return false;
/* Determine the player being kicked/banned/killed */
String typed_name = words[1];
String actual_name = plugin.BestPlayerMatch(words[1]);
if (actual_name == null)
    actual_name = "Unknown";
String admin_name = player.Name;
String message = admin_name + " issued the >> " + command + " << command on " + actual_name + " at [%time%] : " + player.LastChat;
plugin.Log("Logs/InsaneLimits_AAT.log", plugin.R(message));
plugin.Tweet(plugin.R(message));
If you want just the reason for the kick/ban and not the entire LastChat, make the green change below as well:

 

Code:

String txt = player.LastChat;
/* Remove the first character if it is "/" */
if (txt.Length > 0 && txt[0] == '/' )
    txt = txt.Substring(1);
/* Exit if text is not prefixed with "/", "!", "@", "#" or "_" */ 
Match cmd = Regex.Match(txt, @"^\s*[!@#\_](.*)$");
if (!cmd.Success) return false;
txt = cmd.Groups[1].Value;
List<String> commands = new List<String>();
commands.Add("kick");
commands.Add("tban");
commands.Add("kill");
commands.Add("ban");
List<String> words = new List<String>(Regex.Split(txt.Trim(), @"\s+"));
/* Exit if not enough words */
if ( words.Count < 2)
    return false;
/* Get the command being executed */
String command = words[0];
/* Exit if command is not in list */
if (!commands.Contains(command)) 
    return false;
/* Determine the player being kicked/banned/killed */
String typed_name = words[1];
String actual_name = plugin.BestPlayerMatch(words[1]);
if (actual_name == null)
    actual_name = "Unknown";
String admin_name = player.Name;
String reason = "reason:";
if (words.Count > 2) {
    for (int i = 2; i < words.Count; ++i) reason = reason + " " + words[i];
} else {
    reason = ""; // empty string
}
String message = admin_name + " issued the >> " + command + " << command on " + actual_name + " at [%time%] " + reason;
plugin.Log("Logs/InsaneLimits_AAT.log", plugin.R(message));
plugin.Tweet(plugin.R(message));
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

Hi again!

It is embarrassing to me, but i will try it again. :ohmy:

I asked in Jannuary but nobody could help me.

http://www.phogue.net/forumvb/showth...cker#post37373*

 

My wish standard:

 

If gamemode rush

and player is Attacker

and player has more then 10 Sniperkills

say "Move your ass PlayerX, attack!"

 

My wish adwanced:

If gamemode rush

and player is Attacker

and player has more then 10 Sniperkills

and Attacker-Team has

say "Move your ass PlayerX, attack!"

 

Thx!

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

My wish adwanced:

If gamemode rush

and player is Attacker

and player has more then 10 Sniperkills

and Attacker-Team has

say "Move your ass PlayerX, attack!"

edit : i am working on it.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

i can do it for you if you provide me with these 2 informations (i am lazy to look them up xd)

1 - which army is attacking (Us/Ru) on each map you use in your Rush rotation ( is it always US team attacking? edit : what am i saying , i just woke up -.-)

2 - the name of all sniper weapons XD

 

edit : i am working on it.

Hi,

this is easy for me. :ohmy:

 

1. Attacking Team is in rush called "Attackers". See screenshot.

But i think, thats like Assault, allways US-Team is Attacker.

 

admintoolattacker.jpg

 

2.

QBU-88

Mk11

SVD

M40A5

SV98

Model98B

M39

SKS

M82

L96

 

Regards and thanks

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

Hi,

this is easy for me. :ohmy:

 

1. Attacking Team is in rush called "Attackers". See screenshot.

But i think, thats like Assault, allways US-Team is Attacker.

 

admintoolattacker.jpg

 

2.

QBU-88

Mk11

SVD

M40A5

SV98

Model98B

M39

SKS

M82

L96

 

Regards and thanks

Rucki

can you try this ? (limit is confirmed to be compiled but not confirmed to work as intended)

 

evaluation : OnKill

 

first_check expression

Code:

(server.Gamemode.StartsWith("Rush") && kill.Weapon.Equals("SV98|M40A5|M98B|MK11|SVD|M39|QBU-88|L96|SKS"))
second_check code

Code:

if (limit.Activations(player.Name) > 9)
	if ( team1.Tickets <= 20 && player.TeamId == "1") {
		plugin.SendSquadMessage(player.TeamId, player.SquadId, "TestMessage");
}
else
	return false;
the idea here is :

- the weapon is tracked from the start of the round, they wont be tracked from when the attackers reach 20 tickets ( which i believe is what you want)

- when tickets reach 20 or less on attacking team and the player is in the attacking team if he used a sniper again he will get a message

 

Edit :

message will be sent to squad chat.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

can you try this ? (limit is confirmed to be compiled but not confirmed to work as intended)

This error at compiling code:

 

[18:19:55 02] [insane Limits] ERROR: 1 error compiling Expression

[18:19:55 02] [insane Limits] ERROR: (CS0019, line: 0, column: 0): Der Operator == kann nicht auf Operanden des Typs int und string angewendet werden.

 

---edit---

the idea here is :

- the weapon is tracked from the start of the round, they wont be tracked from when the attackers reach 20 tickets ( which i believe is what you want)

Perfect! This is what i want. :ohmy:

- when tickets reach 20 or less on attacking team and the player is in the attacking team if he used a sniper again he will get a message

Thanks for understanding my english. :ohmy:

 

 

 

 

 

Thank you!

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

This error at compiling code:

 

[18:19:55 02] [insane Limits] ERROR: 1 error compiling Expression

[18:19:55 02] [insane Limits] ERROR: (CS0019, line: 0, column: 0): Der Operator == kann nicht auf Operanden des Typs int und string angewendet werden.

 

---edit---

 

 

Perfect! This is what i want. :ohmy:

 

 

Thanks for understanding my english. :ohmy:

 

 

 

 

 

Thank you!

Rucki

fixed second check code

 

Code:

if (limit.Activations(player.Name) > 9)
	if ( team1.Tickets <= 20 && player.TeamId == 1) {
		plugin.SendSquadMessage(player.TeamId, player.SquadId, "TestMessage");
}
else
	return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

fixed second check code

Thank you, i am testing.

Should this with plugin.PRoConChat work?

Otherwise I must stay in this Squad with snipers ingame.

Should be easyer to test it via Proconchat with changed tickets and kills. :ohmy:

 

Code:

if (limit.Activations(player.Name) > 3)
	if ( team1.Tickets <= 50 && player.TeamId == 1) {
		plugin.SendSquadMessage(player.TeamId, player.SquadId, "TestMessage");
                plugin.PRoConChat("Admin > All: Sniperkills >3 bei Rush als Attacker + player.Name +  ");
}
else
	return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

Thank you, i am testing.

Should this with plugin.PRoConChat work?

Otherwise I must stay in this Squad with snipers ingame.

Should be easyer to test it via Proconchat with changed tickets and kills. :ohmy:

 

Code:

if (limit.Activations(player.Name) > 3)
	if ( team1.Tickets <= 50 && player.TeamId == 1) {
		plugin.SendSquadMessage(player.TeamId, player.SquadId, "TestMessage");
                plugin.PRoConChat("Admin > All: Sniperkills >3 bei Rush als Attacker + player.Name +  ");
}
else
	return false;
yeah any action will work. just keep testing as i am not sure if the logic behind the code is 100% correct.

 

make sure you do not forget the red part :smile:

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

So I'm using ...* Limit that I threw together and improved with the help of PapaCharlie9.

 

It works as intended on Conquest, but sometimes it does and doesn't work on Rush mode. Now obviously this is because the tickets on Rush can remain quite high but the game can end.

 

Can I somehow amend it so it counts Rush objectives? Or any other way of keeping this limit "Rush friendly"?

 

Thanks for any help.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

So I'm using ...* Limit that I threw together and improved with the help of PapaCharlie9.

 

It works as intended on Conquest, but sometimes it does and doesn't work on Rush mode. Now obviously this is because the tickets on Rush can remain quite high but the game can end.

 

Can I somehow amend it so it counts Rush objectives? Or any other way of keeping this limit "Rush friendly"?

 

Thanks for any help.

make it on interval of 3 minutes (fastest rush round i played in), also you could make it have limit activations of say 5-6 so that it keeps saying the next level every 3 minutes 5-6 times.

 

if you want the code i could make it for you.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Rucki*:

 

yeah any action will work. just keep testing as i am not sure if the logic behind the code is 100% correct.

 

make sure you do not forget the red part :smile:

:sad:

No ProconChatMsg the hole evening.

I am sure there was, >3 Sniperkills at

The Squadmsg is difficult to test for me. I will not be in a Snipersquad at Rush Attackers. :ohmy:

 

Regards and thanks!

Rucki

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

:sad:

No ProconChatMsg the hole evening.

I am sure there was, >3 Sniperkills at

The Squadmsg is difficult to test for me. I will not be in a Snipersquad at Rush Attackers. :ohmy:

 

Regards and thanks!

Rucki

i want to say that i am not sure about the weapon names :tongue:, so i need someone to revise them :biggrin:

 

Code:

(server.Gamemode.StartsWith("Rush") && kill.Weapon.Equals("SV98|M40A5|M98B|MK11|SVD|M39|QBU-88|L96|SKS"))
use this for testing, it should announce a message to you when you get ur 2nd kill

 

Code:

if (limit.Activations(player.Name) > 1)
	if ( team1.Tickets <= 100 && player.TeamId == "1") {
		plugin.SendSquadMessage(player.TeamId, player.SquadId, "TestMessage");
}
else
	return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Overall this code looks good. However,

evaluation : OnKill

 

first_check expression

Code:

(server.Gamemode.StartsWith("Rush") && kill.Weapon.Equals("SV98|M40A5|M98B|MK11|SVD|M39|QBU-88|L96|SKS"))
That code isn't quite right. You want a Regex.Match for that kind of list:

 

Code:

(server.Gamemode.StartsWith("Rush") && Regex.Match(kill.Weapon, @"(_:SV98|M40A5|M98B|MK11|SVD|M39|QBU-88|L96|SKS)", RegexOptions.IgnoreCase).Success)
You should change TestMessage to the same message you have in PRoConChat, as well. If you just want to test and not show chat to players, just comment out the SendSquadMessage line, like this:

 

Code:

if (limit.Activations(player.Name) > 3)
	if ( team1.Tickets <= 50 && player.TeamId == 1) {
		//plugin.SendSquadMessage(player.TeamId, player.SquadId, "TestMessage");
                plugin.PRoConChat("Admin > All: Sniperkills >3 bei Rush als Attacker + player.Name +  ");
}
else
	return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

So I'm using ...* Limit that I threw together and improved with the help of PapaCharlie9.

 

It works as intended on Conquest, but sometimes it does and doesn't work on Rush mode. Now obviously this is because the tickets on Rush can remain quite high but the game can end.

 

Can I somehow amend it so it counts Rush objectives? Or any other way of keeping this limit "Rush friendly"?

 

Thanks for any help.

You'll need to gather some data. Write an OnIntervalServer limit (60 seconds) that does a ConsoleWrite of the number of tickets each team has and the percentages. If the tickets go from max to 0 four times (one for each stage), you can modify your announcer to count the activations for each stage and only send on the last one. If the tickets and/or percentages follow some other kind of pattern, adapt to that pattern.
* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.