Jump to content

Insane Limits Requests


Recommended Posts

Originally Posted by Link4134*:

 

Hello all! I'm new to insane limits, and am loving what I'm seeing!

 

However, I could use some help here. I need to be able to use int variables across different limits (i.e. Limit1 sets int test = 1; and Limit2 is able to read test)

 

I know c++/Java, so I'm able to program what I need on my own easily enough. I'm just trying to figure out how to make my code interact properly.

 

Also, is there a way I can get how much time has passed/is left in the match? I'm trying to make this limit only run during the first half of the game, and the ticket count isn't enough if it takes them 50 mins to get 20 tickets.

 

Thanks!

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

Originally Posted by maxdralle*:

 

Hello all! I'm new to insane limits, and am loving what I'm seeing!

 

However, I could use some help here. I need to be able to use int variables across different limits (i.e. Limit1 sets int test = 1; and Limit2 is able to read test)

 

I know c++/Java, so I'm able to program what I need on my own easily enough. I'm just trying to figure out how to make my code interact properly.

 

Also, is there a way I can get how much time has passed/is left in the match? I'm trying to make this limit only run during the first half of the game, and the ticket count isn't enough if it takes them 50 mins to get 20 tickets.

 

Thanks!

yes, insane limits is amazing!

take a look at the first tab from IL plugin. there you will find everything what you need. but here it is a demo:

 

 

Code:

int MyIntXy1 = 0;

// load int
if (server.RoundData.issetInt("MyIntXy1")) MyIntXy1 = server.RoundData.getInt("MyIntXy1");


// print int
plugin.ConsoleWrite("test > get int: " + MyIntXy1.ToString());

//save int
server.RoundData.setInt("MyIntXy1", MyIntXy1 + 1);
Code:
// current round time / tickets
double tmp_roundtime = server.TimeRound;
double tmp_team1_tickets = server.RemainTickets(1);
double tmp_team2_tickets = server.RemainTickets(2);

// print infos
plugin.ConsoleWrite("test > roundtime in sec.: " + tmp_roundtime.ToString());
plugin.ConsoleWrite("test > tickets team1: " + tmp_team1_tickets.ToString());
plugin.ConsoleWrite("test > tickets team2: " + tmp_team2_tickets.ToString());
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by Link4134*:

 

yes, insane limits is amazing!

take a look at the first tab from IL plugin. there you will find everything what you need. but here it is a demo:

 

 

Code:

int MyIntXy1 = 0;

// load int
if (server.RoundData.issetInt("MyIntXy1")) MyIntXy1 = server.RoundData.getInt("MyIntXy1");


// print int
plugin.ConsoleWrite("test > get int: " + MyIntXy1.ToString());

//save int
server.RoundData.setInt("MyIntXy1", MyIntXy1 + 1);
Code:
// current round time / tickets
double tmp_roundtime = server.TimeRound;
double tmp_team1_tickets = server.RemainTickets(1);
double tmp_team2_tickets = server.RemainTickets(2);

// print infos
plugin.ConsoleWrite("test > roundtime in sec.: " + tmp_roundtime.ToString());
plugin.ConsoleWrite("test > tickets team1: " + tmp_team1_tickets.ToString());
plugin.ConsoleWrite("test > tickets team2: " + tmp_team2_tickets.ToString());
Thanks a ton!

 

Update: I cannot find this "tab" you speak of. No clue where to look for a list of things like this.

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

Originally Posted by maxdralle*:

 

Thanks a ton!

 

Update: I cannot find this "tab" you speak of. No clue where to look for a list of things like this.

procon > parent control layer > insane limits > details

 

Attached Files:

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

Originally Posted by Link4134*:

 

procon > parent control layer > insane limits > details

Sweet thanks! One final question: does 'server.RoundData.setInt' last for more than the current round? Or does it reset each round?

 

i.e. if I use

server.RoundData.setInt("test", 1);

Will that still read 1 next round? Or 0?
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by maxdralle*:

 

Sweet thanks! One final question: does 'server.RoundData.setInt' last for more than the current round? Or does it reset each round?

 

i.e. if I use

 

Will that still read 1 next round? Or 0?

server.RoundData (reset each round)

plugin.Data (reset after plugin restart)

server.Data (reset after plugin/layer restart)

player.Data (for current player only)

* Restored post. It could be that the author is no longer active.
Link to post
  • 2 weeks later...

Originally Posted by spatieman*:

 

uh, question.

are the basic script also working correct for BF4 ?

i have BF4 now, but if i see my SPM i think ,eh ?

KD of 0.0, 2 kill, 80 deads or so, but a SPM of 1585 is abit weard.

* Restored post. It could be that the author is no longer active.
Link to post
  • 4 weeks later...

Originally Posted by Link4134*:

 

Hello, I've run into a problem.

 

I named a limit the following: Set Variables | Announce Rules

 

Now, whenever editing that limit, I get this error: [insane Limits] ERROR: unknown variable " Announce Rules (Enabled, Compiled)|limit_7_name"

 

It appears that the plugin uses | to separate the variables, so it causes the conflict. No edits are ever saved upon getting the error.

 

Help is appreciated!

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

Originally Posted by maxdralle*:

 

can anyone help ?

i want an End of Round log for all players Top killing sprees, from that round.

i have no clue how to do this :/

what did you mean with 'log'? logging into a file or logging till round end?

 

take a look at this:

showthread....-TDM-SQDM-ONLY*

 

and this:

showthread....ry-Clan-Weapon*

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

Originally Posted by IceCold*:

 

what did you mean with 'log'? logging into a file or logging till round end?

log to file. just (players highest killing spree in a round)

so i can pull info from file and add to a database.

i have a battle report for each game played on my server, just wanted to add player killing sprees to that.

http://pl-platoon.co.uk/pl-platoon-log/

and

https://twitter.com/PL_Platoon

 

ok,i have now found this :- myrcon.net/...insane-limits-examples#entry18492

 

and added :- plugin.Log("Logs/Killstreaks.log",victim.Name+","+vcount);

which sort of does the job, but only even number and upto 16.

* Restored post. It could be that the author is no longer active.
Link to post
  • 3 weeks later...

Originally Posted by maxdralle*:

 

Hi, why vip not work !

 

!killme,!moveme,!lead

im server admin and when i used it it say

Sorry, this command is for !VIP SLOT players only

you use the 'vip slot manager' plugin. take a look at it.

 

admin and vip is not the same. in your case you are a admin but not a vip. the commands are for vips.

 

as an admin you can create vip slots. enter the the ingame command !addvip +100 then you are a vip

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

Originally Posted by ColColonCleaner*:

 

Hi, why vip not work !

 

!killme,!moveme,!lead

im server admin and when i used it it say

Sorry, this command is for !VIP SLOT players only

Blackhawk, when multiple plugins have commands you need to give permissions for each one. The commands you mention (killme, moveme, lead) are AdKats plugin commands, so their permissions are handled by that plugin. For the other commands you'll need to go to the plugins that support them. As max said, the vip plugin is used for this.
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by B7ackhawk*:

 

Blackhawk, when multiple plugins have commands you need to give permissions for each one. The commands you mention (killme, moveme, lead) are AdKats plugin commands, so their permissions are handled by that plugin. For the other commands you'll need to go to the plugins that support them. As max said, the vip plugin is used for this.

Capture.PNG

 

this was work 100% before i change vps

 

after i change vps its not work

can i know reason please?

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

Originally Posted by B7ackhawk*:

 

post your complete limit code

// Insane Limits - VIP Commands

// !lead, !killme, !moveme

// SETUP Insane Limits: Evaluation: OnAnyChat ; First_check: Code

 

 

// SETTINGS

bool EnableLeadCmd = true; // true / false

bool EnableKillmeCmd = true; // true / false

bool EnableSwitchmeCmd = true; // true / false

// SETTINGS END

 

 

if ((player.LastChat).Length

bool tmp_SendMsg = false;

 

if (Regex.Match(player.LastChat, @"^/?[!|@]lead$", RegexOptions.IgnoreCase).Success) {

// squad leader command

if (EnableLeadCmd) {

if (plugin.GetReservedSlotsList().Contains(player.Nam e)) {

plugin.ServerCommand("squad.leader", player.TeamId.ToString(), player.SquadId.ToString(), player.Name);

} else {

tmp_SendMsg = true;

}

}

} else if (Regex.Match(player.LastChat, @"^/?[!|@]killme$", RegexOptions.IgnoreCase).Success) {

// killme command

if (EnableKillmeCmd) {

if (plugin.GetReservedSlotsList().Contains(player.Nam e)) {

plugin.KillPlayer(player.Name);

} else {

tmp_SendMsg = true;

}

}

} else if (Regex.Match(player.LastChat, @"^/?[!|@]moveme$", RegexOptions.IgnoreCase).Success) {

// team switch command

if (EnableSwitchmeCmd) {

if (plugin.GetReservedSlotsList().Contains(player.Nam e)) {

plugin.ServerCommand("admin.movePlayer", player.Name, server.OppositeTeamId(player.TeamId).ToString(), "0", "true");

} else {

tmp_SendMsg = true;

}

}

}

 

// send message based on player language

if (tmp_SendMsg) {

if ((player.CountryCode == "br") || (player.CountryCode == "pt")) {

// message for brasil, portugal

plugin.SendPlayerMessage(player.Name, plugin.R("So para VIPs"));

plugin.PRoConChat("PlayerSay " + player.Name + ") So para VIPs");

} else {

// default message

plugin.SendPlayerMessage(player.Name, plugin.R("Sorry, this command is for !VIP SLOT players only"));

plugin.PRoConChat("PlayerSay " + player.Name + ") Sorry, this command is for !VIP SLOT players only");

}

}

 

 

 

 

10:41:42 98] [insane Limits] Compiling Limit #4 - killme - OnAnyChat

 

so where the problem !!

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

Originally Posted by maxdralle*:

 

...

 

so where the problem !!

mhh, maybe you are not a vip because you are not in the reserved slot list.

create a reserved slot for your playername. goto procon pc tool > lists > reserved slots > add soldier

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

Originally Posted by B7ackhawk*:

 

mhh, maybe you are not a vip because you are not in the reserved slot list.

create a reserved slot for your playername. goto procon pc tool > lists > reserved slots > add soldier

!lead +!killme work but !! !moveme not O.o o.O
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by maxdralle*:

 

!lead +!killme work but !! !moveme not O.o o.O

the moveme command can not work on a full server.

your balancer must sync the reserved slots to the balancer whitelist

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

Originally Posted by B7ackhawk*:

 

the moveme command can not work on a full server.

your balancer must sync the reserved slots to the balancer whitelist

I got it thank you
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by GR101*:

 

in insane limits you can use custom lists for VIP roles. create new lists (e.g. list_name: 'vip_lead_list') and put the  VIP playernames into the data section.
then change the script. replace the parts 'if (plugin.GetReservedSlotsList().Contains(player.Nam  e)) {' with 'if (!plugin.isInList(player.Name, "vip_lead_list")) {'

I've add the changes, created a vip_lead_list and it says in-game "Sorry, this command is for !VIP SLOT players only" Edited by maxdralle
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by maxdralle*:

 

I've add the changes as shown above, created a vip_lead_list and it says in-game "Sorry, this command is for !VIP SLOT players only"

replace it with:

Code:

if (plugin.isInList(player.Name, "vip_lead_list")) {
there was a " ! " in the line
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by maxdralle*:

 

Hi guys

on my server 2 admin can used !killme+!moveme !! but other admin cant ! why?

Capture.PNG

maybe the ingame playername is not correct, case sensitive difference, or there is a space character in your list. copy paste the name again...
* Restored post. It could be that the author is no longer active.
Link to post

Originally Posted by B7ackhawk*:

 

maybe the ingame playername is not correct, case sensitive difference, or there is a space character in your list. copy paste the name again...

thank for reply

but its correct 100%

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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