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

 

To enable plugin debugging in your procon.cfg file on the layer side there is a enablePluginDebugging setting. Change that from False to True. Reboot your layer. Once that is enabled you should see the D in those exceptions change to a number, or see the :0 change to a file name and line number. That's the info I need.

Code:
[19:36:13 56] [AdKats] EXCEPTION-68078-D-FetchPlayerStatInformation-HackerChecker36: [Error while parsing player stats data.][System.NullReferenceException: Object reference not set to an instance of an object
  at PRoConEvents.AdKats.FetchPlayerStatInformation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in <filename unknown>:0 ]

procon.private.options.enablePluginDebugging True

Any guesses why not changed error?

 

My full cfg without server details:

/////////////////////////////////////////////

// This config will be overwritten by procon.

/////////////////////////////////////////////

procon.private.window.position Normal 0 0 0 0

procon.private.options.setLanguage "au.loc"

procon.private.options.chatLogging False

procon.private.options.consoleLogging False

procon.private.options.eventsLogging False

procon.private.options.pluginLogging False

procon.private.options.autoCheckDownloadUpdates False

procon.private.options.autoApplyUpdates False

procon.private.options.autoCheckGameConfigsForUpda tes True

procon.private.options.showtrayicon True

procon.private.options.minimizetotray False

procon.private.options.closetotray False

procon.private.options.allowanonymoususagedata False

procon.private.options.runPluginsInSandbox False

procon.private.options.allowAllODBCConnections False

procon.private.options.allowAllSmtpConnections False

procon.private.options.adminMoveMessage True

procon.private.options.chatDisplayAdminName True

procon.private.options.EnableAdminReason False

procon.private.options.layerHideLocalPlugins True

procon.private.options.layerHideLocalAccounts True

procon.private.options.ShowRoundTimerConstantly False

procon.private.options.ShowCfmMsgRoundRestartNext True

procon.private.options.ShowDICESpecialOptions False

procon.private.httpWebServer.enable False 27360 "0.0.0.0"

procon.private.options.trustedHostDomainsPorts

procon.private.options.statsLinkNameUrl Metabans http://metabans.com/search/%player_name%

procon.private.options.pluginMaxRuntime 0 59

procon.private.options.UsePluginOldStyleLoad False

procon.private.options.enablePluginDebugging True

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

Originally Posted by ColColonCleaner*:

 

Code:

[19:36:13 56] [AdKats] EXCEPTION-68078-D-FetchPlayerStatInformation-HackerChecker36: [Error while parsing player stats data.][System.NullReferenceException: Object reference not set to an instance of an object
  at PRoConEvents.AdKats.FetchPlayerStatInformation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in <filename unknown>:0 ]
Any guesses why not changed error?

 

My full cfg without server details:

You should see AdKats.dll, AdKats.cs, and AdKats.pdb files in your /BF4 directory. Do you see these files?
Link to comment

Originally Posted by schmoove*:

 

I moved the database from an online host to a local machine, that I also run procon on, exported tables from the online host, then imported them in to the local database. I have noticed since that !punish looks like it works but then never gets stored in the database, I don't know if something is locked in a table or I missed something on the export/import. Is there anyway to check if all structure is there with a script or something that won't wipe the tables, or is something else causing this issue?

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

Originally Posted by smogsy*:

 

So tonight the following happened.

 

All

adkats Roles Settings reset to Deny for everything

Adkat Role Group settings reset to Deny for everything.

All bans Wiped.

 

i guess either go to a backup. or start from scratch.

 

Auto Update on.

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

Originally Posted by mambochambo*:

 

hello-

i get this error:

ERROR-68079: [unable to confirm global timing. Global UTC Timestamp could not be fetched

i set UTC for my Database, but i still getting this error. Can somebody help me to fix that?

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

Originally Posted by iraqiboy90*:

 

It doesnt seem to fire

 

US was the loosing team at this line

 

US Rate: -20.92 (-18.58) t/m | RU Rate: -1.97 (0) t/m | ConquestLarge0

 

Settings:

Loosing team Max -100

Loosing team Min -15

Winning team Max -5

Winning team Min 0

Triggers 1

Ticket gap 100

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

Originally Posted by QuadPrime*:

 

This is definitly not fixed. I still cant ignore Spectator Blacklist for the role Full Admin. AdKats accepts it, and changes that back in a matter of seconds. (this was the post)

 

well seince i appear to be the only one haiving this issue i guess i'll have to work it around somehow...

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

Originally Posted by wdfstryfe*:

 

What is crashing?

PRoCon crashes on a regular basis. After a few days of the server running you can issue a command in game and it wont actually see it occurring for sometimes up to 5 minutes. I know it has something to do with the database but I'm not sure how to go about correcting it. Is there any queries I can run to clean up bad or old records? Chat logs?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hodor*:

 

[21:30:25 98] [AdKats] INFO: STATDIFF - MrGlanzz - M9 [1/1][100 DPS][+85%]

[21:30:53 54] [AdKatsLRT] SgtBratwurst2808 SPAWN KILLED for invalid loadout.

[21:31:16 95] [AdKats] INFO: STATDIFF - BOBAH2142 - CZ3A1 [3/8][38 DPS][+56%]

[21:31:35 97] [AdKatsLRT] dmsda JOIN KILLED for invalid loadout.

[21:31:36 64] [AdKats] EXCEPTION-68078-D-FetchPlayerStatInformation-HackerChecker36: [Error while parsing player stats data.][system.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.FetchPlayerStatInformation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0 ]

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

Originally Posted by Fonta*:

 

Hi CCC,

 

We are currently running adkats on a procon layer hosted at gamed.de.

Since they are running procon in sandbox mode, I have to add every host plugins connects to, to a whitelist.cfg.

 

The current entries in the list are:

Code:

149.210.183.21:3306
api.bf3stats.com:80
api.bf3stats.com:443
api.bf4stats.com:80
api.bf4stats.com:443

sourceforge.net:80
sourceforge.net:443
api.gamerethos.net:80
api.gamerethos.net:443
ip-api.com:80
ip-api.com:443
metabans.com:80
metabans.com:443
www.timeanddate.com:80
www.timeanddate.com:443

githubusercontent.com:80
github.com
github.com:80
raw.github.com:80
raw.github.com:443
192.30.252.128:80
raw.githubusercontent.com
raw.githubusercontent.com:80
raw.githubusercontent.com:443
185.31.17.133:80
gamerethos.net
gamerethos.net:80
104.28.13.90:80
But I'm still getting this error:

Code:

[14:51:18 18] [AdKats] EXCEPTION-68078-D-<CheckForPluginUpdates>b__d4b-PluginUpdater16: [Error while running update thread.][System.Security.SecurityException: Fehler bei der Anfrage.
   bei PRoConEvents.AdKats.CompilePluginSource(String pluginSource)
   bei PRoConEvents.AdKats.UpdateExtensions(String dllPath)
   bei PRoConEvents.AdKats.<CheckForPluginUpdates>b__d4b()
Die Aktion, bei der ein Fehler aufgetreten ist:
LinkDemand
Der Typ der ersten Berechtigung, bei der ein Fehler aufgetreten ist:
System.Security.PermissionSet
Die Zone der Assembly, bei der ein Fehler aufgetreten ist:
MyComputer]
What should I add to the whitelist?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

AdKats.cs, AdKats.dll and AdKats.dll.mdb

Strange, i guess linux does not produce those file types. Sorry, i do not offer full support for that operating system for reasons previously mentioned. At least for this time. I have never done full testing on it and don't have the time/ability to do so right now.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I moved the database from an online host to a local machine, that I also run procon on, exported tables from the online host, then imported them in to the local database. I have noticed since that !punish looks like it works but then never gets stored in the database, I don't know if something is locked in a table or I missed something on the export/import. Is there anyway to check if all structure is there with a script or something that won't wipe the tables, or is something else causing this issue?

Sounds like your tables/triggers are messed up. You need to do the following.

 

Firstly check that you have two triggers on your adkats_records_main table, one for add and one for delete. If you do not have these, tell me, and don't continue through these steps.

 

Shut down your layers.

 

Back up your records table. Just that table.

 

TRUNCATE `adkats_records_main`;

TRUNCATE `adkats_records_debug`;

TRUNCATE `adkats_infractions_global`;

TRUNCATE `adkats_infractions_server`;

 

Re-import your records table.

 

Your infractions will be correct again.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

So tonight the following happened.

 

All

adkats Roles Settings reset to Deny for everything

Adkat Role Group settings reset to Deny for everything.

All bans Wiped.

 

i guess either go to a backup. or start from scratch.

 

Auto Update on.

If your bans are gone something else happened outside this system, there is no code in the plugin to delete bans from the database. It sounds like something wiped out your adkats_rolecommands and adkats_bans tables, which would cause what your are seeing. Either way it's not possible from within the plugin.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

hello-

i get this error:

ERROR-68079: [unable to confirm global timing. Global UTC Timestamp could not be fetched

i set UTC for my Database, but i still getting this error. Can somebody help me to fix that?

I should remove that message. It does not affect the plugin's function as i have backup systems in place, it should only be a warning.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

It doesnt seem to fire

 

US was the loosing team at this line

 

US Rate: -20.92 (-18.58) t/m | RU Rate: -1.97 (0) t/m | ConquestLarge0

 

Settings:

Loosing team Max -100

Loosing team Min -15

Winning team Max -5

Winning team Min 0

Triggers 1

Ticket gap 100

-15 is not smaller than -100, you have your min/max flipped around. Open a ticket for me to make that impossible to enter that way. Min should not be bigger than max, -15 is bigger than -100.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

This is definitly not fixed. I still cant ignore Spectator Blacklist for the role Full Admin. AdKats accepts it, and changes that back in a matter of seconds. (this was the post)

 

well seince i appear to be the only one haiving this issue i guess i'll have to work it around somehow...

Send me creds for your layer and i'll look at it.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

PRoCon crashes on a regular basis. After a few days of the server running you can issue a command in game and it wont actually see it occurring for sometimes up to 5 minutes. I know it has something to do with the database but I'm not sure how to go about correcting it. Is there any queries I can run to clean up bad or old records? Chat logs?

You aren't doing daily layer reboots? That's generally a good idea, I would consider setting that up.

 

But, to check for database issues. Reboot your layer and wait till AdKats has been running for 5-10 minutes, then enter 3958 as the debug level in AdKats. That will spit out metrics for how long it takes for average queries to your db. Let me know what those numbers are.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

[21:30:25 98] [AdKats] INFO: STATDIFF - MrGlanzz - M9 [1/1][100 DPS][+85%]

[21:30:53 54] [AdKatsLRT] SgtBratwurst2808 SPAWN KILLED for invalid loadout.

[21:31:16 95] [AdKats] INFO: STATDIFF - BOBAH2142 - CZ3A1 [3/8][38 DPS][+56%]

[21:31:35 97] [AdKatsLRT] dmsda JOIN KILLED for invalid loadout.

[21:31:36 64] [AdKats] EXCEPTION-68078-D-FetchPlayerStatInformation-HackerChecker36: [Error while parsing player stats data.][system.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.FetchPlayerStatInformation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0 ]

Interesting, some player's stats are coming through but others aren't. So this doesn't have to do with the same Linux issue I saw before. I still don't know where in that section this error is coming from. Open a ticket and i'll examine it closer now that i know it's not from the OS.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hi CCC,

 

We are currently running adkats on a procon layer hosted at gamed.de.

Since they are running procon in sandbox mode, I have to add every host plugins connects to, to a whitelist.cfg.

 

The current entries in the list are:

Code:

149.210.183.21:3306
api.bf3stats.com:80
api.bf3stats.com:443
api.bf4stats.com:80
api.bf4stats.com:443

sourceforge.net:80
sourceforge.net:443
api.gamerethos.net:80
api.gamerethos.net:443
ip-api.com:80
ip-api.com:443
metabans.com:80
metabans.com:443
www.timeanddate.com:80
www.timeanddate.com:443

githubusercontent.com:80
github.com
github.com:80
raw.github.com:80
raw.github.com:443
192.30.252.128:80
raw.githubusercontent.com
raw.githubusercontent.com:80
raw.githubusercontent.com:443
185.31.17.133:80
gamerethos.net
gamerethos.net:80
104.28.13.90:80
But I'm still getting this error:

Code:

[14:51:18 18] [AdKats] EXCEPTION-68078-D-<CheckForPluginUpdates>b__d4b-PluginUpdater16: [Error while running update thread.][System.Security.SecurityException: Fehler bei der Anfrage.
   bei PRoConEvents.AdKats.CompilePluginSource(String pluginSource)
   bei PRoConEvents.AdKats.UpdateExtensions(String dllPath)
   bei PRoConEvents.AdKats.<CheckForPluginUpdates>b__d4b()
Die Aktion, bei der ein Fehler aufgetreten ist:
LinkDemand
Der Typ der ersten Berechtigung, bei der ein Fehler aufgetreten ist:
System.Security.PermissionSet
Die Zone der Assembly, bei der ein Fehler aufgetreten ist:
MyComputer]
What should I add to the whitelist?
Just like insane limits, AdKats is not meant to run in sandbox. That error is from the plugin failing to compile the updated plugin source and write the updated plugin to your layer's file system. Sandboxing blocks that. You need to turn off sandbox.
Link to comment

Originally Posted by muhevana*:

 

Thanks for answering.

 

Yes im reading that installation manual again again and again. My little problem is this my eng is not very good. This plugin is installed and working " Procon Chat, GUID, Stats and Mapstats Logger " Step 3 Run the contents of the AdKats Database Setup Script on your database, on the same schema stat logger uses. This is making me a trouble. I maded copy that script txt but where i must paste it? I think here im stucked. :huh:

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

Originally Posted by ColColonCleaner*:

 

Thanks for answering.

 

Yes im reading that installation manual again again and again. My little problem is this my eng is not very good. This plugin is installed and working " Procon Chat, GUID, Stats and Mapstats Logger " Step 3 Run the contents of the AdKats Database Setup Script on your database, on the same schema stat logger uses. This is making me a trouble. I maded copy that script txt but where i must paste it? I think here im stucked. :huh:

You need to run the contents of the adkats.sql script on your database. If you don't know how, please ask your database host to run it.
Link to comment

Originally Posted by muhevana*:

 

You need to run the contents of the adkats.sql script on your database. If you don't know how, please ask your database host to run it.

Im now very confused. Here is message what nitrado sent me" there is no database for the battlefield server. Therefore, the named procedure by the developer can not be executed. "
* 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.