Jump to content
ColColonCleaner

Advanced In-Game Admin and Ban Enforcer - AdKats

Recommended Posts

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.

Air VPN - The air to breathe the real Internet

Share this post


Link to post

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. 

Share this post


Link to post
Posted (edited)
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

Share this post


Link to post

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

Share this post


Link to post
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.

Share this post


Link to post
5 hours ago, to22ek said:

Its possible to add support for BFBC2?

Not at this time, I've looked into it in the past but haven't made the time to add that support in.

Share this post


Link to post
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!

Share this post


Link to post

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);

 

Share this post


Link to post
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

Share this post


Link to post

Thank you for your quick reply.


I will use swap nuke only in heavy base rape situation(like all objective captured and chopper going to spawn kill).

 

Also I will keep in mind that not to abuse it.

Share this post


Link to post

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.

Share this post


Link to post

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. :(

Share this post


Link to post

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]

 

 

Share this post


Link to post
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.

Air VPN - The air to breathe the real Internet

Share this post


Link to post

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;

 

Share this post


Link to post

Is it possible to update the !join and !pull cmd to add a queue system when the targeted squad is currently full or when it's in the opposed team and the team is currenlty full?
Like with !move / !fmove.

Share this post


Link to post

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.

Share this post


Link to post

AdKats isn't the issue. Your layer is crashing. Try restarting 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.

Air VPN - The air to breathe the real Internet

Share this post


Link to post

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.

Share this post


Link to post
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.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
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. 

Share this post


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

    • 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



       
      • 1 reply
    • 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

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