Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

Originally Posted by ColColonCleaner*:

 

Is there a script for this plugin or a way to announce a player's "Rank" in the server, if they type !rank?

Depends on what you mean by rank. In short, yes, and you are probably talking about the stat logger plugin.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by moacco07*:

 

Hi,

 

Could anyone create a script for good cause trolling messages for bluffing gamers that the server is scanning for hackers (just to scare them).

Messages Yell and say:

 

[Admin_Tool] Potential Hacker Detected...

[Admin_Tool] Running Server-side Scan...

 

I would like these messages to be displayed randomly within 24 hours with breakdown of 2 hours each (total 12 times).

- Within every 2 hours it will display these messages together randomly.

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

Originally Posted by G3rwulf*:

 

Hello erverybody!

 

I am new to this forum and kindly ask some help.

 

My research did not bring up any suitable result, but maybe you can help me with this.

I am looking for a Top Scoring Player this Round Announcer, that should work like this:

 

 

Starting on minute x

every y minutes

it should say:

"Top scoring players:

1st - [PlayerName] ... [score this round]

2nd - [PlayerName] ... [score this round]

3rd - [PlayerName] ... [score this round]"

 

and at end of round

it should say:

"Top scoring players this round:

1st - [PlayerName] ... [score this round] - MVP

2nd - [PlayerName] ... [score this round]

3rd - [PlayerName] ... [score this round]"

followed by next round annoucement

"NEXT MAP is [name of next map]"

 

 

Many thanks for your support !!!

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

Originally Posted by LCARSx64*:

 

Hi,

 

Could anyone create a script for good cause trolling messages for bluffing gamers that the server is scanning for hackers (just to scare them).

Messages Yell and say:

 

[Admin_Tool] Potential Hacker Detected...

[Admin_Tool] Running Server-side Scan...

 

I would like these messages to be displayed randomly within 24 hours with breakdown of 2 hours each (total 12 times).

- Within every 2 hours it will display these messages together randomly.

Here you go:

 


AntiHacker Troll

 

Create a new limit to evaluate OnIntervalServer. Set the evaluation_interval to 7200 seconds. Set action to None.

 

Set first_check to this Code:

Code:

// AntiHacker Troll - Limit 1 of 1
// v1.0 - OnIntervalServer - first_check
//

String[] sMsgs = { "[Admin_Tool] Potential Hacker Detected...",
                   "[Admin_Tool] Running Server-side Scan..." };

plugin.SendGlobalYell("\n" + sMsgs[0] + "\n" + sMsgs[1], 8);
for (int i = 0; i < sMsgs.Length; i++)
{
    plugin.SendGlobalMessage(sMsgs[i]);
}

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

Originally Posted by moacco07*:

 

Here you go:

 


AntiHacker Troll

 

Create a new limit to evaluate OnIntervalServer. Set the evaluation_interval to 7200 seconds. Set action to None.

 

Set first_check to this Code:

Code:

// AntiHacker Troll - Limit 1 of 1
// v1.0 - OnIntervalServer - first_check
//

String[] sMsgs = { "[Admin_Tool] Potential Hacker Detected...",
                   "[Admin_Tool] Running Server-side Scan..." };

plugin.SendGlobalYell("\n" + sMsgs[0] + "\n" + sMsgs[1]);
for (int i = 0; i < sMsgs.Length; i++)
{
    plugin.SendGlobalMessage(sMsgs[i]);
}

return false;
Hello LCARSx64,

 

I'll test it and get back to you.

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

Originally Posted by moacco07*:

 

Quote Originally Posted by LCARSx64 View Post

Here you go:

 

AntiHacker Troll

 

Create a new limit to evaluate OnIntervalServer. Set the evaluation_interval to 7200 seconds. Set action to None.

 

Set first_check to this Code:Code:

// AntiHacker Troll - Limit 1 of 1
// v1.0 - OnIntervalServer - first_check
//

String[] sMsgs = { "[Admin_Tool] Potential Hacker Detected...",
                   "[Admin_Tool] Running Server-side Scan..." };

plugin.SendGlobalYell("\n" + sMsgs[0] + "\n" + sMsgs[1]);
for (int i = 0; i < sMsgs.Length; i++)
{
    plugin.SendGlobalMessage(sMsgs[i]);
}

return false;

Hello LCARSx64,

 

I'll test it and get back to you.

Come out with this problem.

 

Code:

[23:20:19 02] [Insane Limits] Thread(settings): ERROR: 1 error compiling Code
[23:20:19 02] [Insane Limits] Thread(settings): ERROR: (CS1501, line: 34, column: 13):  No overload for method 'SendGlobalYell' takes '1' arguments
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

Come out with this problem.

 

Code:

[23:20:19 02] [Insane Limits] Thread(settings): ERROR: 1 error compiling Code
[23:20:19 02] [Insane Limits] Thread(settings): ERROR: (CS1501, line: 34, column: 13):  No overload for method 'SendGlobalYell' takes '1' arguments
Oops, my bad. I forgot the yell time. Fixed in post #2707 above. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Smellblood95*:

 

So I have the following on proconrulz, but i was wondering if this was possible in the C# language in insane limits.

It basically is a warning system that is used to warn people by command for people not to get on the crane in the Noshahr Canals map.

Code:

On Say;Admin;Text !w;TargetPlayer
Incr %server_warnings[%t%]%
If %server_warnings[%t%]% >= 3;TargetAction Kick %t% NO CRANE!;Say ###### %t% NO CRANE, WARNING %server_warnings[%t%]%/3! ######
If %server_warnings[%t%]% == 2;Say NEXT TIME IS KICK!
TargetAction Kill;Say ###### %t% NO CRANE, WARNING %server_warnings[%t%]%/3! ######
I hope somebody can look at this and maybe make this work :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GR101*:

 

Hi, Does anybody have a limit that logs the following information and saves it to tab delimited file?

 

Column headings: "Player Name" "Platoon Tag" "PBGUID" "EAGUID" "IP Address" "Country"

 

Logs/InsaneLimits_PD.log

 

Thank you for considering this.

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

Originally Posted by ColColonCleaner*:

 

Could someone tell me how to enable !rank command on my server, that when a player types in !rank it will tell them their rank on our server?

 

Thanks!

I already answered this question for you in another post you made here: myrcon.net/...insane-limits-requests#entry28082

 

It's with the stat logger plugin: myrcon.net/.../stats-webpage-for-xpkillers-stats-logger-plugin

 

EDIT: If you truly do not want to join the dark side with a database, you can pay a monthly fee to have gameme.com enable a rank command on your server. Just make sure you get the settings correct.

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

Originally Posted by MadDark_DK*:

 

Hey

 

Need a code for Insane Limits that kick a player when the k/d is over 8 or a nother number ?

 

Also with the message "To high K/d"

 

Not his k/d in battlelog but "live" on the server

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

Originally Posted by Singh400*:

 

Hey

 

Need a code for Insane Limits that kick a player when the k/d is over 8 or a nother number ?

 

Also with the message "To high K/d"

 

Not his k/d in battlelog but "live" on the server

You realise it is pretty achievable to get eight kills in a row, and no deaths right? You would be kicking innocent players.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MadDark_DK*:

 

You realise it is pretty achievable to get eight kills in a row, and no deaths right? You would be kicking innocent players.

Hello

 

Yes i know. 8 is just a number :smile: I know it should be higher :smile:

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

Originally Posted by LCARSx64*:

 

Hey

 

Need a code for Insane Limits that kick a player when the k/d is over 8 or a nother number ?

 

Also with the message "To high K/d"

 

Not his k/d in battlelog but "live" on the server

Are you referring to the player's KDR or kill spree?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by butterfinger*:

 

Hello guys.

 

I have in my "Map List" a few maps, but i want some code to randomize the selecion where do not repeat each map and each mode.

 

Can anyone help me?

 

Thanks!!!!

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

Originally Posted by ColColonCleaner*:

 

Hello guys.

 

I have in my "Map List" a few maps, but i want some code to randomize the selecion where do not repeat each map and each mode.

 

Can anyone help me?

 

Thanks!!!!

Votemap plugin, jack up the randomness, then turn off voting.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

Hey! Yes i have the votemap plugin but always turn to the same game mode or not respect the list i order... Why?

Check your map options and make sure you haven't made any exclusions or sorting changes. Also turning on display of gamemodes in the votes could help you locate the issue.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

Hey

 

Need a code for Insane Limits that kick a player when the k/d is over 8 or a nother number ?

 

Also with the message "To high K/d"

 

Not his k/d in battlelog but "live" on the server

Kill Spree :smile:

Here you go:

 

Edit these to values as required:

 

Players will be kicked if the number of kills in a row is equal to or greater than the value highlighted in red.

Kicked players will receive the message highlighted in green.


High Kill Spree Limiter

 

Create a new limit to evaluate OnKill. Set action to None.

 

Set first_check to this Expression:

Code:

(true)
Set second_check to this Code:

Code:

// High Kill Spree Limiter - Limit 1 of 1
// v1.0 - OnKill - second_check
//

double dKills = [b]8[/b];
String sMsg = "[b]Excessive number of kills in a row![/b]";
//
String[] sLog = { "^b^1High Kill Spree Limiter^0^n: ",
                  "High Kill Spree Limiter: ",
                  " was kicked for ",
                  " kills in a row!" };
double dSpree = limit.Spree(player.Name);

if (dSpree >= dKills)
{
    sLog[0] = sLog[0] + player.FullName + sLog[2] + dSpree.ToString() + sLog[3];
    sLog[1] = sLog[1] + player.FullName + sLog[2] + dSpree.ToString() + sLog[3];
    plugin.KickPlayerWithMessage(player.Name, sMsg);
    plugin.ConsoleWrite(sLog[0]);
    plugin.PRoConChat(sLog[0]);
    plugin.PRoConEvent(sLog[1], "Insane Limits");
}

return false;

End of post.

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

Originally Posted by Smellblood95*:

 

NO smaw/rpg rule:

So I have this rule on my server and i already have the limit for it, but there is something I want to change but I dont know how.

The limit (that I will show below) works fine, yet if somebody makes 2 kills with a rocket, he gets an insta kick, since the limit of kills with it is set to 2.

I wondered if there was something that could be implemented to prevent this, something like the following: If you make 2 kills with an rpg within, lets say 3 seconds, then it will not kick this person, but only kill him.

 

Here is the limit:

Evaluation is set to OnKill

First_check is set to Expression:

 

Code:

Regex.Match(kill.Weapon, @"(RPG|SMAW|M320)", RegexOptions.IgnoreCase).Success
Second_check is set to Code:

 

Code:

double count = limit.Activations(player.Name);
	
            if (count == 1)
            {
                plugin.SendGlobalMessage(plugin.R("%p_n%, NO SMAW/RPG-7/M320/GP-30, next time is kick!"));
                plugin.PRoConChat(plugin.R("Admin > All: ^3%p_n% has been killed for using a SMAW/RPG-7/M320/GP-30!"));
                plugin.ConsoleWrite(plugin.R("%p_n% has been killed for using a SMAW/RPG-7/M320/GP-30!"));
                plugin.KillPlayer(player.Name);
            }
            else if (count == 2)
	        {
                plugin.SendGlobalMessage(plugin.R("%p_n%, was kicked for breaking the NO SMAW/RPG-7/M320/GP-30 Rule, 1 warning was given!"));
                plugin.KickPlayerWithMessage(player.Name, plugin.R("You were kicked for breaking the NO SMAW/RPG-7/M320/GP-30 Rule, 1 warning was given!"));
                plugin.PRoConChat(plugin.R("Admin > All: ^3%p_n% has been kicked for using a SMAW/RPG-7/M320/GP-30!"));
                plugin.ConsoleWrite(plugin.R("%p_n% has been kicked for using a SMAW/RPG-7/M320/GP-30!"));
	        }

	        return false;
I hope somebody can implement my little idea, as it will decrease the amount of players being kicked for something that is a bit unfair.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MadDark_DK*:

 

Here you go:

 

Edit these to values as required:

 

Players will be kicked if the number of kills in a row is equal to or greater than the value highlighted in red.

Kicked players will receive the message highlighted in green.


High Kill Spree Limiter

 

Create a new limit to evaluate OnKill. Set action to None.

 

Set first_check to this Expression:

Code:

(true)
Set second_check to this Code:

Code:

// High Kill Spree Limiter - Limit 1 of 1
// v1.0 - OnKill - second_check
//

double dKills = [b]8[/b];
String sMsg = "[b]Excessive number of kills in a row![/b]";
//
String[] sLog = { "^b^1High Kill Spree Limiter^0^n: ",
                  "High Kill Spree Limiter: ",
                  " was kicked for ",
                  " kills in a row!" };
double dSpree = limit.Spree(player.Name);

if (dSpree >= dKills)
{
    sLog[0] = sLog[0] + player.FullName + sLog[2] + dSpree.ToString() + sLog[3];
    sLog[1] = sLog[1] + player.FullName + sLog[2] + dSpree.ToString() + sLog[3];
    plugin.KickPlayerWithMessage(player.Name, sMsg);
    plugin.ConsoleWrite(sLog[0]);
    plugin.PRoConChat(sLog[0]);
    plugin.PRoConEvent(sLog[1], "Insane Limits");
}

return false;

End of post.

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

Originally Posted by buzZzer*:

 

Hi LCARSx64 you can help me and me a code to do with it on my BFHL Server only pistols and knives are allowed? It should get a kill on the first violation, the second a kick and the third a ban

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

Originally Posted by buzZzer*:

 

I myself and what is found here in the forum at bf4, where I replaced the psitols against from BFHL, this code would work?

Is it enough if I register the knife as a melee or I have to enter each knife and baseball bat and machetes?

 

Insane limits knife and pistols only

 

Set limit to evaluate OnKill, set action to None

Set first_check to this Expression:

 

Code:

!Regex.Match(kill.Weapon, @"(U_M9|U_G17|U_P226|U_CZ75|U_SW38Snub|U_RS357|U_T aurus44|U_Jury410|U_M1911|U_HK45C|U_IMI50BaldEagle |U_SW40P|U_INF9|U_M93R|U_G18C|U_Mac_10|Melee|Suici de|SoldierCollision|DamageArea|Death)", RegexOptions.IgnoreCase).Success

 

 

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 pistol 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 pistol only server! Next time ban"));

plugin.PRoConChat(plugin.R("%p_n% has been kicked for false Weapon."));

}

 

else if (count == 3)

{

plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, plugin.R("%p_n%, kicked you for using %w_n% on pistol only server! Repution on nineshapes.de"));

plugin.PRoConChat(plugin.R("%p_n% has been kicked for false Weapon."));

}

 

return false;

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

Originally Posted by LCARSx64*:

 

Hi LCARSx64 you can help me and me a code to do with it on my BFHL Server only pistols and knives are allowed? It should get a kill on the first violation, the second a kick and the third a ban

Although I don't have a BFH server (or BFH for that matter) to test this with, the following should work:

 


Allow Knives && Pistols Only

 

Create a new limit to evaluate OnKill. Set action to None.

 

Set first_check to this Code:

Code:

// Allow Knives & Pistols Only - Limit 1 of 1
// v1.0 - OnKill - first_check
//

if (Regex.Match(kill.Category, @"(Melee|Handgun)").Success || plugin.isInWhitelist(player.Name)) return false;

String sKey = "_BADWEAP_" + player.EAGuid;
String[] sReasons = { "Only Knives and Pistols allowed!",
                      "Next breach will result in you being kicked!",
                      "Excessive use of a prohibited weapon!" };
String sMsg = player.FullName;
int iCount = 0;
Action<String> fLog = delegate(String _msg)
                      {
                          if (_msg != "")
                          {
                              String _sTitle = "Weapon Limiter";
                              plugin.ConsoleWrite("^b^1" + _sTitle + "^0^n: " + _msg);
                              plugin.PRoConChat("^b^1" + _sTitle + "^0^n: " + _msg);
                              plugin.PRoConEvent(_sTitle + ": " + _msg, "Insane Limits");
                          }
                      };

if (server.Data.issetInt(sKey)) iCount = server.Data.getInt(sKey);
iCount++;
switch (iCount)
{
    case 1:
        sMsg = sMsg + " has been killed for using a prohibited weapon!";
        plugin.KillPlayer(player.Name);
        plugin.SendPlayerMessage(player.Name, sReasons[0]);
        plugin.SendPlayerMessage(player.Name, sReasons[1]);
        plugin.SendPlayerYell(player.Name, "\n" + sReasons[0] + "\n" + sReasons[1], 8);
        fLog(sMsg);
        server.Data.setInt(sKey, iCount);
        break;
    case 2:
        sMsg = sMsg + " has been kicked for using a prohibited weapon a second time!";
        plugin.KickPlayerWithMessage(player.Name, sReasons[2] + " Next breach will result in a ban!");
        fLog(sMsg);
        server.Data.setInt(sKey, iCount);
        break;
    case 3:
        sMsg = sMsg + " has been banned for using a prohibited weapon for a third time!";
        plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, sReasons[2]);
        fLog(sMsg);
        server.Data.unsetInt(sKey);
        break;
}

return false;

End of post.

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

Originally Posted by buzZzer*:

 

Although I don't have a BFH server (or BFH for that matter) to test this with, the following should work:

 


Allow Knives && Pistols Only
Big thx, works fine! :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by moacco07*:

 

To insane limits plugin developer,

 

Good day to you. Hope all is well.

 

Could you advice me what is the meaning of below error and how may i resolved it?

 

Code:

[09:16:22 70] [Insane Limits] Thread(enforcer): WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:22 70] [Insane Limits] Thread(enforcer): WARNING: could not determine value for server.NextGamemode in replacement
[09:16:23 78] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:23 78] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:23 79] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:23 79] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:23 79] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:23 79] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:23 80] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:23 81] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:23 81] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:23 81] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:23 82] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:23 82] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:33 61] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:33 61] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:33 61] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:33 61] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:33 62] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:33 62] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:33 63] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:33 63] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:33 63] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:33 63] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:33 63] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:33 63] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:39 68] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:39 68] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:39 69] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:39 69] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:39 69] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:39 69] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:39 70] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:39 70] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:39 70] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:39 70] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:40 61] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:40 61] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:40 62] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:40 62] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:40 63] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:40 63] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:40 63] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:40 63] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
[09:16:40 64] [Insane Limits] WARNING: could not determine value for server.NextMapFileName in replacement
[09:16:40 64] [Insane Limits] WARNING: could not determine value for server.NextGamemode in replacement
* 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.




×
×
  • 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.