Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by PapaCharlie9*:

 

HI,PapaCharlie9

I am searching a plug-in..

Player spawn after, check battlelog loadout.

If this weapon is limit, the player will be kill.

This is how to do?

Can you help me?

This is not currently possible with Insane Limits.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Hey PapaCharlie i need the K / D checker..

On our Windows Server works this plugin fine but now have we a linux Server and it didn´t work ..

 

Can you help me ?

Not without more details. What exactly is not working?

 

If you are using Mono on Linux, the most common problem that people run into running Procon plugins is that file paths are not correct. So if you are using a plugin that requires files to be in certain places, that might be the problem.

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

Originally Posted by PapaCharlie9*:

 

EDIT: I forgot to add the custom list. Create a custom list called "twitchers", CaseSensitive, and fill with the list of player names allowed to use the command, separated by commas.

I case you already tried the limits, just wanted to call out that I forgot to restrict the !here command to only certain players! Anyone could type the command. I have edited the post and limit #2 to use a custom list.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dyn*:

 

Hmmm. How many people are we talking about? It might be better to just have separate limits for each person.

 

I'll just do one generic limit, but you can duplicate that to be specific to a player by changing first_check to this:

Great! This is going to be tested tonight. It does look very easy to use and should work exactly as we thought up. So thank you very much for taking the time to create this.

 

Right now we don't have 'that' many streamers but I could see that this will change over time. Having them in a list and just having one limit will make adding names exponentially easier.

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

Originally Posted by LumPenPacK*:

 

This is possible but I need to know what happens on a SoldierCollision event.

 

Whats shown on the event tab?

 

Option1

Player1 [soldierCollision] Player2

 

Option2

Player1 Death [soldierCollision]

Player1 Death [soldierCollision]

 

Option3

Player1 [soldierCollision] Player2

Player2 [soldierCollision] Player1

 

You just need to save the time stamp of any SoldierCollision event with the corresponding player name and check if there was a SoldierCollision event saved the last few seconds if someone writes "rammer".

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

Originally Posted by LumPenPacK*:

 

You could try something like this: (not tested yet)

 

First Limit

First Check Expression

 

Code:

kill.Weapon == "SoldierCollision"
Second Check Code

 

Code:

// Save SoldierCollision Event
server.RoundData.setDouble("#" + victim.Name, player.TimeRound);
server.RoundData.setString("#" + victim.Name, killer.Name);
Second Limit

First Check Expression

 

Code:

player.LastChat.Contains("rammer")
Second Check Code

 

Code:

if(!server.RoundData.issetDouble("#" + player.Name))		// Player has not been killed by "SoldierCollision"
	return false;

double Dinterval = player.TimeRound - server.RoundData.getDouble("#" + player.Name);

if(Dinterval > 30.0)
	return false;
else {
    plugin.KillPlayer(server.RoundData.getString("#" + player.Name));
	plugin.SendPlayerMessage(player.Name, server.RoundData.getString(player.Name) + " has been punished!");
	plugin.SendPlayerMessage(server.RoundData.getString(player.Name), player.Name + " has punished you!");
	server.RoundData.unsetDouble("#" + player.Name);
	}

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

Originally Posted by TMiland*:

 

You could try something like this: (not tested yet)

 

First Limit

First Check Expression

 

Code:

kill.Weapon == "SoldierCollision"
Second Check Code

 

Code:

// Save SoldierCollision Event
server.RoundData.setDouble("#" + victim.Name, player.TimeRound);
server.RoundData.setString("#" + victim.Name, killer.Name);
Second Limit

First Check Expression

 

Code:

player.LastChat.Contains("rammer")
Second Check Code

 

Code:

if(!server.RoundData.issetDouble("#" + player.Name))		// Player has not been killed by "SoldierCollision"
	return false;

double Dinterval = player.TimeRound - server.RoundData.getDouble("#" + player.Name);

if(Dinterval > 30.0)
	return false;
else {
    plugin.KillPlayer(server.RoundData.getString("#" + player.Name));
	plugin.SendPlayerMessage(player.Name, server.RoundData.getString(player.Name) + " has been punished!");
	plugin.SendPlayerMessage(server.RoundData.getString(player.Name), player.Name + " has punished you!");
	server.RoundData.unsetDouble("#" + player.Name);
	}

return false;
Nice! Here's from the logs:

Code:

Playerlist	12.17.2014 21:47:10		PlayerKilled	 killed xklauskleberx [Soldier collision]
Playerlist	12.17.2014 21:47:10		PlayerKilled	 killed TopGunTim [Soldier collision]
Judging by the name, i guess they where flying lol!

 

I'll play around with it, and see how it goes! Much appreciated! :ohmy:

 

edit:

Another one with 1 second diff:

Code:

Playerlist	12.18.2014 14:23:35		PlayerKilled	 killed 0TheHighCamel0 [Soldier collision]
Playerlist	12.18.2014 14:23:35		PlayerKilled	Dmitry_Clarke killed Snake_Doctor06 [MK11 Mod 0]
Playerlist	12.18.2014 14:23:35		PlayerKilled	Pyroclast13 killed hansyhop [P226]
Playerlist	12.18.2014 14:23:35		PlayerSwitchedTeams	Perrasta switched from Neutral to Russian Army
Playerlist	12.18.2014 14:23:36		PlayerKilled	 killed Fresh-4-One [Soldier collision]
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

You could try something like this: (not tested yet)

 

First Limit

First Check Expression

 

Code:

kill.Weapon == "SoldierCollision"
Second Check Code

 

Code:

// Save SoldierCollision Event
server.RoundData.setDouble("#" + victim.Name, player.TimeRound);
server.RoundData.setString("#" + victim.Name, killer.Name);
Second Limit

First Check Expression

 

Code:

player.LastChat.Contains("rammer")
Second Check Code

 

Code:

if(!server.RoundData.issetDouble("#" + player.Name))		// Player has not been killed by "SoldierCollision"
	return false;

double Dinterval = player.TimeRound - server.RoundData.getDouble("#" + player.Name);

if(Dinterval > 30.0)
	return false;
else {
    plugin.KillPlayer(server.RoundData.getString("#" + player.Name));
	plugin.SendPlayerMessage(player.Name, server.RoundData.getString(player.Name) + " has been punished!");
	plugin.SendPlayerMessage(server.RoundData.getString(player.Name), player.Name + " has punished you!");
	server.RoundData.unsetDouble("#" + player.Name);
	}

return false;
You should do an unsetDouble and unsetString in the Dinvertal > 30.0 case. Otherwise it will test for the rest of the round.

 

EDIT: Oh, looks like killer.Name isn't going to be available. Maybe this can't be enforced? Unless the victim times "rammer" and a recognizable player name.

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

Originally Posted by TMiland*:

 

You should do an unsetDouble and unsetString in the Dinvertal > 30.0 case. Otherwise it will test for the rest of the round.

 

EDIT: Oh, looks like killer.Name isn't going to be available. Maybe this can't be enforced? Unless the victim times "rammer" and a recognizable player name.

So you are saying the current code wont work?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LumPenPacK*:

 

So you are saying the current code wont work?

You might need to gather more information about SoldierCollision event if someone crashes a jet.

 

You could add a simple OnKill Limit and trigger some SoldierCollision events and check what victim.Name, killer.Name and player.Name objectes contain.

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

Originally Posted by ColColonCleaner*:

 

You might need to gather more information about SoldierCollision event if someone crashes a jet.

 

You could add a simple OnKill Limit and trigger some SoldierCollision events and check what victim.Name, killer.Name and player.Name objectes contain.

Crashing a jet is just 'Death' to the player with no source. Soldier collision happens on foot, know that much from BF3 on ziba tower when it first came out with all the glitchy ground. Logs would be nice to see where else it happens though.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

 

Crashing a jet is just 'Death' to the player with no source. Soldier collision happens on foot, know that much from BF3 on ziba tower when it first came out with all the glitchy ground. Logs would be nice to see where else it happens though.

Ramming a jet into another jet is like this in the eventlog:

Playerlist 12.17.2014 21:47:10 PlayerKilled killed xklauskleberx [soldier collision]

Playerlist 12.17.2014 21:47:10 PlayerKilled killed TopGunTim [soldier collision]

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

Originally Posted by TMiland*:

 

[00:51:55] KenLDu [soldier collision] KenLDu

 

On Lockers.

Yes, and that's just one soldier, probably a exploding barrel.

 

So when you have 2 soldier colliding at the exact same second, you know it's a jet ram, chances it's something else are slim.

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

Originally Posted by TMiland*:

 

You might need to gather more information about SoldierCollision event if someone crashes a jet.

 

You could add a simple OnKill Limit and trigger some SoldierCollision events and check what victim.Name, killer.Name and player.Name objectes contain.

Okay, i'll try to gather some info today, and go on a jet ramming mission. :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

Yes, and that's just one soldier, probably a exploding barrel.

 

So when you have 2 soldier colliding at the exact same second, you know it's a jet ram, chances it's something else are slim.

Uh, why not just test that out and see if the weapon code is the same? Link a server and i'll ram you.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

 

Uh, why not just test that out and see if the weapon code is the same? Link a server and i'll ram you.

Guess i was wrong, looks like this:

Playerlist 12.19.2014 09:29:26 PlayerKilled killed Player1 [J-20 Stealth Jet]

Playerlist 12.19.2014 09:29:26 PlayerKilled killed Player2 [F-35 Stealth Jet]

edit:

So i guess we can use kill.Category == "VehicleAir"

 

edit2: Also, this scenario is quite common: 2 players fly chopper, 1 player rams jet into chopper, then we would have 3 players "PlayerKilled" at the same second.

 

So i guess we need to determine what vehicle the player where flying, to get the punishment right... Hmmm...

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

Originally Posted by LumPenPacK*:

 

What happens if a player flies a chopper and crashed it with all passengers? These kills could also be shown as SoldierCollision even if the chopper was hit by a projectile and not crashed on purpose.

 

SoldierCollision could be just too inaccurate to determinate a jet rammer. Even if it's possible to detect there are many situations where it's vague who crashed who, but both can be punished. I don't think this limit could be used in a useful way even if we can detect every jet crash.

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

Originally Posted by TMiland*:

 

What happens if a player flies a chopper and crashed it with all passengers? These kills could also be shown as SoldierCollision even if the chopper was hit by a projectile and not crashed on purpose.

 

SoldierCollision could be just too inaccurate to determinate a jet rammer. Even if it's possible to detect there are many situations where it's vague who crashed who, but both can be punished. I don't think this limit could be used in a useful way even if we can detect every jet crash.

No one would type rammer then, unless it was hit by a ramming jet? :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

 

Take a look at this: I searched the chatlog, found this:

[14:41:26] Spawl-1 > lame rammer

Then in the eventlog this:

Playerlist 12.18.2014 14:41:11 PlayerKilled killed Spawl-1 [J-20 Stealth Jet]

Playerlist 12.18.2014 14:41:11 PlayerKilled killed Uflaks-Kongen [J-20 Stealth Jet]

Playerlist 12.18.2014 14:41:11 PlayerKilled killed Pinocchio5 [J-20 Stealth Jet]

Here we have 3 players involved in a crash, no idea what went down, so this can be ignored.

 

Also:

Playerlist 12.18.2014 13:32:43 PlayerKilled killed MLGTuaFilha [F-35 Stealth Jet]

Playerlist 12.18.2014 13:32:43 PlayerKilled killed kaffekrus [J-20 Stealth Jet]

and in chatlog:

[13:32:53] MLGTuaFilha > dude dafuck!

[13:33:15] MLGTuaFilha > fuck off rammer

Here we have 2 players involved, the one types rammer in chat, this tells us that the other player is the rammer.

 

And, another issue would be if they find out about how to use this, they would ram someone and instantly type rammer to punish the victim, thats not good. :ohmy:

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

Originally Posted by Remi*:

 

Here is a request:

 

Would it be possible to move (when you are a squadleader) one of your squadmembers to another squad (without going into procon fx). Maybe a OnAnyChat cmd that moves them to another squad without killing them aswell?

 

Like !change playername squadname (!change Remi delta)

 

*It's not a super important request, would just be handy sometimes to have.

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

Originally Posted by ColColonCleaner*:

 

Take a look at this: I searched the chatlog, found this:

 

 

Then in the eventlog this:

 

 

Here we have 3 players involved in a crash, no idea what went down, so this can be ignored.

 

Also:

 

and in chatlog:

 

 

Here we have 2 players involved, the one types rammer in chat, this tells us that the other player is the rammer.

 

And, another issue would be if they find out about how to use this, they would ram someone and instantly type rammer to punish the victim, thats not good. :ohmy:

Honestly, the only way I would trust this is for jets ramming choppers, always blame the jet, especially if it's a friendly ram. Otherwise it can be a complete accident in many cases. Now, if only jets are involved, you could track possible rammers throughout the game and see who is getting the most and punish them.

 

What is the weapon code by the way, still collision?

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

Originally Posted by PapaCharlie9*:

 

Here is a request:

 

Would it be possible to move (when you are a squadleader) one of your squadmembers to another squad (without going into procon fx). Maybe a OnAnyChat cmd that moves them to another squad without killing them aswell?

 

Like !change playername squadname (!change Remi delta)

 

*It's not a super important request, would just be handy sometimes to have.

I don't believe it is possible to move to another squad on the same team without killing. It used to be in BF3, but I think it got changed at some point.

 

Nevertheless, this is a frequently requested in-game chat command, so here you go:

 

showthread....e-team-command*

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

Originally Posted by DoMMike*:

 

Hello I want a code similar to this, but I want to kick for a kdr higher then 3.0 and kick players between rank 0 - 45 after the server reaches 32 players.

 

// Limit Player's KDR & Rank

 

double maxKDR = 1.1; // Maximum KD, anyone with higher is kicked

double maxRank = 99; // Maximum Rank, anyone with higher is kicked

 

String[] msgs = { "Sorry, your ",

" is higher than ",

"KDR",

"Rank" };

 

if (player.Kdr > maxKDR || player.Rank > maxRank)

{

String kMsg = msgs[0];

if (player.Kdr > maxKDR)

{

kMsg = kMsg + msgs[2] + msgs[1] + maxKDR.ToString("F1");

}

else

{

kMsg = kMsg + msgs[3] + msgs[1] + maxRank.ToString();

}

plugin.KickPlayerWithMessage(player.Name, kMsg);

}

return false;

 

or will this work? and how would I make this work after 32 players join.

 

(player.Kdr > 3.1 || player.Rank

* 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.