Jump to content

Insane Limits V0.9/R1: Set Higher Tickets, Keep Normal Preset/Battlelog


ImportBot

Recommended Posts

Originally Posted by PapaCharlie9*:

 

VERSION 0.9/R1

 

This is a temporary fix for R11 that can make most rounds have higher tickets and still be Normal in Battlelog. It does not work perfectly every time, but most of the time it works.

 

When it works: When a round ends normally and the next round starts normally, without going through warmup. As long as at least 4 players stay in the server between the end of the previous round and the start of the next, your server will have higher tickets and normal preset.

 

When it fails: If you have less than 4 players between rounds OR the very first round when the server is just starting up OR the first round after a warmup OR any time you change the map or skip forwards/backwards in the map list OR change the map list OR do anything that disturbs the normal round ending and next round starting.

 

When it fails, it will usually fail with standard tickets (vars.gameModeCounter 100) and Normal preset. Sometimes it might fail with Custom preset, but that should be rare and will correct itself as soon as a new round starts.

 

The way it works is that on round over, it sets vars.gameModeCounter to whatever you set the gameModeCounter variable to in the first limit. The default is 200.

 

On the first spawn of a player in the next round, the preset is forced to Normal. While this also sets vars.gameModeCounter back to 100, since the map and tickets have already been set for the current round, they won't change until the next round, or until the round ends prematurely, like all the players leave.

 

There are two limits.

 

Create a new limit to evaluate OnRoundOver, call it Ticket Booster, leave Action set to None.

 

Set first_check to this Code:

 

Code:

int gameModeCounter = 200; // Change this to anything between 75 and 400 inclusive
plugin.ConsoleWrite("^2Setting vars.gameModeCounter to " + gameModeCounter);
plugin.ServerCommand("vars.gameModeCounter", gameModeCounter.ToString());
plugin.ConsoleWrite("^2Preset is now ^bCustom^n");
return false;
Create a new limit to evaluate OnRoundStart, call it Preset Normal, leave Action set to None.

 

Set first_check to this Code:

 

Code:

plugin.ConsoleWrite("^2Set preset to Normal");
plugin.ServerCommand("vars.preset", "Normal", "false");
plugin.ConsoleWrite("^2Preset is now ^bNormal^n");
return false;
EDIT: If you want Hardcore instead of Normal, use this:

 

Code:

plugin.ConsoleWrite("^2Set preset to Hardcore");
plugin.ServerCommand("vars.preset", "Hardcore", "false");
plugin.ConsoleWrite("^2Preset is now ^bHardcore^n");
return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by guapoloko*:

 

Yes!!!

 

[16:57:21 33] [insane Limits] Setting vars.gameModeCounter to 400

[16:57:21 33] [insane Limits] Preset is now Custom

[16:58:41 09] [insane Limits] Set preset to Normal

[16:58:41 09] [insane Limits] Preset is now Normal

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

Originally Posted by PapaCharlie9*:

 

This partially working. Tickets lost time after the beginning of the match.

Yes, that is explained in post #1. The tickets will be low for the very first round the server is active.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by guapoloko*:

 

Sometimes this bolhetes falhandos Papa9.

 

[13:59:39 00] [MULTIbalancer]:2 ADMIN moved player (REVERSED) Predador_SP, MULTIbalancer will respect this move

[14:00:11 60] Latency Manager: High average ping kick DeltaRickassault (260)

[14:01:56 68] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:01:59 91] [MULTIbalancer]:2 ADMIN moved player (REVERSED) DragonGodization, MULTIbalancer will respect this move

[14:02:19 58] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[14:03:20 47] [insane Limits] Setting vars.gameModeCounter to 400

[14:03:20 47] [insane Limits] Preset is now Custom

[14:03:20 53] [MULTIbalancer]:2 FINAL STATUS FOR PREVIOUS ROUND:

[14:03:20 53] [MULTIbalancer]:0 Status: Map = Lancang Dam, mode = Team Deathmatch, time in round = 00:30:20, tickets = 359/400 -> [400]

[14:03:20 53] [MULTIbalancer]:0 Status: Ticket difference = 41, ticket ratio percentage is 111%

[14:03:20 53] [MULTIbalancer]:0 Status: 0/23 raged, 0 reassigned, 0 balanced, 0 unstacked, 2 unswitched, 0 excluded, 5 exempted, 0 failed; of 834 TOTAL

[14:03:20 53] [MULTIbalancer]:0 Status: Team counts [30] = 14(US) vs 16(RU), with 2 unassigned

[14:03:20 53] [MULTIbalancer]:2 +------------------------------------------------+

[14:04:08 45] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[14:04:11 92] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:04:40 74] [insane Limits] Set preset to Normal

[14:04:40 74] [insane Limits] Preset is now Normal

[14:05:27 84] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:05:39 67] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:06:05 41] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 0 secs

[14:06:49 45] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:06:53 54] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:07:17 51] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:07:49 55] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:08:06 32] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[14:08:27 29] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:08:46 92] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:08:53 79] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 0 secs

[14:09:05 09] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[14:09:29 33] Latency Manager: High average ping kick JoaoAraujo2 (513)

[14:09:34 62] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:09:58 73] Latency Manager: High average ping kick DrakeGames (311)

[14:10:11 96] [MULTIbalancer]:2 ADMIN moved player JennyDavis_FTW, MULTIbalancer will respect this move

[14:10:29 16] Latency Manager: High average ping kick Faltec2013 (282)

[14:11:24 70] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:11:33 87] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:11:53 67] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:11:55 83] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:11:58 60] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 0 secs

[14:12:08 64] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[14:12:11 27] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:12:36 14] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:12:49 14] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 0 secs

[14:15:01 46] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:16:39 29] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 5 secs

[14:19:00 90] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:20:31 95] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:48:47 82] [insane Limits] Set preset to Normal

[14:48:47 82] [insane Limits] Preset is now Normal

[14:48:47 95] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 3 secs

[14:49:32 95] Latency Manager: High average ping kick JoaoAraujo2 (260)

[14:49:47 46] [insane Limits] Thread(fetch): DONE inserting 1 new players, 1 still in queue, took a total of 1 secs

[14:49:50 16] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[14:50:13 06] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:50:15 69] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:51:21 90] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:51:36 67] Latency Manager: High average ping kick KITOMSG (255)

[14:51:46 30] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:51:48 96] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:51:55 86] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

[14:52:00 93] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 1 secs

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

Originally Posted by PapaCharlie9*:

 

I'm using 134 tickets in rush. But the opposing team is getting 60 minutes.

 

And I can not change that.

Yes, that seems to be a new feature of R12, you automatically get a time limit. If you are running Official you can't change it (I think).

 

If you are running Ranked, try setting this in your startup.txt:

 

vars.roundTimeLimit 0

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

Originally Posted by PapaCharlie9*:

 

how can I add more server settings to this? and also, for the 2nd limit, shouldn't it be set to "true" not "false" so it puts it back to hardcore?

That's not what the true/false is for. It's for saying whether or not the preset overwrites existing settings.

 

This limit isn't for a bunch of settings, just preset and tickets.

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

Originally Posted by Malius*:

 

ok so this is way over my head or seems to be . im running a 32 man hardcore tdm server and want a higher ticket count.

 

Whats the fix? what plugin or w/e do i alter and how?

 

i see what your talking about but im getting a little lost as to where to make the changes?

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

Originally Posted by PapaCharlie9*:

 

ok so this is way over my head or seems to be . im running a 32 man hardcore tdm server and want a higher ticket count.

 

Whats the fix? what plugin or w/e do i alter and how?

 

i see what your talking about but im getting a little lost as to where to make the changes?

Go to this link and watch the video in post #1, which will explain what to do:

 

showthread....0-17-NOV-2013)*

 

Since you want Hardcore, use the Hardcore code block for the second_check of post #1 of THIS thread. Then follow the same steps as in the video. Limit code is just text that you copy & paste.

 

Note that the video was done on a much older version than the current, so the settings will not be exactly the same. But they are close enough, just ignore any differences.

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

Originally Posted by Puko-Sy*:

 

when i am trying to Set_New limit to true i get this: [20:24:39 89] [insane Limits] EXCEPTION: System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

 

What i did wrong? Or what i did not do at all?

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

Originally Posted by PapaCharlie9*:

 

when i am trying to Set_New limit to true i get this: [20:24:39 89] [insane Limits] EXCEPTION: System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

 

What i did wrong? Or what i did not do at all?

Check your Procon settings: Tools -> Options, Plugins, make sure Plugins run without restriction is chosen.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by droopie*:

 

so no possible way to change the settings to custom on round over and re-apply the preset hardcore after round starts then huh. dang really wished it could have happened.

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

Originally Posted by PapaCharlie9*:

 

so no possible way to change the settings to custom on round over and re-apply the preset hardcore after round starts then huh. dang really wished it could have happened.

I don't understand what makes you think it's not possible? Post #1 shows the code to do that.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Puko-Sy*:

 

Check your Procon settings: Tools -> Options, Plugins, make sure Plugins run without restriction is chosen.

It is set to: Run plugin without restricitons

 

Any other idea?

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

Originally Posted by PapaCharlie9*:

 

It is set to: Run plugin without restricitons

 

Any other idea?

Are you using a layer on a host server? If so, make sure the host allows write permission on the entire procon installation folder.

 

If you are not using a layer, check your file permissions for the procon folder and all subfolders. The error means that Procon.exe does not have write permission.

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

Originally Posted by Puko-Sy*:

 

Are you using a layer on a host server? If so, make sure the host allows write permission on the entire procon installation folder.

 

If you are not using a layer, check your file permissions for the procon folder and all subfolders. The error means that Procon.exe does not have write permission.

I am using layer. All files and folders have read/write permission. I will copy paste you entire log when i reenable plugin.

(P.S. my instalation method was drag and drop files from rar. to the plugin/BF4 folder, like i did with proconrulz files)

 

[23:19:02 55] [insane Limits] Enabled!

[23:19:02 55] [insane Limits] Battlelog Cache plugin is disabled; installing/updating and enabling the plugin is recommended for Insane Limits!

[23:19:02 59] [insane Limits] Thread(activator): EXCEPTION: : System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

[23:19:02 59] [insane Limits] Thread(activator): Extra information dumped in file InsaneLimits.dump

[23:19:02 59] [insane Limits] Thread(activator): WARNING: unable to dump extra exception information.

[23:19:02 59] [insane Limits] Thread(activator): EXCEPTION: System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

[23:19:02 59] [insane Limits] Thread(activator): Waiting for privacy_policy_agreement value

[23:19:02 59] [insane Limits] Thread(activator): Agreement received, activating plugin now!

[23:19:05 10] [insane Limits] Thread(settings): Version = 0.9.14.0

[23:19:05 10] [insane Limits] Thread(activator): WARNING: not tweeting, virtual_mode is on

[23:19:06 52] [insane Limits] Thread(fetch): DONE inserting 1 new players, 1 still in queue, took a total of 0 secs

[23:19:07 55] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 0 secs

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

Originally Posted by PapaCharlie9*:

 

I am using layer. All files and folders have read/write permission. I will copy paste you entire log when i reenable plugin.

(P.S. my instalation method was drag and drop files from rar. to the plugin/BF4 folder, like i did with proconrulz files)

 

[23:19:02 55] [insane Limits] Enabled!

[23:19:02 55] [insane Limits] Battlelog Cache plugin is disabled; installing/updating and enabling the plugin is recommended for Insane Limits!

[23:19:02 59] [insane Limits] Thread(activator): EXCEPTION: : System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

[23:19:02 59] [insane Limits] Thread(activator): Extra information dumped in file InsaneLimits.dump

[23:19:02 59] [insane Limits] Thread(activator): WARNING: unable to dump extra exception information.

[23:19:02 59] [insane Limits] Thread(activator): EXCEPTION: System.Security.SecurityException: Fehler bei der Anforderung des Berechtigungstyps "System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".

[23:19:02 59] [insane Limits] Thread(activator): Waiting for privacy_policy_agreement value

[23:19:02 59] [insane Limits] Thread(activator): Agreement received, activating plugin now!

[23:19:05 10] [insane Limits] Thread(settings): Version = 0.9.14.0

[23:19:05 10] [insane Limits] Thread(activator): WARNING: not tweeting, virtual_mode is on

[23:19:06 52] [insane Limits] Thread(fetch): DONE inserting 1 new players, 1 still in queue, took a total of 0 secs

[23:19:07 55] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 0 secs

The error is saying Procon.exe does not have write permission. It is trying to write files inside of the procon folder tree. You will probably need to open a ticket with your hoster.
* 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.