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

 

ColColonCleaner, is the issue I'm having related to BFAdminCP? Is it anything I need to worry about?

Not really, it will only affect player's reputation.

 

Wait for an update from prophet which fixes the issue with report deny using the wrong action ID, then run this query:

 

update adkats_records_main set command_action = 42 where command_type = 18 and command_action = 41;

Link to comment

Originally Posted by dmmaciag*:

 

Not really, it will only affect player's reputation.

 

Wait for an update from prophet which fixes the issue with report deny using the wrong action ID, then run this query:

 

update adkats_records_main set command_action = 42 where command_type = 18 and command_action = 41;

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

Originally Posted by )RAG()N*:

 

I have come across a little bug,

 

If you type in !coms into chat adkats does this

 

AdKats > '= Your Server Reputation' is an invalid player name.

AdKats > You can't use a self-targeted command from outside the game.

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

Originally Posted by ColColonCleaner*:

 

I have come across a little bug,

 

If you type in !coms into chat adkats does this

 

AdKats > '= Your Server Reputation' is an invalid player name.

AdKats > You can't use a self-targeted command from outside the game.

There is not a !coms command in AdKats, did you change another command's text to be 'coms'? What does this coms command do?

 

Where are you trying to issue this !coms command from?

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

ok question what does "ping kick ignore user list" do?

 

I want the guys on user list not to get kicked via ping enforcer

 

do I set it to true or false?

Yes. Enabling that will make the plugin ignore all players on your user list.

 

Alternatively you can assign individual roles to the latency whitelist in section 4-2.

Link to comment

Originally Posted by ripper23*:

 

Yes. Enabling that will make the plugin ignore all players on your user list.

 

Alternatively you can assign individual roles to the latency whitelist in section 4-2.

is there a way to have my procon reserve slot list be excluded from the ping enforcer/kicker?

 

 

how do I do that its a little confusing lol

* 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 to have my procon reserve slot list be excluded from the ping enforcer/kicker?

 

 

how do I do that its a little confusing lol

I'm assuming AdKats isn't controlling your reserved slot list yet, so you need to start by doing that.

 

Copy all the names currently in your reserved slot list, this is important because AdKats will wipe the list once you turn on control of it.

Turn on 'Feed server reserved slots' in the orchestration setting section. Your reserved slot list in procon will now be empty.

If you want an automatic reserved slot given to admins, simply enable that setting, which appears after turning on the feed.

 

Now we need to set it up so everyone who's given a reserved slot manually also has a ping kick whitelist. Here's how:

 

Make a new role called Reserved Slot, this is the role we will assign to any random person you want given a reserved slot.

In section 4-2, assign this new Reserved Slot role both the reserved slot and latency whitelist types.

Now anyone given the 'Reserved Slot' role will have both reserved slots and ping kick whitelists. (this is actually how we handle reserved slots in our own servers)

Now, make new users for each of the people in your previous reserved slot list (those who aren't already assigned to other roles), then give those people this new 'Reserved Slot' role.

Make sure for each of the new users you make that they have soldiers automatically assigned. If they don't get automatically assigned a soldier you will need to manually assign it.

 

For anyone new you want to add for reserved slots in the future, just follow the same steps, make a new user for them, and assign them the reserved slot role you made.

 

This is also nice for expiration of reserved slots, you can just change the expire date on their user and they will automatically lose their slots after the given date.

Link to comment

Originally Posted by Sno69*:

 

ColColonCleaner,

 

Having issues setting up my email sending. Followed the instructions, but am erroring out.

Here it is, any suggestions?

 

Demand

The type of the first permission that failed was:

System.Net.Mail.SmtpPermission

The Zone of the assembly that failed was:

MyComputer]

 

 

I am using gmail,

have it to smtp.gmail.com, port 587, and ssl set true.

 

BTW, love the plug in.

 

Sno69

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

Originally Posted by )RAG()N*:

 

There is not a !coms command in AdKats, did you change another command's text to be 'coms'? What does this coms command do?

 

Where are you trying to issue this !coms command from?

I have made a insanelimits plugin that when you type in !coms into the chat it gives you a list of commands that you can uses like !rank, !serverstats, ect ect
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I have made a insanelimits plugin that when you type in !coms into the chat it gives you a list of commands that you can uses like !rank, !serverstats, ect ect

There is already a command for this in AdKats. The default text for it is !help, just look through your command list. You can change it to !coms if you want. It will tell the player all the commands their role can access.

 

In the 'command settings' section (section 5) you will see two list settings, external player commands, and external admin commands. You can put in these sections the commands outside of AdKats that players can use. So for example if you have a !stats command that AdKats doesn't know about, just add !stats to the player command list.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

ColColonCleaner,

 

Having issues setting up my email sending. Followed the instructions, but am erroring out.

Here it is, any suggestions?

 

Demand

The type of the first permission that failed was:

System.Net.Mail.SmtpPermission

The Zone of the assembly that failed was:

MyComputer]

 

 

I am using gmail,

have it to smtp.gmail.com, port 587, and ssl set true.

 

BTW, love the plug in.

 

Sno69

For gmail you need to allow the application access to your account. I don't remember where the settings are because I haven't used it in a long time, but there is a place where you set external program access to your account. Only then will it allow access to your account.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Will this plugin allow this or something similar;

 

It ties into the BF4DB.com website and those who have cheat score will be banned?

Integration with BF4DB for ban enforcement is not planned. A command that fetches their cheat score is planned but not scheduled yet.
Link to comment

Originally Posted by CaptCourage*:

 

I have now successfully ran the script, enabled adkats and it throws this error at debug value1. I have ensured that the database connection details are correct and the statslogger plugin is definitely enabled and working.

 

 

 

 

[03:01:40 32] [AdKats] ENABLED! Beginning startup sequence...

[03:01:44 13] [AdKats] Weapon statistic definitions fetched.

[03:01:44 13] [AdKats] SUCCESS: Fetched 111 BF4 weapon stat definitions.

[03:01:44 67] [AdKats] Reputation definitions fetched.

[03:01:44 68] [AdKats] SUCCESS: Fetched reputation definitions.

[03:01:45 46] [AdKats] Weapon names fetched.

[03:01:45 46] [AdKats] SUCCESS: Fetched weapon names.

[03:01:46 00] [AdKats] Special group definitions fetched.

[03:01:46 00] [AdKats] SUCCESS: Fetched special player group definitions.

[03:01:47 09] [AdKats] SUCCESS: Global timing confirmed.

[03:01:47 09] [AdKats] SUCCESS: Server IP is 43.245.160.100:10003

[03:01:47 09] [AdKats] Starting Database Comm Thread

[03:01:47 19] [AdKats] Starting Battlelog Comm Thread

[03:01:47 29] [AdKats] Starting IP API Comm Thread

[03:01:47 63] [AdKats] SQL updates fetched.

[03:01:47 97] [AdKats] INFO: player_say command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Player Say access must be 'AnyHidden'. Resetting.

[03:01:47 97] [AdKats] INFO: player_yell command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Player Yell access must be 'AnyHidden'. Resetting.

[03:01:47 97] [AdKats] INFO: player_tell command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Player Tell access must be 'AnyHidden'. Resetting.

[03:01:47 97] [AdKats] INFO: player_find command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Find Player access must be 'AnyHidden'. Resetting.

[03:01:48 09] [AdKats] ERROR-6810: [Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!]

[03:01:48 09] [AdKats] INFO: Shutting down AdKats.

[03:01:48 10] [AdKats] Ending Battlelog Comm Thread

[03:01:48 14] [AdKats] Ending Database Comm Thread

[03:01:52 30] [AdKats] Ending IP API Comm Thread

[03:01:52 66] [AdKats] AdKats 6.8.1.0 Disabled! =(

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

Originally Posted by ColColonCleaner*:

 

I have now successfully ran the script, enabled adkats and it throws this error at debug value1. I have ensured that the database connection details are correct and the statslogger plugin is definitely enabled and working.

 

 

 

 

[03:01:40 32] [AdKats] ENABLED! Beginning startup sequence...

[03:01:44 13] [AdKats] Weapon statistic definitions fetched.

[03:01:44 13] [AdKats] SUCCESS: Fetched 111 BF4 weapon stat definitions.

[03:01:44 67] [AdKats] Reputation definitions fetched.

[03:01:44 68] [AdKats] SUCCESS: Fetched reputation definitions.

[03:01:45 46] [AdKats] Weapon names fetched.

[03:01:45 46] [AdKats] SUCCESS: Fetched weapon names.

[03:01:46 00] [AdKats] Special group definitions fetched.

[03:01:46 00] [AdKats] SUCCESS: Fetched special player group definitions.

[03:01:47 09] [AdKats] SUCCESS: Global timing confirmed.

[03:01:47 09] [AdKats] SUCCESS: Server IP is 43.245.160.100:10003

[03:01:47 09] [AdKats] Starting Database Comm Thread

[03:01:47 19] [AdKats] Starting Battlelog Comm Thread

[03:01:47 29] [AdKats] Starting IP API Comm Thread

[03:01:47 63] [AdKats] SQL updates fetched.

[03:01:47 97] [AdKats] INFO: player_say command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Player Say access must be 'AnyHidden'. Resetting.

[03:01:47 97] [AdKats] INFO: player_yell command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Player Yell access must be 'AnyHidden'. Resetting.

[03:01:47 97] [AdKats] INFO: player_tell command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Player Tell access must be 'AnyHidden'. Resetting.

[03:01:47 97] [AdKats] INFO: player_find command access being changed from AnyHidden to Any

[03:01:47 97] [AdKats] INFO: Find Player access must be 'AnyHidden'. Resetting.

[03:01:48 09] [AdKats] ERROR-6810: [Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!]

[03:01:48 09] [AdKats] INFO: Shutting down AdKats.

[03:01:48 10] [AdKats] Ending Battlelog Comm Thread

[03:01:48 14] [AdKats] Ending Database Comm Thread

[03:01:52 30] [AdKats] Ending IP API Comm Thread

[03:01:52 66] [AdKats] AdKats 6.8.1.0 Disabled! =(

Your stat logger plugin hasn't been running for long enough. Make sure that plugin is up and running for a couple rounds before you enable AdKats. There is some information it puts in the database that AdKats needs.
Link to comment

Originally Posted by )RAG()N*:

 

There is already a command for this in AdKats. The default text for it is !help, just look through your command list. You can change it to !coms if you want. It will tell the player all the commands their role can access.

 

In the 'command settings' section (section 5) you will see two list settings, external player commands, and external admin commands. You can put in these sections the commands outside of AdKats that players can use. So for example if you have a !stats command that AdKats doesn't know about, just add !stats to the player command list.

I have added that command to section 5 in "External player" and "External Admin" commands and when a player types in the !coms in to chat its still popping this message up.

 

[22:20:54] AdKats > '= Your Server Reputation' is an invalid player name.

[22:20:54] AdKats > You can't use a self-targeted command from outside the game.

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

Originally Posted by RedentorKane*:

 

Hi, I have this problem:

 

[09:20:48 72] [AdKats] SUCCESS: Fetched 111 BF4 weapon stat definitions.

[09:20:49 02] [AdKats] SUCCESS: Fetched reputation definitions.

[09:20:49 44] [AdKats] SUCCESS: Fetched weapon names.

[09:20:50 21] [AdKats] SUCCESS: Fetched special player group definitions.

[09:20:51 39] [AdKats] SUCCESS: Global timing confirmed.

[09:20:51 39] [AdKats] SUCCESS: Server IP is 198.12.77.60:47300

[09:20:51 69] [AdKats] ERROR-6810: [Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.]

[09:20:51 69] [AdKats] INFO: Shutting down AdKats.

[09:20:56 81] [AdKats] AdKats 6.8.1.0 Disabled! =(

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

Originally Posted by RedentorKane*:

 

Chats say this:

[statslogger]Error: getUpdateServerID1: MySql.Data.MySqlClient.MySqlException: Authentication to host '208.100.60.17' for user 'usarmytr_usar60' using method 'mysql_native_password' failed with message: Access denied for user 'usarmytr_usar60'@'198.23.148.158' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException: Access denied for user 'usarmytr_usar60'@'198.23.148.158' (using password: YES)

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

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

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()

--- End of inner exception stack trace ---

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.AuthenticationFailed(Exception ex)

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.ReadPacket()

at MySql.Data.MySqlClient.Authentication.MySqlAuthent icationPlugin.Authenticate(Boolean reset)

at MySql.Data.MySqlClient.NativeDriver.Authenticate(S tring authMethod, Boolean reset)

at MySql.Data.MySqlClient.NativeDriver.Open()

at MySql.Data.MySqlClient.Driver.Open()

at MySql.Data.MySqlClient.Driver.Create(MySqlConnecti onStringBuilder settings)

at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledCo nnection()

at MySql.Data.MySqlClient.MySqlPool.GetPooledConnecti on()

at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()

at MySql.Data.MySqlClient.MySqlPool.GetConnection()

at MySql.Data.MySqlClient.MySqlConnection.Open()

at PRoConEvents.CChatGUIDStatsLogger.getUpdateServerI D(CServerInfo csiServerInfo)

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

Originally Posted by RedentorKane*:

 

Now I have this problem:

 

19:25:18 84] [AdKats] WARNING: Your PRoCon layer and database have a 8M5h16m UTC timestamp mismatch. UTC-Database: (1/25/2016 8:08:55 PM) UTC-Procon: (9/6/2016 1:25:18 AM)

[19:25:21 75] [AdKats] AdKats 6.8.1.0 Disabled! =(

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

Originally Posted by RedentorKane*:

 

Now I have this problem:

 

19:25:18 84] [AdKats] WARNING: Your PRoCon layer and database have a 8M5h16m UTC timestamp mismatch. UTC-Database: (1/25/2016 8:08:55 PM) UTC-Procon: (9/6/2016 1:25:18 AM)

[19:25:21 75] [AdKats] AdKats 6.8.1.0 Disabled! =(

And this:

[20:18:38 37] [AdKats] EXCEPTION-6810-D-DoBattlelogWait-HackerChecker27: [Error performing battlelog wait.][system.ArgumentOutOfRangeException: Number must be either non-negative and less than or equal to Int32.MaxValue or -1.

Parameter name: timeout

at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)

at System.Threading.WaitHandle.WaitOne(TimeSpan timeout)

at PRoConEvents.AdKats.DoBattlelogWait()]

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

Originally Posted by ColColonCleaner*:

 

Now I have this problem:

 

19:25:18 84] [AdKats] WARNING: Your PRoCon layer and database have a 8M5h16m UTC timestamp mismatch. UTC-Database: (1/25/2016 8:08:55 PM) UTC-Procon: (9/6/2016 1:25:18 AM)

[19:25:21 75] [AdKats] AdKats 6.8.1.0 Disabled! =(

Um, the clock on your procon layer is 8 months off. Please have that fixed by your layer host.
Link to comment

Originally Posted by RedentorKane*:

 

Um, the clock on your procon layer is 8 months off. Please have that fixed by your layer host.

Thank you! I sent a tikets to fragnet.

 

Can you helpme in this:

 

And this:

[20:18:38 37] [AdKats] EXCEPTION-6810-D-DoBattlelogWait-HackerChecker27: [Error performing battlelog wait.][system.ArgumentOutOfRangeException: Number must be either non-negative and less than or equal to Int32.MaxValue or -1.

Parameter name: timeout

at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)

at System.Threading.WaitHandle.WaitOne(TimeSpan timeout)

at PRoConEvents.AdKats.DoBattlelogWait()]

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

Originally Posted by ColColonCleaner*:

 

Thank you! I sent a tikets to fragnet.

 

Can you helpme in this:

 

And this:

[20:18:38 37] [AdKats] EXCEPTION-6810-D-DoBattlelogWait-HackerChecker27: [Error performing battlelog wait.][system.ArgumentOutOfRangeException: Number must be either non-negative and less than or equal to Int32.MaxValue or -1.

Parameter name: timeout

at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext)

at System.Threading.WaitHandle.WaitOne(TimeSpan timeout)

at PRoConEvents.AdKats.DoBattlelogWait()]

It should be fixed once you get your clock in order. Your layer is trying to offset everything to match your database time (the correct time) and something is being lost in translation. Once your clock is fixed let me know if you still see this.
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.