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

 

One question though. Why would I still be having issues when I turned off Adkats on the other three servers and only have it running on one server? Is Adkats still causing issues even though it is turned off?

Shouldn't be, but one way to check for sure would be uninstalling it from your other instances. The only thing running when AdKats is disabled would be the status monitor. Status monitor just handles re-enabling the plugin if you have the keep-alive setting turned on, and fetching documentation/update information once an hour, it's very tiny.
Link to comment

Originally Posted by westyjoe*:

 

This is a great plugin, but I am having a recurring error. Forgive me if I sound like an idiot, but I am. Still learning. nothing seems to be affected, but in my debug file, I am getting this every 5 minutes. Any help would be greatly appreciated

--------------------------------------------------

===Database "name hidden"

 

== Table structure for table adkats_records_debug

 

|------

|Column|Type|Null|Default

|------

|//**record_id**//|int(11)|No|

|server_id|smallint(5)|No|

|command_type|int(11)|No|

|command_action|int(11)|No|

|command_numeric|int(11)|No|0

|target_name|varchar(45)|No|NoTarget

|target_id|int(11)|Yes|NULL

|source_name|varchar(45)|No|NoSource

|source_id|int(11)|Yes|NULL

|record_message|varchar(500)|No|NoMessage

|record_time|datetime|No|

|adkats_read|enum('Y', 'N')|No|N

|adkats_web|tinyint(1)|No|0

== Dumping data for table adkats_records_debug

 

|412|1|35|35|6500|AdKats|NULL|AdKats|NULL|Line Unknown-6500: [uploadSetting][Error while uploading setting to database.]: MySql.Data.MySqlClient.MySqlException: Got error -1 from storage engine

at PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlComma nd command)

at PRoConEvents.AdKats.UploadSetting(CPluginVariable var)|2015-02-17 03:58:41|Y|0

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

Originally Posted by ColColonCleaner*:

 

This is a great plugin, but I am having a recurring error. Forgive me if I sound like an idiot, but I am. Still learning. nothing seems to be affected, but in my debug file, I am getting this every 5 minutes. Any help would be greatly appreciated

--------------------------------------------------

===Database "name hidden"

 

== Table structure for table adkats_records_debug

 

|------

|Column|Type|Null|Default

|------

|//**record_id**//|int(11)|No|

|server_id|smallint(5)|No|

|command_type|int(11)|No|

|command_action|int(11)|No|

|command_numeric|int(11)|No|0

|target_name|varchar(45)|No|NoTarget

|target_id|int(11)|Yes|NULL

|source_name|varchar(45)|No|NoSource

|source_id|int(11)|Yes|NULL

|record_message|varchar(500)|No|NoMessage

|record_time|datetime|No|

|adkats_read|enum('Y', 'N')|No|N

|adkats_web|tinyint(1)|No|0

== Dumping data for table adkats_records_debug

 

|412|1|35|35|6500|AdKats|NULL|AdKats|NULL|Line Unknown-6500: [uploadSetting][Error while uploading setting to database.]: MySql.Data.MySqlClient.MySqlException: Got error -1 from storage engine

at PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlComma nd command)

at PRoConEvents.AdKats.UploadSetting(CPluginVariable var)|2015-02-17 03:58:41|Y|0

Strange error...i'll look into it.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

hi all, i can't execute Adkats.sql in my server. i get this error:

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

how fix that error?

Step 1 of the install instructions says to install stat logger.

 

Step 2 says no seriously don't skip step 1, go back and install stat logger.

 

I'm speechless.

 

https://github.com/AdKats/AdKats#install

Link to comment

Originally Posted by HARAFAT69*:

 

Step 1 of the install instructions says to install stat logger.

 

Step 2 says no seriously don't skip step 1, go back and install stat logger.

 

I'm speechless.

 

https://github.com/AdKats/AdKats#install

for stat logger i get that: unnable to connext to any specified Mysql hosts

 

what this error?

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

Originally Posted by ColColonCleaner*:

 

sorry i'm not german, I have check my info but still the same error...

Either way, your procon layer/plugins cannot connect to your database.

Make sure you have sandbox turned off.

Make sure your firewalls on the procon layer/database are not blocking the connection.

Make sure your database is not blocking connection to that particular user, or your procon IP.

Link to comment

Originally Posted by r3alflash*:

 

Hey good Morning :smile:

 

since version 6.5.x we have some trouble with adkats. sometime we become the failure:

 

Source player not found in server for in-game admin_say command, unable to complete command.

 

So, if we restart adkats, everything is working fine, for a while. The failure is irregularly.

 

Do u have any Solution?

We have also try a new SQL DB, but it isnt work.

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

Originally Posted by ColColonCleaner*:

 

Hey good Morning :smile:

 

since version 6.5.x we have some trouble with adkats. sometime we become the failure:

 

Source player not found in server for in-game admin_say command, unable to complete command.

 

So, if we restart adkats, everything is working fine, for a while. The failure is irregularly.

 

Do u have any Solution?

We have also try a new SQL DB, but it isnt work.

Wow, this was a problem noted back in version 3 over a year ago but was long since fixed, odd it would be happening again...

 

When this happens change debug level to 5 and look in the console for messages starting with 'Team Info:'

 

That debug line will show the counts of people on each team as AdKats sees them. Does the count AdKats is reporting match the number procon is reporting?

Link to comment

Originally Posted by HARAFAT69*:

 

hi i changed host i add stats logger but when i add adkats.sql i get this error

 

Error

SQL query: Documentation

 

CREATE TRIGGER `tbl_chatlog_player_id_insert` BEFORE INSERT `tbl_chatlog`

FOR EACH

ROW BEGIN

SET NEW.logPlayerID = ( SELECT `tbl_playerdata`.`PlayerID`

FROM `tbl_server`

INNER JOIN `tbl_games` ON `tbl_server`.`GameID` = `tbl_games`.`GameID`

INNER JOIN `tbl_playerdata` ON `tbl_games`.`GameID` = `tbl_playerdata`.`GameID`

WHERE `tbl_playerdata`.`SoldierName` = NEW.logSoldierName

AND `tbl_server`.`ServerID` = NEW.ServerID

LIMIT 1 ) ;

 

END $$

 

MySQL said: Documentation

 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`tbl_chatlog`

FOR EACH ROW BEGIN

SET NEW.logPlayerID = (SELECT `tbl_' at line 1

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

Originally Posted by r3alflash*:

 

Okay...

 

here some infos:

 

Code:

[17:38:01 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:06 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:11 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:12 47] [AdKats] 5:(RoundTicketLogger:132) round stat pushed to database
[17:38:12 49] [AdKats] 5:(Messaging:29) Chat upload for goneistaja SUCCESSFUL!
[17:38:16 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:16 16] [AdKats] 5:(DatabaseComm:31) OnBanList fired
[17:38:21 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:26 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:26 43] [AdKats] 5:(Messaging:29) Chat upload for Sn0Oopy SUCCESSFUL!
[17:38:26 44] [AdKats] 5:(Command:30) Command parsed. Command is admin_say.
[17:38:26 44] [AdKats] ERROR: Source player not found in server for in-game admin_say command, unable to complete command.
[17:38:26 44] [AdKats] 3:(Command:30) In-Game/Automated admin_say record took 1ms to complete actions.
[17:38:31 10] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
[17:38:31 66] [AdKats] 5:(TeamSwap:33) Team Info: US: 26/32 RU: 27/32
and then i nothing happens.

 

And does not affect all admin accounts in adkats -.-. They have all the same role

 

and if i try to restart adkats there are many errors:

 

Code:

: Threads still exiting: PlayerListing[20]
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by B-73*:

 

Hi,

 

I have a database error while i want to import the sgl file.

 

SQL-query:

 

REPLACE INTO `adkats_rolecommands` VALUES(1, 76);

 

REPLACE INTO `adkats_rolecommands` VALUES(2, 1);

 

MySQL meldt: Documentatie

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REPLACE INTO `adkats_rolecommands` VALUES(2, 1)' at line 3

 

 

I cant import the 6.5.0.0 sql file.

Can you tell me how to fix this.?

 

Thank you.

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

Originally Posted by ColColonCleaner*:

 

Hi,

 

I have a database error while i want to import the sgl file.

 

SQL-query:

 

REPLACE INTO `adkats_rolecommands` VALUES(1, 76);

 

REPLACE INTO `adkats_rolecommands` VALUES(2, 1);

 

MySQL meldt: Documentatie

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REPLACE INTO `adkats_rolecommands` VALUES(2, 1)' at line 3

 

 

I cant import the 6.5.0.0 sql file.

Can you tell me how to fix this.?

 

Thank you.

I just created a new database instance and installed from scratch on version 6.5.0.0, did not see this error. Are you sure you have the correct setup file?
Link to comment

Originally Posted by sammad143*:

 

Is this MySQL good enough- https://aws.amazon.com/rds/

"AWS Free Tier includes 750hrs of Micro DB Instance each month for one year, 20GB of Storage, and 20GB for Backups with Amazon Relational Database Service (RDS)."

^Is it good enough?

Do I need separate MySQLs for every gameserver I have or do I need only one?

Whats the common MySQL common folks like me here are using?

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

Originally Posted by sammad143*:

 

Is this MySQL good enough- https://aws.amazon.com/rds/

"AWS Free Tier includes 750hrs of Micro DB Instance each month for one year, 20GB of Storage, and 20GB for Backups with Amazon Relational Database Service (RDS)."

^Is it good enough?

Do I need separate MySQLs for every gameserver I have or do I need only one?

Whats the common MySQL common folks like me here are using?

 

@ColColonCleaner- A tutorial video for the complete setup of Adkats would be highly appreciated!

 

P.S- Noob here! :smile:

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

Originally Posted by Prophet731*:

 

Is this MySQL good enough- https://aws.amazon.com/rds/

"AWS Free Tier includes 750hrs of Micro DB Instance each month for one year, 20GB of Storage, and 20GB for Backups with Amazon Relational Database Service (RDS)."

^Is it good enough?

Do I need separate MySQLs for every gameserver I have or do I need only one?

Whats the common MySQL common folks like me here are using?

You can use one database for your servers.

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

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.