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

 

It doesn't work at all, or are there only 15 in the list? Did you enable automatic spectator slot for admins?

It doesnt work at all. There are 8 Users. I have both Feed Server Spectator List and Automatic Spectator Slot For User Cache set to True. Actually cant even set the latter to False.

 

Today was the first time for me to set these. I originally had the player names set in the spectator list but when I turned on the above it cleared out all names.

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

Originally Posted by Prophet731*:

 

What steps did you make to set it up? I tried that guide in here somewhere, but most of the plugins didn't work when i tried a while back.

Followed those same steps but im on Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1). The plugins compile fine.

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

Originally Posted by Chelrid*:

 

Run this, and PM me the result:

 

Code:

SELECT TABLE_NAME as table_name
FROM
INFORMATION_SCHEMA.TABLES
WHERE
TABLE_SCHEMA = theirschemaname
AND 
ENGINE <> 'InnoDB';
Result: #1054 - Unknown column 'theirschemaname' in 'where clause'
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

It doesnt work at all. There are 8 Users. I have both Feed Server Spectator List and Automatic Spectator Slot For User Cache set to True. Actually cant even set the latter to False.

 

Today was the first time for me to set these. I originally had the player names set in the spectator list but when I turned on the above it cleared out all names.

Strange, i'll look into it. I remember back when it was first implemented it worked, but the BF4 servers have a 15 player spectator whitelist limit for some reason, so it was never used. Maybe something changed from then till now.
Link to comment

Originally Posted by MadSochi*:

 

Query:

ALTER TABLE `adkats_rolecommands`

ADD CONSTRAINT `adkats_rolecommands_fk_role` FOREIGN KEY (`role_id`) REFERENCES `adkats_roles` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE,

ADD CONSTRAINT `adkats_rolecommands_fk_command` FOREIGN KEY (`command_id`) REFERENCES `adkats_commands` (`command_id`) ON DELETE CASCADE ON UPDATE CASCADE

 

Error occured at:2014-11-01 15:31:15

Line no.:521

Error Code: 1452 - Cannot add or update a child row: a foreign key constraint fails (`adkats`., CONSTRAINT `adkats_rolecommands_fk_command` FOREIGN KEY (`command_id`) REFERENCES `adkats_commands` (`command_id`) ON DELETE CASCADE)

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

Originally Posted by Chelrid*:

 

Run this, and PM me the result:

 

Code:

SELECT TABLE_NAME as table_name
FROM
INFORMATION_SCHEMA.TABLES
WHERE
TABLE_SCHEMA = theirschemaname
AND 
ENGINE <> 'InnoDB';
Code:
MySQL lieferte ein leeres Resultat zurück (d.h. null Zeilen). ( die Abfrage dauerte 0.0008 sek. )
SELECT TABLE_NAME AS table_name
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 's577441'
AND
ENGINE <> 'InnoDB';

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

Originally Posted by TMiland*:

 

Spewing out these errors now: Code:

[14:52:44 74] [AdKats] EXCEPTION: Line Unknown: [DamageHackCheck][Error running DPS hack check]: System.NullReferenceException: Object reference not set to an instance of an object.
   at PRoConEvents.AdKats.DamageHackCheck(AdKatsPlayer aPlayer, Boolean debugMode)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDown*:

 

Those commands feed the adkats_specialplayers table.

When I go into my database and look in the adkats_specialplayers table, this is what I see: "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)"

 

I manually entered a player into the admin assistant file by entering the code aawhitelist and players name. It accepted the command but I cannot see his name in the special player table. Also, He filed a @player report and the report does not have AA next to his name. Also, if I enter his name manually, is he always an admin assistant or does it end after the match ends? (Actually, I entered the players name through Procon. When I reentered his name, it says that the matching player is already in the admin Assistant whitelist. So I assume that he is still an admin assistant regardless if the round ends or not, is that correct?

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

Originally Posted by ColColonCleaner*:

 

Spewing out these errors now: Code:

[14:52:44 74] [AdKats] EXCEPTION: Line Unknown: [DamageHackCheck][Error running DPS hack check]: System.NullReferenceException: Object reference not set to an instance of an object.
   at PRoConEvents.AdKats.DamageHackCheck(AdKatsPlayer aPlayer, Boolean debugMode)
Please enable plugin debugging and reboot your layer.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

When I go into my database and look in the adkats_specialplayers table, this is what I see: "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)"

 

I manually entered a player into the admin assistant file by entering the code aawhitelist and players name. It accepted the command but I cannot see his name in the special player table. Also, He filed a @player report and the report does not have AA next to his name. Also, if I enter his name manually, is he always an admin assistant or does it end after the match ends? (Actually, I entered the players name through Procon. When I reentered his name, it says that the matching player is already in the admin Assistant whitelist. So I assume that he is still an admin assistant regardless if the round ends or not, is that correct?

Ok, i'll see if i can test this later today.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Query:

ALTER TABLE `adkats_rolecommands`

ADD CONSTRAINT `adkats_rolecommands_fk_role` FOREIGN KEY (`role_id`) REFERENCES `adkats_roles` (`role_id`) ON DELETE CASCADE ON UPDATE CASCADE,

ADD CONSTRAINT `adkats_rolecommands_fk_command` FOREIGN KEY (`command_id`) REFERENCES `adkats_commands` (`command_id`) ON DELETE CASCADE ON UPDATE CASCADE

 

Error occured at:2014-11-01 15:31:15

Line no.:521

Error Code: 1452 - Cannot add or update a child row: a foreign key constraint fails (`adkats`., CONSTRAINT `adkats_rolecommands_fk_command` FOREIGN KEY (`command_id`) REFERENCES `adkats_commands` (`command_id`) ON DELETE CASCADE)

Try this version of the setup script: https://raw.githubusercontent.com/Co...ter/adkats.sql
Link to comment

Originally Posted by Chelrid*:

 

Update: The SQL Script worked without Error, but when i was enable AdKats in Procon the hole Layer crashed and was unreachable.

Code:
[19:46:29 62] [AdKats] ENABLED! Beginning startup sequence...
[19:46:30 83] [AdKats] SUCCESS: Populated reputation dictionaries.
[19:46:30 94] [AdKats] SUCCESS: Populated group dictionaries.
[19:46:30 94] [AdKats] SUCCESS: Server IP is 5.101.165.101:30300
[19:46:31 03] [AdKats] SUCCESS: Database connection open.
[19:46:31 33] ProconRulz: JuliderBosss killed xXxNIgHtCorexXx with SMG U_Scorpion
[19:46:31 61] [AdKats] SUCCESS: Database confirmed functional for AdKats use.
[19:46:31 69] [AdKats] EXCEPTION: Line Unknown: [GetGlobalUTCTimestamp][Error while getting global UTC Timestamp]: System.ArgumentOutOfRangeException: Value to add was out of range.
Parameter name: value
   at System.DateTime.Add(Double value, Int32 scale)
   at PRoConEvents.AdKats.DateTimeFromEpochSeconds(Double epochSeconds)
   at PRoConEvents.AdKats.GetGlobalUTCTimestamp(DateTime& UTCTime)
[19:46:31 69] [AdKats] EXCEPTION: Line Unknown: [DatabaseCommunicationThreadLoop][Error occured in Database Comm thread. Skipping current loop.]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at PRoConEvents.AdKats.HandleException(AdKatsException aException)
   at PRoConEvents.AdKats.GetGlobalUTCTimestamp(DateTime& UTCTime)
   at PRoConEvents.AdKats.TestDatabaseConnection()
   at PRoConEvents.AdKats.DatabaseCommunicationThreadLoop()
[19:46:31 69] [AdKats] EXCEPTION: Line Unknown: [DatabaseCommunicationThreadLoop][Error occured in database comm thread.]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at PRoConEvents.AdKats.HandleException(AdKatsException aException)
   at PRoConEvents.AdKats.DatabaseCommunicationThreadLoop()
[19:47:08 52] [AdKats] SUCCESS: Database connection open.
[19:47:09 02] [AdKats] SUCCESS: Database confirmed functional for AdKats use.
[19:47:09 04] [AdKats] EXCEPTION: Line Unknown: [GetGlobalUTCTimestamp][Error while getting global UTC Timestamp]: System.ArgumentOutOfRangeException: Value to add was out of range.
Parameter name: value
   at System.DateTime.Add(Double value, Int32 scale)
   at PRoConEvents.AdKats.DateTimeFromEpochSeconds(Double epochSeconds)
   at PRoConEvents.AdKats.GetGlobalUTCTimestamp(DateTime& UTCTime)
[19:47:09 05] [AdKats] EXCEPTION: Line Unknown: [DatabaseCommunicationThreadLoop][Error occured in Database Comm thread. Skipping current loop.]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at PRoConEvents.AdKats.HandleException(AdKatsException aException)
   at PRoConEvents.AdKats.GetGlobalUTCTimestamp(DateTime& UTCTime)
   at PRoConEvents.AdKats.TestDatabaseConnection()
   at PRoConEvents.AdKats.DatabaseCommunicationThreadLoop()
[19:47:09 05] [AdKats] EXCEPTION: Line Unknown: [DatabaseCommunicationThreadLoop][Error occured in database comm thread.]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at PRoConEvents.AdKats.HandleException(AdKatsException aException)
   at PRoConEvents.AdKats.DatabaseCommunicationThreadLoop()
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Update: The SQL Script worked without Error, but when i was enable AdKats in Procon the hole Layer crashed and was unreachable.

Some people had this issue after the latest patch. Try this version: https://raw.githubusercontent.com/Co...ster/AdKats.cs

 

Getting all the kinks out before i push a new one.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

It doesnt work at all. There are 8 Users. I have both Feed Server Spectator List and Automatic Spectator Slot For User Cache set to True. Actually cant even set the latter to False.

 

Today was the first time for me to set these. I originally had the player names set in the spectator list but when I turned on the above it cleared out all names.

Ok, i found the issue. I'll post the update after i get a few more tickets done.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

When I go into my database and look in the adkats_specialplayers table, this is what I see: "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)"

 

I manually entered a player into the admin assistant file by entering the code aawhitelist and players name. It accepted the command but I cannot see his name in the special player table. Also, He filed a @player report and the report does not have AA next to his name. Also, if I enter his name manually, is he always an admin assistant or does it end after the match ends? (Actually, I entered the players name through Procon. When I reentered his name, it says that the matching player is already in the admin Assistant whitelist. So I assume that he is still an admin assistant regardless if the round ends or not, is that correct?

I just tested it, at least with the latest version, and it works. I didn't change anything, to my knowledge anyway, so when i post the latest update just try that version.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

any tips for DOM and the auto surrender?

 

my last rly unbalanced round was [23:41:49] AdKats > US Rate: -6.46 t/m | CN Rate: -48.32 t/m

 

Thanks

I would suggest placing the values as follows:

 

min ticket gap: your choice, depending on your server's total ticket count. nothing less than 100, unless you're running like 200 ticket DOM.

winning max: 0

winning min: -10

losing max: -45

losing min: -100

trigger count: 3-5 depending on your findings

 

Play around with the values after a while and see if it's triggering too soon or too late.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

we playing tdm and dom. - do you think that could be problems? (because one gametype is with + tickets and the other one with -)

 

Thy

Never run auto-surrender on mixed mode.

 

EDIT: To clarify, don't run it on mixed mode of the same ticket loss type, for example DOM and conquest, because they will be different values to trigger. Running it on DOM and TDM specifically shouldn't be an issue.

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.