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

 

For the past month I have been getting a lot of the following error:

 

I have made sure the latest bf4.def file was uploaded. What would be causing this?

BF4.def does not contain damages for weapons. Get a reliable source for weapon damage on that gun and i'll add it to the repository. That message will go away then.
Link to comment

Originally Posted by HARDCOREBF*:

 

"for full ban management it requires AdKats WebAdmin"

We would like to utilize this Where i can get documentation for integration?

 

And another question , once we enable ban enforcer for all servers , and we ban player after enforecer been enabled , how do we unban player ?

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

I have a problem with adding users to an admin role.

 

Screenshots:

http://www.suckmypic.net/bZN4Skpw.jpg

http://www.suckmypic.net/g1QrZlry.jpg

 

Maybe you guys can tell me where my fault is?

 

Greetings

lovebot

I don't think this is actually your fault. Have you already been using that version of stat logger for a while or is this a relatively new install?
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

"for full ban management it requires AdKats WebAdmin"

We would like to utilize this Where i can get documentation for integration?

 

And another question , once we enable ban enforcer for all servers , and we ban player after enforecer been enabled , how do we unban player ?

AdKats WebAdmin can be downloaded from here: http://www.adkgamers.com/topic/44514-downloadweb-admin/

 

Once ban enforcer is enabled you can @unban playername to unban them.

Link to comment

Originally Posted by Ruger*:

 

I noticed that adkats will automatically change the Procon Chat, GUID, Stats and Mapstats Logger Log ServerSPAM setting to yes. Is there a reason why we cant set it to no in the adkats.cs file?

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

Originally Posted by ColColonCleaner*:

 

I noticed that adkats will automatically change the Procon Chat, GUID, Stats and Mapstats Logger Log ServerSPAM setting to yes. Is there a reason why we cant set it to no in the adkats.cs file?

Orchestration Settings -> Feed Stat Logger Settings -> False
Link to comment

Originally Posted by lovebot*:

 

I don't think this is actually your fault. Have you already been using that version of stat logger for a while or is this a relatively new install?

I'm using it since i installed all my procon plugins (~ 2 months), but i never used the adkats chat commands before.

So I guess its never really worked.

 

Thats the complete log when I start Adkats:

Code:

[23:25:02 67] [AdKats] WARNING: Shutting down AdKats.
[23:25:03 77] [AdKats] AdKats 4.2.1.0 Disabled! =(
[23:25:05 85] [AdKats] Enabled! Beginning startup sequence...
[23:25:07 08] [AdKats] SUCCESS: Populated reputation dictionaries
[23:25:07 08] [AdKats] SUCCESS: Server IP is 5.101.165.19:43300!
[23:25:07 56] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 56] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 56] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 56] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 58] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 58] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 58] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 60] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 60] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 60] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 61] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id
   at MySql.Data.MySqlClient.ResultSet.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(String name)
   at MySql.Data.MySqlClient.MySqlDataReader.GetInt32(String column)
   at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP)
[23:25:07 74] [AdKats] Running! Version: 4.2.1.0
[23:25:08 03] [AdKats] EXCEPTION: Line 0: [FetchUserList][Error while fetching access list.]: MySql.Data.MySqlClient.MySqlException: Unknown column 'tbl_playerdata.GameID' in 'field list'
   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.ExecuteReader()
   at PRoConEvents.AdKats.FetchUserList()
[23:25:20 75] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:20 79] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:20 84] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:20 89] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:20 93] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:20 98] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:21 03] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:21 07] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:21 12] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:21 18] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
[23:25:21 23] [AdKats] EXCEPTION: Line 0: [UpdatePlayer][Error while updating player.]: MySql.Data.MySqlClient.MySqlException: Duplicate entry '' for key 'UNIQUE_playerdata'
   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.UpdatePlayer(AdKatsPlayer player)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Xjmhd*:

 

Hello!

 

I'm getting this error on both my layers and the settings page turns completely blank.

 

Code:

[18:05:57 90] [AdKats] EXCEPTION: Line 0: [GetDisplayPluginVariables][Error while fetching display vars.]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at PRoConEvents.AdKats.<>c__DisplayClasse.<GetDisplayPluginVariables>b__6(AdKatsPlayer aPlayer)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at PRoConEvents.AdKats.GetDisplayPluginVariables()
[18:05:57 91] [AdKats] EXCEPTION: Line 0: [GetDisplayPluginVariables][Error while fetching display vars.]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at PRoConEvents.AdKats.<>c__DisplayClasse.<GetDisplayPluginVariables>b__6(AdKatsPlayer aPlayer)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at PRoConEvents.AdKats.GetDisplayPluginVariables()
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HappyGotLucky*:

 

We decided to bring up a BF3 server in addition to our BF4 servers. Running fine on BF4, BF3 this error is coming up when I enable.

 

[18:06:41 62] [AdKats] EXCEPTION: Line 0: [FetchPlayer][Error while fetching player.]: System.IndexOutOfRangeException: Could not find specified column in results: game_id

at MySql.Data.MySqlClient.ResultSet.GetOrdinal (System.String name) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal (System.String name) [0x00000] in :0

at MySql.Data.MySqlClient.MySqlDataReader.GetInt32 (System.String column) [0x00000] in :0

at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlDataReader:GetInt32 (string)

at PRoConEvents.AdKats.FetchPlayer (Boolean allowUpdate, Boolean allowOtherGames, Nullable`1 gameID, Int64 playerID, System.String playerName, System.String playerGUID, System.String playerIP) [0x00000] in :0

[18:06:41 62] [AdKats] EXCEPTION: Line 0: [banEnforcerThreadLoop][Error occured in ban enforcer thread. Skipping current loop.]: System.ArgumentNullException: Argument cannot be null.

Parameter name: key

at System.Collections.Generic.Dictionary`2[system.String,PRoConEvents.AdKats+AdKatsPlayer].ContainsKey (System.String key) [0x00000] in :0

at PRoConEvents.AdKats.BanEnforcerThreadLoop () [0x00000] in :0

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

Originally Posted by HappyGotLucky*:

 

Scratch that. Issue was BF3 had gameid of 0, code has a few cases where it doesn't like zero. Tried changing it from 0 to 2, broke my BF4 Servers. So changed back, and updated code to say 0 is ok.

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

Originally Posted by HARDCOREBF*:

 

Hell all , can you hello me plz create simple rule

 

On kill (when player dies , it will tell him in chat)

VictimSay: !nice - To say Nice shot [killername]

 

Say all server or only to killer : [victimName] sad: nice shot [killername]

....\

thnk you in advance

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

Originally Posted by ColColonCleaner*:

 

Scratch that. Issue was BF3 had gameid of 0, code has a few cases where it doesn't like zero. Tried changing it from 0 to 2, broke my BF4 Servers. So changed back, and updated code to say 0 is ok.

What do you mean "updated code to say 0 is ok"? Explain.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hell all , can you hello me plz create simple rule

 

On kill (when player dies , it will tell him in chat)

VictimSay: !nice - To say Nice shot [killername]

 

Say all server or only to killer : [victimName] sad: nice shot [killername]

....\

thnk you in advance

Wrong thread.
Link to comment

Originally Posted by HARDCOREBF*:

 

Hello .

Is there a way to trigger command !nextround , restart round - remotely ? I see there is an option external command settings . Is there guide how to trigger command via WEB ?

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

Originally Posted by ToM666*:

 

Hi guys

 

I have xpkillers stats logger up and running now so now I am looking to get adkats going.

 

I am working through the installation guide and come across this " Run the contents of this sql script on your database".

 

I've done a google search and found this tutorial:

 

http://www.advancedinstaller.com/use...orial-sql.html

 

Is that what I have to do or is there an easier way?

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

Originally Posted by ColColonCleaner*:

 

Hi guys

 

I have xpkillers stats logger up and running now so now I am looking to get adkats going.

 

I am working through the installation guide and come across this " Run the contents of this sql script on your database".

 

I've done a google search and found this tutorial:

 

http://www.advancedinstaller.com/use...orial-sql.html

 

Is that what I have to do or is there an easier way?

Do you have access to PHPMyAdmin? Or another database admin panel? You should have been given access to one through your database provider. It will be just a URL you can access using your browser.
Link to comment

Originally Posted by ToM666*:

 

Do you have access to PHPMyAdmin? Or another database admin panel? You should have been given access to one through your database provider. It will be just a URL you can access using your browser.

Yes I do. I've just opened it for the first time after reading your message.

How do I use this to run to the script?

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

Originally Posted by ColColonCleaner*:

 

Yes I do. I've just opened it for the first time after reading your message.

How do I use this to run to the script?

  • Navigate to the database you want to run the script against.
  • Click on the SQL tab.
  • Paste in the SQL script.
  • Click on Go to execute the script.
Link to comment

Originally Posted by ToM666*:

 

  • Navigate to the database you want to run the script against.
  • Click on the SQL tab.
  • Paste in the SQL script.
  • Click on Go to execute the script.
Thanks mate. That appears to be running with no errors.

 

Just a quick one though, how do you delete a user?

 

It says "ToM|Delete User_" but no matter what I type in the box nothing happens LOL.

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

Originally Posted by ColColonCleaner*:

 

Thanks mate. That appears to be running with no errors.

 

Just a quick one though, how do you delete a user?

 

It says "ToM|Delete User_" but no matter what I type in the box nothing happens LOL.

type delete in the field. it says this in the docs :biggrin:
Link to comment

Originally Posted by ToM666*:

 

Thanks mate. I did try to find it in the docs but clearly missed it as I was half asleep trying to do this last night LOL

Just found where it says to type delete :mad:

 

RTFM guys! RTFM!

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

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.