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

  • Administrators
9 hours ago, TheNoobetPlayer said:

Dude.ColColonCleaner Says adkats can work on BFHL.But I can't even install Xpkiller's ChatGUIDStatsAndMapstatsLogger on BFHL

[Statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'XXXXX' for user 'bfh' using method 'mysql_native_password' failed with message: Access denied for user 'bfh'@'%' to database 'bfh' ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'bfh'@'%' to database 'bfh'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex)
   at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()
   at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset)
   at MySql.Data.MySqlClient.NativeDriver.Authenticate(String authMethod, Boolean reset)
   at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.Driver.Open()
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerID(CServerInfo csiServerInfo)
 

AdKats supports BF3, BF4, & BFH. AdKats LRT only supports BF4. As Hedis says, your DB details are wrong and that needs to be fixed. 

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment

Where in the SQL database do you see the report list from any user? !reportlist ingame times out the actual list eventually but it has to be recorded in the database somewhere and I just can't find it for the life of me. I can see that the command id is 18 for the !report command but can't find where it goes in its own list if a user issues the command. 

Link to comment
29 minutes ago, edyisready said:

Where in the SQL database do you see the report list from any user? !reportlist ingame times out the actual list eventually but it has to be recorded in the database somewhere and I just can't find it for the life of me. I can see that the command id is 18 for the !report command but can't find where it goes in its own list if a user issues the command. 

SELECT * FROM adkats_records_main WHERE command_type = 18 ORDER BY record_id DESC;

BFAdminCP allows you to view reports.

 

Just to explain this: AdKats saves all records.. kick, report, ban, etc in this relation.

Edited by Hedius

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to comment
7 minutes ago, xloneshadowx said:

Where is the setting in adkats for this? I have feed spectator list on false but thats all I can find. I think this is adkats. https://gyazo.com/45f7d6b02b1a8fb7526162e2497810db

This question has already been answered...

 

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to comment
  • Plugin Developer
17 hours ago, TheNoobetPlayer said:

Ah and I have some new problems...

[13:58:26 42] [AdKats] ERROR-7605: [Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!]

 

Ofc It is running,But I don't know

Check your tbl_server table, make sure it has an entry for this server.

Link to comment
On 6/18/2020 at 7:19 PM, Hedius said:

SELECT * FROM adkats_records_main WHERE command_type = 18 ORDER BY record_id DESC;

BFAdminCP allows you to view reports.

 

Just to explain this: AdKats saves all records.. kick, report, ban, etc in this relation.

Ah makes perfect sense, thank you!

Link to comment

Is it possible to call adkats swapnuke from insane limits like this?

Hashtable command = new Hashtable();
command.Add("caller_identity", "InsaneLimits");
command.Add("response_requested", false);
command.Add("command_type", "'server_swapnuke");
plugin.CallOtherPlugin("AdKats", "IssueCommand", command);

 

Link to comment
  • Plugin Developer
23 minutes ago, tomopcver said:

Is it possible to call adkats swapnuke from insane limits like this?


Hashtable command = new Hashtable();
command.Add("caller_identity", "InsaneLimits");
command.Add("response_requested", false);
command.Add("command_type", "'server_swapnuke");
plugin.CallOtherPlugin("AdKats", "IssueCommand", command);

 

Firstly, swapnuke is a VERY aggressive command, i'd take caution when using it. It also doesn't work when the server is full.

In general all commands need a source, a target, and a message. so you should include those values. source could be insanelimits, target could be server, and message could be whatever you want to be logged. The protocol is mentioned here: https://github.com/AdKats/AdKats#issuecommand

Link to comment
  • 3 weeks later...

Hey guys.
Since the latest Procon update (and also from time to time before but not that high frequency) some of my procon layers just get stucked and go offline.
My hoster sent me this (I know it is in german but I hope you also understand it ^^)

 

Exception caught at:
C:\Users\andre\source\repos\AdKats\Procon-1\src\PRoCon.Core\Remote\Layer\LayerInstance.cs
Line 315
Method ListenIncommingLayerConnections
DateTime: Montag, 13. Juli 2020 10:01:25
Version: 1.5.3.4
Packet:
ListenIncommingLayerConnections
Additional:
catch (Exception e)

Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "System.Net.Sockets.Socket".

bei System.Net.Sockets.Socket.get_RemoteEndPoint()
bei PRoCon.Core.Remote.Layer.LayerConnection.get_IPPort() in C:\Users\andre\source\repos\AdKats\Procon-1\src\PRoCon.Core\Remote\Layer\LayerConnection.cs:Zeile 95.
bei PRoCon.Core.Remote.Layer.LayerPacketDispatcher.get_IPPort() in C:\Users\andre\source\repos\AdKats\Procon-1\src\PRoCon.Core\Remote\Layer\LayerPacketDispatcher.cs:Zeile 69.
bei PRoCon.Core.Remote.Layer.LayerClient.get_IPPort() in C:\Users\andre\source\repos\AdKats\Procon-1\src\PRoCon.Core\Remote\Layer\LayerClient.cs:Zeile 306.
bei PRoCon.Core.Remote.Layer.LayerInstance.ListenIncommingLayerConnections(IAsyncResult ar) in C:\Users\andre\source\repos\AdKats\Procon-1\src\PRoCon.Core\Remote\Layer\LayerInstance.cs:Zeile 315.

Link to comment
  • 2 weeks later...

Well, just in case someone, say @ColColonCleaner, knows an answer, I have to try a different plugin for this.

What I was trying to get to work for a tournament:

knives only except whitelisted/admins that can use any weapon. If someone not whitelisted uses any other weapon to kill, they get punished. I can't use spawn enforcement since you can't spawn without a gun, etc.

Prophet helped to no avail. We just couldn't get it to work. It sounds simple but in the end isn't I guess. :(

Link to comment
  • Administrators
On 7/24/2020 at 7:45 AM, XaosBr said:

Is it possible that the hsk LIVE system has a false positive?
I had an appeal for this ban and I found no evidence that it is really cheating, I think you're trying to padding stats.


HSK Automatic Ban [LIVE][6-L30-64-90] [AutoAdmin]

 

 

This is the break down of the LIVE system. https://github.com/AdKats/AdKats#anticheat-system-with-whitelist

1 hour ago, masterjj said:

Hi :)
Sometime i see these error

after restart its will be ok for at least 24 hours...

image.thumb.png.3965db08c09d99a4d8b76d5d1e6f6c52.png

I think it just happens from time to time. Just restart the plugin or ignore it if it's not spamming to bad.

 

 

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • 1 month later...

Hi all,

I want to share this fix for Adkats. Adkats ERROR Command Weight. Prophet and ColColonCleaner posted this before. 

Cheers!

UPDATE adkats_records_main SET command_action = 19 WHERE command_type = 18 AND command_action = 40;
UPDATE adkats_records_main SET command_action = 42 WHERE command_type = 18 AND command_action = 41;
UPDATE adkats_records_main SET command_action = 62 WHERE command_type = 18 AND command_action = 61;

 

Link to comment
  • 1 month later...

Recently, the following log is output to DEBUG.txt frequently, and Procon crashes.

=======================================

Exception caught at: 
D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerInstance.cs
Line 261
Method ListenIncommingLayerConnections
DateTime: 2020年10月25日 10:33:16
Version: 1.5.1.1
Packet: 
ListenIncommingLayerConnections
Additional: 
catch (Exception e)

同一のキーを含む項目が既に追加されています。

   場所 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   場所 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   場所 PRoCon.Core.Remote.Layer.LayerInstance.ListenIncommingLayerConnections(IAsyncResult ar) 場所 D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerInstance.cs:行 261
=======================================

Exception caught at: 
D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerInstance.cs
Line 261
Method ListenIncommingLayerConnections
DateTime: 2020年10月26日 15:30:46
Version: 1.5.1.1
Packet: 
ListenIncommingLayerConnections
Additional: 
catch (Exception e)

破棄されたオブジェクトにアクセスできません。
オブジェクト名 'System.Net.Sockets.Socket' です。

   場所 System.Net.Sockets.Socket.get_RemoteEndPoint()
   場所 PRoCon.Core.Remote.Layer.LayerConnection.get_IPPort() 場所 D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerConnection.cs:行 86
   場所 PRoCon.Core.Remote.Layer.LayerPacketDispatcher.get_IPPort() 場所 D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerPacketDispatcher.cs:行 58
   場所 PRoCon.Core.Remote.Layer.LayerClient.get_IPPort() 場所 D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerClient.cs:行 279
   場所 PRoCon.Core.Remote.Layer.LayerInstance.ListenIncommingLayerConnections(IAsyncResult ar) 場所 D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\Procon-1\src\PRoCon.Core\Remote\Layer\LayerInstance.cs:行 261
=======================================

What is the cause of the above?
Reinstalling Adkats didn't help.

Link to comment
  • Administrators
2 minutes ago, abcdefg said:

Thank you for your reply.
This crash occurs about 10 times a day.
I'm rebooting every time.
Is there a way to get rid of the crash?
The OS uses windows server 2019.

I don't know what would be causing the crash other than what that log is saying. It's also on an older version of Procon so that could be it too. 

I'd try to get it updated to the latest version, if you can't, you could try out the hosting that I provide over at ezrcon.com. I offer a 3 day trial of procon and that will always use the latest version I push out, since I run it. 

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • 4 weeks later...
16 minutes ago, anthdawg5443 said:

Wheever i deleted my challenges and make new ones they still hold their numeric value so ive delete 6 of them and when i make a new one its gonna be ch 7 any fix?

Probably happens, because the primary key of the relation for the challenges auto increments. Resetting the counter should fix it. 

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

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.