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

 

[22:15:11 16] [AdKats] EXCEPTION-6540-D-HandleException-PlayerListing11: [Error while fetching player.][MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EA_50D856841E037F76842067C0110E63C2'

 

' at line 11

at PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlComma nd command)

at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Boolean allowNameSubstringSearch, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)]

Getting this, using 6.5.4.0 hardline test build. known issue?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CoVeX*:

 

Hi,

 

wirth the test version from the post #3932, i become this error!

 

[16:53:55 29] [AdKats] ENABLED! Beginning startup sequence...

[16:53:56 09] [AdKats] SUCCESS: Fetched reputation definitions.

[16:53:56 59] [AdKats] SUCCESS: Fetched special player group definitions.

[16:53:56 60] [AdKats] ERROR-6540: [unable to confirm global timing. Global UTC Timestamp could not be fetched.]

[16:53:56 60] [AdKats] SUCCESS: Server IP is 5.101.166.110:33300

[16:53:56 60] [AdKats] SUCCESS: Database connection open.

[16:53:56 60] [AdKats] ERROR-6540: [Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!]

[16:53:56 60] [AdKats] INFO: Shutting down AdKats.

[16:53:56 62] [AdKats] SUCCESS: Database timing confirmed.

[16:53:57 15] [AdKats] AdKats 6.5.4.0 Disabled! =(

 

what can i do ?

 

Thanks in advance

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

Originally Posted by ColColonCleaner*:

 

Hi,

 

wirth the test version from the post #3932, i become this error!

 

[16:53:55 29] [AdKats] ENABLED! Beginning startup sequence...

[16:53:56 09] [AdKats] SUCCESS: Fetched reputation definitions.

[16:53:56 59] [AdKats] SUCCESS: Fetched special player group definitions.

[16:53:56 60] [AdKats] ERROR-6540: [unable to confirm global timing. Global UTC Timestamp could not be fetched.]

[16:53:56 60] [AdKats] SUCCESS: Server IP is 5.101.166.110:33300

[16:53:56 60] [AdKats] SUCCESS: Database connection open.

[16:53:56 60] [AdKats] ERROR-6540: [Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!]

[16:53:56 60] [AdKats] INFO: Shutting down AdKats.

[16:53:56 62] [AdKats] SUCCESS: Database timing confirmed.

[16:53:57 15] [AdKats] AdKats 6.5.4.0 Disabled! =(

 

what can i do ?

 

Thanks in advance

Do you have stat logger installed and running without error on your server?
Link to comment

Originally Posted by iraqiboy90*:

 

3,5 seconds average for executing the tell command until it tells me "3,5second" (because I have my soldier as the debugger), is it normal?

Trying to understand if my database needs optimisation or the plugin is this slow

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

Originally Posted by ColColonCleaner*:

 

3,5 seconds average for executing the tell command until it tells me "3,5second" (because I have my soldier as the debugger), is it normal?

Trying to understand if my database needs optimisation or the plugin is this slow

Something is wrong on your end. Avg i've seen for that command is 100-300ms.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

How do I diagnose this?

Firstly I would say watch in game to see how long it takes after entering the command for the tell to show. That duration is the total time for all command actions and database work, so it could be shorter in game.

 

Secondly change your debug level to at least 1 and reboot your layer. When AdKats starts up and starts loading players it will display how long it takes to load each player. What is the average duration?

Link to comment

Originally Posted by iraqiboy90*:

 

Firstly I would say watch in game to see how long it takes after entering the command for the tell to show. That duration is the total time for all command actions and database work, so it could be shorter in game.

 

Secondly change your debug level to at least 1 and reboot your layer. When AdKats starts up and starts loading players it will display how long it takes to load each player. What is the average duration?

ok, I will try this out.

 

What I've just noticed is:

I had 8gb ram set on my VPS and had the table_cache set on 3200. Then I decided to reduce the ram to 2gb, but forgot about this setting.

Running mysqltuner.pl with ssh tells me that the "Max possible memory usage" is set on 3,2gb (177% of installed RAM).

Running htop tells me that only 947MB is being used, and the rest is cached..

Can this be an issue?

 

Edit:

So, i've just tried the ingame counting with a stop-watch.

The tell command takes about 1750ms seconds to display the say and yell, and then the debugger tells me 3100ms

 

Edit 2:

Restarted the procon server. Adkats uses avg 3100ms for each player

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

Originally Posted by ColColonCleaner*:

 

ok, I will try this out.

 

What I've just noticed is:

I had 8gb ram set on my VPS and had the table_cache set on 3200. Then I decided to reduce the ram to 2gb, but forgot about this setting.

Running mysqltuner.pl with ssh tells me that the "Max possible memory usage" is set on 3,2gb (177% of installed RAM).

Running htop tells me that only 947MB is being used, and the rest is cached..

Can this be an issue?

 

Edit:

So, i've just tried the ingame counting with a stop-watch.

The tell command takes about 1750ms seconds to display the say and yell, and then the debugger tells me 3100ms

 

Edit 2:

Restarted the procon server. Adkats uses avg 3100ms for each player

That's more than 3x slower than the times on our remote database.

 

Wait, your database is local on the VPS right? For that it would be nearly instantaneous loading for each player, less than 10-20ms per player, full startup taking no more than 15 seconds.

Link to comment

Originally Posted by iraqiboy90*:

 

That's more than 3x slower than the times on our remote database.

 

Wait, your database is local on the VPS right? For that it would be nearly instantaneous loading for each player, less than 10-20ms per player, full startup taking no more than 15 seconds.

The DB is on the VPS. ProCon is on another VPS located somewhere else.

The ping between the two is about 64ms

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

Originally Posted by ColColonCleaner*:

 

The DB is on the VPS. ProCon is on another VPS located somewhere else.

The ping between the two is about 64ms

Ok, it's remote. A measurable delay is to be expected, but over 3 seconds per player loaded is a long time. I have seen layers running anywhere from 10ms per player loaded to 6000ms, it's all up to the connection and hardware. Ours sits at almost exactly 1000ms per player loaded using a remote database.

 

It's directly related to the query and transfer rates between your two boxes.

Link to comment

Originally Posted by iraqiboy90*:

 

Ok, it's remote. A measurable delay is to be expected, but over 3 seconds per player loaded is a long time. I have seen layers running anywhere from 10ms per player loaded to 6000ms, it's all up to the connection and hardware. Ours sits at almost exactly 1000ms per player loaded using a remote database.

 

It's directly related to the query and transfer rates between your two boxes.

I've just moved the ProCon from that server to the same machine the DB is hosted at. Now it only takes maximum 300ms :smile:

 

 

Btw, what is the chunk size for the packets sent by Adkats?

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

Originally Posted by SmackDown*:

 

Hmmm. Alright, you are using ban enforcer, which means it is fetching actions from the database. Check your adkats_records_main table for records with adkats_read = 'N'. If you find any, check the server ID for that record and make sure it matches the ID of the server you want to act on it. You can find the server ID at the top of AdKats settings when the plugin is running.

I have search my data base and my adkats_records_main table all read ='Y".

 

I still am not able to issue punishments through BF4adminCp nor can any of my admins. We can issue punishments through the game console though.

 

Any suggestions?

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

Originally Posted by ColColonCleaner*:

 

I have search my data base and my adkats_records_main table all read ='Y".

 

I still am not able to issue punishments through BF4adminCp nor can any of my admins. We can issue punishments through the game console though.

 

Any suggestions?

Change debug level to 7. Issue a command though the admincp, confirm all records are Y again, then send me the plugin debug logs for that time.
Link to comment

Originally Posted by SmackDown*:

 

Change debug level to 7. Issue a command though the admincp, confirm all records are Y again, then send me the plugin debug logs for that time.

Here is the Debug file you requested. I attempted to enter a punishment on a player named z1Rezin

 

 

 

z1Rezin

 

 

 

 

[08:50:55] [AdKats] 7:sad:main:10) Entering queueKillForProcessing

[08:50:55] [AdKats] 6:sad:main:10) Preparing to queue kill for processing

[08:50:55] [AdKats] 6:sad:main:10) Kill queued for processing

[08:50:55] [AdKats] 7:sad:main:10) Exiting queueKillForProcessing

[08:50:55] [AdKats] 7:sad:KillProcessing:23) Entering Kill Processing Thread Loop

[08:50:55] [AdKats] 7:sad:main:10) Exiting OnPlayerKilled

[08:50:55] [AdKats] 7:sad:KillProcessing:23) Preparing to lock inbound kill queue to retrive new player kills

[08:50:55] [AdKats] 6:sad:KillProcessing:23) Inbound kills found. Grabbing.

[08:50:55] [AdKats] 6:sad:KillProcessing:23) begin reading player kills

[08:50:55] [AdKats] 7:sad:KillProcessing:23) uploadWeaponCode starting!

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Setting [KAOS]xlilmissmjx time of death to 3/29/2015 8:50:55 AM

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Exiting OnPlayerKilled

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Entering Kill Processing Thread Loop

[08:50:56] [AdKats] 6:sad:KillProcessing:23) No inbound player kills. Waiting for Input.

[08:50:56] [AdKats] 7:sad:BanEnforcer:29) Entering Ban Enforcer Thread Loop

[08:50:56] [AdKats] 6:sad:BanEnforcer:29) No inbound ban checks. Waiting for Input.

[08:50:56] [AdKats] 7:sad:main:46) Entering OnPlayerKilled

[08:50:56] [AdKats] 7:sad:main:46) Entering queueKillForProcessing

[08:50:56] [AdKats] 6:sad:main:46) Preparing to queue kill for processing

[08:50:56] [AdKats] 6:sad:main:46) Kill queued for processing

[08:50:56] [AdKats] 7:sad:main:46) Exiting queueKillForProcessing

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Entering Kill Processing Thread Loop

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Preparing to lock inbound kill queue to retrive new player kills

[08:50:56] [AdKats] 7:sad:main:46) Exiting OnPlayerKilled

[08:50:56] [AdKats] 6:sad:KillProcessing:23) Inbound kills found. Grabbing.

[08:50:56] [AdKats] 6:sad:KillProcessing:23) begin reading player kills

[08:50:56] [AdKats] 7:sad:KillProcessing:23) uploadWeaponCode starting!

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Setting z1Rezin time of death to 3/29/2015 8:50:56 AM

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Setting z1Rezin time of death to 3/29/2015 8:50:56 AM

[08:50:56] [AdKats] 7:sad:DatabaseComm:26) Entering Database Comm Thread Loop

[08:50:56] [AdKats] 7:sad:DatabaseComm:26) Skipping server ID fetch. Server ID: 1

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Exiting OnPlayerKilled

[08:50:56] [AdKats] 7:sad:DatabaseComm:26) Skipping DB action fetch

[08:50:56] [AdKats] 7:sad:KillProcessing:23) Entering Kill Processing Thread Loop

[08:50:56] [AdKats] 7:sad:DatabaseComm:26) No inbound user changes.

[08:50:56] [AdKats] 6:sad:KillProcessing:23) No inbound player kills. Waiting for Input.

[08:50:56] [AdKats] 7:sad:DatabaseComm:26) No unprocessed records. Waiting for input

[08:50:57] [AdKats] 7:sad:TeamSwap:28) Entering TeamSwap Thread Loop

[08:50:57] [AdKats] 5:sad:TeamSwap:28) Team Info: RU: 14/32 CN: 16/32

[08:50:57] [AdKats] 6:sad:TeamSwap:28) No players to swap. Waiting for Input.

[08:50:57] [AdKats] 7:sad:Command:25) Entering Command Parsing Thread Loop

[08:50:57] [AdKats] 7:sad:Command:25) No inbound commands, ready.

[08:50:57] [AdKats] 7:sad:IPAPIComm:32) Entering IP API Comm Thread Loop

[08:50:58] [AdKats] 6:sad:IPAPIComm:32) No inbound players. Waiting.

[08:50:58] [AdKats] 7:sad:main:46) Entering OnServerInfo

[08:50:58] [AdKats] 6:sad:main:46) FeedStatLoggerSettings starting!

[08:50:58] [AdKats] 6:sad:main:46) FeedStatLoggerSettings finished!

[08:50:58] [AdKats] 7:sad:main:46) Exiting OnServerInfo

[08:50:58] [AdKats] 7:sad:main:46) Entering OnListPlayers

[08:50:58] [AdKats] 7:sad:main:46) Entering QueuePlayerListForProcessing

[08:50:58] [AdKats] 6:sad:main:46) Preparing to queue player list for processing

[08:50:58] [AdKats] 6:sad:main:46) Player list queued for processing

[08:50:58] [AdKats] 7:sad:main:46) Exiting QueuePlayerListForProcessing

[08:50:58] [AdKats] 7:sad:main:46) Exiting QueuePlayerListForProcessing

[08:50:[08:50:58] [AdKats] 7:sad:main:46) Exiting OnListPlayers

[08:50:58] [AdKats] 7:sad:PlayerListing:9) Preparing to lock player list queues to retrive new player lists

[08:50:58] [AdKats] 6:sad:PlayerListing:9) Inbound player lists found. Grabbing.

[08:50:58] [AdKats] 5:sad:PlayerListing:9) Listing Players

[08:50:58] [AdKats] 7:sad:PlayerListing:9) Entering Player Listing Thread Loop

[08:50:58] [AdKats] 7:sad:TeamSwap:28) Entering TeamSwap Thread Loop

[08:50:58] [AdKats] 5:sad:PlayerListing:9) No inbound player lists or removals found. Waiting for Input.

[08:50:58] [AdKats] 5:sad:TeamSwap:28) Team Info: RU: 14/32 CN: 16/32

[08:50:58] [AdKats] 6:sad:TeamSwap:28) No players to swap. Waiting for Input.

[08:50:58] [AdKats] 6:sad:main:46) FetchAuthorizedSoldiers starting!

[08:50:58] [AdKats] 6:sad:main:46) FetchAuthorizedSoldiers finished!

[08:50:58] [AdKats] 6:sad:main:6) SendAuthorizedSoldiers starting!

[08:50:58] [AdKats] 6:sad:SendAuthorizedSoldiers:6) SendAuthorizedSoldiers finished!

[08:50:58] [AdKats] 5:sad:main:39) Reserved slots listed.

[08:50:59] [AdKats] 7:sad:ActionHandling:27) Entering Action Thread Loop

[08:50:59] [AdKats] 6:sad:ActionHandling:27) No inbound actions. Waiting.

[08:50:59] [AdKats] 7:sad:BattlelogComm:31) Entering Battlelog Comm Thread Loop

[08:50:59] [AdKats] 6:sad:BattlelogComm:31) No inbound players. Waiting.

[

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

Originally Posted by Talzac*:

 

stupid question.

is there a way to add half admins?

as in, only able to kill and kick players from a server ?

Yes :-) create a new user group and grant them only that rights and then assaign that user group to your almost admin users works fine for me.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by iraqiboy90*:

 

stupid question.

is there a way to add half admins?

as in, only able to kill and kick players from a server ?

Yes :-) create a new user group and grant them only that rights and then assaign that user group to your almost admin users works fine for me.
@...*

or you can give them the punish command. Even better and it can add up to bans.

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