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

 

What's the difference? rconnet not offering to enter /yes and it pleases! I just used to do without /yes. Example: /nuke ru where is misspell? Asks to enter /yes

 

It takes a long time to write / yes

 

And help me:

[05:41:51 12] [AdKats] ERROR: No API key for Metabans was given! Canceling Operation.

[05:41:51 12] [AdKats] ERROR: No username for Metabans was given! Canceling Operation.

 

Where do I enter? I do not see the settings.

 

And some problem:

 

[06:30:28 45] [AdKats] WARNING: Could not find damage stats for unica-6 in BF4 library of 71 weapons. Using BFXStats API damage of 65 DPS in the meantime.

[06:30:28 45] [AdKats] WARNING: Could not find damage stats for mpx in BF4 library of 71 weapons. Using BFXStats API damage of 34 DPS in the meantime.

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

Originally Posted by r0ll_rus*:

 

Hi!

Can you help me?

On every level loading (starting new round) I get an error:

 

Code:

[14:12:08 34] [AdKats] EXCEPTION: Line 0: [OnLevelLoaded][Error while handling level load.]: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at PRoConEvents.AdKats.OnTeamFactionOverride(Int32 targetTeamID, Int32 overrideTeamId)
   at PRoConEvents.AdKats.UpdateFactions()
   at PRoConEvents.AdKats.OnLevelLoaded(String strMapFileName, String strMapMode, Int32 roundsPlayed, Int32 roundsTotal)
What am I doing wrong? Is it a duplicate of some item in a database or elsewhere (where_)?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hi!

Can you help me?

On every level loading (starting new round) I get an error:

 

Code:

[14:12:08 34] [AdKats] EXCEPTION: Line 0: [OnLevelLoaded][Error while handling level load.]: System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at PRoConEvents.AdKats.OnTeamFactionOverride(Int32 targetTeamID, Int32 overrideTeamId)
   at PRoConEvents.AdKats.UpdateFactions()
   at PRoConEvents.AdKats.OnLevelLoaded(String strMapFileName, String strMapMode, Int32 roundsPlayed, Int32 roundsTotal)
What am I doing wrong? Is it a duplicate of some item in a database or elsewhere (where_)?
Version 5.0.0.5? Bf3 or Bf4?
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

What's the difference? rconnet not offering to enter /yes and it pleases! I just used to do without /yes. Example: /nuke ru where is misspell? Asks to enter /yes

 

It takes a long time to write / yes

 

And help me:

[05:41:51 12] [AdKats] ERROR: No API key for Metabans was given! Canceling Operation.

[05:41:51 12] [AdKats] ERROR: No username for Metabans was given! Canceling Operation.

 

Where do I enter? I do not see the settings.

 

And some problem:

 

[06:30:28 45] [AdKats] WARNING: Could not find damage stats for unica-6 in BF4 library of 71 weapons. Using BFXStats API damage of 65 DPS in the meantime.

[06:30:28 45] [AdKats] WARNING: Could not find damage stats for mpx in BF4 library of 71 weapons. Using BFXStats API damage of 34 DPS in the meantime.

Yes nuke requires confirm... you are killing 32 players in one shot.

 

The metabans api problem is being fixed.

 

Damage stats for those weapons are being added.

Link to comment

Originally Posted by PHX_Big_Deal*:

 

Yes nuke requires confirm... you are killing 32 players in one shot.

 

The metabans api problem is being fixed.

 

Damage stats for those weapons are being added.

I run Version 5.0.0.5 and have the same 2 Problems.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by markrlomas*:

 

When using Ban enforcer, is it normal for the same ban to be listed about 3-4 times in the database? The ban wasn't carried out using Adkats but an Auto ban from insane limits for racism using player.EABanPlayerWithMessage.

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

Originally Posted by ColColonCleaner*:

 

When using Ban enforcer, is it normal for the same ban to be listed about 3-4 times in the database? The ban wasn't carried out using Adkats but an Auto ban from insane limits for racism using player.EABanPlayerWithMessage.

Can you screenshot/gyazo this?
Link to comment

Originally Posted by markrlomas*:

 

Can you screenshot/gyazo this?

Here's a test ban in Procon before it was sent to the database

 

proCon banlist.jpg

 

Once it hits the database, i see this in the adkats_records_main table

 

adkatsban.jpg

 

This means that when using Prophet's web admin it shows me as having 7 Previous bans all for the same reason. If i issue the ban via adkats ingame admin it only shows once.

Obviously the iseal situation would be to have insane limits make the adkats plugin issue the ban, but obivously I'm aware that you are still looking into the communication issues between the plugins so thats not currently possible.

As a side note is it possible to have the bans still stored in the database, but not only be enforced on thes erver which it was issued, not enforced on all servers?

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

Originally Posted by markrlomas*:

 

UPDATE: Even though i can't use the CallOtherPlugin, having Insane limits do a plugin.SendGlobalMessage("/ban" additional params here) works flawless, so it seems like this is defiantely teh way to go for now. Only issue with this is even though i have changed the ProCon Ban Admin Name to AutoAdmin, the banning admin shows as ProconAdmin,

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

Originally Posted by ColColonCleaner*:

 

Here's a test ban in Procon before it was sent to the database

 

proCon banlist.jpg

 

Once it hits the database, i see this in the adkats_records_main table

 

adkatsban.jpg

 

This means that when using Prophet's web admin it shows me as having 7 Previous bans all for the same reason. If i issue the ban via adkats ingame admin it only shows once.

Obviously the iseal situation would be to have insane limits make the adkats plugin issue the ban, but obivously I'm aware that you are still looking into the communication issues between the plugins so thats not currently possible.

As a side note is it possible to have the bans still stored in the database, but not only be enforced on thes erver which it was issued, not enforced on all servers?

I'll test this out on my end, thanks for the debugs.

 

EDIT: Ban are enforced only on the current server group, look in the tbl_server table and change the server groups for servers you don't want connected.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

UPDATE: Even though i can't use the CallOtherPlugin, having Insane limits do a plugin.SendGlobalMessage("/ban" additional params here) works flawless, so it seems like this is defiantely teh way to go for now. Only issue with this is even though i have changed the ProCon Ban Admin Name to AutoAdmin, the banning admin shows as ProconAdmin,

Procon ban admin name is for the bans issued manually through procon's banlist window.

 

I have found and fixed the issue with issuing commands from IL. It used a different format for the request than the one i was expecting. You shouldn't need to change anything from the code i've previously given you for the request, just needed to update my handling code.

 

I think I've solved the duplicate ban posting problem, unable to reliably test on my machines though.

 

Added an option that should never be used, disable switch for command confirmation.

 

Fixed roll's problem with level load in BF3.

 

https://raw.githubusercontent.com/Co...test/AdKats.cs

Link to comment

Originally Posted by markrlomas*:

 

Procon ban admin name is for the bans issued manually through procon's banlist window.

 

I have found and fixed the issue with issuing commands from IL. It used a different format for the request than the one i was expecting. You shouldn't need to change anything from the code i've previously given you for the request, just needed to update my handling code.

 

I think I've solved the duplicate ban posting problem, unable to reliably test on my machines though.

 

Added an option that should never be used, disable switch for command confirmation.

 

Fixed roll's problem with level load in BF3.

 

https://raw.githubusercontent.com/Co...test/AdKats.cs

Thanks dude,

 

Downloading now and will post back either later tonight or tomorrow with the results of the changes.

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

Originally Posted by markrlomas*:

 

You're a genius, thanks for sorting this out, IL > Adkats working perfectly. All I need to try out now is if i want to ban from IL to Adkats if its player_ban or player_pban, but i'm sure that shouldn't be hard to figure out.

 

Duplicate ban issue is also fixed, I only see 1 ban in the database now, although the Console window in Procon did display the following

 

Code:

[02:58:36 22] [AdKats] WARNING: Attempted to post duplicate ban for player 11. Cancelling operation.
[02:58:47 70] [AdKats] WARNING: Attempted to post duplicate ban for player 11. Cancelling operation.
[02:58:58 58] [AdKats] WARNING: Attempted to post duplicate ban for player 11. Cancelling operation.
But i can live with that, its only a message in the console which is much easier to live with than 7 lots of the same ban.

 

Again thank you for taking your time to look at these issues and providing such a speedy fix for them, it is much appreciated.

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

Originally Posted by ColColonCleaner*:

 

You're a genius, thanks for sorting this out, IL > Adkats working perfectly. All I need to try out now is if i want to ban from IL to Adkats if its player_ban or player_pban, but i'm sure that shouldn't be hard to figure out.

 

Duplicate ban issue is also fixed, I only see 1 ban in the database now, although the Console window in Procon did display the following

 

Code:

[02:58:36 22] [AdKats] WARNING: Attempted to post duplicate ban for player 11. Cancelling operation.
[02:58:47 70] [AdKats] WARNING: Attempted to post duplicate ban for player 11. Cancelling operation.
[02:58:58 58] [AdKats] WARNING: Attempted to post duplicate ban for player 11. Cancelling operation.
But i can live with that, its only a message in the console which is much easier to live with than 7 lots of the same ban.

 

Again thank you for taking your time to look at these issues and providing such a speedy fix for them, it is much appreciated.

Look in the adkats_commands table. All the command_key entries are there.

 

I'm probably going to reduce those warning message to level 4 debug messages in the release patch.

 

Please inform me of any other issues you come across.

Link to comment

Originally Posted by ZeroKooL*:

 

After updating to 5.0.0.5 reserved slots no longer work for Full Admin or any other group, any fox for this?

 

All i have done is set "Reserved Slot Player [ADMIN" to "Allow" and added the users to the admin group. Have also tried creating a new group and setting it to allow but still does not work.

 

Cheers

Zero

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

Originally Posted by ColColonCleaner*:

 

After updating to 5.0.0.5 reserved slots no longer work for Full Admin or any other group, any fox for this?

 

All i have done is set "Reserved Slot Player [ADMIN" to "Allow" and added the users to the admin group. Have also tried creating a new group and setting it to allow but still does not work.

 

Cheers

Zero

Feed Server Reserved Slots - True

Automatic Reserved Slot for User Cache - True

Link to comment

Originally Posted by ZeroKooL*:

 

Thanks buddie, im also having a little trouble with !punish !forgive, i have set the default group to "punish player [ADMIN]" "Allow" , "Forgive Player" "Allow" and then set "CDE9 | Punish player | Active" to "Active" Olny kill players on low population is also turned off, But when you get team killed you get no option to punish or forgive.

 

I was looking at the documentation and see you refer to it as Infraction Tracking but i can not find any option for that in the plugin.

 

Cheers

Zero

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

Originally Posted by ColColonCleaner*:

 

Thanks buddie, im also having a little trouble with !punish !forgive, i have set the default group to "punish player [ADMIN]" "Allow" , "Forgive Player" "Allow" and then set "CDE9 | Punish player | Active" to "Active" Olny kill players on low population is also turned off, But when you get team killed you get no option to punish or forgive.

 

I was looking at the documentation and see you refer to it as Infraction Tracking but i can not find any option for that in the plugin.

 

Cheers

Zero

The punish and forgive commands in AdKats are admin only. They are not for teamkilling.
Link to comment

Originally Posted by Jasonpb*:

 

Got our old problem back again of bans not being enforced on players that are banned sometimes, often I can disable the plugin then enable it again and it works but as of now a player who showed up as being kicked in the ACP isn't kicked from the game.

 

If I look up the player within the mini ban manager, it shows up just fine and lists it as active, however they are still playing in the server :ohmy:

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

Originally Posted by ColColonCleaner*:

 

Got our old problem back again of bans not being enforced on players that are banned sometimes, often I can disable the plugin then enable it again and it works but as of now a player who showed up as being kicked in the ACP isn't kicked from the game.

 

If I look up the player within the mini ban manager, it shows up just fine and lists it as active, however they are still playing in the server :ohmy:

Certain players only? I'm gonna need debug level 6 plugin logs of when they attempt to rejoin the server.
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.