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

 

Hi guys. I need to update ADKats plugin.

I found in its log this message:

 

 

Than i try to replace old AdKats.cs and adkats.sql with the 7.0.0 versions, but got the following error:

 

 

Please, help me to update our server AdKats plugin. Thanks a lot guys.

Run the 7.0.0.0 version and then use /pupdate (from the procon chat window) to download the latest test version, then reboot procon. Your issue with the role settings section should be fixed.

 

It should update to Version 7.0.0.46.

Link to comment

Originally Posted by Lebensgefahr*:

 

Run the 7.0.0.0 version and then use /pupdate (from the procon chat window) to download the latest test version, then reboot procon. Your issue with the role settings section should be fixed.

 

It should update to Version 7.0.0.46.

Thanks a lot. Fixing is fast as a space shuttle.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Lebensgefahr*:

 

Error is the same. Have no idea how to fix this.

[07:54:36] [AdKats] SUCCESS: Player listing complete [0 players].

[07:54:36] [AdKats] INFO: Performing final startup.

[07:54:36] [AdKats] SUCCESS: AdKats 7.0.0.0 startup complete [2m39s]. Commands are now online.

[07:55:14] [AdKats] EXCEPTION-7000-D-b__f40-PluginUpdater43: [Error while running update thread.][system.Security.SecurityException: Fehler bei der Anfrage.

bei PRoConEvents.AdKats.CompilePluginSource(String pluginSource)

bei PRoConEvents.AdKats.b__f40( )

Die Aktion, bei der ein Fehler aufgetreten ist:

LinkDemand

Der Typ der ersten Berechtigung, bei der ein Fehler aufgetreten ist:

System.Security.PermissionSet

Die Zone der Assembly, bei der ein Fehler aufgetreten ist:

MyComputer]

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

Originally Posted by ColColonCleaner*:

 

Error is the same. Have no idea how to fix this.

I'm not sure why it's failing, but here is the direct link to the latest test version.

 

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

 

Just download that and overwrite the AdKats.cs file with it to get 7.0.0.46. I'll work on finding out what the issue is in the meantime.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Thanks. Should i rplace adkats.sql too?

No, you can delete the adkats.sql file from your layer, it doesn't need to be there.

 

Keep in mind you might still see some of the update errors until that's fixed since you are on a test version and test version's automatically try to update. This should only appear once an hour though, and it will not affect anything else in the plugin.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Colcol.

i noticed this on procon.

12:22:12 08] [AdKats] INFO: STATDIFF - [iNF]iamadeadpixel - L86A2 [1/1][100 DPS][+300%]

Do i need to be worried?

and yes, this is my favorite weapon

Don't worry about it. The plugin just noticed you got a single 1 hit kill with the L86A2, likely a person at low health. Every match it runs these checks looking for damage mods when you have the LIVE system enabled. Even if a player has thousands of kills on a weapon it's able to catch damage mods with just 1 round of usage because of this.
Link to comment

Originally Posted by Hodor*:

 

@ColColonCleaner

 

Hello, tell me please, is there a command that will give me the opportunity through ProconRulz to disable any functions in pluign or change the value? I know only one, but it turns off the plugin completely :sad:

Code:

Exec procon.protected.plugins.enable AdKats false
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

@ColColonCleaner

 

Hello, tell me please, is there a command that will give me the opportunity through ProconRulz to disable any functions in pluign or change the value? I know only one, but it turns off the plugin completely :sad:

Code:

Exec procon.protected.plugins.enable AdKats false
What are you attempting to do?
Link to comment

Originally Posted by Hodor*:

 

@ColColonCleaner

 

I test this commands

Code:

On Say;Text /kkk;Exec procon.protected.plugins.setVariable AdKats B25.Auto-Surrender Settings Auto-Surrender Maximum Ticket Count 50
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "B25.Auto-Surrender Settings" "Auto-Surrender Maximum Ticket Count" "50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "B25.Auto-Surrender Settings" "Auto-Surrender Maximum Ticket Count 50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable AdKats _surrenderAutoMinimumTicketCount 50
On Say;Text /kkk;Exec procon.protected.plugins.setVariable AdKats surrenderAutoMinimumTicketCount 50
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "_surrenderAutoMinimumTicketCount" "50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "surrenderAutoMinimumTicketCount" "50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "_surrenderAutoMinimumTicketCount 50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "surrenderAutoMinimumTicketCount 50"
and none of them worked. Are there any other suggestions?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

@ColColonCleaner

 

I made my topic for the BFACP so I don't need to use yours.

 

If you have any support questions please use that topic.

 

myrcon.net/.../battlefield-admin-control-panel-for-adkats

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

 

@ColColonCleaner

 

I test this commands

Code:

On Say;Text /kkk;Exec procon.protected.plugins.setVariable AdKats B25.Auto-Surrender Settings Auto-Surrender Maximum Ticket Count 50
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "B25.Auto-Surrender Settings" "Auto-Surrender Maximum Ticket Count" "50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "B25.Auto-Surrender Settings" "Auto-Surrender Maximum Ticket Count 50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable AdKats _surrenderAutoMinimumTicketCount 50
On Say;Text /kkk;Exec procon.protected.plugins.setVariable AdKats surrenderAutoMinimumTicketCount 50
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "_surrenderAutoMinimumTicketCount" "50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "surrenderAutoMinimumTicketCount" "50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "_surrenderAutoMinimumTicketCount 50"
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "surrenderAutoMinimumTicketCount 50"
and none of them worked. Are there any other suggestions?
On Say;Text /kkk;Exec procon.protected.plugins.setVariable "AdKats" "Auto-Surrender Maximum Ticket Count" "50"

 

That is assuming proconrulz handles quotes/spaces/etc.

Link to comment

Originally Posted by Toni_KOS*:

 

Hi,

 

I have the following error messages in adkats for a few days:

 

Code:

[17:19:32 42] Error in Tablebuilder: 
[17:19:32 42] Message: REFERENCES command denied to user '***'@'*.*.*.*' for table 'tbl_playerdata'
[17:19:32 42] Native: -2147467259
[17:19:32 42] Source: MySql.Data
[17:19:32 42] StackTrace:    at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& 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.ExecuteNonQuery()
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
[17:19:32 44] Error: System.NullReferenceException: Object reference not set to an instance of an object.
   at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErrorCollection(MySqlException myException)
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
Can everyone help me, please ?

I have not changed anything since the last update of Adkats.

 

What details are needed?

 

Adkats: 7.0.0.0 last stable

Gameserverhoster: Nitrado

 

thx, Tonne

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

Originally Posted by ColColonCleaner*:

 

Hi,

 

I have the following error messages in adkats for a few days:

 

Code:

[17:19:32 42] Error in Tablebuilder: 
[17:19:32 42] Message: REFERENCES command denied to user '***'@'*.*.*.*' for table 'tbl_playerdata'
[17:19:32 42] Native: -2147467259
[17:19:32 42] Source: MySql.Data
[17:19:32 42] StackTrace:    at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& 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.ExecuteNonQuery()
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
[17:19:32 44] Error: System.NullReferenceException: Object reference not set to an instance of an object.
   at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErrorCollection(MySqlException myException)
   at PRoConEvents.CChatGUIDStatsLogger.tablebuilder()
Can everyone help me, please ?

I have not changed anything since the last update of Adkats.

 

What details are needed?

 

Adkats: 7.0.0.0 last stable

Gameserverhoster: Nitrado

 

thx, Tonne

The user you've given procon for MYSQL does not have enough permissions. You need to give it a user that has access to change tables/keys/etc.
Link to comment

Originally Posted by Kulafu101*:

 

please help

[23:57:42 88] [AdKats] ENABLED! Beginning startup sequence...

[23:57:45 96] [AdKats] SUCCESS: Fetched 111 BF4 weapon stat definitions.

[23:57:46 61] [AdKats] SUCCESS: Fetched reputation definitions.

[23:57:48 50] [AdKats] SUCCESS: Fetched weapon names.

[23:57:49 43] [AdKats] SUCCESS: Fetched special player group definitions.

[23:57:53 95] [AdKats] SUCCESS: Server IP is 173.199.105.53:30000

[23:57:53 95] [AdKats] ERROR-7000: [Database connection failed. Attempt 1 of 5. Retrying in 5 seconds. ]

[23:57:58 95] [AdKats] ERROR-7000: [Database connection failed. Attempt 2 of 5. Retrying in 5 seconds. ]

[23:58:03 96] [AdKats] ERROR-7000: [Database connection failed. Attempt 3 of 5. Retrying in 5 seconds. ]

[23:58:08 96] [AdKats] ERROR-7000: [Database connection failed. Attempt 4 of 5. Retrying in 5 seconds. ]

[23:58:13 96] [AdKats] ERROR-7000: [Database connection failed. Attempt 5 of 5. Retrying in 5 seconds. ]

[23:58:18 96] [AdKats] ERROR-7000: [Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.]

[23:58:18 96] [AdKats] INFO: Shutting down AdKats.

[23:58:19 50] [AdKats] AdKats 7.0.0.0 Disabled! =(

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

Originally Posted by Prophet731*:

 

please help

[23:57:42 88] [AdKats] ENABLED! Beginning startup sequence...

[23:57:45 96] [AdKats] SUCCESS: Fetched 111 BF4 weapon stat definitions.

[23:57:46 61] [AdKats] SUCCESS: Fetched reputation definitions.

[23:57:48 50] [AdKats] SUCCESS: Fetched weapon names.

[23:57:49 43] [AdKats] SUCCESS: Fetched special player group definitions.

[23:57:53 95] [AdKats] SUCCESS: Server IP is 173.199.105.53:30000

[23:57:53 95] [AdKats] ERROR-7000: [Database connection failed. Attempt 1 of 5. Retrying in 5 seconds. ]

[23:57:58 95] [AdKats] ERROR-7000: [Database connection failed. Attempt 2 of 5. Retrying in 5 seconds. ]

[23:58:03 96] [AdKats] ERROR-7000: [Database connection failed. Attempt 3 of 5. Retrying in 5 seconds. ]

[23:58:08 96] [AdKats] ERROR-7000: [Database connection failed. Attempt 4 of 5. Retrying in 5 seconds. ]

[23:58:13 96] [AdKats] ERROR-7000: [Database connection failed. Attempt 5 of 5. Retrying in 5 seconds. ]

[23:58:18 96] [AdKats] ERROR-7000: [Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.]

[23:58:18 96] [AdKats] INFO: Shutting down AdKats.

[23:58:19 50] [AdKats] AdKats 7.0.0.0 Disabled! =(

It says it right there. Your Database connection settings are incorrect. Double check and make sure all the information is correct.

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

 

Please help,

I am still getting error connecting the plugin to my database, All credentials are ok :sad:

Procedures

New

Procedure

addLogPlayerID

Tables

New

Structure

adkats_bans

Structure

adkats_battlecries

Structure

adkats_battlelog_players

Expand/Collapse

Structure

adkats_commands

 

Expand/Collapse

Database operations

information_schema

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

Originally Posted by ColColonCleaner*:

 

Please help,

I am still getting error connecting the plugin to my database, All credentials are ok :sad:

Procedures

New

Procedure

addLogPlayerID

Tables

New

Structure

adkats_bans

Structure

adkats_battlecries

Structure

adkats_battlelog_players

Expand/Collapse

Structure

adkats_commands

 

Expand/Collapse

Database operations

information_schema

Post the error you're getting.
Link to comment

Originally Posted by Kulafu101*:

 

[23:51:30 26] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: startIndex

at System.String.Insert(Int32 startIndex, String value)

at PRoCon.Core.Plugin.PluginManager.BuildPluginSource (FileInfo pluginFile) in D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\P rocon-1\src\PRoCon.Core\Plugin\PluginManager.cs:line 623

at PRoCon.Core.Plugin.PluginManager.CompilePlugin(Fil eInfo pluginFile, String pluginClassName, CodeDomProvider pluginsCodeDomProvider, CompilerParameters parameters) in D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\P rocon-1\src\PRoCon.Core\Plugin\PluginManager.cs:line 636

at PRoCon.Core.Plugin.PluginManager.CompilePlugins(Pe rmissionSet pluginSandboxPermissions, List`1 ignoredPluginClassNames) in D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\P rocon-1\src\PRoCon.Core\Plugin\PluginManager.cs:line 841

[23:51:30 27] Compiling CInGameAdmin.cs... Using Cache

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

Originally Posted by ColColonCleaner*:

 

[23:51:30 26] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: startIndex

at System.String.Insert(Int32 startIndex, String value)

at PRoCon.Core.Plugin.PluginManager.BuildPluginSource (FileInfo pluginFile) in D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\P rocon-1\src\PRoCon.Core\Plugin\PluginManager.cs:line 623

at PRoCon.Core.Plugin.PluginManager.CompilePlugin(Fil eInfo pluginFile, String pluginClassName, CodeDomProvider pluginsCodeDomProvider, CompilerParameters parameters) in D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\P rocon-1\src\PRoCon.Core\Plugin\PluginManager.cs:line 636

at PRoCon.Core.Plugin.PluginManager.CompilePlugins(Pe rmissionSet pluginSandboxPermissions, List`1 ignoredPluginClassNames) in D:\_Phil_\privat\_Gameserver_com_\_SRC_\_GitHub_\P rocon-1\src\PRoCon.Core\Plugin\PluginManager.cs:line 841

[23:51:30 27] Compiling CInGameAdmin.cs... Using Cache

This is either unrelated to AdKats or you have an unofficial download of AdKats. The current plugin definitely compiles in procon.
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.
Note: Your post will require moderator approval before it will be visible.

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.