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

 

nope, i'm referring to the normal procon ban list, the other admins are not used to the mini-ban-management scetion, so i switched it off. If we use the normal default in-game admin plugin, we can set to include admin name after the ban reason. Was hoping that when you have the time, maybe you can add that.

Ah, alright i'll include that in a new version.
Link to comment

Originally Posted by lordicon*:

 

I haven't been working on code while on vacation here, just answering questions and posting new issues to fix when i get home. I got your message, and i'll work on it when i'm able.

 

One question though, did you try it with the default settings for email? The default sender credentials i supplied that is. The email system in AdKats is based directly on the system in "Notify Me!". So much so that i directly reference that plugin as a source for that section of my code.

Yea tried with your default gmail info. I also tried it on my home PC and on my Procon Host system and also tried a few other email accounts. So already tried different hosts already tried different emails, It can only be the code or me setting something up wrong but if I am not mistaken then the only things to setup are the email settings and the emails per Admin in the admin user/roles section.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Web Admin 1.4 is now ready for download.

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

Originally Posted by mindleak*:

 

So I made a booboo and erased all of my MySQL databases.

 

Long story short, I'm trying to run the SQL file to import on a brand new setup.

 

I keep getting this error:

 

Error

 

SQL query:

 

CALL addLogPlayerID(

)$$

 

MySQL said: Documentation

#1146 - Table 'adkats.tbl_chatlog' doesn't exist

I've tried importing the SQL file as well as copy/pasting it into the SQL query box, both get the same error.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Anialation*:

 

I'm installing the plugin for the first time and am also getting the "#1146 - Table 'adkats.tbl_chatlog' doesn't exist" error.

 

I think the .sql script isn't in the right sequence for a clean install. The first step is to create a procedure based on tables that don't yet exist. This may be allowed in MySQL with just the right settings, but it's not allowed with my hosts settings which I can't change.

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

Originally Posted by mindleak*:

 

If I try to take out the first part that creates a procedure (just to get further), I get this error:

 

SQL query:

 

ALTER TABLE `adkats_bans` ADD CONSTRAINT `adkats_bans_fk_latest_record_id` FOREIGN KEY ( `latest_record_id` ) REFERENCES `adkats_records_main` ( `record_id` ) ON DELETE CASCADE ON UPDATE CASCADE ,

ADD CONSTRAINT `adkats_bans_fk_player_id` FOREIGN KEY ( `player_id` ) REFERENCES `tbl_playerdata` ( `PlayerID` ) ON DELETE CASCADE ON UPDATE CASCADE ;

 

MySQL said: Documentation

#1005 - Can't create table 'adkats.#sql-df8_62' (errno: 150)

EDIT: I've also tried both of these methods on a completely different MySQL server and get the same errors.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

So I made a booboo and erased all of my MySQL databases.

 

Long story short, I'm trying to run the SQL file to import on a brand new setup.

 

I keep getting this error:

 

 

 

I've tried importing the SQL file as well as copy/pasting it into the SQL query box, both get the same error.

Did you read the installation instructions? Please do before posting.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I'm installing the plugin for the first time and am also getting the "#1146 - Table 'adkats.tbl_chatlog' doesn't exist" error.

 

I think the .sql script isn't in the right sequence for a clean install. The first step is to create a procedure based on tables that don't yet exist. This may be allowed in MySQL with just the right settings, but it's not allowed with my hosts settings which I can't change.

Please read the installation instructions. You are attempting to install AdKats before a prerequisite is installed.
Link to comment

Originally Posted by BriDawg*:

 

[13:53:40 87] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: Unknown column 'GameID' in 'field list'

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( )

at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Int64 playerID, String playerName, String playerGUID, String playerIP)

[13:53:40 87] [AdKats] EXCEPTION: Line 0: [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.PlayerListingThreadLoop()

 

 

Anyone else get this when they try to run this plugin for their remaining BF3 servers? I get a similar error from the Chats/Stats logger as well about 'GameID'

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

Originally Posted by ColColonCleaner*:

 

[13:53:40 87] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: Unknown column 'GameID' in 'field list'

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( )

at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Int64 playerID, String playerName, String playerGUID, String playerIP)

[13:53:40 87] [AdKats] EXCEPTION: Line 0: [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.PlayerListingThreadLoop()

 

 

Anyone else get this when they try to run this plugin for their remaining BF3 servers? I get a similar error from the Chats/Stats logger as well about 'GameID'

Are you attempting to run the new version of stat logger on your old BF3 stat logger database?
Link to comment

Originally Posted by BriDawg*:

 

I tried running the new stat logger, but this is what happens:

 

[14:48:00 99] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unknown column 'GameID' in 'field list'

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

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

Originally Posted by ColColonCleaner*:

 

I tried running the new stat logger, but this is what happens:

 

[14:48:00 99] [statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Unknown column 'GameID' in 'field list'

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

Yeah, you can't run the new version of stat logger on your old database, they are not compatible.
Link to comment

Originally Posted by BriDawg*:

 

Had a feeling that was the issue. But, we have like 1.5 years of data in that database and over 260 pages of bans. Total DB is like 3.7 gigs. Will just not run web admin panel for the remaining time on BF3. 'Cause I am not deleting all that and starting over.

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

Originally Posted by ColColonCleaner*:

 

Had a feeling that was the issue. But, we have like 1.5 years of data in that database and over 260 pages of bans. Total DB is like 3.7 gigs. Will just not run web admin panel for the remaining time on BF3. 'Cause I am not deleting all that and starting over.

We are working on an import script for AdKats information from that version to the new version, will keep you posted.
Link to comment

Originally Posted by jking54*:

 

Dude, don't TRY to get people banned. We have been just fine using 50. Would not suggest going any lower than 25.

So I've been experimenting with some settings, here's one with the DPS at 25:

 

Hacking/Cheating DPS Automatic Ban [ACE52CQB-47-100-26]

Hacking/Cheating DPS Automatic Ban [CZ805-59-310-288]

 

and a few for the HSK, currently at the suggested 50 setting:

 

Hacking/Cheating HSK Automatic Ban [L85A2-57-464-267]

 

Hacking/Cheating HSK Automatic Ban [AK12-71-405-290]

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

Originally Posted by ColColonCleaner*:

 

So I've been experimenting with some settings, here's one with the DPS at 25:

 

Hacking/Cheating DPS Automatic Ban [ACE52CQB-47-100-26]

Hacking/Cheating DPS Automatic Ban [CZ805-59-310-288]

 

and a few for the HSK, currently at the suggested 50 setting:

 

Hacking/Cheating HSK Automatic Ban [L85A2-57-464-267]

 

Hacking/Cheating HSK Automatic Ban [AK12-71-405-290]

All valid, although you might want to look into the L85 one just to confirm it further. The rest of them are blatant.
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.

×
×
  • 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.