Jump to content

insane limits knife and pistols only


ImportBot

Recommended Posts

Originally Posted by GmanNL*:

 

Hello Guys,

 

I'm trying to get this working. I'm rather new to Procon but i'm starting to get the hang of it.

Though if i past the weapon code from the start post in ProconRulz i get the following:

 

proconrulz_pistolonlyscript_notworking.PNG

 

What am i doing wrong?

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 103
  • Created
  • Last Reply

Originally Posted by PapaCharlie9*:

 

Hello Guys,

 

I'm trying to get this working. I'm rather new to Procon but i'm starting to get the hang of it.

Though if i past the weapon code from the start post in ProconRulz i get the following:

 

proconrulz_pistolonlyscript_notworking.PNG

 

What am i doing wrong?

Wrong thread, you want Procon Rulz, this is Insane Limits.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jking54*:

 

These are all pistols:

 

U_Taurus44

U_HK45C

U_CZ75

U_FN57

U_Glock18

U_M1911

U_M9

U_M93R

U_MP412Rex

U_MP443

U_P226

U_QSZ92

 

You need to add the "melee" kill because you said the knife is also allowed.

Also "suicide", "death", "SoldierCollision", "DamageArea" could be problem. I don't think you want to punish these kills.

 

On kill

 

First check, expression

 

Code:

!Regex.Match(kill.Weapon, @"(U_Taurus44|U_HK45C|U_CZ75|U_FN57|U_Glock18|U_M1911|U_M9|U_M93R|U_MP412Rex|U_MP443|U_P226|U_QSZ92|Melee|Suicide|SoldierCollision|DamageArea|Death)", RegexOptions.IgnoreCase).Success
Second check, code

 

your code

There are 13 pistols last I checked? nvm, shorty 12g isn't in there, I added it to mine though.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LumPenPacK*:

 

There are 13 pistols last I checked? nvm, shorty 12g isn't in there, I added it to mine though.

This shorty 12g weapon is more a shotgun than a pistol but it's up to you which weapons you add to this expression.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Pvtjohntowle*:

 

This shorty 12g weapon is more a shotgun than a pistol but it's up to you which weapons you add to this expression.

OK can someone give me a code for shotguns only server with the shorty 12g as the secondary and no snipers or explosives, no pistols and no death, flares and flashbangs OK.

 

My pistols and knives (shorty OK) is running near capacity...

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

Originally Posted by LumPenPacK*:

 

OK can someone give me a code for shotguns only server with the shorty 12g as the secondary and no snipers or explosives, no pistols and no death, flares and flashbangs OK.

 

My pistols and knives (shorty OK) is running near capacity...

The procedure is always the same. The only thing you have to change are the weapon codes. You can take the "RCON weapon codes" from this spreadsheet:

 

https://docs.google.com/spreadsheet/...rive_web#gid=0

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

Originally Posted by Pvtjohntowle*:

 

The procedure is always the same. The only thing you have to change are the weapon codes. You can take the "RCON weapon codes" from this spreadsheet:

 

https://docs.google.com/spreadsheet/...rive_web#gid=0

OK Cool man I have just edited my code and replaced all the pistol codes with the shotty codes.. we will see how this works !! should be a gang bang time on Op Locker !!!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by upurs*:

 

I have set up procon as a client and not through a layer

added this Limit.. enabled and compiled

on 1st kill the player is warned

but after that nothing,, no kick or anything,, if i restart insaine,, the warning come up afain ,, then nothing

Expression on 1st

and code on 2nd

heres the code

 

double count = limit.Activations(player.Name);

 

if (count == 1)

plugin.SendGlobalMessage(plugin.R("%p_n%, this is a Pistolas & Knives only server, do not use %w_n% again! Next time kick"));

else if (count > 1)

plugin.KickPlayerWithMessage(player.Name, plugin.R("%p_n%, kicked you for using %w_n% on pistol only server"));

 

return false;

 

can someone please help

ty

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

Originally Posted by Pvtjohntowle*:

 

Why do players still can kill with ACR-W and not get punished (killed) using it ?

 

 

Code:

kill.Weapon == "U_M98B" || kill.Weapon == "U_M93R" || !Regex.Match(kill.Weapon, @"(U_870|U_M26Mass_Frag|U_DVB12|U_HAWK|U_M1014|U_QBS09|U_SAIGA_20K|U_SPAS12|U_USAS-12|U_UTAS|U_SerbuShorty|U_Defib|Melee|Suicide|SoldierCollision|DamageArea)", RegexOptions.IgnoreCase).Success
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LumPenPacK*:

 

Why do players still can kill with ACR-W and not get punished (killed) using it ?

 

 

Code:

kill.Weapon == "U_M98B" || kill.Weapon == "U_M93R" || !Regex.Match(kill.Weapon, @"(U_870|U_M26Mass_Frag|U_DVB12|U_HAWK|U_M1014|U_QBS09|U_SAIGA_20K|U_SPAS12|U_USAS-12|U_UTAS|U_SerbuShorty|U_Defib|Melee|Suicide|SoldierCollision|DamageArea)", RegexOptions.IgnoreCase).Success
I can't see any reference to the ACR in your code.

 

U_ACR

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

Originally Posted by Pvtjohntowle*:

 

i am not understanding this. So for every weapon that I don't want used, I have to put the code that represents them in the first check code as kill.Weapon. That's going to be time consuming.

 

Sent from my GT-I9300 using Tapatalk

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

Originally Posted by PapaCharlie9*:

 

i am not understanding this. So for every weapon that I don't want used, I have to put the code that represents them in the first check code as kill.Weapon. That's going to be time consuming.

No, that's not what he meant. He meant, ACR-W should be punished by that code. Are you sure that it wasn't? How do you know an ACR-W was used?

 

To be absolutely sure, you can change the first_check code. Change it from Expression to Code and make it be this:

 

Code:

if (!Regex.Match(kill.Weapon, @"(U_870|U_M26Mass_Frag|U_DVB12|U_HAWK|U_M1014|U_QBS09|U_SAIGA_20K|U_SPAS12|U_USAS-12|U_UTAS|U_SerbuShorty|U_Defib|Melee|Suicide|SoldierCollision|DamageArea)", RegexOptions.IgnoreCase).Success) {
    plugin.ConsoleWrite("^b^1ILLEGAL WEAPON!^0^n " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
    return true;
} else {
    plugin.ConsoleWrite("^9ok: " + killer.FullName + " used " + kill.Weapon);
    return false;
}
That will give you plugin.log messages like this:

 

Code:

[b][Insane Limits][/b] ok: Johnny used U_HAWK
[b][Insane Limits][/b] ok: [X2X]DirtyPete used U_870
[b][Insane Limits][/b] ok: blueFandago used U_870
[b][Insane Limits][/b] [b]ILLEGAL WEAPON![/b] [X2X]DirtyPete used U_ACR against Johnny
You will be able to see every weapon that was allowed and every weapon that was illegal for every kill. It will be a bit spammy, but the only way to know for sure what is being allowed and what isn't.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by p19blo*:

 

No, that's not what he meant. He meant, ACR-W should be punished by that code. Are you sure that it wasn't? How do you know an ACR-W was used?

 

To be absolutely sure, you can change the first_check code. Change it from Expression to Code and make it be this:

 

Code:

if (!Regex.Match(kill.Weapon, @"(U_870|U_M26Mass_Frag|U_DVB12|U_HAWK|U_M1014|U_QBS09|U_SAIGA_20K|U_SPAS12|U_USAS-12|U_UTAS|U_SerbuShorty|U_Defib|Melee|Suicide|SoldierCollision|DamageArea)", RegexOptions.IgnoreCase).Success) {
    plugin.ConsoleWrite("^b^1ILLEGAL WEAPON!^0^n " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
    return true;
} else {
    plugin.ConsoleWrite("^9ok: " + killer.FullName + " used " + kill.Weapon);
    return false;
}
That will give you plugin.log messages like this:

 

Code:

[b][Insane Limits][/b] ok: Johnny used U_HAWK
[b][Insane Limits][/b] ok: [X2X]DirtyPete used U_870
[b][Insane Limits][/b] ok: blueFandago used U_870
[b][Insane Limits][/b] [b]ILLEGAL WEAPON![/b] [X2X]DirtyPete used U_ACR against Johnny
You will be able to see every weapon that was allowed and every weapon that was illegal for every kill. It will be a bit spammy, but the only way to know for sure what is being allowed and what isn't.
anyway to export this information without going through the logs?

 

this is currently what does my banning

 

 

Code:

String kCounter = killer.Name + "_TreatAsOne_Count_Kills";
TimeSpan time = TimeSpan.FromSeconds(1000); // Activations within 3 seconds count as 1
String msg = null;
 
int warnings = 1;
if (server.Data.issetInt(kCounter)) warnings = server.Data.getInt(kCounter);
 
/*
Check to make sure we are not
getting multiple activations in a short period of time. Ignore if
less than the time span required.
*/
 
if (limit.Activations(killer.Name, time) > 1) return false;
 
/*
We get here only if there was exactly one activation in the time span
*/
 
if (warnings == 1) {
        msg = "You have " + (warnings) + "non pistol kill this round, the maximum allowed on this server is 1";
        plugin.ServerCommand("admin.yell", msg, "15", "player", killer.Name);
        plugin.PRoConChat("ADMIN to " + killer.Name + ">" + msg);
} if (warnings >= 2) {
            msg ="%p_n%, banned for using %w_n% on Pistol and Knife only server";
            plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, "%p_n%, banned for using %w_n% on Pistol and Knife only server, get unbanned at www.rockpapergodmode.com");
            msg = "Banning " + killer.FullName + " for " + msg + victim.FullName;
            plugin.SendGlobalMessage(msg);
            plugin.PRoConChat("ADMIN > " + msg);
            plugin.PRoConEvent(msg, "Insane Limits");
        }
server.Data.setInt(kCounter, warnings+1);
return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

anyway to export this information without going through the logs?

You could write it to a separate log file, which will show up as procon/Logs/(ip_port)/(yearMONTHday)_killweapons.log

 

Use this code for first_check:

 

Code:

String logName = plugin.R("Logs/%server_host%_%server_port%/") + DateTime.Now.ToString("yyyyMMdd") + "_killweapons.log";
String time = "[" + DateTime.Now.ToString("HH:mm:ss") + "] ";

if (!Regex.Match(kill.Weapon, @"(U_870|U_M26Mass_Frag|U_DVB12|U_HAWK|U_M1014|U_QBS09|U_SAIGA_20K|U_SPAS12|U_USAS-12|U_UTAS|U_SerbuShorty|U_Defib|Melee|Suicide|SoldierCollision|DamageArea)", RegexOptions.IgnoreCase).Success) {
    plugin.Log(logName, time + "ILLEGAL WEAPON! " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
    return true;
} else {
    plugin.Log(logName, time + "ok: " + killer.FullName + " used " + kill.Weapon);
    return false;
}
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by p19blo*:

 

You could write it to a separate log file, which will show up as procon/Logs/(ip_port)/(yearMONTHday)_killweapons.log

 

Use this code for first_check:

 

Code:

String logName = plugin.R("Logs/%server_host%_%server_port%/") + DateTime.Now.ToString("yyyyMMdd") + "_killweapons.log";
String time = "[" + DateTime.Now.ToString("HH:mm:ss") + "] ";

if (!Regex.Match(kill.Weapon, @"(U_870|U_M26Mass_Frag|U_DVB12|U_HAWK|U_M1014|U_QBS09|U_SAIGA_20K|U_SPAS12|U_USAS-12|U_UTAS|U_SerbuShorty|U_Defib|Melee|Suicide|SoldierCollision|DamageArea)", RegexOptions.IgnoreCase).Success) {
    plugin.Log(logName, time + "ILLEGAL WEAPON! " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
    return true;
} else {
    plugin.Log(logName, time + "ok: " + killer.FullName + " used " + kill.Weapon);
    return false;
}
this stopped working after a round ? players coudl kill with any wepaon. i changes shotguns for pistols only

 

Code:

String logName = plugin.R("Logs/%server_host%_%server_port%/") + DateTime.Now.ToString("yyyyMMdd") + "_killweapons.log";
String time = "[" + DateTime.Now.ToString("HH:mm:ss") + "] ";

if (! Regex.Match(kill.Weapon, @"(U_Taurus44|U_HK45C|U_CZ75|U_FN57|U_Glock18|U_M1911|U_M9|U_M93R|U_MP412Rex|U_MP443|U_P226|U_QSZ92|Melee|Suicide|SoldierCollision|DamageArea|Death)", RegexOptions.IgnoreCase).Success {
    plugin.ConsoleWrite("^b^1ILLEGAL WEAPON!^0^n " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
    return true;
} else {
    plugin.Log(logName, time + "ok: " + killer.FullName + " used " + kill.Weapon);
    return false;
}
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

this stopped working after a round ? players coudl kill with any wepaon. i changes shotguns for pistols only

And you are still using the second_check code from post #44?

 

The problem is this line:

 

Code:

TimeSpan time = TimeSpan.FromSeconds(1000); // Activations within 3 seconds count as 1
That's 1000 seconds, not 3 seconds. Change it to 3 and see if it works better.

 

Actually, you don't even need the timing part, that's only really needed for weapons that commonly do multi-kills, like explosives.

 

Change your second_check to this simpler version:

 

Code:

String kCounter = killer.Name + "_TreatAsOne_Count_Kills";
String msg = null;
 
int warnings = 1;
if (server.Data.issetInt(kCounter)) warnings = server.Data.getInt(kCounter);
 
if (warnings == 1) {
        msg = "You have " + (warnings) + " non pistol kill this round, the maximum allowed on this server is 1";
        plugin.ServerCommand("admin.yell", msg, "15", "player", killer.Name);
        plugin.PRoConChat("ADMIN to " + killer.Name + ">" + msg);
} if (warnings >= 2) {
            msg ="%p_n%, banned for using %w_n% on Pistol and Knife only server";
            plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, "%p_n%, banned for using %w_n% on Pistol and Knife only server, get unbanned at www.rockpapergodmode.com");
            msg = "Banning " + killer.FullName + " for " + msg + victim.FullName;
            plugin.SendGlobalMessage(msg);
            plugin.PRoConChat("ADMIN > " + msg);
            plugin.PRoConEvent(msg, "Insane Limits");
        }
server.Data.setInt(kCounter, warnings+1);
return false;
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 months later...

Originally Posted by p19blo*:

 

is there new pistols out ? noob question i know, but someones been banned on my server for using a new revolver ?

 

Code:

! Regex.Match(kill.Weapon, @"(U_Taurus44|U_HK45C|U_CZ75|U_FN57|U_Glock18|U_M1911|U_M9|U_M93R|U_MP412Rex|U_MP443|U_P226|U_QSZ92|Melee|Suicide|SoldierCollision|DamageArea|Death)", RegexOptions.IgnoreCase).Success
is what i have right now
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Beats me. Were new weapons added for Second Assault? Were you running a Second Assault map, or any DLC for that matter?

 

Check here for possible new weapon codes:

 

showthread....5-Weapon-Codes*

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

Originally Posted by TMiland*:

 

is there new pistols out ? noob question i know, but someones been banned on my server for using a new revolver ?

 

Code:

! Regex.Match(kill.Weapon, @"(U_Taurus44|U_HK45C|U_CZ75|U_FN57|U_Glock18|U_M1911|U_M9|U_M93R|U_MP412Rex|U_MP443|U_P226|U_QSZ92|Melee|Suicide|SoldierCollision|DamageArea|Death)", RegexOptions.IgnoreCase).Success
is what i have right now
This is what i use right now:

 

Code:

kill.Weapon == "U_M98B" || kill.Weapon == "U_M93R" || !Regex.Match(kill.Weapon, @"(U_Taurus44|U_HK45C|U_CZ75|U_FN57|U_M1911|U_M9|U_MP412Rex|U_MP443|U_P226|U_QSZ92|U_SW40|U_Flashbang|U_Defib|Melee|Suicide|SoldierCollision|DamageArea|Death)", RegexOptions.IgnoreCase).Success
Added U_SW40, and Code:
[b]kill.Weapon == "U_M98B" || kill.Weapon == "U_M93R"[/b]
is needed because the U_M9 gun is in those names, if you don't define them, they can use both those weapons. :ohmy:

 

*edit

I don't allow U_M93R, U_Glock18 and Shorty, so you need to add them to the code if you are to allow them.

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

Originally Posted by bluekind*:

 

Hi guys ... I am tried to modified code for Sniper only.

 

but I am getting error. Any help will be appreciated.

 

my 1sk check code

Code:

!Regex.Match(kill.Weapon, @"(U_AMR2|U_AMR2_CQB|U_AMR2_MED|U_CS-LR4|U_FY-JS|U_JNG90|U_M200|U_M40A5|U_M82A3|U_M82A3_CQB| U_M82A3_MED|U_M98B|U_Scout|U_SRS|U_SV98|U_L96A1|U_GOL|Melee|Suicide|SoldierCollision|DamageArea|Death)",  RegexOptions.IgnoreCase).Success
my 2nd Check code

 

Code:

Set second_check to this Code:

double count = limit.Activations(player.Name);
	
	if (count == 1)
	{
	    plugin.KillPlayer(player.Name);
	    plugin.SendPlayerMessage(player.Name, plugin.R ("%p_n%, this is a Sniper only server, do not use %w_n% again! Next time kick"));
	}
	
	else if (count == 2)
	{
            plugin.KickPlayerWithMessage(player.Name, plugin.R("%p_n%, kicked you for using %w_n% on Sniper only server"));
			plugin.PRoConChat(plugin.R("%p_n% has been kicked for not using the sniper."));
	}

 return false;
I am havign 2 problem.

 

1. Its not kill or kicking player for using anything other then sniper.

2. I am getting the following error.

 

Code:

[21:08:27 76] [Insane Limits] Thread(settings): Compiling Limit #1 - Sniper Only - OnKill
[21:08:27 80] [Insane Limits] Thread(settings): ERROR: 1 error compiling Code
[21:08:27 80] [Insane Limits] Thread(settings): ERROR: (CS1002, line: 27, column: 270):  ; expected
Thanks in advance.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

 

Not sure about that second check code, but here's what i use:

 

Code:

String kCounter = killer.Name + "_TreatAsOne_Count_MaxKills";
TimeSpan time = TimeSpan.FromSeconds(3); // Activations within 3 seconds count as 1
String msg = null;
 
int warnings = 0;
if (server.Data.issetInt(kCounter)) warnings = server.Data.getInt(kCounter);
 
/*
We get here only if there was exactly one activation in the time span
*/
 
if (warnings == 0) 
	{
		msg = "We are playing Pistols & Knife only!";
		plugin.ServerCommand("admin.yell", "FINAL WARNING " + killer.Name + "! " + msg, "player", killer.Name);
		plugin.ServerCommand("admin.yell", msg, "15", "player", killer.Name);
		plugin.PRoConChat("ADMIN to " + killer.Name + "> " + msg);
		plugin.KillPlayer(killer.Name, 5);
		server.Data.setInt(kCounter, warnings+1);
		return false;
	}
/*
Check to make sure we are not
getting multiple activations in a short period of time. Ignore if
less than the time span required.
*/
 
if (limit.Activations(killer.Name, time) > 1) return false;

if (warnings >= 1)
	{
		msg ="not using Knife or Pistol to kill! ";
		//plugin.KickPlayerWithMessage(killer.Name, msg);
		//EA Ban by player EA GUID - temp ban for 10 minutes
		plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Temporary, killer.Name, 10, msg);
		plugin.ConsoleWrite("^b^1ILLEGAL WEAPON!^0^n " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
		msg = "Temp banning (10 min) " + killer.FullName + " for " + msg + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName;
		plugin.SendGlobalMessage(msg);
		plugin.PRoConChat("ADMIN > " + msg);
		plugin.PRoConEvent(msg, "Insane Limits");
	}
server.Data.setInt(kCounter, warnings+1);

    return false;
This will warn on first kill with prohibited weapon, and ban for 10 minutes on second. :-)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bluekind*:

 

Not sure about that second check code, but here's what i use:

 

Code:

String kCounter = killer.Name + "_TreatAsOne_Count_MaxKills";
TimeSpan time = TimeSpan.FromSeconds(3); // Activations within 3 seconds count as 1
String msg = null;
 
int warnings = 0;
if (server.Data.issetInt(kCounter)) warnings = server.Data.getInt(kCounter);
 
/*
We get here only if there was exactly one activation in the time span
*/
 
if (warnings == 0) 
	{
		msg = "We are playing Pistols & Knife only!";
		plugin.ServerCommand("admin.yell", "FINAL WARNING " + killer.Name + "! " + msg, "player", killer.Name);
		plugin.ServerCommand("admin.yell", msg, "15", "player", killer.Name);
		plugin.PRoConChat("ADMIN to " + killer.Name + "> " + msg);
		plugin.KillPlayer(killer.Name, 5);
		server.Data.setInt(kCounter, warnings+1);
		return false;
	}
/*
Check to make sure we are not
getting multiple activations in a short period of time. Ignore if
less than the time span required.
*/
 
if (limit.Activations(killer.Name, time) > 1) return false;

if (warnings >= 1)
	{
		msg ="not using Knife or Pistol to kill! ";
		//plugin.KickPlayerWithMessage(killer.Name, msg);
		//EA Ban by player EA GUID - temp ban for 10 minutes
		plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Temporary, killer.Name, 10, msg);
		plugin.ConsoleWrite("^b^1ILLEGAL WEAPON!^0^n " + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName);
		msg = "Temp banning (10 min) " + killer.FullName + " for " + msg + killer.FullName + " used " + kill.Weapon + " against " + victim.FullName;
		plugin.SendGlobalMessage(msg);
		plugin.PRoConChat("ADMIN > " + msg);
		plugin.PRoConEvent(msg, "Insane Limits");
	}
server.Data.setInt(kCounter, warnings+1);

    return false;
This will warn on first kill with prohibited weapon, and ban for 10 minutes on second. :-)
Thanks I will check and report back.

But still getting following error

 

] [insane Limits] ERROR: (CS1002, line: 27, column: 270): ; expected

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

Originally Posted by PapaCharlie9*:

 

I am havign 2 problem.

 

1. Its not kill or kicking player for using anything other then sniper.

2. I am getting the following error.

 

Code:

[21:08:27 76] [Insane Limits] Thread(settings): Compiling Limit #1 - Sniper Only - OnKill
[21:08:27 80] [Insane Limits] Thread(settings): ERROR: 1 error compiling Code
[21:08:27 80] [Insane Limits] Thread(settings): ERROR: (CS1002, line: 27, column: 270):  ; expected
Thanks in advance.
From second_check, remove this line from the code:

Code:

Set second_check to this Code:
Also, change

Code:

else if (count == 2)
to this:

 

Code:

else if (count >= 2)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bluekind*:

 

From second_check, remove this line from the code:

Code:

Set second_check to this Code:
Also, change

Code:

else if (count == 2)
to this:

 

Code:

else if (count >= 2)
Still getting the same error. and its not killing or kicking people. below is my setting

 

insane.PNG

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

Originally Posted by PapaCharlie9*:

 

Still getting the same error. and its not killing or kicking people. below is my setting

You have first_check set incorrectly. limit_1_first_check should be Expression, not Code.
* 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.