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

 

Rather drastic solution to get things working again, something else must have been the issue. We've been able to keep our records/data since version 1.7 without losing anything.

Yes of course but only reason I did that was that it never really got much action anyhow before I deactivated it and all I did was delete the database and phpMyAdmin and reinstall both, no biggie. One other thing, it seems to be disabled after restarting procon, what may be the issue?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Is there a way of not using the BF4 Stats Logger database? I don't want it to mess my chat table (for web stats). :sad:

Run this to fix your issue until 4.0 is released:

 

ALTER TABLE `tbl_chatlog` DROP FOREIGN KEY `tbl_chatlog_ibfk_player_id`;

ALTER TABLE `tbl_chatlog` CHANGE COLUMN `logPlayerID` `logPlayerID` INT(10) AFTER logMessage;

 

If this errors out, try running only the second line.

 

The issue is your web-stats page is using a "Select *" Which is miscounting the columns after the new one was added. This moves the column i added to the very end, so your page should work properly after this.

Link to comment

Originally Posted by PapaCharlie9*:

 

I just noticed this in the start-up sequence of plugins for Procon:

 

Code:

[16:37:40] Loading xVotemap... Loaded
[b][16:37:40] [AdKats] Waiting a few seconds for requirements and other plugins to initialize, please wait...[/b]
[16:37:42] AdaptiveServerSize: Enabled!
[16:37:45] Basic In-Game Info Enabled!
[16:37:45] PRoCon Chat, GUID and Stats Logger Enabled
[16:37:45] PRoCon Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player
[16:37:45] [AdKats] Initializing AdKats 3.7.0.1 components.
[16:37:45] [AdKats] SUCCESS: Server IP is 94.250.195.42:47200!
[16:37:45] [AdKats] Attempting database connection. Attempt 1 of 5.
[16:37:45] [AdKats] SUCCESS: Database connection open.
[16:37:46] Latency Manager Enabled!
[16:37:46] [AdKats] SUCCESS: Database confirmed functional for AdKats use.
[16:37:46] [AdKats] SUCCESS: Database Server Info Fetched. Server ID is 1!
[b][16:37:46] [AdKats] Enabled! Version: 3.7.0.1[/b]
Wouldn't it make more sense to start the AdKats initialization OnPluginEnabled? It seems odd that all that work is done before the plugin is even enabled. What if the plugin isn't enabled? Is the connection check still done?

 

It can and indeed should be in a separate thread during the call to OnPluginEnabled, so as not to tie up Procon.

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

Originally Posted by ColColonCleaner*:

 

I just noticed this in the start-up sequence of plugins for Procon:

 

Code:

[16:37:40] Loading xVotemap... Loaded
[b][16:37:40] [AdKats] Waiting a few seconds for requirements and other plugins to initialize, please wait...[/b]
[16:37:42] AdaptiveServerSize: Enabled!
[16:37:45] Basic In-Game Info Enabled!
[16:37:45] PRoCon Chat, GUID and Stats Logger Enabled
[16:37:45] PRoCon Chat, GUID and Stats Logger: Floodprotection set to 10 Request per Round for each Player
[16:37:45] [AdKats] Initializing AdKats 3.7.0.1 components.
[16:37:45] [AdKats] SUCCESS: Server IP is 94.250.195.42:47200!
[16:37:45] [AdKats] Attempting database connection. Attempt 1 of 5.
[16:37:45] [AdKats] SUCCESS: Database connection open.
[16:37:46] Latency Manager Enabled!
[16:37:46] [AdKats] SUCCESS: Database confirmed functional for AdKats use.
[16:37:46] [AdKats] SUCCESS: Database Server Info Fetched. Server ID is 1!
[b][16:37:46] [AdKats] Enabled! Version: 3.7.0.1[/b]
Wouldn't it make more sense to start the AdKats initialization OnPluginEnabled? It seems odd that all that work is done before the plugin is even enabled. What if the plugin isn't enabled? Is the connection check still done?

 

It can and indeed should be in a separate thread during the call to OnPluginEnabled, so as not to tie up Procon.

Papa, it IS done OnPluginEnabled :ohmy:. "Enabled!" console message is the confirmation that it finished enabling with no issues. Also, all initialization is done in a separate initialization thread. Nothing in AdKats except OnServerInfo is synchronous with procon, it's all queued to one of the 9 processing threads i run.

 

This is the reason i was wondering about @Morph's worry of having a big plugin "tie up" procon with all of the things it does, since everything in AdKats is async with what procon supplies or sends it. All On* functions pass their info off to thread handlers, it cannot cause panic or lag for procon no matter how much work it ends up doing.

Link to comment

Originally Posted by kcuestag*:

 

Run this to fix your issue until 4.0 is released:

 

ALTER TABLE `tbl_chatlog` DROP FOREIGN KEY `tbl_chatlog_ibfk_player_id`;

ALTER TABLE `tbl_chatlog` CHANGE COLUMN `logPlayerID` `logPlayerID` INT(10) AFTER logMessage;

 

The issue is your web-stats page is using a "Select *" Which is miscounting the columns after the new one was added. This moves the column i added to the very end, so your page should work properly after this.

I'm clueless about all that MySQL stuff (Good thing I started studying that this year) so I'll let my host know as he is pretty familiar with MySQL.

 

Thanks, I'll let you know how it goes.

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

Originally Posted by kcuestag*:

 

Run this to fix your issue until 4.0 is released:

 

ALTER TABLE `tbl_chatlog` DROP FOREIGN KEY `tbl_chatlog_ibfk_player_id`;

ALTER TABLE `tbl_chatlog` CHANGE COLUMN `logPlayerID` `logPlayerID` INT(10) AFTER logMessage;

 

The issue is your web-stats page is using a "Select *" Which is miscounting the columns after the new one was added. This moves the column i added to the very end, so your page should work properly after this.

We have an issue. When enabling "Instant Logging of Chat Messages" it forces the plugin to close (And stops logging the chat).

 

Any idea?

 

I may just wait for 4.0 release.

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

Originally Posted by ColColonCleaner*:

 

We have an issue. When enabling "Instant Logging of Chat Messages" it forces the plugin to close (And stops logging the chat).

 

Any idea?

 

I may just wait for 4.0 release.

In AdKats 3.7.0.1 and 3.7.0.2 it performs the chat logging and disables it in stat logger. This is told in the dependency docs.
Link to comment

Originally Posted by jking54*:

 

We have an issue. When enabling "Instant Logging of Chat Messages" it forces the plugin to close (And stops logging the chat).

 

Any idea?

 

I may just wait for 4.0 release.

Maybe I'm missing your intent but why log them when they are logged anyhow in procon?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Papa, it IS done OnPluginEnabled :ohmy:. "Enabled!" console message is the confirmation that it finished enabling with no issues. Also, all initialization is done in a separate initialization thread

Oh, I see. That's what I get for not checking the source code. Most plugins post that message at the beginning of their enable call. I understand why you do it at the end, but it looks weird in the log when all the other plugins are doing it at the beginning. I'd suggest posting the message first, synchronously, then launch the thread and let it go and return. That way, all of the start-up messages will come after the "plugin enabled" standard message, and be less confusing.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Oh, I see. That's what I get for not checking the source code. Most plugins post that message at the beginning of their enable call. I understand why you do it at the end, but it looks weird in the log when all the other plugins are doing it at the beginning. I'd suggest posting the message first, synchronously, then launch the thread and let it go and return. That way, all of the start-up messages will come after the "plugin enabled" standard message, and be less confusing.

Alright i can add another message at the start of the enable process. The difference between AdKats and others is there are so many possible points of failure during initialization (no db settings, no stat logger, setup script wasn't run, no server ID logged...etc..etc..) that it's only truly enabled once all that is done. This is what i noticed with stat logger, when you enable it it says "Enabled!" and then a few seconds later it can proceed to spew errors. I just didn't like that, only say enabled when you are actually enabled, but i'll add a message like "AdKats enabled, beginning startup sequence..." then end with something like "AdKats Running! Version xxxxx"
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Because I want them to show in my web stats: http://oaksclan.view-your-stats.com/

 

@ColColonCleaner: Any plans on changing that? :sad:

AdKats 3.7+ needs player IDs in chat logs, mainly for the webadmin but it will be worked into the plugin soon too. AdKats currently takes over the chat logging process when it's running and logs using settings equivalent to the following:

 

Enable Chatlogging? Yes

Log ServerSPAM? Yes

Instant Logging of Chat Messages? Yes

Enable chatlog filter(Regex)? No

 

Because AdKats is doing the logging, if stat logger did it too then all of your chat messages would be duplicated in the database, you would have 2 of everything.

 

All chat logging aspects taken over by AdKats in 3.7 are being removed in 4.0. The only thing remaining will be a single procedure needing to be run on your database, that procedure will handle adding the PlayerIDs to chat logs, the whole reason this happened in the first place.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Taking a little more time with the 4.0 beta release. Making sure things operate according to plan. This includes the new user system, role assignments, new commands, ban enforcer updates, teamswap updates, reserved slot feeder and whitelist feeder, the updated hacker-checker, and external command handler for insane limits/proconrulz. Not to mention all the database changes that go along with that.

 

Edit: The email handler for reports is working now too :smile:

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Awesome news: looking forward to the new functions. DO you know if the old (1.0.3) webadmin will still work with 4.0?

 

PS: If you need another tester let me know.

It will not work with the old webadmin, almost every database table has been renamed and the columns changed. However, the new webadmin version will be released soon, and it will be open source.
Link to comment

Originally Posted by TMiland*:

 

Taking a little more time with the 4.0 beta release. Making sure things operate according to plan. This includes the new user system, role assignments, new commands, ban enforcer updates, teamswap updates, reserved slot feeder and whitelist feeder, the updated hacker-checker, and external command handler for insane limits/proconrulz. Not to mention all the database changes that go along with that.

 

Edit: The email handler for reports is working now too :smile:

Will the reserved slot feeder work as before? Or do i need to re-do my script? :smile:

 

If so, what are the changes?

 

*edit

Ah, didn't see your last answer there, any chance i can take a look at the new db structure? :smile:

 

*edit2

Is this up to date: https://github.com/ColColonCleaner/A...dev/adkats.sql ?

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

Originally Posted by Prophet731*:

 

Awesome news: looking forward to the new functions. DO you know if the old (1.0.3) webadmin will still work with 4.0?

 

PS: If you need another tester let me know.

Only version 1.0.3 will work with the old AdKats database. The 1.4 update will use the new AdKats database structure and won't be backwards compatable. Colon or me will have to write up a conversation script to merge all the data. Also, 1.4 will only work with the new logger plugin table structure as multi games can be run on it so you no longer will need two separate databases.

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Will the reserved slot feeder work as before? Or do i need to re-do my script? :smile:

 

If so, what are the changes?

 

*edit

Ah, didn't see your last answer there, any chance i can take a look at the new db structure? :smile:

 

*edit2

Is this up to date: https://github.com/ColColonCleaner/A...dev/adkats.sql ?

Yes

The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

spacer.png

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Will the reserved slot feeder work as before? Or do i need to re-do my script? :smile:

 

If so, what are the changes?

 

*edit

Ah, didn't see your last answer there, any chance i can take a look at the new db structure? :smile:

 

*edit2

Is this up to date: https://github.com/ColColonCleaner/A...dev/adkats.sql ?

For your purposes yes, that will be the final version. A couple tweaks still need to be made but they should not affect the user system directly. All users in the user list will get the slots, so create a user for each of them, then assign those users the appropriate soldiers and roles. Users can have multiple soldiers now, and all soldiers under a user receive the same treatment.

 

You could create a user named "ReservedSlots" to keep things simple, or something along those lines. Assign that user the "Default Guest" role (that should happen automatically), and just add all soldiers you want slotted to that user.

Link to comment

Originally Posted by TMiland*:

 

For your purposes yes, that will be the final version. A couple tweaks still need to be made but they should not affect the user system directly. All users in the user list will get the slots, so create a user for each of them, then assign those users the appropriate soldiers and roles. Users can have multiple soldiers now, and all soldiers under a user receive the same treatment.

 

You could create a user named "ReservedSlots" to keep things simple, or something along those lines. Assign that user the "Default Guest" role (that should happen automatically), and just add all soldiers you want slotted to that user.

This sounds like i will be staying on the version i already have, this is too confusing for me, and i have already spent a lot of time making this system work. :smile:

 

Only fix i need is the !punish twice bug, if that's possible to add to the adkats version i am running now?

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

Originally Posted by ColColonCleaner*:

 

This sounds like i will be staying on the version i already have, this is too confusing for me, and i have already spent a lot of time making this system work. :smile:

 

Only fix i need is the !punish twice bug, if that's possible to add to the adkats version i am running now?

Or i could just add another table for reserved slots to make things simple :P. All users on the user list still get reserved slots, but also the people from this extra table. It will just be one column. adkats_reservedslots player_name.
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.