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

 

I had someone approach me tonight with a python script that can pull players info out of battlelog and show what they have equipped. Is there anyway that can be added to ADKats? Or any other type of plugin for that matter? It would be great if we can kill people if they have certain items in their loadout till it's changed.

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

Originally Posted by TMiland*:

 

I had someone approach me tonight with a python script that can pull players info out of battlelog and show what they have equipped. Is there anyway that can be added to ADKats? Or any other type of plugin for that matter? It would be great if we can kill people if they have certain items in their loadout till it's changed.

Try the insane limits request thread maybe? What a great idea! :smile:
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I had someone approach me tonight with a python script that can pull players info out of battlelog and show what they have equipped. Is there anyway that can be added to ADKats? Or any other type of plugin for that matter? It would be great if we can kill people if they have certain items in their loadout till it's changed.

I've already made a plugin for this, as an extension for AdKats. But it is under private testing, and for paid use only.
Link to comment

Originally Posted by iraqiboy90*:

 

When someone uses !admins to request list of online admins:

 

Code:

[16:23:46 29] [AdKats] EXCEPTION: Line Unknown: [SendOnlineAdmins][Error while sending online admins.]: 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.<SendOnlineAdmins>b__192(String current, AdKatsPlayer aPlayer)
   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
   at PRoConEvents.AdKats.SendOnlineAdmins(AdKatsRecord record)
Adkats 5.2.2.5
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

When someone uses !admins to request list of online admins:

 

Code:

[16:23:46 29] [AdKats] EXCEPTION: Line Unknown: [SendOnlineAdmins][Error while sending online admins.]: 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.<SendOnlineAdmins>b__192(String current, AdKatsPlayer aPlayer)
   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
   at PRoConEvents.AdKats.SendOnlineAdmins(AdKatsRecord record)
Adkats 5.2.2.5
Update to the latest test version please.
Link to comment

Originally Posted by wdfstryfe*:

 

I'm curious is there any way that a time based ping kicker can be added? For instance if the time is between 400pm pacific to 1200am pacific the ping limit is 100 anytime after that the ping limit would be 200.

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

Originally Posted by ColColonCleaner*:

 

I'm curious is there any way that a time based ping kicker can be added? For instance if the time is between 400pm pacific to 1200am pacific the ping limit is 100 anytime after that the ping limit would be 200.

Would a better way be a population based ping kick? We did this for a while, no limit below 50 players, from 50-62 a higher limit, and 63+ the lowest limit. If the server stayed full, the limit was lower, if the population dropped the limit went up.
Link to comment

Originally Posted by MRniceGuy*:

 

sorry a newbie i dont really know everything about mysql and databases

anyways i have installed "Procon Chat, GUID, Stats and Mapstats Logger" and it works fine

now i want to use this plugin but i'm stuck at a point when it says

"3. Set up the database. Run the contents of the AdKats Database Setup Script on your database, on the same schema stat logger uses."

which i dont understand anything :XD

 

so this is the AdKats Database Setup Script https://raw.githubusercontent.com/Co...ter/adkats.sql

i have no idea what is schema ? and how to run this script on the database that the stats loggers uses

what to do exactly

thank you

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

Originally Posted by ColColonCleaner*:

 

sorry a newbie i dont really know everything about mysql and databases

anyways i have installed "Procon Chat, GUID, Stats and Mapstats Logger" and it works fine

now i want to use this plugin but i'm stuck at a point when it says

"3. Set up the database. Run the contents of the AdKats Database Setup Script on your database, on the same schema stat logger uses."

which i dont understand anything :XD

 

so this is the AdKats Database Setup Script https://raw.githubusercontent.com/Co...ter/adkats.sql

i have no idea what is schema ? and how to run this script on the database that the stats loggers uses

what to do exactly

thank you

No problem man! Come to think of it I should probably change the wording a bit on the instructions.

 

You know the "Database Name" setting in stat logger? That is the specific one you need to run the script on. A MySQL database has named sections in it, they are called schemas, those schemas have tables, and the one you made for stat logger is the one you want. Just make sure you run the script on the same schema stat logger uses.

Link to comment

Originally Posted by MRniceGuy*:

 

great, i think i got it, now i know what is schema and its tables, but just in case... you have to tell me how to run a script on it because you didn't xD haha

so there is a section named "warever" and there is only stat logger tables in it like...

tbl_chatlog

tbl_currentplayers

tbl_dogtags

tbl_games...and so on

so this is the the schema that stat logger uses but how to run the script on it!? creating a new table?

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

Originally Posted by ColColonCleaner*:

 

great, i think i got it, now i know what is schema and its tables, but just in case... you have to tell me how to run a script on it because you didn't xD haha

so there is a section named "warever" and there is only stat logger tables in it like...

tbl_chatlog

tbl_currentplayers

tbl_dogtags

tbl_games...and so on

so this is the the schema that stat logger uses but how to run the script on it!? creating a new table?

What program do you use to interact with the database?

 

If you are using MySQL Workbench:

 

Right-click "warever" -> "Set as Default Schema"

Save the AdKats Setup SQL file to your disk, either using the URL, or the version from the .zip file.

File -> Open SQL Script -> Find an open the AdKats Setup SQL file

Ctrl+Enter to run it.

 

PHPMyAdmin:

https://www.siteground.com/tutorials...ysql_query.htm

Link to comment

Originally Posted by Jasonpb*:

 

First up a feature request, clan ban would be nice so that I could admin it along with mods through the bfadmin tool instead of using something like insane limits. We've had problems with certain clans hacking, glitching (eod bots) or just being disruptive and banning them one by one isn't really an option.

 

Second I'm getting this.

 

Code:

[17:19:23 11] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
[17:24:32 84] [AdKats] ERROR: Unable to find source weight for type|action: 8|72
[17:24:40 22] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
[17:24:50 81] [AdKats] ERROR: Unable to find source weight for type|action: 8|72
[17:24:57 64] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
[17:40:21 17] [AdKats] ERROR: Unable to find source weight for type|action: 8|72
[17:40:28 05] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

First up a feature request, clan ban would be nice so that I could admin it along with mods through the bfadmin tool instead of using something like insane limits. We've had problems with certain clans hacking, glitching (eod bots) or just being disruptive and banning them one by one isn't really an option.

 

Second I'm getting this.

 

Code:

[17:19:23 11] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
[17:24:32 84] [AdKats] ERROR: Unable to find source weight for type|action: 8|72
[17:24:40 22] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
[17:24:50 81] [AdKats] ERROR: Unable to find source weight for type|action: 8|72
[17:24:57 64] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
[17:40:21 17] [AdKats] ERROR: Unable to find source weight for type|action: 8|72
[17:40:28 05] [AdKats] EXCEPTION: Line Unknown: [FetchIPLocation][Error while parsing IP response information.]: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.String'.
   at PRoConEvents.AdKats.FetchIPLocation(String ip)
1. Auto ban by clan tag?

2. You are a tester, please update to the latest test version before posting exceptions. I believe that issue is already fixed.

Link to comment

Originally Posted by MRniceGuy*:

 

Hi

i dont use MySQL server on my pc so i dont think i need MySQL Workbench correct if i'm wrong please i'm literally new at this points

 

anyway following the tutorial about "Run MySQL Query" the last link you put.

so now i think the script is running on the same schema that stat logger uses because i see adkats tables next to stat logger tables in same schema, is it right?

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

Originally Posted by ColColonCleaner*:

 

Hi

i dont use MySQL server on my pc so i dont think i need MySQL Workbench correct if i'm wrong please i'm literally new at this points

 

anyway following the tutorial about "Run MySQL Query" the last link you put.

so now i think the script is running on the same schema that stat logger uses because i see adkats tables next to stat logger tables in same schema, is it right?

Yep that's correct, you can run AdKats now.

 

Workbench is not just for local databases, you can connect to any db, sand its more flexible than phpmyadmin.

Link to comment

Originally Posted by Jasonpb*:

 

1. Auto ban by clan tag?

2. You are a tester, please update to the latest test version before posting exceptions. I believe that issue is already fixed.

Yup, and ok :ohmy: (did look through the last few pages)

 

New errors..

 

Code:

[05:36:30 41] [AdKats] SUCCESS: AdKats 5.3.1.1 startup complete [18s]. Commands are now online.
[05:36:33 51] [AdKats] WARNING: Database connection fault detected. This is fault 2. Critical disconnect at 10.

Which then loops through this (hasn't stopped yet)

[05:40:19 09] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:19 59] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:20 09] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:20 59] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:21 10] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:21 60] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:22 10] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:22 60] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:23 10] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:23 60] [AdKats] WARNING: Threads still exiting: IPAPIComm[133]
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yup, and ok :ohmy: (did look through the last few pages)

 

New errors..

 

Code:

[05:36:30 41] [AdKats] SUCCESS: AdKats 5.3.1.1 startup complete [18s]. Commands are now online.
[05:36:33 51] [AdKats] WARNING: Database connection fault detected. This is fault 2. Critical disconnect at 10.

Which then loops through this (hasn't stopped yet)

[05:40:19 09] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:19 59] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:20 09] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:20 59] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:21 10] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:21 60] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:22 10] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:22 60] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:23 10] [AdKats] WARNING: Threads still exiting: IPAPIComm[133] 
[05:40:23 60] [AdKats] WARNING: Threads still exiting: IPAPIComm[133]
1. That first error is not an error, just a warning, startup should be fine.

2. Try rebooting your layer.

Link to comment

Originally Posted by Jasonpb*:

 

1. That first error is not an error, just a warning, startup should be fine.

2. Try rebooting your layer.

Have done about three times, oddly enough the message comes through and gets to about 5x times then starts again, can be every hour or so etc.

 

No connectivity issues or anything like that either, goes over a 10Gbit private lan.

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

Originally Posted by ColColonCleaner*:

 

Have done about three times, oddly enough the message comes through and gets to about 5x times then starts again, can be every hour or so etc.

 

No connectivity issues or anything like that either, goes over a 10Gbit private lan.

Ah, I know why, give me a few minutes.
Link to comment

Originally Posted by MRniceGuy*:

 

Hi

i have a couple of questions

the plugin was okay but today looks like nobody can chat in the game but when i disable adkats plugin everything comes normal and i see player messages otherwise nothing shows up if i enable it

and i'm unsure how does punishments work for example in the game if i type !warn player name nothing happens :/

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

Originally Posted by ColColonCleaner*:

 

Hi

i have a couple of questions

the plugin was okay but today looks like nobody can chat in the game but when i disable adkats plugin everything comes normal and i see player messages otherwise nothing shows up if i enable it

and i'm unsure how does punishments work for example in the game if i type !warn player name nothing happens :/

You are saying nobody can chat in your in-game chat box when AdKats is enabled?
Link to comment

Originally Posted by MRniceGuy*:

 

Yes also one of the admins told me that they cant chat while playing

so now there is another problem too. the plugin can not be enabled it says

"ERROR: Cannot enable plugin while it is shutting down. Please Wait for it to shut down."

and the it keeps repeating

"WARNING: Threads still exiting: Command[42]" forever

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