Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

Originally Posted by samarca*:

 

Hi Guys,

 

Is it possible to set a limit that pulls information from Battle-log? what I want to know is, is it possible to set a limit that certain people with over "lets say 1000 kills in a Jet" not to fly. I know it would be a hand full but if the server could pull the information about the player, and they fly and kill someone it would generate a kill on that player who has over 1000 kills.

 

Many Thanks

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

Originally Posted by Singh400*:

 

Hi Guys,

 

Is it possible to set a limit that pulls information from Battle-log? what I want to know is, is it possible to set a limit that certain people with over "lets say 1000 kills in a Jet" not to fly. I know it would be a hand full but if the server could pull the information about the player, and they fly and kill someone it would generate a kill on that player who has over 1000 kills.

 

Many Thanks

At the moment? No.

 

Insane Limits currently pulls information using the and some data from . The information you want is stored in . It's entirely possible to do, but Insane Limits would need to be modified to pull data from vehiclesPopulateStats too.

 

I think it's unlikely...

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

Originally Posted by PapaCharlie9*:

 

If the first penalty is: kill the player

Punishment for 2: a permanent ban.

I need how to change?

It won't work if the first punishment is kill, because the player will stay in the server. The first punishment has to be kick.

 

To change to permanent ban, change the ban line to this:

Code:

plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Permanent, player.Name, 0, secondWarningMessage);

This restriction code doesn't work.

I just did a test. Invite a friend over a prank.

He hit dead for 16 consecutive times. But there was no any warning or banned

Was his score less than 200?

 

Check to make sure Insane Limits is not in Virtual mode. Check the top of the plugin settings. Make sure virtual_mode is False. Make sure the limit is Enabled, not Virtual. Make sure your friend is not on any of the whitelists.

 

If you use the time is so hard. Why don't you try to use score limit?

Such as:

Now is 1000 points, 10 deaths, are now beginning to prank..

Prank death after 20 times. The score is 1000

So can also judge the player mischief

The limit I gave you already checks the score. You can change MinScore to 1000.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by w262035635*:

 

It won't work if the first punishment is kill, because the player will stay in the server. The first punishment has to be kick.

 

To change to permanent ban, change the ban line to this:

Code:

plugin.EABanPlayerWithMessage(EABanType.Name, EABanDuration.Permanent, player.Name, 0, secondWarningMessage);
Was his score less than 200?

 

Check to make sure Insane Limits is not in Virtual mode. Check the top of the plugin settings. Make sure virtual_mode is False. Make sure the limit is Enabled, not Virtual. Make sure your friend is not on any of the whitelists.

 

 

The limit I gave you already checks the score. You can change MinScore to 1000.

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

Originally Posted by )RAG()N*:

 

I would like a ping kicker that I can add to insane limits instead of installing another plugin,,

 

 

While I'm here can we get an updated version of ...* or is that one still being added too ?

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

Originally Posted by )RAG()N*:

 

I just noticed a bug in the myrcon.net/...insane-limits-examples#entry18415 when ever the limits is activated in the chat log it displays the wrong time as below

 

[16:15:52] random player - US Army > owch

[23:16:14] ADMIN > player1 was shanked by player2!

[16:16:10] random player - US Army > ammo

[23:16:31] ADMIN > player1 just took player2's tags and made him cry!

[16:16:27] random player > gg

[23:16:35] ADMIN > player1 slipped a shiv into player2's back!

[16:18:00] random player > gl hf

Disregard My computer was set on the wrong time zone

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

Originally Posted by PapaCharlie9*:

 

This limit does NOT count Suicides. That requires a separate limit. When you do a test, do not use Suicides.

 

I made a new version that will print out all the the data after each death, so we can see what is going wrong. You MUST have plugin logging enabled. Procon Tools menu (upper right corner), Options ..., Basics tab, make sure Enable plugin logging is checked.

 

Try the new version of the code and do your test again, but without using Suicide:

 

myrcon.net/...insane-limits-requests#entry26579

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

Originally Posted by PapaCharlie9*:

 

I would like a ping kicker that I can add to insane limits instead of installing another plugin,,

 

 

While I'm here can we get an updated version of ...* or is that one still being added too ?

This thread IS the replacement for Examples. Also, this whole forum is as well. There are lots of "Insane Limits" threads in the Plugin Enhancements forum. Use the forum search or just page through the table of contents for this forum to see examples.

 

Create a new limit to evaluate OnSpawn, call it "Ping Kicker", set Action to Kick and fill in the kick_message field.

 

Set first_check to this Expression:

 

Code:

(player.MedianPing > XXX)
Change XXX to whatever you want the maximum ping to be.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

This thread IS the replacement for Examples. Also, this whole forum is as well. There are lots of "Insane Limits" threads in the Plugin Enhancements forum. Use the forum search or just page through the table of contents for this forum to see examples.

 

Create a new limit to evaluate OnSpawn, call it "Ping Kicker", set Action to Kick and fill in the kick_message field.

 

Set first_check to this Expression:

 

Code:

(player.Ping > XXX)
Change XXX to whatever you want the maximum ping to be.
I'd recommend the OP uses the latency manager for this, as ping can spike. Better to take an average, and I think the latency manager does that.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by w262035635*:

 

This limit does NOT count Suicides. That requires a separate limit. When you do a test, do not use Suicides.

 

I made a new version that will print out all the the data after each death, so we can see what is going wrong. You MUST have plugin logging enabled. Procon Tools menu (upper right corner), Options ..., Basics tab, make sure Enable plugin logging is checked.

 

Try the new version of the code and do your test again, but without using Suicide:

 

myrcon.net/...insane-limits-requests#entry26579

Ok, I will open the plugin logs, and upload plugin logs to you..

But now no players in the server.

So I can't provide the log to you immediately.

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

Originally Posted by w262035635*:

 

This limit does NOT count Suicides. That requires a separate limit. When you do a test, do not use Suicides.

 

I made a new version that will print out all the the data after each death, so we can see what is going wrong. You MUST have plugin logging enabled. Procon Tools menu (upper right corner), Options ..., Basics tab, make sure Enable plugin logging is checked.

 

Try the new version of the code and do your test again, but without using Suicide:

 

myrcon.net/...insane-limits-requests#entry26579

I think I found a problem in the code

 

Player death records

Code:

[09:29:26]  S_Tumink [RPG-7 Anti Tank rocket-propelled grenade launcher]  aaronliu1003
[09:30:17]  [Roadkill]  Scapegoat-Nima
[09:30:17]  [Roadkill]  keepdoing
[09:30:44]  [Death]  _PureLove_angel_
[09:32:40]  sLayiNg_Mario [Suicide]  sLayiNg_Mario
[09:33:07]  [Roadkill]  25257757
[09:35:19]  [Roadkill]  _PureLove_angel_
[09:38:16]  flank1096 [Death]  keepdoing
[09:38:16]  flank1096 [Death]  141_Xiaochen
[09:43:13]  aaronliu1003 [Death]  141_Xiaochen
[09:44:59]  CZ503 [Death]  25257757
[09:45:23]  Minota_uroskov [Suicide]  Minota_uroskov
[09:46:09]  Azhage328 [Roadkill]  Azhage328
[09:46:22]  wjmbladewarrior [Death]  141_Xiaochen
[09:46:57]  HMD_DongHwan [Roadkill]  141_Xiaochen
[09:50:41]  sLayiNg_Mario [Suicide]  sLayiNg_Mario
[09:50:58]  [Death]  141_Xiaochen
[09:52:10]  [Roadkill]  ljglife
[09:52:19]  Minota_uroskov [Death]  sLayiNg_Mario
[09:57:16]  rhee900 [Death]  sLayiNg_Mario
[10:11:38]  [Roadkill]  hxhx0216
[10:47:02]  sLayiNg_Mario [Suicide]  sLayiNg_Mario
[10:48:29]  [Death]  1239835107
[10:48:37]  hxhx0216 [Suicide]  hxhx0216
[10:52:25]  hxhx0216 [Repair Tool]  141_Xiaochen
[10:53:39]  [Roadkill]  C4_SuperWong
[10:54:18]  [Death]  1239835107
[10:54:32]  [Roadkill]  C4_SuperWong
[10:54:56]  [Roadkill]  1239835107
[10:55:10]  [Roadkill]  C4_SuperWong
Plug-in logging

Code:

[09:29:26] [Insane Limits] name: aaronliu1003, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 1, score: 1300
[09:38:16] [Insane Limits] name: keepdoing, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 2, score: 18069
[09:38:16] [Insane Limits] name: 141_Xiaochen, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 1, score: 29880
[09:43:13] [Insane Limits] name: 141_Xiaochen, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 2, score: 32580
[09:44:59] [Insane Limits] name: 25257757, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 1, score: 6900
[09:46:22] [Insane Limits] name: 141_Xiaochen, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 3, score: 32780
[09:46:57] [Insane Limits] name: 141_Xiaochen, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 4, score: 32780
[09:52:19] [Insane Limits] name: sLayiNg_Mario, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 1, score: 11300
[09:57:16] [Insane Limits] name: sLayiNg_Mario, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 1, score: 760
[10:52:25] [Insane Limits] name: 141_Xiaochen, maxDeaths: 8, minScore: 200, count: 0, kdr: 0, deaths: 1, score: 11910
So the question is:

Plug-in only record player was killed by the enemy

Plugin will not record: abnormal death or suicide

So I can't stop the troublemakers,

Because troublemakers, usually don't go to kill people, can only use a vehicle crash

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

Originally Posted by w262035635*:

 

Malicious impact player.. Usually involved in one or several civilians were killed

 

Player is troublemakers in red font

 

The time of death is at the same time

 

Troublemakers will continue to impact death many times. And there was no change scores

 

Code:

[23:28:58]  [Roadkill]  -911-Ariel-Lin
[23:28:58]  [Roadkill]  Junrui_lv
[23:28:58]  [Roadkill]  Spark_shc
[23:28:58]  [Roadkill]  jama2c
[23:28:58]  [Roadkill]  Cai_niao_9527
Code:
[23:36:07]  [Roadkill]  Toothpyk777
[23:36:07]  [Roadkill]  Cai_niao_9527
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

I think I found a problem in the code

 

 

So the question is:

Plug-in only record player was killed by the enemy

Plugin will not record: abnormal death or suicide

So I can't stop the troublemakers,

Because troublemakers, usually don't go to kill people, can only use a vehicle crash

You are right. I didn't realize those kinds of deaths are suicides. Insane Limits treats any death that does not have a killer as a suicide.

 

So I changed the limit to be OnSuicide and I changed the code to remove Score. Make sure you either completely change the old limit or disable the old limit and make a new one to evaluate On Suicide.

 

myrcon.net/...insane-limits-requests#entry26579

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

Originally Posted by w262035635*:

 

You are right. I didn't realize those kinds of deaths are suicides. Insane Limits treats any death that does not have a killer as a suicide.

 

So I changed the limit to be OnSuicide and I changed the code to remove Score. Make sure you either completely change the old limit or disable the old limit and make a new one to evaluate On Suicide.

 

myrcon.net/...insane-limits-requests#entry26579

Ok, I will delete the old limit

Using the new restrictions, and set to OnSuicide

And use the R4 code

 

 

But cancel scores tracking.. Can cause misjudgment?

Some players are beginner. May in scores of cases,

In obtaining the other scores...JET operation out of control and cause beyond death.

Or some players.. Continuous suicide several times

XXXXX [suicide] XXXXX

 

Specific circumstances I will continue to test tomorrow.

Now I area, already half past one in the morning

Most of the players have to go to bed

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

Originally Posted by PapaCharlie9*:

 

I'd recommend the OP uses the latency manager for this, as ping can spike. Better to take an average, and I think the latency manager does that.

That's a good point, which is why Insane Limits also has AveragePing and MedianPing.

 

This should account for temporary spikes:

 

Set first_check to this Expression:

 

Code:

(player.MedianPing > XXX)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by w262035635*:

 

You are right. I didn't realize those kinds of deaths are suicides. Insane Limits treats any death that does not have a killer as a suicide.

 

So I changed the limit to be OnSuicide and I changed the code to remove Score. Make sure you either completely change the old limit or disable the old limit and make a new one to evaluate On Suicide.

 

myrcon.net/...insane-limits-requests#entry26579

This code judgement method has a problem. He can only identify [suicide], not recognize [Roadkill]

 

Most troublemakers in the manner of death is [Roadkill], rather than [suicide]

 

So have OnRoadkill rules?

 

Code:

[12:10:42]  C4_SuperWong [Suicide]  C4_SuperWong
[12:10:55]  C4_wonderland [C4 Explosive]  C4_wonderland
[12:11:01]  C4_SuperWong [Suicide]  C4_SuperWong
[12:11:17]  [Roadkill]  dudgns4389
[12:11:22] tommyXcraftyer > Lol
[12:11:28]  C4_SuperWong [Suicide]  C4_SuperWong
[12:11:30] C4_wonderland > ahaha
[12:11:52]  C4_SuperWong [Suicide]  C4_SuperWong
[12:11:52] ADMIN > C4_SuperWong: Quit griefing! Play right or stay out!
[12:12:46]  C4_wonderland [Suicide]  C4_wonderland
Code:
[12:10:42 41] [Insane Limits] name: C4_SuperWong, suicides: 1, kdr: 0, maxDeaths: 4, count: 0
[12:10:55 44] [Insane Limits] name: C4_wonderland, suicides: 3, kdr: 0, maxDeaths: 4, count: 0
[12:11:01 20] [Insane Limits] name: C4_SuperWong, suicides: 2, kdr: 0, maxDeaths: 4, count: 0
[12:11:17 77] [Insane Limits] name: dudgns4389, suicides: 0, kdr: 0, maxDeaths: 4, count: 0
[12:11:28 67] [Insane Limits] name: C4_SuperWong, suicides: 3, kdr: 0, maxDeaths: 4, count: 0
[12:11:52 43] [Insane Limits] name: C4_SuperWong, suicides: 4, kdr: 0, maxDeaths: 4, count: 0
[12:11:52 44] [Insane Limits] Griefer C4_SuperWong kicked! Quit griefing! Play right or stay out!
Code:
[12:36:17]  [Roadkill]  c070955
[12:36:17]  [Roadkill]  Rhass
[12:36:17]  [Roadkill]  shenxudao
[12:36:17]  [Roadkill]  Mxc-0513
[12:36:17]  [Roadkill]  8Lee
[12:36:59]  [Roadkill]  DMC-NightDevil
[12:36:59]  [Roadkill]  c070955
[12:36:59]  [Roadkill]  shenxudao
[12:36:59]  [Roadkill]  Mxc-0513
[12:36:59]  [Roadkill]  8Lee
Code:
[12:36:17 39] [Insane Limits] name: c070955, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:17 44] [Insane Limits] name: Rhass, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:17 48] [Insane Limits] name: shenxudao, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:17 52] [Insane Limits] name: Mxc-0513, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:17 56] [Insane Limits] name: 8Lee, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:59 10] [Insane Limits] name: DMC-NightDevil, suicides: 3, kdr: 0, maxDeaths: 30, count: 0
[12:36:59 16] [Insane Limits] name: c070955, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:59 20] [Insane Limits] name: shenxudao, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:59 24] [Insane Limits] name: Mxc-0513, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
[12:36:59 28] [Insane Limits] name: 8Lee, suicides: 0, kdr: 0, maxDeaths: 30, count: 0
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by )RAG()N*:

 

That's a good point, which is why Insane Limits also has AveragePing and MedianPing.

 

This should account for temporary spikes:

 

Set first_check to this Expression:

 

Code:

(player.MedianPing > XXX)
ThanX mate :cool:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by shai*:

 

Idle Kick - You (PapaCharlie9) wrote here* that I should post a request for Idle Kick .. and that this is possible in BF3. Consider it a request :smile:

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

Originally Posted by )RAG()N*:

 

Idle Kick - You (PapaCharlie9) wrote here* that I should post a request for Idle Kick .. and that this is possible in BF3. Consider it a request :smile:

There is already an idle kick on bf3 servers, You can enable it with procon in "server settings" or you can do it server side in the startup.txt file
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

This code judgement method has a problem. He can only identify [suicide], not recognize [Roadkill]

This is proving to be very difficult. I don't understand why Roadkill isn't detected. There's no killer, so it should show up as a Suicide.

 

Keep the old limit. Add this new limit. It will not kick or warn, but it will help me understand why Roadkill does not work. Post the plugin.log of your test of Roadkill, exactly as you did above.

 

Create a new limit to evaluate OnKill, call it "Test Roadkill", leave Action set to None.

 

Set first_check to this Code:

 

Code:

if (!kill.Weapon.ToLower().Contains("roadkill")) return false;

String kname = (killer == null || String.IsNullOrEmpty(killer.Name)) _ "(null)" : killer.Name;
String vname = (victim == null || String.IsNullOrEmpty(victim.Name)) _ "(null)" : victim.Name;
String pname = (player == null || String.IsNullOrEmpty(player.Name)) _ "(null)" : player.Name;

plugin.ConsoleWrite(kname + "/" + pname + " " + kill.Weapon + " " + vname);
return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Idle Kick - You (PapaCharlie9) wrote here* that I should post a request for Idle Kick .. and that this is possible in BF3. Consider it a request :smile:

Give this a try:

 

Create a new custom list (make sure use_custom_lists is True) called idle_whitelist. Set it to CaseSensitive. You can put player names or clan tags in the list, separated by commas.

 

Create a new limit to evaluate OnIntervalServer, call it "Idle Kick", set interval to 60 seconds, leave Action set to None.

 

Set first_check to this Code:

 

Code:

double MaximumIdleSeconds = 10*60; // 10 minutes
double MinimumPlayers = 6;
String KickMessage = "Idle too long";

if (server.PlayerCount < MinimumPlayers) return false;

List<PlayerInfoInterface> all = new List<PlayerInfoInterface>();
all.AddRange(team1.players);
all.AddRange(team2.players);
if (team3.players.Count > 0) all.AddRange(team3.players);
if (team4.players.Count > 0) all.AddRange(team4.players);

// Track and update idle players

foreach (PlayerInfoInterface p in all) {
    if (plugin.isInList(p.Name, "idle_whitelist") || (!String.IsNullOrEmpty(p.Tag) && plugin.isInList(p.Tag, "idle_whitelist"))) continue;
    if (plugin.CheckPlayerIdle(p.Name) > MaximumIdleSeconds) {
        plugin.ConsoleWrite("Kicking idle player " + p.FullName);
        plugin.KickPlayerWithMessage(p.Name, KickMessage);
    }
}
return false;
You should change the top three lines.

 

MaximumIdleSeconds is the maximum idle time in seconds. So if you want 15 minutes, make it 15*60, or 900.

 

MinimumPlayers is the minimum number of players that have to be in the server before the idle kicker is enabled. I set it to 6, but you can change it to whatever you want.

 

KickMessage is the message you want the player to see when they are kicked.

 

 

NOTE: I haven't tested this myself, but I've been told that the idle time tracked by the game server is cumulative. So if a player is idle for 5 minutes, then plays for an hour, then is idle for 5 minutes again, his idle time will be reported as 10 minutes. Keep that in mind when you set the maximum.

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

Originally Posted by w262035635*:

 

This is proving to be very difficult. I don't understand why Roadkill isn't detected. There's no killer, so it should show up as a Suicide.

 

Keep the old limit. Add this new limit. It will not kick or warn, but it will help me understand why Roadkill does not work. Post the plugin.log of your test of Roadkill, exactly as you did above.

 

Create a new limit to evaluate OnKill, call it "Test Roadkill", leave Action set to None.

 

Set first_check to this Code:

 

Code:

if (!kill.Weapon.ToLower().Contains("roadkill")) return false;

String kname = (killer == null || String.IsNullOrEmpty(killer.Name)) _ "(null)" : killer.Name;
String vname = (victim == null || String.IsNullOrEmpty(victim.Name)) _ "(null)" : victim.Name;
String pname = (player == null || String.IsNullOrEmpty(player.Name)) _ "(null)" : player.Name;

plugin.ConsoleWrite(kname + "/" + pname + " " + kill.Weapon + " " + vname);
return false;
The old restrictions: "Punish Griefers"

Need to disable or open virtual mode?

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

Originally Posted by starsky*:

 

hello guys is it possible to clear then add maps in certain gamemodes to the rotation _.

 

maybe something like this : plugin.ServerCommand("mapList.add", "XP2_Office" , "GunMaster0");

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

Originally Posted by PapaCharlie9*:

 

hello guys is it possible to clear then add maps in certain gamemodes to the rotation _.

 

maybe something like this : plugin.ServerCommand("mapList.add", "XP2_Office" , "GunMaster0");

Yes, but you also need the number of rounds:

 

Code:

plugin.ServerCommand("mapList.add", "XP2_Office" , "GunMaster0", "1");
You don't really need to clear the list. You can just add maps on the end and use mapList.setNextMapIndex to set it and admin.runNextRound to run it. You do need to know how many maps are currently in the list, though, in order to compute the right index, but you can get that from server.MapFileNameRotation.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by w262035635*:

 

No, no changes at all. Leave enabled.

The Test Roadkill code doesn't work...

test1.jpg

 

And I found the abnormal death there are four features

1: XXXXX [suicide] XXXXX

Suicide death, Records will be limited

2: [Death] XXXX

Vehicle after vehicle collision. Less than 35% health, death, and slowly reduced to zero after the explosion,restrictions will not record

3. [Roadkill] XXXXX

Crash death alone. Limit will not record

Four, prank crash death, at the same time more than death, restrictions will not record

[08:57:19] [Roadkill] N + 1

[08:57:19] [Roadkill] N + 2

[08:57:19] [Roadkill] N + 3

[08:57:19] [Roadkill] N + 4

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

Originally Posted by PapaCharlie9*:

 

The Test Roadkill code doesn't work...

test1.jpg

 

And I found the abnormal death there are four features

1: XXXXX [suicide] XXXXX

Suicide death, Records will be limited

2: [Death] XXXX

Vehicle after vehicle collision. Less than 35% health, death, and slowly reduced to zero after the explosion,restrictions will not record

3. [Roadkill] XXXXX

Crash death alone. Limit will not record

Four, prank crash death, at the same time more than death, restrictions will not record

[08:57:19] [Roadkill] N + 1

[08:57:19] [Roadkill] N + 2

[08:57:19] [Roadkill] N + 3

[08:57:19] [Roadkill] N + 4

Try this new version of "Test Roadkill":

 

Change OnKill to OnTeamKill.

 

Code:

if (!Regex.Match(kill.Weapon, @"(Roadkill|Death|Suicide)", RegexOptions.IgnoreCase).Success) return false;

String kname = (killer == null || String.IsNullOrEmpty(killer.Name)) _ "(null)" : killer.Name;
String vname = (victim == null || String.IsNullOrEmpty(victim.Name)) _ "(null)" : victim.Name;
String pname = (player == null || String.IsNullOrEmpty(player.Name)) _ "(null)" : player.Name;

plugin.ConsoleWrite(kname + "/" + pname + " " + kill.Weapon + " " + vname);
if (killer != null) plugin.ConsoleWrite(kname + " TEAMKILLS = " + killer.TeamKillsRound + ", TEAMDEATHS = " + killer.TeamDeathsRound);
return false;
Make sure someone is doing Roadkills during your test.
* 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.