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 www-battleplay4u-com*:

 

Well, the second one failed because you modified the script, not because of permissions. You added "AdministratorDELIMITER" to the beginning, which is not a valid MySQL command.

you are right...my bad

 

But i get this message after as admin

 

colcolcleaner4.png

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

Originally Posted by www-battleplay4u-com*:

 

still have the problem with not writing datas into db...even if i install a total new db....if i punish somebody i get a minus points message which wont be written into db

 

[16:58:52] (PlayerSay OOOps_I_did_it) You KILLED "playername" for being disrespectful [-1pts]

Could it be that the rights of the db for the user is incorrect?

 

 

colcolcleaner5.png

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

Originally Posted by MorpheusX(AUT)*:

 

Could it be that the rights of the db for the user is incorrect?

What you linked are global rights (for all databases/the database engine itself), not the ones for the one database containing adkats.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by www-battleplay4u-com*:

 

colcolcleaner6.png

 

now: that are the user rights

 

---

 

Dude i know you are totally busy with your stuff, adkats, real life and so on and you allready spent some time for me but i really would need help. :-)

 

Statslogger is running but why dont adkats run

We are working on that for a long time and dont get it running

 

i have sent you an pm

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

Originally Posted by thunder86*:

 

TESTING NEEDED!

 

The below sql setup script is a section from the beta version for AdKats 4.0, and there is only one reason i am posting it early. I want to make sure those users with hosted databases are able to create procedures using their provided permissions. Those of you running local databases, or those with a dedicated server/VPS will not have an issue since you have superuser access. However, for those running hosted databases i need to know if you have permission issues.

 

This script can be run safely on any database currently running AdKats 3.7+, please run if you are using a hosted database, and let me know if it succeeds without issue: https://raw.github.com/ColColonClean...siontester.sql

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

Originally Posted by mindleak*:

 

What is the advantage you're looking for by implementing this in AdKats vs using the existing plugin for it?

Well the only plugin I found for votekick isn't officially ported to BF4 and the few comments on it pretty much made it seem like it's hit or miss, especially used in combination with adkats, as adkats appears to intercept the !yes/@yes command that votekick initiates. Plus adkats is just freaking awesome so I would imagine the same amount of awesomness would go into that part :P That and I like running as few plugins as possible with maximum features.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MorpheusX(AUT)*:

 

That and I like running as few plugins as possible with maximum features.

That's actually a bad thing to do. The more functionality (and thus also the more load) you bundle into a single plugin, the more unstable the whole Procon layer can get. Procon was definitely NOT designed to have every functionality run by a single plugin.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mindleak*:

 

That's actually a bad thing to do. The more functionality (and thus also the more load) you bundle into a single plugin, the more unstable the whole Procon layer can get. Procon was definitely NOT designed to have every functionality run by a single plugin.

Well... that does make sense. I'll gladly use a plugin that works, but like I said from what I could gather from the comments... adkats seems to interfere with votekick plugin since it intercepts the !yes confirmation then adkats rejects the !yes since adkats itself didn't request anything requiring a confirmation.

 

I could be totally wrong but that's what it sounded like to me with the current votekick plugin I found.

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

Originally Posted by MorpheusX(AUT)*:

 

Actually, adkats can't really "interfere" since the other plugins will get the same events anyways (a single plugin cannot "cancel" events for other plugins). It might get confused since it doesn't find use for the command, but the voting should work anyways.

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

Originally Posted by www-battleplay4u-com*:

 

sry to annoy you cleaner.....but i checked everythink....statslogger is running...writing datas into db....but adkats dont...as you looked into the db you also saw that adkats wrining datas somewhere but not into the supposed db...that must be a bug...hope you can fix it

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

Originally Posted by ColColonCleaner*:

 

Well... that does make sense. I'll gladly use a plugin that works, but like I said from what I could gather from the comments... adkats seems to interfere with votekick plugin since it intercepts the !yes confirmation then adkats rejects the !yes since adkats itself didn't request anything requiring a confirmation.

 

I could be totally wrong but that's what it sounded like to me with the current votekick plugin I found.

Are you saying !yes is saying "No command to confirm"_. I'll remove that :smile:
Link to comment

Originally Posted by FSUNOLE*:

 

Does this plugin have the following:

 

However please be aware that most SQL related plugins for procon require the ODBC driver which we are unable to support.

 

I can not get my to work. It says:

 

[01:09:39 53] [AdKats] ERROR: Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.

 

I have my hosted both layer & site with gameservers.com.

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

Originally Posted by ColColonCleaner*:

 

Does this plugin have the following:

 

However please be aware that most SQL related plugins for procon require the ODBC driver which we are unable to support.

 

I can not get my to work. It says:

 

[01:09:39 53] [AdKats] ERROR: Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.

 

I have my hosted both layer & site with gameservers.com.

Please refer to the install instructions. Stat logger needs to be installed first, and that plugin will tell you the full reason for this error.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

sry to annoy you cleaner.....but i checked everythink....statslogger is running...writing datas into db....but adkats dont...as you looked into the db you also saw that adkats wrining datas somewhere but not into the supposed db...that must be a bug...hope you can fix it

I don't know man. Your error is very obscure and we will need to work on this further at some point.
Link to comment

Originally Posted by mindleak*:

 

Are you saying !yes is saying "No command to confirm"_. I'll remove that :smile:

I believe that was the issue. So if the other plugin works other than that then I'll give it a shot. Thanks :smile:

 

EDIT: I also changed the votekick confirm commands to !voteyes and !voteno so there should be no conflicts.

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

Originally Posted by kcuestag*:

 

Can't we have "0" added as an accepted value for a reason when you kick or ban someone? Sometimes we do not enter any reason and it is a bit annoying that it asks us to re-type everything again with a reason. :tongue:

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

Originally Posted by Xjmhd*:

 

Adkats have been working fine for me on two layers, but suddenly i'm getting this error and while Adkats is enabled I can't connect to the layer at all

 

Code:

[20:20:12 01] [AdKats] EXCEPTION: [uploadChatLog][Unexpected error uploading chat log.]: MySql.Data.MySqlClient.MySqlException: Out of range value for column 'ServerID' at row 1
   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.AdKats.uploadChatLog(String log_source, String log_subset, String log_message)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by tonnic*:

 

So how are people getting past the whole "ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!" issue? People just say that it is fixed, and don't post what they did.

 

I have 5 servers that I get this error on. I used to have it working on 2, but I reset all the stats by wiping the databases and allowing XpKiller's Stats Logger create the tables and then I run the adkats.sql on them.

 

Code:

[17:25:55 86] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:25:55 86] [AdKats] SUCCESS: Server IP is 64.94.100.67:47200!
[17:25:56 11] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:25:56 20] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:56:53 87] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:56:53 87] [AdKats] SUCCESS: Server IP is 64.94.100.225:47200!
[17:56:54 08] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:56:54 17] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:57:58 53] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:57:58 53] [AdKats] SUCCESS: Server IP is 64.94.100.218:47200!
[17:57:58 77] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:57:58 87] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:58:29 83] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:58:29 83] [AdKats] SUCCESS: Server IP is 66.150.188.175:47200!
[17:58:29 84] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:58:29 94] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:59:03 75] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:59:03 75] [AdKats] SUCCESS: Server IP is 198.12.116.199:47200!
[17:59:03 98] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:59:04 09] [AdKats] AdKats 3.7.0.1 Disabled! =(
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Can't we have "0" added as an accepted value for a reason when you kick or ban someone? Sometimes we do not enter any reason and it is a bit annoying that it asks us to re-type everything again with a reason. :tongue:

You want to kick or ban players without giving them a reason?
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Adkats have been working fine for me on two layers, but suddenly i'm getting this error and while Adkats is enabled I can't connect to the layer at all

When AdKats is enabled, please tell me the server ID that it is showing in the settings window. This should help find the issue.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

So how are people getting past the whole "ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!" issue? People just say that it is fixed, and don't post what they did.

 

I have 5 servers that I get this error on. I used to have it working on 2, but I reset all the stats by wiping the databases and allowing XpKiller's Stats Logger create the tables and then I run the adkats.sql on them.

 

Code:

[17:25:55 86] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:25:55 86] [AdKats] SUCCESS: Server IP is 64.94.100.67:47200!
[17:25:56 11] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:25:56 20] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:56:53 87] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:56:53 87] [AdKats] SUCCESS: Server IP is 64.94.100.225:47200!
[17:56:54 08] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:56:54 17] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:57:58 53] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:57:58 53] [AdKats] SUCCESS: Server IP is 64.94.100.218:47200!
[17:57:58 77] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:57:58 87] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:58:29 83] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:58:29 83] [AdKats] SUCCESS: Server IP is 66.150.188.175:47200!
[17:58:29 84] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:58:29 94] [AdKats] AdKats 3.7.0.1 Disabled! =(

[17:59:03 75] [AdKats] Initializing AdKats 3.7.0.1 components.
[17:59:03 75] [AdKats] SUCCESS: Server IP is 198.12.116.199:47200!
[17:59:03 98] [AdKats] ERROR: Database Server info could not be fetched! Make sure XpKiller's Stat Logger is running on this server!
[17:59:04 09] [AdKats] AdKats 3.7.0.1 Disabled! =(
AdKats is trying to find server IDs for 64.94.100.67:47200, 64.94.100.225:47200, etc. Are those values in your tbl_server table?
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.