Jump to content

Advanced In-Game Admin and Ban Enforcer - AdKats


Message added by Prophet731,

If you've been banned from a server then you will need to appeal the ban with the owners/community of that server. We do not control any bans done on servers that utilize AdKats as all bans are local to that server.

Recommended Posts

Originally Posted by jsimpson32*:

 

What do you mean current game? I don't look at BF3 stats for BF4 players if that's what you're asking. If you mean current round then that's only with the LIVE system.

 

The anti-cheat system uses their overall stats exclusively, unless you enable the LIVE system. Enabling LIVE means it will use the current/previous round information to catch damage mods, and if you enable the 'mass murder' settings it will also go after the more blatant cheats mid-round.

 

EDIT: Repeating myself here, but this is also all described in the docs :biggrin:

 

Anti-cheat docs:

https://github.com/AdKats/AdKats#ant...with-whitelist

Anti-cheat settings:

https://github.com/AdKats/AdKats#a18-anticheat-settings

I did read all of the docs. In fact I've been posting explanations on our forums. Its been banning some platoon members so I'm trying to be sure of the settings. Not sure if they cheat or are boosting. Perhaps I should turn off HSK and DPS and just use LIVE.

 

Example:

page1/index.html*

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

Originally Posted by ColColonCleaner*:

 

I did read all of the docs. In fact I've been posting explanations on our forums. Its been banning some platoon members so I'm trying to be sure of the settings. Not sure if they cheat or are boosting. Perhaps I should turn off HSK and DPS and just use LIVE.

 

Example:

page1/index.html*

From your forum post:

"His reasoning actually makes sense. I remember people doing similar things in BF2 to get weapons unlocks. Two people, usually friends, would go to an almost empty server, go on opposite teams and one would set up a spawn beacon where one would just spawn and kill or get killed over and over to get an unlock."

 

This plugin does not cover boosting. If they boosted in a server and accidentally got their stats up to unreasonable levels that's not something my plugin can realize and handle in a clean way.

 

Your only solution for this player is to unban him then issue an individual anti-cheat whitelist on him so the system doesn't ban him. This is easily done with

/acwhitelist perm playername

giving the player a permanent anti-cheat whitelist.

 

I would suggest giving out these whitelists on an individual player-by-player basis instead of turning off those scripts.

 

The way we usually handled it in my previous group was that if they they were able to provide the battlereports showing that they were boosting then we whitelisted them.

 

EDIT: Of course it's up to how you want to run your server, and the disable option is available for both HSK and KPM based bans. The only one that cannot be disabled is the DPS based ban system, since that one has been hardened for years now and has only seen false positives when battlelog screws up player's stats.

Link to comment

Originally Posted by jsimpson32*:

 

After thinking about it I've decided to leave it all on with no whitelist for anyone. Thanks for the help, donation sent.

 

From your forum post:

"His reasoning actually makes sense. I remember people doing similar things in BF2 to get weapons unlocks. Two people, usually friends, would go to an almost empty server, go on opposite teams and one would set up a spawn beacon where one would just spawn and kill or get killed over and over to get an unlock."

 

This plugin does not cover boosting. If they boosted in a server and accidentally got their stats up to unreasonable levels that's not something my plugin can realize and handle in a clean way.

 

Your only solution for this player is to unban him then issue an individual anti-cheat whitelist on him so the system doesn't ban him. This is easily done with

/acwhitelist perm playername

giving the player a permanent anti-cheat whitelist.

 

I would suggest giving out these whitelists on an individual player-by-player basis instead of turning off those scripts.

 

The way we usually handled it in my previous group was that if they they were able to provide the battlereports showing that they were boosting then we whitelisted them.

 

EDIT: Of course it's up to how you want to run your server, and the disable option is available for both HSK and KPM based bans. The only one that cannot be disabled is the DPS based ban system, since that one has been hardened for years now and has only seen false positives when battlelog screws up player's stats.

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

Originally Posted by vagnus*:

 

it shows me those 2 errors [04:09:03 85] [AdKats] ERROR-7010: [Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!]

[04:09:03 85] [AdKats] INFO: Shutting down AdKats.

[04:09:03 87] [AdKats] WARNING: Database timing confirmed, but there is a 3m42s UTC timestamp mismatch between your layer and database.

[04:09:04 39] [AdKats] AdKats 7.0.1.0 Disabled! =(

what i must do ?

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

Originally Posted by ColColonCleaner*:

 

it shows me those 2 errors [04:09:03 85] [AdKats] ERROR-7010: [Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!]

[04:09:03 85] [AdKats] INFO: Shutting down AdKats.

[04:09:03 87] [AdKats] WARNING: Database timing confirmed, but there is a 3m42s UTC timestamp mismatch between your layer and database.

[04:09:04 39] [AdKats] AdKats 7.0.1.0 Disabled! =(

what i must do ?

You must read the instructions.

 

https://github.com/AdKats/AdKats#install

 

Cheers.

 

Also i would suggest having both your layer and database servers update their timestamps. Talk to your host about this, one of them or both of them is nearly 4 minutes off of real time.

Link to comment

Originally Posted by vagnus*:

 

You must read the instructions.

 

https://github.com/AdKats/AdKats#install

 

Cheers.

 

Also i would suggest having both your layer and database servers update their timestamps. Talk to your host about this, one of them or both of them is nearly 4 minutes off of real time.

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

Originally Posted by vagnus*:

 

You must read the instructions.

 

https://github.com/AdKats/AdKats#install

 

Cheers.

 

Also i would suggest having both your layer and database servers update their timestamps. Talk to your host about this, one of them or both of them is nearly 4 minutes off of real time.

i read the rules but nothing helped me with this

[06:07:54 85] [AdKats] ERROR-7010: [Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!]

[06:07:54 85] [AdKats] INFO: Shutting down AdKats

 

and when i followed the first step and instal CChatGUIDStatsLogger to plugin .in plugin tab doesnt show it :/

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

Originally Posted by ColColonCleaner*:

 

i read the rules but nothing helped me with this

[06:07:54 85] [AdKats] ERROR-7010: [Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!]

[06:07:54 85] [AdKats] INFO: Shutting down AdKats

Please read the error message and do what it says to do. Do you need help installing stat logger? Do you need help running the install SQL script?
Link to comment

Originally Posted by vagnus*:

 

Please read the error message and do what it says to do. Do you need help installing stat logger? Do you need help running the install SQL script?

to instal stat logger is the normal way with filezilla into plugins folder ?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

to instal stat logger is the normal way with filezilla into plugins folder ?

The install instructions for that plugin are in the plugin thread:

 

myrcon.net/.../chat-guid-stats-and-mapstats-logger

 

One caveat though is that you need to place the plugins folder inside that download over the top of your normal plugins folder. There are a lot of files in the stat logger plugin, not just the one CS file.

Link to comment

Originally Posted by vagnus*:

 

The install instructions for that plugin are in the plugin thread:

 

myrcon.net/.../chat-guid-stats-and-mapstats-logger

 

One caveat though is that you need to place the plugins folder inside that download over the top of your normal plugins folder. There are a lot of files in the stat logger plugin, not just the one CS file.

nothing yet :sad: i did that but nothing :sad:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by vagnus*:

 

now it show me those errors ..

 

[08:07:08 09] [AdKats] INFO: AdKats role groups table not found. Attempting to add.

[08:07:08 31] [AdKats] CREATE TABLE `adkats_rolegroups` (

`role_id` int(11) unsigned NOT NULL,

`group_key` VARCHAR(100) NOT NULL,

PRIMARY KEY (`role_id`,`group_key`),

KEY `adkats_rolegroups_fk_role` (`role_id`),

KEY `adkats_rolegroups_fk_command` (`group_key`),

CONSTRAINT `adkats_rolegroups_fk_role` FOREIGN KEY (`role_id`) REFERENCES `adkats_roles` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='AdKats - Connection of groups to roles'

[08:07:08 31] [AdKats] ERROR-7010: [Non-Query failed. [Adding AdKats role groups table]: MySql.Data.MySqlClient.MySqlException: Cannot add foreign key constraint

bei PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlComma nd command)

bei PRoConEvents.AdKats.SendNonQuery(String desc, String nonQuery, Boolean verbose)]

[08:07:08 32] [AdKats] ALTER TABLE adkats_settings MODIFY setting_value varchar(10000)

[08:07:08 32] [AdKats] ERROR-7010: [AdKats tables not present or valid in the database. Have you run the AdKats database setup script yet? If so, are your tables InnoDB_]

 

 

 

I THINK I AM REALLY STUPID :/

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

Originally Posted by ColColonCleaner*:

 

I think your answer is here:

He's just refusing to follow the install instructions. I asked him to but he's deciding to ignore them for some reason.

 

EDIT: Vagnus, when something starts working don't just jump to the end and assume everything is ready. Follow the instructions. If you don't know how to do something in the instruction list then just ask, i'm happy to help. Jumping ahead will get you nowhere though.

 

https://github.com/AdKats/AdKats#install

Link to comment

Originally Posted by sixpax12*:

 

... just sharing. Not sure if important or not.

 

 

[23:19:33 03] [AdKats] EXCEPTION-70117-1.41-D-GetPlayerCount-StatusMonitor13: [Error while fetching player count.][system.IndexOutOfRangeException: Index was outside the bounds of the array.

at System.Collections.Generic.Dictionary`2.ValueColle ction.CopyTo(TValue[] array, Int32 index)

at System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.GetPlayerCount(Boolean excludeCommanders, Boolean excludeSpectators, Boolean excludeSeeders, Nullable`1 TeamID)]

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

Originally Posted by ColColonCleaner*:

 

... just sharing. Not sure if important or not.

 

 

[23:19:33 03] [AdKats] EXCEPTION-70117-1.41-D-GetPlayerCount-StatusMonitor13: [Error while fetching player count.][system.IndexOutOfRangeException: Index was outside the bounds of the array.

at System.Collections.Generic.Dictionary`2.ValueColle ction.CopyTo(TValue[] array, Int32 index)

at System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.GetPlayerCount(Boolean excludeCommanders, Boolean excludeSpectators, Boolean excludeSeeders, Nullable`1 TeamID)]

This is an issue with thread safety. I was not very good at C# when i first wrote the player management system so a lot of that is not completely thread-safe, and the mods added since then have just been bandaids on the issue. I recently added thread safety to fetched players list so i might be able to do that soon for this one too. Thanks for bringing it up.

 

As an aside, you can always look for exceptions that have happened while you weren't looking in the adkats_records_debug table. Every exception is logged.

Link to comment

Originally Posted by vagnus*:

 

He's just refusing to follow the install instructions. I asked him to but he's deciding to ignore them for some reason.

 

EDIT: Vagnus, when something starts working don't just jump to the end and assume everything is ready. Follow the instructions. If you don't know how to do something in the instruction list then just ask, i'm happy to help. Jumping ahead will get you nowhere though.

 

https://github.com/AdKats/AdKats#install

i dont know how to do that . run the AdKats database setup script yet? If so, are your tables InnoDB?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by antitoxis*:

 

Hey, i have some Problems. Since few days i get this error:

EXCEPTION-7000-D-b__9ff-RulePrinter43: [Error while printing server rules][system.InvalidOperationException: Die Sequenz enthält kein übereinstimmendes Element.

bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

bei PRoConEvents.AdKats.c__DisplayClassa0e.b__9ff()]

Other Problem is with the spectator slot:

I will kicked out of the game:

Grund: Whitelist required to spectate. [spectatorManager] )

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

Originally Posted by sixpax12*:

 

As an aside, you can always look for exceptions that have happened while you weren't looking in the adkats_records_debug table. Every exception is logged.

Entries in there seemed to have stopped on 01/25 ... does it track both of these:

 

procon.private.options.eventsLogging True

procon.private.options.pluginLogging True

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

Originally Posted by sixpax12*:

 

EXCEPTION-70117-66.73-D-HandleActiveBanEnforcer-DatabaseComm62: [Error while handling active ban enforcer.][system.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

 

Server stack trace:

at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)

at System.Collections.Generic.List`1.GetRange(Int32 index, Int32 count)

at PRoCon.Core.CBanInfo.GetVanillaBanl

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

Originally Posted by ColColonCleaner*:

 

EXCEPTION-70117-66.73-D-HandleActiveBanEnforcer-DatabaseComm62: [Error while handling active ban enforcer.][system.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

 

Server stack trace:

at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)

at System.Collections.Generic.List`1.GetRange(Int32 index, Int32 count)

at PRoCon.Core.CBanInfo.GetVanillaBanl

Thanks for posting. I won't be able to work on the plugin for a couple weeks but i'll take a look at this when I can.

 

Do you have plugin debugging enabled? enablePluginDebugging True

Doing that will give me line numbers if you're not running a linux layer, this will help figure out issues quickly.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Entries in there seemed to have stopped on 01/25 ... does it track both of these:

 

procon.private.options.eventsLogging True

procon.private.options.pluginLogging True

Logs in the database for exceptions are not affected by those settings, they should just always be logged.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hey, i have some Problems. Since few days i get this error:

 

 

Other Problem is with the spectator slot:

I will kicked out of the game:

Grund: Whitelist required to spectate. [spectatorManager] )

Update your plugin to the latest test version and see if that fixes the issue with rules. Just run the /pupdate command.

 

As for spectator whitelisting. When there is nobody in the adkats spectator whitelist then everyone is allowed to spectate, but when you have anyone in that list then only those players are able to spectate. You should check who you have ending up in the verbose spectator whitelist and modify your settings accordingly.

Link to comment

Originally Posted by antitoxis*:

 

Update your plugin to the latest test version and see if that fixes the issue with rules. Just run the /pupdate command.

 

As for spectator whitelisting. When there is nobody in the adkats spectator whitelist then everyone is allowed to spectate, but when you have anyone in that list then only those players are able to spectate. You should check who you have ending up in the verbose spectator whitelist and modify your settings accordingly.

Thanks for your reply. The spectator problem was a bad role group.

 

I have done the Update to the latest Procon. But the Problem is not solved.

I use Adkats on 10 Servers. The strange thing on it, that 2 Server haven't this Problem...

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

Originally Posted by ColColonCleaner*:

 

Thanks for your reply. The spectator problem was a bad role group.

 

I have done the Update to the latest Procon. But the Problem is not solved.

I use Adkats on 10 Servers. The strange thing on it, that 2 Server haven't this Problem...

Ok. Please turn on plugin debugging in your procon settings. You should see the setting already, just need to turn it on.

 

enablePluginDebugging False

Change that line to True, then reboot your layer.

 

Then please send me the updated exception message, even if it looks like it hasn't changed, it has.

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.




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