Jump to content

On-Spawn Loadout Enforcer for Infantry/Vehicles - AdKatsLRT


ColColonCleaner

Recommended Posts

Originally Posted by the-despo*:

 

Hey Colonel,

i have following MySql Error, can you Help me ?

 

  Quote

at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuild er settings) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in :0

[12:34:15 82] InnerException: System.Net.Sockets.SocketException: Too many open files

at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x00000] in :0

at MySql.Data.Common.StreamCreator.CreateSocketStream (System.Net.IPAddress ip, Boolean unix) [0x00000] in :0

at MySql.Data.Common.StreamCreator.GetStreamFromHost (System.String pipeName, System.String hostName, UInt32 timeout) [0x00000] in :0

[12:34:53 65] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: Too many open files

at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x00000] in :0

at MySql.Data.Common.StreamCreator.CreateSocketStream (System.Net.IPAddress ip, Boolean unix) [0x00000] in :0

at MySql.Data.Common.StreamCreator.GetStreamFromHost (System.String pipeName, System.String hostName, UInt32 timeout) [0x00000] in :0

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuild er settings) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in :0

[12:35:15 87] [statslogger]Error: Error in UpdateCurrentPlayerTable:

[12:35:15 87] Message: Unable to connect to any of the specified MySQL hosts.

[12:35:15 87] Native: -2147467259

[12:35:15 87] Source: MySql.Data

[12:35:15 87] StackTrace: at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuild er settings) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in :0

[12:35:15 87] InnerException: System.Net.Sockets.SocketException: Too many open files

at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x00000] in :0

at MySql.Data.Common.StreamCreator.CreateSocketStream (System.Net.IPAddress ip, Boolean unix) [0x00000] in :0

at MySql.Data.Common.StreamCreator.GetStreamFromHost (System.String pipeName, System.String hostName, UInt32 timeout) [0x00000] in :0

[12:35:53 70] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: Too many open files

at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x00000] in :0

at MySql.Data.Common.StreamCreator.CreateSocketStream (System.Net.IPAddress ip, Boolean unix) [0x00000] in :0

at MySql.Data.Common.StreamCreator.GetStreamFromHost (System.String pipeName, System.String hostName, UInt32 timeout) [0x00000] in :0

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuild er settings) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in :0

[12:36:15 88] [statslogger]Error: Error in UpdateCurrentPlayerTable:

[12:36:15 88] Message: Unable to connect to any of the specified MySQL hosts.

[12:36:15 89] Native: -2147467259

[12:36:15 89] Source: MySql.Data

[12:36:15 89] StackTrace: at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuild er settings) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in :0

[12:36:15 89] InnerException: System.Net.Sockets.SocketException: Too many open files

at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x00000] in :0

at MySql.Data.Common.StreamCreator.CreateSocketStream (System.Net.IPAddress ip, Boolean unix) [0x00000] in :0

at MySql.Data.Common.StreamCreator.GetStreamFromHost (System.String pipeName, System.String hostName, UInt32 timeout) [0x00000] in :0

[12:36:30 13] [AdKats] ERROR-6800: [unable to download SQL updates.]

[12:36:53 73] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException: Too many open files

at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType type, ProtocolType proto) [0x00000] in :0

at MySql.Data.Common.StreamCreator.CreateSocketStream (System.Net.IPAddress ip, Boolean unix) [0x00000] in :0

at MySql.Data.Common.StreamCreator.GetStreamFromHost (System.String pipeName, System.String hostName, UInt32 timeout) [0x00000] in :0

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Open () [0x00000] in :0

at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuild er settings) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in :0

[12:37:23 82] [statslogger]Error: Error in UpdateCurrentPlayerTable:

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

Originally Posted by xcite*:

 

In my situation i have restricted all IRNV and FLIR on all ASSAUILT weapons by adding "IRNV IR 1X" & "FLIR IR 2X" to Global Item Search Blacklist String Array... And it worked fine, but for some past days it dosesn't works !!! I've updated to latest version but it doesn't works!!! Wha'ts happening?

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

Originally Posted by ColColonCleaner*:

 

  xcite* said:

In my situation i have restricted all IRNV and FLIR on all ASSAUILT weapons by adding "IRNV IR 1X" & "FLIR IR 2X" to Global Item Search Blacklist String Array... And it worked fine, but for some past days it dosesn't works !!! I've updated to latest version but it doesn't works!!! Wha'ts happening?

I assume your layer is having issues connecting to battlelog. What messages get shown in the console? Also what other plugins are you running?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by xcite*:

 

  ColColonCleaner* said:

I assume your layer is having issues connecting to battlelog. What messages get shown in the console? Also what other plugins are you running?

Greetings! I will examine messages lately when server is full with players. In case of battlelog connection problems what messages should i get in console. For now i have only:

 

[07:01:02 71] [AdKatsLRT] SUCCESS: WARSAW library loaded. 178 items, 148 vehicle unlocks, and 3294 accessories.

[07:01:02 76] [AdKatsLRT] INFO: Waiting for first player list event.

[07:01:02 96] [AdKatsLRT] SUCCESS: AdKatsLRT 2.0.6.4 startup complete [16s]. Loadout restriction now online.

 

EnableHighRequestVolume is False.

 

I'm running In-Game Admin, Latency Manager, Notify ME!, Insane Limits, MULTIbalancer, ProconRulz, xVotemap.

 

By the wy - is Operation Outbreak supported by AdKatsLRT ?

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

Originally Posted by Dete96*:

 

Hi!

We banned all FLIR and IRNV on our server which worked fine since we updated the LRT. Yesterday evening it became a little strange.

We got some complaints about players using FILR so we tested the enforcer on ourselves. I chose a SCAR-H FLIR and got killed almost instantly. A friend chose the same setting and didn´t get killed. Do you have any idea what happened? We didn´t have any connection problems to battlelog. As you advised we turned off High Request Volume and Hacker Checker Live. Has it something to do with these settings?

 

Thank you for your answer!

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

Originally Posted by ColColonCleaner*:

 

  xcite* said:

Greetings! I will examine messages lately when server is full with players. In case of battlelog connection problems what messages should i get in console. EnableHighRequestVolume is False.

 

I'm running In-Game Admin, Latency Manager, Notify ME!, Insane Limits, MULTIbalancer, ProconRulz, xVotemap.

 

By the wy - is Operation Outbreak supported by AdKatsLRT ?

If you change the debug level to 4 and see it fetching loadouts that's fine.

 

You might be able to turn high request volume on if you don't see connection issues.

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

Originally Posted by www-battleplay4u-com*:

 

hi,

 

so we moved our 2 instances of AdkatsLRT to 2 different machines (with 2 different ips) to reduce the traffic.

 

still we get:

Code:

[17:17:00 43] [AdKatsLRT] 40 players still in queue.
[17:17:01 10] [AdKats] ip-api failed to respond with player location information, your layer may be IP banned. (Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.)
AdKatsLRT - Loadout Enforcer - 2.0.6.4
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

  www.battleplay4u.com* said:

hi,

 

so we moved our 2 instances of AdkatsLRT to 2 different machines to reduce the traffic.

 

still we get:

Code:

[17:17:00 43] [AdKatsLRT] 40 players still in queue.
[17:17:01 10] [AdKats] ip-api failed to respond with player location information, your layer may be IP banned. (Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.)
AdKatsLRT - Loadout Enforcer - 2.0.6.4
How long after startup of the layers do you see this? The larger queue is expected for a few minutes after startup as it's still gathering player info from battlelog.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

  Dete96* said:

Hi!

We banned all FLIR and IRNV on our server which worked fine since we updated the LRT. Yesterday evening it became a little strange.

We got some complaints about players using FILR so we tested the enforcer on ourselves. I chose a SCAR-H FLIR and got killed almost instantly. A friend chose the same setting and didn´t get killed. Do you have any idea what happened? We didn´t have any connection problems to battlelog. As you advised we turned off High Request Volume and Hacker Checker Live. Has it something to do with these settings?

 

Thank you for your answer!

Well a few randoms using it is possible simply due to battlelog lag on updating loadouts. Usually battlelog only takes about 3 seconds to update loadouts when they are changed in game, however they sometimes lag on specific players for long durations, upwards of 10 minutes.

 

Turning off the LIVE system in AdKats should be enough to stop the issues with battlelog connection, you might be able to turn on high request volume again in LRT. If you turn that back on and are able to keep connection without others using the sights then you're fine.

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

Originally Posted by virusdead*:

 

Hello, I have a trouble with your plugin I bought are AC few months your product and I can no longer use

 

Numéro de transaction

1N2830721P111850H

 

  Quote

[09:26:16 29] [AdKatsLRT] ERROR-2064: [LRT can only be enabled on BF4 at this time.]

[09:26:16 29] [AdKatsLRT] INFO: Shutting down AdKatsLRT.

[09:26:16 29] [AdKats] ERROR-6800: [Client AdKatsLRT attempted to unsubscribe from OnlineSoldiers when they don't have an active subscription.]

[09:26:16 81] [AdKatsLRT] AdKatsLRT 2.0.6.4 Disabled! =(

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

Originally Posted by Thuishy*:

 

Hi, I bought the plugin and it fits very well in my server, but I have one question, is it possible to I enforce a vehicle loadout and kill the player only if he enters that vehicle, i found only two options, kill on spawn (independently where is the player) or kill when the player kill with the denied loadout. Is that possible?

 

Thanks! =D

 

Edit: Also want to know if that is an auto kick from server after x numbers of kill with invalid loadout.

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

Originally Posted by Some-One-NL*:

 

Hi , i got a question?

 

Is it possible to set it like in 2 sections on different maps .

Whit this i mean like Section 1 Vehicles , section 2 infantery .

And then the option par map to set it on or of ?

Now we have the problem on our server that players dont geth it how to get to the thermals on thank when there is no tank in a map.

So they dont know that they simple can go to battlelog and chance it there .

Would be nice if the 2 groups would be seperated and adjusteble per map each .

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

Originally Posted by ColColonCleaner*:

 

  virusdead* said:

Hello, I have a trouble with your plugin I bought are AC few months your product and I can no longer use

 

Numéro de transaction

1N2830721P111850H

The plugin only works on BF4 man.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

  Thuishy* said:

Hi, I bought the plugin and it fits very well in my server, but I have one question, is it possible to I enforce a vehicle loadout and kill the player only if he enters that vehicle, i found only two options, kill on spawn (independently where is the player) or kill when the player kill with the denied loadout. Is that possible?

 

Thanks! =D

 

Edit: Also want to know if that is an auto kick from server after x numbers of kill with invalid loadout.

There is not an event for getting into a vehicle, otherwise I would act on players that way. When a player kills with a vehicle using an invalid loadout they are required to fix that loadout before spawning again, they won't be able to kill with it. That is unless battlelog is lagging on their loadout, which does happen at times.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PahkillerSn*:

 

Hi

Ok have some questions,

I have already created a github account many months ago and also purchased adkats lrt but my pc totally crashed lost everything including this plugin and seems to have changed in procon at the adkats configuration.

I have downloaded the test one and get to the plugin in Parent layer control and select ADkats - Advanced In-Game Admin and it just says "Once enabled, more settings will appear

this to me makes no sense.

I know its all simple to moist in here but not to me Im fairly new at all this and find it difficult to follow the installation instructions

Yep maybe a dill at this but scripts are at this point in time are past me..

any help would be appreciated

or maybe can be installed for m for a price

thanks

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

Originally Posted by ColColonCleaner*:

 

  Some One NL* said:

Hi , i got a question?

 

Is it possible to set it like in 2 sections on different maps .

Whit this i mean like Section 1 Vehicles , section 2 infantery .

And then the option par map to set it on or of ?

Now we have the problem on our server that players dont geth it how to get to the thermals on thank when there is no tank in a map.

So they dont know that they simple can go to battlelog and chance it there .

Would be nice if the 2 groups would be seperated and adjusteble per map each .

There is not a current way to do that. I'm working on a backup for battlelog lag first before I work on any other features.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

  CEBEP78* said:

Hello

[20:39:44 10] [AdKatsLRT] WARNING: Issue connecting to battlelog.

[20:40:59 42] [AdKats] WARNING: Issue connecting to battlelog.

 

All the time writes so

Answered this in the AdKats thread as you posted in both. This warning will stop the plugin from functioning.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by muhevana*:

 

  Wurmfutter* said:

Hello Colonel,

 

I've lately updated to version 2.0.6.4 of your plugin - seems like OP Outbreak isn't implemented yet, right?

My plugin version is 2.0.2.2 how you updated it? Case closed i founded answer to my question
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Thuishy*:

 

  ColColonCleaner* said:

There is not an event for getting into a vehicle, otherwise I would act on players that way. When a player kills with a vehicle using an invalid loadout they are required to fix that loadout before spawning again, they won't be able to kill with it. That is unless battlelog is lagging on their loadout, which does happen at times.

I tested what you said and now I have a problem, I choose a loadout to vehicle that requires some points to unlock, so if a player kills using the first loadout (that is not allowed) then the player can't respawn anymore because he can't fix his loadout... What do you suggest?

 

Edit: If that is nothing that I can do, I would get my money back if possible, because I bought just for this, I will not use the plugin =(

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

Originally Posted by QuadPrime*:

 

Hey col, It appears to me i can not deactivate Integration with Adkats? I'm running v. 2.0.6.4. As soon as i deactivate the integration, the whole Plugin gets deactivated.

 

I wanted to get rid of these two level enforcements. it's an awesome idea but leads to very much confusion, while some get killed for an item, and others don't. Tried to work that around, and marked every player on their first spawn with Proconrulz, which pretty much instantly got me Battlelog connectivity issues.

 

I remember the older versions were able to enforce no matter what the infraction count of a player was.

 

halp! :biggrin:

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

Originally Posted by ColColonCleaner*:

 

  Thuishy* said:

I tested what you said and now I have a problem, I choose a loadout to vehicle that requires some points to unlock, so if a player kills using the first loadout (that is not allowed) then the player can't respawn anymore because he can't fix his loadout... What do you suggest?

 

Edit: If that is nothing that I can do, I would get my money back if possible, because I bought just for this, I will not use the plugin =(

That is not possible at this time, if you select a required loadout that not all players can use the ones who can't will never be able to spawn.

 

Please PM me the name and email you used for the purchase if you want to discuss a return.

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

Originally Posted by ColColonCleaner*:

 

  QuadPrime* said:

Hey col, It appears to me i can not deactivate Integration with Adkats? I'm running v. 2.0.6.4. As soon as i deactivate the integration, the whole Plugin gets deactivated.

 

I wanted to get rid of these two level enforcements. it's an awesome idea but leads to very much confusion, while some get killed for an item, and others don't. Tried to work that around, and marked every player on their first spawn with Proconrulz, which pretty much instantly got me Battlelog connectivity issues.

 

I remember the older versions were able to enforce no matter what the infraction count of a player was.

 

halp! :biggrin:

There is code in there that automatically enables integration if the AdKats plugin is installed and enabled.

 

This is because if you didn't have the plugins integrated when both are running they will both be querying battlelog for player identification, where when integrated only one needs to.

 

What would probably be better is just adding a setting that turns off multi-level enforcement, then all weapons would be enforced on spawn level.

 

EDIT: And yes, marking everyone is definitely not the answer lol, to the plugin that's basically like turning on high request volume. Marked players are checked on every spawn instead of the adaptive method to reduce request volume.

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

Originally Posted by QuadPrime*:

 

  ColColonCleaner* said:

What would probably be better is just adding a setting that turns off multi-level enforcement, then all weapons would be enforced on spawn level.

Yup, i agree with that. This is just needed! I mean, the idea is awesome, and i spent a lot of time informing players why this happens to them like" if you want to spawn with M67, you better not shoot someone with Shotgun."... Neither did they care nore understand - which as said leads to cunfusion and frustration among my guests.

 

I can not downgrade to an older version tho, since i need the poison bow enforcement. Anyways, this option will be highly appreciated man.

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

Originally Posted by ColColonCleaner*:

 

  moacco07* said:

Hi,

 

I'm confused. Is the current version of this plugin is 2.0.6.4? If i'm on the right track i still don't see the community map.

Like i stated in the AdKats thread, I am neck deep in projects right now and a lot of real-life things to deal with.

 

I have a patch in progress for both LRT and AdKats, but I can't just release one before the other because they will break. Both plugins will need to update at the same time once I push both patches.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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