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

  • Administrators

Originally Posted by Prophet731*:

 

I want to remove all the punishes and infractions only.

Ok give me a few minutes and i'll give you the query for it.

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

 

Thanks, it was a bad idea to have the Team Killer Plugin do the punishes thru adkats on the server,

that options should be removed from the Team killer Plugin or everyone will soon be banned from the server :ohmy:

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

Originally Posted by ColColonCleaner*:

 

Thanks, it was a bad idea to have the Team Killer Plugin do the punishes thru adkats on the server,

that options should be removed from the Team killer Plugin or everyone will soon be banned from the server :ohmy:

It all depends on your preference. Some people wanted that option, otherwise it wouldn't have been added.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Do I need to empty the players_repuations also? Now there are alot of negatives there...

No, you don't need to.

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

 

I have ran debug at level 6 for 5 mins and then searched for "fetchUnreadRecords finished"

 

"fetchUnreadRecords finished" was not listed and I did not find it (used Find feature to locate it and it was not there)

 

Any suggestions now?

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

Originally Posted by XDE4TH*:

 

Looking to add this plugin to our server now. Is this still the best version to grab for BFH? I haven't seen any other links posted, just want to verify.

 

TEST 6.5.4.0 posted, fixed an issue with admin yells/tells on hardline.

 

http://api.gamerethos.net/adkats/fetch/test_force=1

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

Originally Posted by ColColonCleaner*:

 

Looking to add this plugin to our server now. Is this still the best version to grab for BFH? I haven't seen any other links posted, just want to verify.

Yes, i have not pushed it public yet, just making sure everything is stable. Let me know if you see any issues. That link actually grabs 6.5.4.6 now.
Link to comment

Originally Posted by Talzac*:

 

what is this error?

 

[11:00:59 46] [AdKats] EXCEPTION-6540-D-FetchPlayerBattlelogInformation-BattlelogComm37: [Error fetching BFHL player info][system.Net.WebException: The operation has timed out

at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)

at System.Net.WebClient.DownloadString(Uri address)

at System.Net.WebClient.DownloadString(String address)

at PRoConEvents.AdKats.FetchPlayerBattlelogInformatio n(AdKatsPlayer aPlayer)]

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

Originally Posted by Talzac*:

 

[AdKats] EXCEPTION-6540-D-FetchPlayerBattlelogInformation-BattlelogComm37: [Error fetching BFHL player info][system.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

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

at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)

at System.Net.WebClient.DownloadBitsState.RetrieveByt es(Int32& bytesRetrieved)

at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp)

at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)

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

at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)

at System.Net.WebClient.DownloadString(Uri address)

at System.Net.WebClient.DownloadString(String address)

at PRoConEvents.AdKats.FetchPlayerBattlelogInformatio n(AdKatsPlayer aPlayer)]

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

Originally Posted by Borzywit*:

 

Yes, i have not pushed it public yet, just making sure everything is stable. Let me know if you see any issues. That link actually grabs 6.5.4.6 now.

Seems to work stable, however i am missing hacker checker. Will you make it available for BFH?

 

@Prophet731, any news on BFH update for your outstanding BFadmin tool?

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

Originally Posted by MRniceGuy*:

 

when i install adkats stats logger plugin throws this error at the end of every round

i have tried to re install eeevrything all over again even in a new server i just rented

[12:22:18 69] [statslogger]Error: Error in Startstreaming:

[12:22:18 70] Message: Duplicate entry '1-EA_1FA9A00CF60CD9ABE65FA0143711F28B' for key 'UNIQUE_playerdata'

[12:22:18 70] Native: -2147467259

[12:22:18 70] Source: MySql.Data

[12:22:18 70] StackTrace: at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& 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.ExecuteNonQuer y()

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

[12:22:24 40] [statslogger]Error: Error in Startstreaming OuterException: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.CChatGUIDStatsLogger.DisplayMySqlErro rCollection(MySqlException myException)

at PRoConEvents.CChatGUIDStatsLogger.StartStreaming()

i dont and i havent touched anything in the database :/

i install stats logger and adkats correctly

--

stats logger works fine without any problem but after i install adkats then the error comes up

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

Originally Posted by ColColonCleaner*:

 

Seems to work stable, however i am missing hacker checker. Will you make it available for BFH?

 

@Prophet731, any news on BFH update for your outstanding BFadmin tool?

Hacker checker will not be available for BFH just yet, i'm planning to switch it all over to battlelog requests instead of using the p-stats websites. Their sites are great for performance and request quantity (I don't need to throttle any of them), but battlelog is far more up to date on player's real stats.

 

His update is coming, but it will take some more time.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

when i install adkats stats logger plugin throws this error at the end of every round

i have tried to re install eeevrything all over again even in a new server i just rented

 

i dont and i havent touched anything in the database :/

i install stats logger and adkats correctly

--

stats logger works fine without any problem but after i install adkats then the error comes up

It looks like your instance is attempting to create a new player after AdKats already created the new player. This shouldn't cause any issues, but i'll look to find out why it's throwing an error on your instance when it is not on ours.
Link to comment

Originally Posted by SmackDown*:

 

Your issue is not easily debugged, no need to bump I just don't have an answer at this time.

 

Try this. Disable your layer, issue the command from the web panel, then check your records table again for N read records.

First of all, thank you for at least trying to help me. I tip my hat to you for that and just a big thanks in advance.

 

You had asked me to, "Check your adkats_records_main table for records with adkats_read = 'N'. If you find any, check the server ID for that record and make sure it matches the ID of the server you want to act on it."

 

I did find a record that read= N for the player who I issued a punishment on. I check the server ID and it matched the server ID on the server that I issued the ban on.

 

Any suggestions now?

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

Originally Posted by ColColonCleaner*:

 

First of all, thank you for at least trying to help me. I tip my hat to you for that and just a big thanks in advance.

 

You had asked me to, "Check your adkats_records_main table for records with adkats_read = 'N'. If you find any, check the server ID for that record and make sure it matches the ID of the server you want to act on it."

 

I did find a record that read= N for the player who I issued a punishment on. I check the server ID and it matched the server ID on the server that I issued the ban on.

 

Any suggestions now?

Hmmm, so something is marking the record as read without actually acting on it... strange. We came across this problem before but the problem is long since patched. Send me creds to look at your procon layer/database and i'll examine it.
Link to comment

Originally Posted by MRniceGuy*:

 

It looks like your instance is attempting to create a new player after AdKats already created the new player. This shouldn't cause any issues, but i'll look to find out why it's throwing an error on your instance when it is not on ours.

Thank you

so... what to do now! :/

im always with brand new problems in every fkin thing in my life :biggrin:

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

Originally Posted by ColColonCleaner*:

 

Thank you

so... what to do now! :/

im always with brand new problems in every fkin thing in my life :biggrin:

Send me your entire plugin log file for the day you were doing the previous testing (debug 7) and creds for your procon layer with plugin access.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Seems to work stable, however i am missing hacker checker. Will you make it available for BFH?

 

@Prophet731, any news on BFH update for your outstanding BFadmin tool?

It should be out this week. Adding in the finishing touches. So 90% done.

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

 

Hi

 

So, here's an issue I've been noticing everytime I unban or editing a ban.

Example player 1

So this guy gets banned through procon chat, and then gets unbanned through the panel, and then he joins the server

sess_log.PNG ban_info.PNG

On image 1; When "disabling" the ban, two issues occur where one of them is intended to work like that by design. The first issue is that it says that player got "banned" when it is supposed to say that the ban was atleast "disabled". Second issue is the admin name. Once a ban is edited, the new admin is the "owner" of the ban.

 

On image 2; The ban is disabled, yet the reputation is still negative. Even when the player rejoins the server after getting unbanned.

Example player 2

This players history is very messed up, because of editing bans...

messedUp.PNG

If my memory serves right:

So, 1, 2 and 3 are fine. They are at the correct order and timestamp.

Line marked as 4 is what supposed to be next in order... which is an admin editing the ban but without adding a "reason", by mistake.

5 & 6; First I disabled the ban, then I reapplied it into 5 days. So 5 is actually "erased/replaced" from the records.

7-13 are fine, but then there are some missing records of "banEnforcer". I have a plugin informing ingame if a player is trying to join the server, and this guy has tried atleast 3-4 times AFTER that last record, but they didnt show up on his profile.

 

Edit:

For the issue on example player 1 in regards to the records, it would be better to have the CMD action saying "Editing previous ban". This way, every time a new admin or the same admin edits the ban, it will add a new record saying that the "new" admin edited the previous ban without editing the old record's CMD action.

Like this: sess_log_3.PNG

Also, when a ban is "disabled" it should move into the "Ban History" tab, not the "Current Ban", and the reputation issue would get solved I guess.

 

Edit 2:

For player 2, I looked into the DB and here's a screenshot:

DB.PNG

Timestamp and record ID does not match the order...

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

Originally Posted by Prophet731*:

 

Hi

 

So, here's an issue I've been noticing everytime I unban or editing a ban.

Example player 1

So this guy gets banned through procon chat, and then gets unbanned through the panel, and then he joins the server

sess_log.PNG ban_info.PNG

On image 1; When "disabling" the ban, two issues occur where one of them is intended to work like that by design. The first issue is that it says that player got "banned" when it is supposed to say that the ban was atleast "disabled". Second issue is the admin name. Once a ban is edited, the new admin is the "owner" of the ban.

 

On image 2; The ban is disabled, yet the reputation is still negative. Even when the player rejoins the server after getting unbanned.

Example player 2

This players history is very messed up, because of editing bans...

messedUp.PNG

If my memory serves right:

So, 1, 2 and 3 are fine. They are at the correct order and timestamp.

Line marked as 4 is what supposed to be next in order... which is an admin editing the ban but without adding a "reason", by mistake.

5 & 6; First I disabled the ban, then I reapplied it into 5 days. So 5 is actually "erased/replaced" from the records.

7-13 are fine, but then there are some missing records of "banEnforcer". I have a plugin informing ingame if a player is trying to join the server, and this guy has tried atleast 3-4 times AFTER that last record, but they didnt show up on his profile.

 

Edit:

For the issue on example player 1 in regards to the records, it would be better to have the CMD action saying "Editing previous ban". This way, every time a new admin or the same admin edits the ban, it will add a new record saying that the "new" admin edited the previous ban without editing the old record's CMD action.

Like this: sess_log_3.PNG

Also, when a ban is "disabled" it should move into the "Ban History" tab, not the "Current Ban", and the reputation issue would get solved I guess.

 

Edit 2:

For player 2, I looked into the DB and here's a screenshot:

DB.PNG

Timestamp and record ID does not match the order...

Changing the command action is not going to happen for previous bans. Also this is more of a BFACP thing in terms of editing bans. A new record will be generated if one of three conditions are met, otherwise it will just edit the existing record as it wasn't something majorly changed.

 

Also with the new version it will not show the current ban details if its Expired or Disabled.

 

29a87e5cf760a8756dbb209f5fb2cc36.png

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
  • Administrators

Originally Posted by Prophet731*:

 

Why are AdminCP issues being posted in the AdKats thread?

*shrug*

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

 

@ColColonCleaner Using Adkats with hardline and using the Adkats spambot, however I Only awnt to be using it for the Admin say functions, I dont seem to be able to disable the Yell and Tell parts of the spambot, even after completely emptying the array for these messages I still see "Admintell1, 2 etc...)

Is there a way to ONLY use the say part of the spambot and get rid of the other messages showing up?

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

Originally Posted by iraqiboy90*:

 

How can I synchronize bans between two or more servers. The player should be banned on a server and the same on all other servers from us for a ban

Currently, only one ban per player. The ban is applied on the server group number. So if you want to have the ban working on multiple servers then you need to tell the statloggers to use the same Server Group ID.

 

In the new Adkats version [No ETA I think]: It would be possible to add multiple bans per player, which solves this issue.

 

p.s. Server Group ID is used to combine the scores of the servers into one [with a separate switch], and I've noticed that Adkats says the following when a new player joins the server "%Playername% joined this server group for the first time" or something.

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