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

 

Hi, thanks for the update. Looks good so far.

 

What about the !rules command?

Please understand me. Here is the following scenario to explain the issue.

 

A guest role' player has the following commands allowed for him:

!rules and !help (Request Rules & Request Server Commands)

 

Now, if a guest role' player having the above enabled, using the command !rules, it will show the rules to everyone.

AdKats > Say > All

 

If I disable the Request Server Commands, and they use the !rules, it will show the rules only to the speaker.

AdKats > Say > [speaker]

 

 

Now, that means that the "Request Server Commands" permission is doing two things; controlling the usage of !help, and permit the !rules to broadcast to everyone...

 

 

Do you understand the issue?

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

Originally Posted by HappyGotLucky*:

 

Plugin mentions that it can interact with proconrulz, is there a way that proconrulz kills/kicks can be entered into adkats database for logging purposes or to let adkats handle the killing/kicking? If there is a post about this somewhere direction would be appreciated or if I should be asking on the proconrulz thread let me know.

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

Originally Posted by ColColonCleaner*:

 

Hi, thanks for the update. Looks good so far.

 

What about the !rules command?

Please understand me. Here is the following scenario to explain the issue.

 

A guest role' player has the following commands allowed for him:

!rules and !help (Request Rules & Request Server Commands)

 

Now, if a guest role' player having the above enabled, using the command !rules, it will show the rules to everyone.

AdKats > Say > All

 

 

If I disable the Request Server Commands, and they use the !rules, it will show the rules only to the speaker.

AdKats > Say > [speaker]

 

 

Now, that means that the "Request Server Commands" permission is doing two things; controlling the usage of !help, and permit the !rules to broadcast to everyone...

 

 

Do you understand the issue?

Look at command_id 57 in the adkats_commands table. If command_playerinteraction on that line is 1, change it to 0, and reboot your layers.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Plugin mentions that it can interact with proconrulz, is there a way that proconrulz kills/kicks can be entered into adkats database for logging purposes or to let adkats handle the killing/kicking? If there is a post about this somewhere direction would be appreciated or if I should be asking on the proconrulz thread let me know.

Direct interaction can be done via insane limits, but commands are still accessible from proconrulz. You can have proconrulz issue a hidden admin.say that AdKats reads. In this format "/command parameters", just like you would in game. For example admin say "/kill ColColonCleaner Rule Breaking". Just make sure in the command settings section you've enabled commands via admin say. There is a much better way of doing this via Insane limits with many more options, but this is available to rulz.
Link to comment

Originally Posted by iraqiboy90*:

 

Look at command_id 57 in the adkats_commands table. If command_playerinteraction on that line is 1, change it to 0, and reboot your layers.

This actually helped. Thanks! :smile:

But how exactly did it fix it? What does command_playerinteraction do?

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

Originally Posted by ColColonCleaner*:

 

This actually helped. Thanks! :smile:

But how exactly did it fix it? What does command_playerinteraction do?

Why was that changed to 1 in your database in the first place? At no point has that command been considered an admin command.

 

Since there was no way of determining which roles should be considered "Admin" since so many different combinations could exist, i have it set up to where each command has a setting of player interaction. If a command will or could affect another player's gameplay negatively, that command is classified as a player interaction command, and any role with a player interaction command attached is considered an admin role.

Link to comment

Originally Posted by HappyGotLucky*:

 

Direct interaction can be done via insane limits, but commands are still accessible from proconrulz. You can have proconrulz issue a hidden admin.say that AdKats reads. In this format "/command parameters", just like you would in game. For example admin say "/kill ColColonCleaner Rule Breaking". Just make sure in the command settings section you've enabled commands via admin say. There is a much better way of doing this via Insane limits with many more options, but this is available to rulz.

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

Originally Posted by iraqiboy90*:

 

Why was that changed to 1 in your database in the first place? At no point has that command been considered an admin command.

 

Since there was no way of determining which roles should be considered "Admin" since so many different combinations could exist, i have it set up to where each command has a setting of player interaction. If a command will or could affect another player's gameplay negatively, that command is classified as a player interaction command, and any role with a player interaction command attached is considered an admin role.

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

Originally Posted by Moli87*:

 

Hi COL

 

Thanks for the Update. :smile: Did you also fixed the Log ServerSPAM? I cannot disable it....now i see errors like this

 

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 12|20

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 12|35

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 14|20

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 14|35

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 22|35

[11:29:40 14] [AdKats] ERROR: Unable to find target weight for type|action: 12|20

[11:29:40 14] [AdKats] ERROR: Unable to find target weight for type|action: 12|35

 

And one question about the IRO Punishment....when i want to use it do i need to enable the commands for default user role? Because when i enable the !punish and !forgive commands i see [ADMIN] on that role setting.

 

Thanks for your help and your great work. :ohmy:

 

Greets

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

Originally Posted by ColColonCleaner*:

 

ok....everythink is ine now again except one point:

 

Code:

[19:23:21 87] [AdKats] WARNING: Could not find damage stats for deagle-44 in BF4 library of 71 weapons. Using BFXStats API damage of 85 DPS in the meantime.
[19:23:54 73] [AdKats] WARNING: Could not find damage stats for bulldog in BF4 library of 71 weapons. Using BFXStats API damage of 40 DPS in the meantime.
but everythink else is running just fine

 

CLEANER...Big Thx

All i need are real weapon damages for those weapons and i'll upload them.
Link to comment

Originally Posted by Moli87*:

 

Hi COL

 

Thanks for the Update. :smile: Did you also fixed the Log ServerSPAM? I cannot disable it....now i see errors like this

 

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 12|20

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 12|35

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 14|20

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 14|35

[11:29:40 14] [AdKats] ERROR: Unable to find source weight for type|action: 22|35

[11:29:40 14] [AdKats] ERROR: Unable to find target weight for type|action: 12|20

[11:29:40 14] [AdKats] ERROR: Unable to find target weight for type|action: 12|35

 

And one question about the IRO Punishment....when i want to use it do i need to enable the commands for default user role? Because when i enable the !punish and !forgive commands i see [ADMIN] on that role setting.

 

Thanks for your help and your great work. :ohmy:

 

Greets

Okay the errors like above i didnt notice anymore but an answer about the IRO Punishment i would really appreciate...
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Okay the errors like above i didnt notice anymore but an answer about the IRO Punishment i would really appreciate...

Punish and forgive are admin commands. If you are trying to use this for HC teamkilling these are not the commands for that. The punish system in AdKats tracks how many times players have broken the rules in the database, and based on that gives the appropriate punishment. The IRO clause in the punish system just makes the punishment harsher if they break rules fast (more than once in a X minute window).

 

If you are looking to support punish/forgive for teamkilling there are other plugins that can handle that.

Link to comment

Originally Posted by www-battleplay4u-com*:

 

honestly ... i also dont understand that think with the reserved slot

 

1. every reserved slot (player) has to be assaigned - right?

2. so i create a user role for our 150 reserved slots and put in every single player - uff :-)

3. what are the advantages by doing that?

4. what happens if i forget one

 

thx in advance for answering

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

Originally Posted by ColColonCleaner*:

 

honestly ... i also dont understand that think with the reserved slot

 

1. every reserved slot (player) has to be assaigned - right?

2. so i create a user role for our 150 reserved slots and put in every single player - uff :-)

3. what are the advantages by doing that?

4. what happens if i forget one

 

thx in advance for answering

That is the way of doing it for small cases. For large or automated cases, use the special players table, and the slot_reserved group. There are docs for this.
Link to comment

Originally Posted by Kinsman*:

 

unsure whats required for reserved slots? we never had anything special setup for them before, besides the reservedslots.txt on the server, are you saying we need to create a role for them now__?

 

Also just spotted this error in 5005, thought you might like to know.

 

[12:00:14 31] [AdKats] EXCEPTION: Line 0: [GetDisplayPluginVariables][Error while fetching display vars.]: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException( ExceptionResource resource)

at System.Collections.Generic.Dictionary`2.ValueColle ction.Enumerator.MoveNext()

at PRoConEvents.AdKats.GetDisplayPluginVariables()

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

Originally Posted by ColColonCleaner*:

 

unsure whats required for reserved slots? we never had anything special setup for them before, besides the reservedslots.txt on the server, are you saying we need to create a role for them now__?

 

Also just spotted this error in 5005, thought you might like to know.

No, if you use the reservedslots.txt file, just make sure you have "Feed Server Reserved Slots" set to False, and AdKats won't touch your reserved slots.

 

That error...shouldn't happen, i use locks everywhere. But that method is massive, and i wont be able to find the problem unless i get a line number. It will only affect your layer for under a minute, but it still is an issue.

Link to comment

Originally Posted by Obl1ter*:

 

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 6|20

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 6|35

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 7|20

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 7|35

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 14|20

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 14|35

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 33|20

[22:08:40 76] [AdKats] ERROR: Unable to find source weight for type|action: 33|35

[22:08:40 89] [AdKats] ERROR: Unable to find target weight for type|action: 3|20

[22:08:40 89] [AdKats] ERROR: Unable to find target weight for type|action: 14|35

[22:11:03 50] [AdKats] ERROR: Unable to find target weight for type|action: 9|35

[22:11:38 17] [AdKats] ERROR: Unable to find target weight for type|action: 7|35

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 6|20

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 6|35

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 7|20

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 7|35

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 14|20

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 14|35

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 33|20

[22:11:55 38] [AdKats] ERROR: Unable to find source weight for type|action: 33|35

[22:11:55 52] [AdKats] ERROR: Unable to find target weight for type|action: 3|20

[22:11:55 52] [AdKats] ERROR: Unable to find target weight for type|action: 14|35

What could it be ?
* Restored post. It could be that the author is no longer active.
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.