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

 

Sadly thats empty aswell :sad:

Code:

PB_SV_BanList 
PunkBuster Server: End of Ban List (0 of 0 displayed)
I do not modify PB bans in any way. After import of procon bans i call banlist.clear, which empties procon's banlist, and later saves the changes to your server's banlist.txt, but this action does not affect PB bans. Something else must have cleared your PB bans.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I may have been overlooking something here, however I have added the plugin to the BF4 folder of my procon. It does not seem to be appearing yet, and I am getting these messages. I suspect I have overlooked something simple, aha.

 

Your massive list of errors...

Which version are you attempting to install? For now install using the BF4 install instructions linked at the beginning of this thread.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I did read that it said to install like any other plugin. I'm new to this, and have only installed a couple plugins so far, most were just one or two files that went into the plugins/bf4 folder. the file with bf3 in its name is making me wonder this

 

do all of the files in the adcats zip go into that folder, or are there some that go into other areas?

 

thank you

You need to install using the BF4 install instructions linked at the beginning of this thread, the one in massive red letters. There is not an official version released for BF4 yet, so that is the beta until a stable version is released.
Link to comment

Originally Posted by Morgedoo*:

 

Which version are you attempting to install? For now install using the BF4 install instructions linked at the beginning of this thread.

Sorry about the errors, I thought the more that were there the more information you would get :P

I am trying to install version 3.5.2.0 from this page https://github.com/ColColonCleaner/AdKats

I believe I have followed the instructions correctly, even if the plugin wasn't working etc. Should it not show up in the plugin list regardless of the dependencies required?

 

Edit: If it would help, I can talk on your TeamSpeak, if you want clearer explanation etc.

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

Originally Posted by ColColonCleaner*:

 

Sorry about the errors, I thought the more that were there the more information you would get :P

I am trying to install version 3.5.2.0 from this page https://github.com/ColColonCleaner/AdKats

I believe I have followed the instructions correctly, even if the plugin wasn't working etc. Should it not show up in the plugin list regardless of the dependencies required?

 

Edit: If it would help, I can talk on your TeamSpeak, if you want clearer explanation etc.

Please use the correct link posted in the guide: myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry36517
Link to comment

Originally Posted by XpKiller*:

 

Already in progress. Not much has changed between the versions (at least for what AdKats needs), so it should be a rather painless merge.

 

However, he did not update his chatlog table to include player ID. We need this for AdKats webadmin to function, as it will be fetching chat logs by player ID (if a player changes their name you currently lose all reference to previous chat logs). So for the webadmin to function I need to add that column to his table, and use AdKats to store chat logs with player IDs, just like the beta version is right now.

 

AdKats will automatically add that column to the table on first log, and chat will be logged to the table the same way his logger does, except player IDs will be logged as well. So chat logging through his plugin will be disabled, but his tables will still be used.

damn

i forgot it.

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

Originally Posted by ColColonCleaner*:

 

Alright guys, test version that should work with both the BF3 and new Universal versions of XpKiller's Stat logger, on both BF3 and BF4. Let me know how it operates.

 

(Currently 3.6.9.2) https://raw.github.com/ColColonClean...test/AdKats.cs

 

Note: It will automatically disable chat logging through stat logger, and will post chatlogs using it's own internal systems per my previous comments about this issue. Player ID is needed in chat logs for the BF4 version of webadmin.

 

If you get an error about "GameID" not having a default value, I know where it's coming from. It had stopped causing issues for me, but if you get it let me know and i'll give the fix.

Link to comment

Originally Posted by tonnic*:

 

Alright guys, test version that should work with both the BF3 and new Universal versions of XpKiller's Stat logger, on both BF3 and BF4. Let me know how it operates.

 

(Currently 3.6.9.2) https://raw.github.com/ColColonClean...test/AdKats.cs

 

Note: It will automatically disable chat logging through stat logger, and will post chatlogs using it's own internal systems per my previous comments about this issue. Player ID is needed in chat logs for the BF4 version of webadmin.

So we don't need to run the script from the beginning thread anymore? It can be run as is on the normal logger database?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

So we don't need to run the script from the beginning thread anymore? It can be run as is on the normal logger database?

Just make sure the AdKats tables and stat logger tables are in your database and you're fine.

 

If you are setting up a new database:

 

Install and run the universal version of stat logger: myrcon.net/.../stats-webpage-for-xpkillers-stats-logger-plugin

Run the default AdKats SQL script: https://raw.github.com/ColColonClean...ter/adkats.sql

Install and run the test version of AdKats: https://raw.github.com/ColColonClean...test/AdKats.cs

Link to comment

Originally Posted by Mavy*:

 

Getting some contradicting info in the console:

Code:

[10:19:52 41] [AdKats] Initializing AdKats 3.6.9.3 components.
[10:19:52 41] [AdKats] SUCCESS: Server IP is 85.236.109.76:19777!
[10:19:52 44] [AdKats] Attempting database connection. Attempt 1 of 5.
[10:19:52 44] [AdKats] SUCCESS: Database connection open.
[10:19:52 51] [AdKats] WARNING: Updating your records table to include source ID. This may take some time if you have many records! Be patient!
[10:19:53 59] [AdKats] ERROR: Unable to add source_id column to records table.
[10:19:53 62] [AdKats] ERROR: Database structure errors detected, not set up for AdKats use.
[10:19:53 63] [AdKats] Attempting database connection. Attempt 1 of 5.
[10:19:53 63] [AdKats] SUCCESS: Database connection open.
[10:19:53 74] [AdKats] SUCCESS: Database confirmed functional for AdKats use.
[10:19:53 90] [AdKats] SUCCESS: Database Server Info Fetched. Server ID is 1!
[10:19:55 00] [AdKats] Enabled! Version: 3.6.9.3
[10:19:55 00] [AdKats] WARNING: Preparing to queue procon bans for import. Please wait.
What table should i be looking at to pinpoint this?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mavy*:

 

The column exists and is NULL for all existing records. Structure dump is below.

Code:

CREATE TABLE IF NOT EXISTS `adkats_records` (
  `record_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `server_id` smallint(5) unsigned NOT NULL,
  `command_type` varchar(45) NOT NULL DEFAULT 'DefaultCommand',
  `command_action` varchar(45) NOT NULL DEFAULT 'DefaultAction',
  `command_numeric` int(11) NOT NULL DEFAULT '0',
  `target_name` varchar(45) NOT NULL DEFAULT 'NoTarget',
  `target_id` int(11) unsigned DEFAULT NULL,
  `source_name` varchar(45) NOT NULL DEFAULT 'NoNameAdmin',
  `source_id` int(11) unsigned DEFAULT NULL,
  `record_message` varchar(100) NOT NULL DEFAULT 'NoMessage',
  `record_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `adkats_read` enum('Y','N') NOT NULL DEFAULT 'N',
  `adkats_web` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`record_id`),
  KEY `source_id` (`source_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='AdKats Records' AUTO_INCREMENT=1138 ;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jking54*:

 

Test version updated to 3.6.9.3. Fixed some obscure errors.

 

https://raw.github.com/ColColonClean...test/AdKats.cs

Is AdKats working now with the updated ...* plugin?

 

nvm, I see the post above, so business as usual with the myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry36517?

 

I'm still showing 3.5.1.3 is this normal?

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

Originally Posted by ColColonCleaner*:

 

The column exists and is NULL for all existing records. Structure dump is below.

Code:

CREATE TABLE IF NOT EXISTS `adkats_records` (
  `record_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `server_id` smallint(5) unsigned NOT NULL,
  `command_type` varchar(45) NOT NULL DEFAULT 'DefaultCommand',
  `command_action` varchar(45) NOT NULL DEFAULT 'DefaultAction',
  `command_numeric` int(11) NOT NULL DEFAULT '0',
  `target_name` varchar(45) NOT NULL DEFAULT 'NoTarget',
  `target_id` int(11) unsigned DEFAULT NULL,
  `source_name` varchar(45) NOT NULL DEFAULT 'NoNameAdmin',
  `source_id` int(11) unsigned DEFAULT NULL,
  `record_message` varchar(100) NOT NULL DEFAULT 'NoMessage',
  `record_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `adkats_read` enum('Y','N') NOT NULL DEFAULT 'N',
  `adkats_web` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`record_id`),
  KEY `source_id` (`source_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='AdKats Records' AUTO_INCREMENT=1138 ;
It appears that it successfully added in the column, but the foreign key and assignment wasn't done. I'll add double checks for those.

 

For now you can run this to get all of your previous source IDs populated:

Code:

UPDATE 
	`adkats_records`
INNER JOIN 
	`tbl_playerdata`
ON 
	`adkats_records`.`source_name` = `tbl_playerdata`.`SoldierName` 
SET 
	`adkats_records`.`source_id` = `tbl_playerdata`.`PlayerID`
WHERE 
	`tbl_playerdata`.`SoldierName` <> 'AutoAdmin' 
AND 
	`tbl_playerdata`.`SoldierName` <> 'AdKats' 
AND 
	`tbl_playerdata`.`SoldierName` <> 'Server' 
AND 
	`tbl_playerdata`.`SoldierName` <> 'BanEnforcer'
AND 
	`adkats_records`.`source_id` IS NULL;
Link to comment

Originally Posted by tonnic*:

 

Not sure what to do here:

 

[18:20:56 57] [AdKats] Attempting database connection. Attempt 1 of 5.

[18:20:56 57] [AdKats] SUCCESS: Database connection open.

[18:20:56 58] [AdKats] WARNING: Updating your records table to include source ID. This may take some time if you have many records! Be patient!

[18:20:56 58] [AdKats] ERROR: Unable to add source_id column to records table.

[18:20:56 59] [AdKats] ERROR: Database structure errors detected, not set up for AdKats use.

 

I ran the script and followed your instructions, but I'm sure that based on this, I'm missing something.

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

Originally Posted by ColColonCleaner*:

 

Not sure what to do here:

 

[18:20:56 57] [AdKats] Attempting database connection. Attempt 1 of 5.

[18:20:56 57] [AdKats] SUCCESS: Database connection open.

[18:20:56 58] [AdKats] WARNING: Updating your records table to include source ID. This may take some time if you have many records! Be patient!

[18:20:56 58] [AdKats] ERROR: Unable to add source_id column to records table.

[18:20:56 59] [AdKats] ERROR: Database structure errors detected, not set up for AdKats use.

 

I ran the script and followed your instructions, but I'm sure that based on this, I'm missing something.

One other person had this issue so i'm looking into it. Did it shut down AdKats after this? It should have.
Link to comment

Originally Posted by Mavy*:

 

It appears that it successfully added in the column, but the foreign key and assignment wasn't done. I'll add double checks for those.

 

For now you can run this to get all of your previous source IDs populated:

Ran that and it updated 170 records out of 1500. Keep in mind that i am not seeing any errors in the plugin logs.

The plugin also seems to work ok. If you want/prefer i can start on a new database to see the effects on that.

 

EDIT: Had a coffee and realized the query did work ok. Most of the records are whitelistings so the are supposed to be NULL.

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

Originally Posted by ColColonCleaner*:

 

Ran that and it updated 170 records out of 1500. Keep in mind that i am not seeing any errors in the plugin logs.

The plugin also seems to work ok. If you want/prefer i can start on a new database to see the effects on that.

Aha! My logic is detecting errors when there aren't any. Fixing and uploading.
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.