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

  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Is there a way to desable msgs when player kicked for afk ?

 

 

Sent from my iPad using Tapatalk

I have one more bugfix to upload anyway, so i'll make those kicks silent if done automatically. Manual kicks for AFK using /afk command will still be visible.
Link to comment

Originally Posted by virusdead*:

 

It is the list of words/phrases that will cause the report auto-handler to accept certain reports from admin assistants.

What are the lists that could trigger quoted me some words if it pleases you.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Moli87*:

 

Hi COL

 

Thanks for the good explanation about the IRO punishment. :smile:

 

In the latest Version i have some database disconnects but not everytime just sometimes:

 

[18:24:11 39] [AdKats] ERROR: Database connection fault detected. This is fault 3. Critical disconnect at 10.

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

Originally Posted by ColColonCleaner*:

 

Hi COL

 

Thanks for the good explanation about the IRO punishment. :smile:

 

In the latest Version i have some database disconnects but not everytime just sometimes:

 

[18:24:11 39] [AdKats] ERROR: Database connection fault detected. This is fault 3. Critical disconnect at 10.

The connection to your database is throttled or faulty. That error happens when a query or request hits a timeout error, which is 10 seconds by default. If it's not reaching 10 faults it's not terrible, but you will still have some loss of data, and some records will not be pushed to the database.
Link to comment

Originally Posted by Moli87*:

 

The connection to your database is throttled or faulty. That error happens when a query or request hits a timeout error, which is 10 seconds by default. If it's not reaching 10 faults it's not terrible, but you will still have some loss of data, and some records will not be pushed to the database.

And what do you think could be the problem? Do you think it could be that my server where i host my Procon by myself is not stable enough? Maybe i need more power because the cpu jumps a lot times to 100% shortly and this can cause the database connection losts....could it be?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Hutchew*:

 

Start by checking how big you records_main table is. If it's over 1million, chances are you need to clean it up as discussed a few pages back. It will cause massive CPU and I/O disc reads, which in turn will cause timeouts, especially on cheap hosting accounts.

 

 

Hutchew

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

Originally Posted by Moli87*:

 

Start by checking how big you records_main table is. If it's over 1million, chances are you need to clean it up as discussed a few pages back. It will cause massive CPU and I/O disc reads, which in turn will cause timeouts, especially on cheap hosting accounts.

 

 

Hutchew

Thank you for the answer but the table is not so big. I think i found the problem...its another plugin Server Kills. When i turn it off everything work good and cpu look also not bad and Procon never crash, but when i activate server Kills the problems start after half an hour. Now i need to find out why only i have problem with this plugin.

 

AdKats work perfect when server kills disabled and he fixed the Log ServerSPAM...Thanks COL

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

Originally Posted by ColColonCleaner*:

 

Thank you for the answer but the table is not so big. I think i found the problem...its another plugin Server Kills. When i turn it off everything work good and cpu look also not bad and Procon never crash, but when i activate server Kills the problems start after half an hour. Now i need to find out why only i have problem with this plugin.

 

AdKats work perfect when server kills disabled and he fixed the Log ServerSPAM...Thanks COL

Glad you found the problem. That's strange though...server kills doesn't do any heavy processing as far as I know. I thought it was just an announcer of special kills like defibs/knife and stuff, does it do more than that?
Link to comment

Originally Posted by Moli87*:

 

Not just special kills or kill streak ...you can also enable ace squad, Round stats and Server Kills stats with an intervall you can set.(default 24h). I testet enough time...with all plugins and adKats included the layer works stable and did not crash when server kills disabled. When enabled the layer crash within 1hour...sometimes no chance to login even if the layer is running.

 

I will take a look maybe i setup something wrong...or could it be that i use the same database as adKats and statsloging plugin from xpkiller? I use for all 3 plugins the same database...

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

Originally Posted by ColColonCleaner*:

 

Not just special kills or kill streak ...you can also enable ace squad, Round stats and Server Kills stats with an intervall you can set.(default 24h). I testet enough time...with all plugins and adKats included the layer works stable and did not crash when server kills disabled. When enabled the layer crash within 1hour...sometimes no chance to login even if the layer is running.

 

I will take a look maybe i setup something wrong...or could it be that i use the same database as adKats and statsloging plugin from xpkiller? I use for all 3 plugins the same database...

AdKats needs the database from XpKiller, the whole plugin was started on that structure. Hope you find the issue.
Link to comment

Originally Posted by Moli87*:

 

AdKats needs the database from XpKiller, the whole plugin was started on that structure. Hope you find the issue.

Yes i know that but maybe i need a separate database for the server kills plugin...i will check this.

 

But i still have some errors from adkats:

[20:28:19 55] [AdKats] ERROR: Unable to find target weight for type|action: 12|20

[20:28:22 49] [AdKats] ERROR: Unable to find target weight for type|action: 14|35

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 12|20

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 12|35

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 14|20

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 14|35

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 22|35

[20:28:39 87] [AdKats] ERROR: Unable to find target weight for type|action: 12|20

[20:28:39 87] [AdKats] ERROR: Unable to find target weight for type|action: 12|35

 

What does this mean?

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

Originally Posted by ColColonCleaner*:

 

Yes i know that but maybe i need a separate database for the server kills plugin...i will check this.

 

But i still have some errors from adkats:

[20:28:19 55] [AdKats] ERROR: Unable to find target weight for type|action: 12|20

[20:28:22 49] [AdKats] ERROR: Unable to find target weight for type|action: 14|35

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 12|20

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 12|35

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 14|20

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 14|35

[20:28:39 87] [AdKats] ERROR: Unable to find source weight for type|action: 22|35

[20:28:39 87] [AdKats] ERROR: Unable to find target weight for type|action: 12|20

[20:28:39 87] [AdKats] ERROR: Unable to find target weight for type|action: 12|35

 

What does this mean?

Are there any exceptions? 35 is the code for exception record.
Link to comment

Originally Posted by staazvaind*:

 

Update latency manager, there used to be a conflict with AdKats which has since been fixed.

tried all three last versions :-/

its simply not even showing up in the plugin list anymore.

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

Originally Posted by Moli87*:

 

Look in your adkats_records_main table, for records that have the command_action = 35, but command_type that are NOT 35. What are the record_message entries for those records?

They are mostly this error:

 

[b__70][Error in email sending thread.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.EmailHandler.c__DisplayClass 73.b__70()

 

one or two times i see this error:

 

[ProcessPlayerKill][Error while processing player kill.]: 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(T Key key)

at PRoConEvents.AdKats.ProcessPlayerKill(Kill kKillerVictimDetails)

 

But this records are very old from december 2013...i think this was when i setup adKats and i used an email provider which wont work but later i set it up with google mail and after that it worked.

 

How can i fix this? Can i delete these records without problems?

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

Originally Posted by ColColonCleaner*:

 

They are mostly this error:

 

[b__70][Error in email sending thread.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.EmailHandler.c__DisplayClass 73.b__70()

 

one or two times i see this error:

 

[ProcessPlayerKill][Error while processing player kill.]: 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(T Key key)

at PRoConEvents.AdKats.ProcessPlayerKill(Kill kKillerVictimDetails)

 

But this records are very old from december 2013...i think this was when i setup adKats and i used an email provider which wont work but later i set it up with google mail and after that it worked.

 

How can i fix this? Can i delete these records without problems?

Which of these errors is the current one being spammed to your database?

 

If it is the email one, I will look into the problem and find out why it's happening. It looks like the record is becoming the exception, instead of simply throwing the exception to logs. This was an old way i did things, and thought i had removed all references to that method. I'll check it out.

 

If it's the kill processing one, that error should never happen anymore. If it still is, that could be a serious problem.

Link to comment

Originally Posted by markrlomas*:

 

Just wondered if someone can give me a quick piece of advice regarding adkats/Insane Limits.

 

I saw in the documention for adkats it says it has integration with other plugins, such as Insane limits can trigger the waring system in adkats, can anyone tell me how I would go about doing this? I haven't really had any plugins interact with each other so I don't know in the first place how I would get insane limits to do anything with any of the other plugins.

 

But for example, In a no explosives server, my usual setup would be 1st infraction kills player and warns, 2nd kicks (and stores a limit.RoundData Bool, if they then come back into the server and do it again a 60 minute ban. But instead of all of that how could i just make it start issuing warnings using the adkats warn/punish system?

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

Originally Posted by ColColonCleaner*:

 

Just wondered if someone can give me a quick piece of advice regarding adkats/Insane Limits.

 

I saw in the documention for adkats it says it has integration with other plugins, such as Insane limits can trigger the waring system in adkats, can anyone tell me how I would go about doing this? I haven't really had any plugins interact with each other so I don't know in the first place how I would get insane limits to do anything with any of the other plugins.

 

But for example, In a no explosives server, my usual setup would be 1st infraction kills player and warns, 2nd kicks (and stores a limit.RoundData Bool, if they then come back into the server and do it again a 60 minute ban. But instead of all of that how could i just make it start issuing warnings using the adkats warn/punish system?

The simplest way is to have insane limits issue a hidden admin say containing the wanted command. For example, have it admin say "/punish playername Using restricted weapon X". Just make sure in the AdKats command settings section you've enabled commands via admin say.
Link to comment

Originally Posted by markrlomas*:

 

Ok thanks, that sounds rather straightforward to what I was expecting lol.

 

So as long as I prefex punish with / then That line will be hidden from chat and only the response from the punishment will be shown in chat?

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

Originally Posted by markrlomas*:

 

Also I forgot to say in my last Post.

 

One of the role options in adkats that you can allow or deny is "Request server commands", what is this option for? What kind of server commands?

 

Lastly, I noticed when doing a fresh install of adkats yesterday that the SQL query fails (I pointed it out to prophet when he was helping me set up the web admin) but he said that he doens't dela with adkats, so I thought i'd post here.

 

I believe this line needs to be removed from the query?

 

https://github.com/ColColonCleaner/A...dkats.sql#L336

 

As apparently command ID 13 is no longer used but the insert command still exists, which then causes this part of the query to error:

 

Code:

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;
Once again thanks to you guys at =ADK= for these fantastic plugins though, adkats offers so much more than the default ingame admin, I not regret not using this plugin earlier.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Ok thanks, that sounds rather straightforward to what I was expecting lol.

 

So as long as I prefex punish with / then That line will be hidden from chat and only the response from the punishment will be shown in chat?

Correct, the only downside for using that simpler method is that it will show the admin name as "ProconAdmin" (Punished by ProconAdmin), since it assumes that command is being issued by an admin from the procon chat window. If you would like a different name, for example "AutoAdmin", etc, you will need to use the direct record method. I can describe how to do that if you want to try it.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Also I forgot to say in my last Post.

 

One of the role options in adkats that you can allow or deny is "Request server commands", what is this option for? What kind of server commands?

 

Lastly, I noticed when doing a fresh install of adkats yesterday that the SQL query fails (I pointed it out to prophet when he was helping me set up the web admin) but he said that he doens't dela with adkats, so I thought i'd post here.

 

I believe this line needs to be removed from the query?

 

https://github.com/ColColonCleaner/A...dkats.sql#L336

 

As apparently command ID 13 is no longer used but the insert command still exists, which then causes this part of the query to error:

 

Code:

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;
Once again thanks to you guys at =ADK= for these fantastic plugins though, adkats offers so much more than the default ingame admin, I not regret not using this plugin earlier.
Request server commands just lists the commands that person has access to. You can also define commands from outside the plugin (!stats, !rank, etc), in the command settings section.) There are two lists there, one for guests, and one for admins.

 

Thank you for finding that error with the sql, it has been fixed and uploaded.

 

Glad the plugin is being useful to you. Please inform me of any bugs or issues as they arise.

Link to comment

Originally Posted by markrlomas*:

 

Correct, the only downside for using that simpler method is that it will show the admin name as "ProconAdmin" (Punished by ProconAdmin), since it assumes that command is being issued by an admin from the procon chat window. If you would like a different name, for example "AutoAdmin", etc, you will need to use the direct record method. I can describe how to do that if you want to try it.

If you wouldn't mind doing that it would be appreciated.

 

I just hopped into your TS as I thought i could show you how our currently limit works but I'm guessing you aren't online in there lol

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