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 TMiland*:

 

I get this error:

 

 

Code:

[17:01:17 03] [AdKats] EXCEPTION: [uploadChatLog][Unexpected error uploading chat log.]: MySql.Data.MySqlClient.MySqlException: Unknown column 'logPlayerID' in 'field list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PRoConEvents.AdKats.uploadChatLog(String log_source, String log_subset, String log_message)
I have runned the sql from github... What gives? :smile:
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I get this error:

 

 

Code:

[17:01:17 03] [AdKats] EXCEPTION: [uploadChatLog][Unexpected error uploading chat log.]: MySql.Data.MySqlClient.MySqlException: Unknown column 'logPlayerID' in 'field list'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at PRoConEvents.AdKats.uploadChatLog(String log_source, String log_subset, String log_message)
I have runned the sql from github... What gives? :smile:
Are you still getting this on the latest version? that column should exist.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

3.7.0.0(15-NOV-2013)

 

Changes

 

  • Compatibility with BF4 and BF3 in the same version.
  • Certain commands disabled on "Official" BF4 servers.
  • Both plugin description fetching and player list processing are now being processed async to avoid procon panic.
  • The universal version of XpKiller's stat logger is now supported. Both versions of stat logger are supported.
  • Source ID has been added to the records table. Records will remain connected to a player even if their name changes.
  • Player ID is now added to all stored chatlogs. XpKillers chat log table is automatically modified to include player ID; Thus chat logging functions are taken over by AdKats and force disabled on stat logger.
  • AdKats will enter backup mode if your database becomes unavailable temporarily, your connections max out, or it becomes overloaded. Stat logger will automatically be disabled if a disconnect is detected, and re-enabled once the connection issue has been resolved. This is to prevent procon from entering panic mode and ejecting either plugin from the runtime, requiring a layer restart to get them back.
  • Experimental tools updated to work on BF3 and BF4
  • Round timer added. Rounds can now be automatically ended after X minutes. Countdown to round end is given, and the current winning team will win.
  • Internal Hacker-Checker released publicly for BF3. This code has been in AdKats for months now, but was set to only activate on =ADK= servers. Uses BF3Stats for stat information. Do not use unless you read the documentation on github. BF4 version coming soon.
  • Round whitelisting of players is no-longer logged in the database
Link to comment

Originally Posted by mindleak*:

 

I keep getting this error:

 

[14:41:36 23] [AdKats] Initializing AdKats 3.7.0.0 components.

[14:41:36 23] [AdKats] SUCCESS: Server IP is 74.91.120.39:47200!

[14:41:36 25] [AdKats] DBCOMM: Starting Database Comm Thread

[14:41:36 71] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!

[14:41:36 79] [AdKats] DBCOMM: Ending Database Comm Thread

[14:41:36 90] [AdKats] AdKats 3.7.0.0 Disabled! =(

 

But PRoCon Chat, GUID, Stats and Map Logger 1.0.0.0 is indeed running.

 

They're (logger and AdKats) also using the same database and user info.

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

Originally Posted by tonnic*:

 

I got it running on one server from the same layer.. I now get the following

 

Code:

[13:59:24 05] [AdKats] Attempting database connection. Attempt 1 of 5.
[13:59:24 05] [AdKats] SUCCESS: Database connection open.
[13:59:24 19] [AdKats] WARNING: Updating your records table to include source ID. This may take some time if you have many records! Be patient!
[13:59:24 19] [AdKats] ERROR: Unable to add source_id column to records table.
[13:59:24 20] [AdKats] ERROR: Database structure errors detected, not set up for AdKats use.
I ran the same sql file on both databases.... weird.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I keep getting this error:

 

[14:41:36 23] [AdKats] Initializing AdKats 3.7.0.0 components.

[14:41:36 23] [AdKats] SUCCESS: Server IP is 74.91.120.39:47200!

[14:41:36 25] [AdKats] DBCOMM: Starting Database Comm Thread

[14:41:36 71] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!

[14:41:36 79] [AdKats] DBCOMM: Ending Database Comm Thread

[14:41:36 90] [AdKats] AdKats 3.7.0.0 Disabled! =(

 

But PRoCon Chat, GUID, Stats and Map Logger 1.0.0.0 is indeed running.

 

They're (logger and AdKats) also using the same database and user info.

Sometimes it can take a couple minutes for stat logger to add the server info to the database, wait a little bit and try again. If you want to confirm it, look in the tbl_server table for your server with IP 74.91.120.39:47200. Once stat logger adds your server with that IP address then AdKats can initialize.
Link to comment

Originally Posted by mindleak*:

 

Sometimes it can take a couple minutes for stat logger to add the server info to the database, wait a little bit and try again. If you want to confirm it, look in the tbl_server table for your server with IP 74.91.120.39:47200. Once stat logger adds your server with that IP address then AdKats can initialize.

Hmm... that table is empty. It's been running for a good 30 minutes.

 

But I do keep getting this from the stats logger:

 

[15:04:14 48] Error: Error in Startstreaming:

[15:04:14 48] Message: Cannot add or update a child row: a foreign key constraint fails (`adkats`.`tbl_server_player`, CONSTRAINT `fk_tbl_server_player_tbl_server` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE NO ACTION)

[15:04:14 51] Native: -2147467259

[15:04:14 51] Source: MySql.Data

[15:04:14 51] StackTrace: at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

[15:04:14 57] Error: Error in Startstreaming OuterException: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

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

Originally Posted by ColColonCleaner*:

 

I got it running on one server from the same layer.. I now get the following

 

Code:

[13:59:24 05] [AdKats] Attempting database connection. Attempt 1 of 5.
[13:59:24 05] [AdKats] SUCCESS: Database connection open.
[13:59:24 19] [AdKats] WARNING: Updating your records table to include source ID. This may take some time if you have many records! Be patient!
[13:59:24 19] [AdKats] ERROR: Unable to add source_id column to records table.
[13:59:24 20] [AdKats] ERROR: Database structure errors detected, not set up for AdKats use.
I ran the same sql file on both databases.... weird.
Welp, forgot to test one case and it bites me. Updated to 3.7.0.1. Should fix your issue.

 

https://raw.github.com/ColColonClean...ster/AdKats.cs

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hmm... that table is empty. It's been running for a good 30 minutes.

 

But I do keep getting this from the stats logger:

That is an error from stat logger, it is unable to add anything because the server ID doesn't exist. Something must have gone wrong when you installed stat logger, if you don't have any data in those tables you want to keep i would suggest dropping them and installing stat logger again.
Link to comment

Originally Posted by mindleak*:

 

That is an error from stat logger, it is unable to add anything because the server ID doesn't exist. Something must have gone wrong when you installed stat logger, if you don't have any data in those tables you want to keep i would suggest dropping them and installing stat logger again.

Well I was about to post how I did that several times to no avail... but I reloaded the plugins and now it's working just fine, lol.

 

Thanks for the help. :smile:

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




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