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

 

This version crashed my mono all the time after starting :sad:

Alright. I'm basically going to keep giving you newer and newer versions starting at 6.9.0.0 and ending at 6.9.0.150 and see where the issue starts.

 

This version is 6.9.0.50, with the patches added to keep it functional with the changes from prophet. Let me know if this works normally for a week and i'll send you the next one.

 

https://raw.githubusercontent.com/Ad...lity/AdKats.cs

Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Hey colon do you keep past versions of the AdKats file or do you just push to the branch with the version change_

 

Nevermind I'm an idiot. :/

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

 

Ah yes, i forgot they made that change a while back. Around the same time they made the 25 -> 24 damage assault rifle rebalance if I remember correctly.

To be precise, it's 24.5, because of this:

24.5 + 24.5 + 24.5*2.13 = 101.185

24 + 24 + 24*2.13 = 99.12

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

Originally Posted by Chilace*:

 

[AdKats] WARNING: Unable to find target weight for command 18|41

 

 

 

Yep you can't find it via the search

Next time enclose the search query in quotation marks (e.g.: "command 18|41"). I have searched for you:

myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry41481

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

Originally Posted by SmackDown*:

 

Hello,

 

This morning I rebooted my procon layer servers and Adkats updated to version 6.9.0.152. Now I am getting this error spamming constantly:

 

Plugins 06/05/2017 06:27:17 AdKats PluginAction AdKats issued Logged Exception on AdKats for [sendAuthorizedSoldiers][Error returning authorized soldiers .]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)

 

 

 

Please advise what I need to do!

 

Thank you

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

This morning I rebooted my procon layer servers and Adkats updated to version 6.9.0.152. Now I am getting this error spamming constantly:

 

Plugins 06/05/2017 06:27:17 AdKats PluginAction AdKats issued Logged Exception on AdKats for [sendAuthorizedSoldiers][Error returning authorized soldiers .]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)

 

 

 

Please advise what I need to do!

 

Thank you

Someone's actually using the authroizedsoldiers functionality, cool. Please enable plugin debugging on your layer (enablePluginDebugging True) then paste the full error it spits out in the procon console. This will help me find the issue quickly.
Link to comment

Originally Posted by SmackDown*:

 

Someone's actually using the authroizedsoldiers functionality, cool. Please enable plugin debugging on your layer (enablePluginDebugging True) then paste the full error it spits out in the procon console. This will help me find the issue quickly.

Well do..working on it now...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDown*:

 

I cannot get to my settings any more. Procon settings page for Adkats is now blank. If I shut down Adkats, I can then get the basic server settings which shows the debug setting as 1. I changed it to 0 and turn Adkats back on and the screen go blank again. HELP!

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

Originally Posted by ColColonCleaner*:

 

I cannot get to my settings any more. Procon settings page for Adkats is now blank. If I shut down Adkats, I can then get the basic server settings which shows the debug setting as 1. I changed it to 0 and turn Adkats back on and the screen go blank again. HELP!

Exceptions preventing it from displaying the settings page should be in the plugin console. Please post any errors that are happening there. I don't remember changing much in terms of settings recently.
Link to comment

Originally Posted by SmackDown*:

 

How about this:

 

Plugins 06/05/2017 07:29:26 AdKats PluginAction AdKats issued Logged Exception on AdKats for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: Table 'c962102_BF4Stats.adkats_battlelog_players' doesn't exist

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Boolean allowNameSubstringSearch, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP, String playerDiscordID)

Plugins 06/05/2017 07:29:26 AdKats PluginAction AdKats issued Logged Exception on AdKats for [FetchUserList][Error while fetching user list.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.FetchUserList()

Plugins 06/05/2017 07:29:27 AdKats PluginAction AdKats issued Logged Exception on AdKats for [GetDisplayPluginVariables][Error while fetching display vars.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.c__DisplayClass41.b__1f(AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)

at System.Collections.Generic.List`1.AddRange(IEnumer able`1 collection)

at

Plugins 06/05/2017 07:29:27 AdKats PluginAction AdKats issued Logged Exception on AdKats for [GetDisplayPluginVariables][Error while fetching display vars.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.c__DisplayClass41.b__1f(AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)

at System.Collections.Generic.List`1.AddRange(IEnumer able`1 collection)

at

Plugins 06/05/2017 07:29:27 AdKats PluginAction AdKats issued Logged Exception on AdKats for [GetDisplayPluginVariables][Error while fetching display vars.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.c__DisplayClass41.b__1f(AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)

at System.Collections.Generic.List`1.AddRange(IEnumer able`1 collection)

at

Plugins 06/05/2017 07:29:28 AdKats PluginAction AdKats issued Logged Exception on AdKats for [sendAuthorizedSoldiers][Error returning authorized soldiers .]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)

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

Originally Posted by SmackDown*:

 

Here are some other logs:

 

[07:28:38] [AdKats] Updating Setting Page [Main]: 6.734 seconds since last update.

[07:28:38] [AdKats] Updating Setting Page [Main]: 0.002 seconds since last update.

[07:29:03] [AdKats] ENABLED! Beginning startup sequence...

[07:29:03] [AdKats] Updating Setting Page [Main]: 25.029 seconds since last update.

[07:29:03] [AdKats] Assigning team ID 0 to Spectator

[07:29:04] [AdKats] Assigning team ID 1 to RU

[07:29:04] [AdKats] Assigning team ID 2 to US

[07:29:04] [AdKats] Assigning team ID 3 to RU

[07:29:04] [AdKats] Assigning team ID 4 to US

[07:29:04] [AdKats] Fetching weapon statistic definitions...

[07:29:05] [AdKats] Assigning team ID 1 to RU

[07:29:05] [AdKats] Assigning team ID 2 to US

[07:29:05] [AdKats] Assigning team ID 3 to RU

[07:29:05] [AdKats] Assigning team ID 4 to US

[07:29:08] [AdKats] Weapon statistic definitions fetched.

[07:29:08] [AdKats] SUCCESS: Fetched 111 BF4 weapon stat definitions.

[07:29:08] [AdKats] Fetching reputation definitions...

[07:29:08] [AdKats] Reputation definitions fetched.

[07:29:08] [AdKats] SUCCESS: Fetched reputation definitions.

[07:29:08] [AdKats] Fetching weapon names...

[07:29:09] [AdKats] Weapon names fetched.

[07:29:09] [AdKats] SUCCESS: Fetched weapon names.

[07:29:09] [AdKats] Fetching special group definitions...

[07:29:09] [AdKats] Special group definitions fetched.

[07:29:09] [AdKats] SUCCESS: Fetched special player group definitions.

[07:29:10] [AdKats] SUCCESS: Global timing confirmed.

[07:29:10] [AdKats] SUCCESS: Server IP is 209.247.83.130:30000

[07:29:10] [AdKats] Starting Database Comm Thread

[07:29:11] [AdKats] Starting Battlelog Comm Thread

[07:29:11] [AdKats] Starting IP API Comm Thread

[07:29:11] [AdKats] SQL updates fetched.

[07:29:11] [AdKats] SQL updates found. Parsing...

[07:29:11] [AdKats] Parsing SQL Update 'command57adminfix'

[07:29:11] [AdKats] SQL update 'command57adminfix' version_minimum: 6.0.0.0

[07:29:11] [AdKats] SQL update 'command57adminfix' version_maximum:

[07:29:11] [AdKats] SQL update 'command57adminfix' message_name: Fix command 57 admin-only status

[07:29:11] [AdKats] SQL update 'command57adminfix' message_success: Command 57 admin-only status fixed

[07:29:11] [AdKats] SQL update 'command57adminfix' message_failure: Failed to fix command 57 admin-only status

[07:29:11] [AdKats] SQL update 'command57adminfix' update_checks_hasResults: True

[07:29:11] [AdKats] SQL update 'command57adminfix' update_checks: 2

[07:29:11] [AdKats] SQL update 'command57adminfix' update_execute_requiresModRows: True

[07:29:11] [AdKats] SQL update 'command57adminfix' update_execute: 1

[07:29:11] [AdKats] SQL update 'command57adminfix' update_success: 0

[07:29:11] [AdKats] SQL update 'command57adminfix' update_failure: 0

[07:29:11] [AdKats] Parsing SQL Update 'addChatlogDateIndex'

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' version_minimum: 6.0.0.0

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' version_maximum:

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' message_name: Indexing tbl_chatlog.logDate for performance

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' message_success: tbl_chatlog.logDate index successfully created

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' message_failure: Failed to added tbl_chatlog.logDate index

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' update_checks_hasResults: False

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' update_checks: 1

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' update_execute_requiresModRows: False

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' update_execute: 1

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' update_success: 0

[07:29:11] [AdKats] SQL update 'addChatlogDateIndex' update_failure: 0

[07:29:11] [AdKats] Parsing SQL Update 'addRecordTimeIndex'

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' version_minimum: 6.0.0.0

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' version_maximum:

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' message_name: Indexing adkats_records_main.record_time for performance

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' message_success: adkats_records_main.record_time index successfully created

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' message_failure: Failed to added adkats_records_main.record_time index

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' update_checks_hasResults: False

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' update_checks: 1

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' update_execute_requiresModRows: False

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' update_execute: 1

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' update_success: 0

[07:29:11] [AdKats] SQL update 'addRecordTimeIndex' update_failure: 0

[07:29:11] [AdKats] Parsing SQL Update 'increaseSettingMaxSize'

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' version_minimum: 6.0.0.0

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' version_maximum:

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' message_name: Increasing max size of setting values

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' message_success: Setting value max size increased to 3000 characters

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' message_failure: Failed to increase setting value max size

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' update_checks_hasResults: True

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' update_checks: 1

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' update_execute_requiresModRows: False

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' update_execute: 1

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' update_success: 0

[07:29:11] [AdKats] SQL update 'increaseSettingMaxSize' update_failure: 0

[07:29:11] [AdKats] Parsing SQL Update 'increaseSPGroupMaxSize'

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' version_minimum: 6.0.0.0

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' version_maximum:

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' message_name: Increasing special player group size

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' message_success: Increased special player group size

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' message_failure: Failed to increase special player group size

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' update_checks_hasResults: True

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' update_checks: 1

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' update_execute_requiresModRows: False

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' update_execute: 1

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' update_success: 0

[07:29:11] [AdKats] SQL update 'increaseSPGroupMaxSize' update_failure: 0

[07:29:11] [AdKats] Parsing SQL Update 'addCommandAccessMethod'

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' version_minimum: 6.0.3.0

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' version_maximum:

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' message_name: Adding command access method

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' message_success: Added command access method

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' message_failure: Failed to add command access method

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' update_checks_hasResults: False

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' update_checks: 1

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' update_execute_requiresModRows: False

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' update_execute: 1

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' update_success: 0

[07:29:11] [AdKats] SQL update 'addCommandAccessMethod' update_failure: 0

[07:29:11] [AdKats] Cancelling SQL update 'command57adminfix', it does not apply to this database.

[07:29:11] [AdKats] Cancelling SQL update 'addChatlogDateIndex', it does not apply to this database.

[07:29:11] [AdKats] Cancelling SQL update 'addRecordTimeIndex', it does not apply to this database.

[07:29:12] [AdKats] Cancelling SQL update 'increaseSettingMaxSize', it does not apply to this database.

[07:29:12] [AdKats] Cancelling SQL update 'increaseSPGroupMaxSize', it does not apply to this database.

[07:29:12] [AdKats] Cancelling SQL update 'addCommandAccessMethod', it does not apply to this database.

[07:29:15] [AdKats] Starting Player Listing Thread

[07:29:15] [AdKats] SQL updates fetched.

[07:29:15] [AdKats] Starting Access Fetching Thread

[07:29:16] [AdKats] Starting Kill Processing Thread

[07:29:16] [AdKats] Starting Messaging Thread

[07:29:16] [AdKats] Starting Command Parsing Thread

[07:29:16] [AdKats] Starting Action Thread

[07:29:16] [AdKats] Starting TeamSwap Thread

[07:29:16] [AdKats] Starting Ban Enforcer Thread

[07:29:16] [AdKats] Starting AntiCheat Thread

[07:29:17] [AdKats] SUCCESS: AdKatsLRT Extension installed/updated. Extension size 307KB

[07:29:24] [AdKats] INFO: Fetching user list.

[07:29:25] [AdKats] EXCEPTION-690152-D-FetchPlayer-AccessFetching46: [Error while fetching player.][MySql.Data.MySqlClient.MySqlException: Table 'c962102_BF4Stats.adkats_battlelog_players' doesn't exist

at PRoConEvents.AdKats.SafeExecuteReader(MySqlCommand command)

at PRoConEvents.AdKats.FetchPlayer(Boolean allowUpdate, Boolean allowOtherGames, Boolean allowNameSubstringSearch, Nullable`1 gameID, Int64 playerID, String playerName, String playerGUID, String playerIP, String playerDiscordID)]

[07:29:25] [AdKats] EXCEPTION-690152-D-FetchUserList-AccessFetching46: [Error while fetching user list.][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.FetchUserList()]

[07:29:25] [AdKats] EXCEPTION-690152-D-GetDisplayPluginVariables-AccessFetching46: [Error while fetching display vars.][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.c__DisplayClass41.b__1f(AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)

at System.Collections.Generic.List`1.AddRange(IEnumer able`1 collection)

at PRoConEvents.AdKats.GetDisplayPluginVariables()]

[07:29:25] [AdKats] SUCCESS: User fetch complete [16 users, 0 Special Players, 0 Fetched Players].

[07:29:25] [AdKats] INFO: Fetching player list.

[07:29:25] [AdKats] EXCEPTION-690152-D-GetDisplayPluginVariables-AccessFetching46: [Error while fetching display vars.][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.c__DisplayClass41.b__1f(AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)

at System.Collections.Generic.List`1.AddRange(IEnumer able`1 collection)

at PRoConEvents.AdKats.GetDisplayPluginVariables()]

[07:29:25] [AdKats] EXCEPTION-690152-D-GetDisplayPluginVariables-AccessFetching46: [Error while fetching display vars.][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.c__DisplayClass41.b__1f(AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)

at System.Collections.Generic.List`1.AddRange(IEnumer able`1 collection)

at PRoConEvents.AdKats.GetDisplayPluginVariables()]

[07:29:25] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:25] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers25: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:30] [AdKats] SUCCESS: Player listing complete [0 players].

[07:29:30] [AdKats] INFO: Performing final startup.

[07:29:30] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers25: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:30] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:31] [AdKats] SUCCESS: AdKats 6.9.0.152 startup complete [15s]. Commands are now online.

[07:29:33] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:33] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers25: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:38] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers25: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:38] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:42] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers53: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:42] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:47] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:47] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers53: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:52] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers53: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:52] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:55] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers3: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:55] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers53: [Error returning authorized soldiers .][system.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.b__d3e (AdKatsPlayer aPlayer)

at System.Linq.Enumerable.WhereSelectListIterator`2.M oveNext()

at System.Linq.Buffer`1..ctor(IEnumerable`1 source)

at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

at PRoConEvents.AdKats.SendAuthorizedSoldiers(Object clientInformation)]

[07:29:59] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers53: [Error retur

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

Originally Posted by ColColonCleaner*:

 

Ah, the update including the adkats_battlelog_players table isn't working. I'll make sure that works properly tonight.

 

Run this, then reboot your layer.

 

CREATE TABLE `adkats_battlelog_players` (

`player_id` int(10) unsigned NOT NULL,

`persona_id` bigint(20) unsigned NOT NULL,

`user_id` bigint(20) unsigned NOT NULL,

`gravatar` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,

`persona_banned` tinyint(1) NOT NULL DEFAULT 0,

PRIMARY KEY (`player_id`),

UNIQUE KEY `adkats_battlelog_players_player_id_persona_id_uni que` (`player_id`,`persona_id`),

KEY `adkats_battlelog_players_persona_id_index` (`persona_id`),

KEY `adkats_battlelog_players_user_id_index` (`user_id`),

CONSTRAINT `adkats_battlelog_players_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `tbl_playerdata` (`PlayerID`) ON DELETE CASCADE ON UPDATE CASCADE

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='AdKats - Player Battlelog Info';

 

 

Also, it appears debugging is not enabled

[07:29:59] [AdKats] EXCEPTION-690152-D-SendAuthorizedSoldiers-SendAuthorizedSoldiers53

Notice the D letter in the header, that will change to a line number once debugging is enabled.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hello,

 

I ran the script you posted and rebooted.

 

I am no longer seeing any errors at this time.

 

Thank you so much for your fast response.

Yeah, it appears that the script adding that table to the database if it doesn't exist is not working. I didn't notice that error personally since that table is also created by the BFAdminCP if it doesn't exist.

 

@Prophet731 Will your script adding your tables to the database error out if the battlelog players table already exists? i.e. someone has the latest version of AdKats then decides to install the BFAdminCP.

Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

@Prophet731 Will your script adding your tables to the database error out if the battlelog players table already exists? i.e. someone has the latest version of AdKats then decides to install the BFAdminCP.

No, it shouldn't. It checks for it when it runs its migration. Only thing it'll do is if the table exists but for some reason it was set to myisam it will change it to innodb. Just don't change the query. (Rename tables/columns, etc) otherwise that will break 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
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

No, it shouldn't. It checks for it when it runs its migration. Only thing it'll do is if the table exists but for some reason it was set to myisam it will change it to innodb. Just don't change the query. (Rename tables/columns, etc) otherwise that will break it.

Yeah i'm keeping it exactly the same as yours for table/columns. Cool.

 

Also added it to the AdKats setup script: https://github.com/AdKats/AdKats/blo...adkats.sql#L87

Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

The sql fix is part of the patch. There shouldn't be a need to run it manually anymore.

Hey colon I thought of an idea to maybe help a bit. What are your thoughts on creating a simple global "cache" of the battlelog player ids with the adkats.gamerethos API? Kinda like how you wanted the adkats viewer thing.

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
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hey colon I thought of an idea to maybe help a bit. What are your thoughts on creating a simple global "cache" of the battlelog player ids with the adkats.gamerethos API? Kinda like how you wanted the adkats viewer thing.

There ended up being a lot of bad data in the weapons API when we tried that. Not immediately but it accumulated over time, mainly BF3 weapons showing up in other games and vice-versa. I'm not sure what caused that. Do you know if persona IDs are the same across games? I know those user IDs i'm fetching now are the same.

 

I wouldn't want your server to be IP banned from battlelog, so it shouldn't do any fetching from battlelog if we try this. AdKats could call your server with a game name (BF3, BF4, BFHL) and EA guid looking for a match. If a match is found then it's returned, otherwise the plugin fetches it and sends the persona ID it found back to your server with the same game name and EA guid for storage.

Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

There ended up being a lot of bad data in the weapons API when we tried that. Not immediately but it accumulated over time, mainly BF3 weapons showing up in other games and vice-versa. I'm not sure what caused that. Do you know if persona IDs are the same across games? I know those user IDs i'm fetching now are the same.

 

I wouldn't want your server to be IP banned from battlelog, so it shouldn't do any fetching from battlelog if we try this. AdKats could call your server with a game name (BF3, BF4, BFHL) and EA guid looking for a match. If a match is found then it's returned, otherwise the plugin fetches it and sends the persona ID it found back to your server with the same game name and EA guid for storage.

As far as that goes I'm not sure what caused that, we really didn't maintain it once we created it.

 

Persona id persists through all games, it's only unique to the tbl_playerdata. So really you just need to send the EA GUID for the fetch and if no result is returned then you send that information back. I could have a background script to fetch all the other information at different intervals (separate from the actual API) that way it'll be a fast response no matter what. I can even store that data in Redis for a no hit to mysql if that player has already been stored.

 

I do still have a backup copy of the database with battlelog players already I could import to get it started.

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
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

As far as that goes I'm not sure what caused that, we really didn't maintain it once we created it.

 

Persona id persists through all games, it's only unique to the tbl_playerdata. So really you just need to send the EA GUID for the fetch and if no result is returned then you send that information back. I could have a background script to fetch all the other information at different intervals (separate from the actual API) that way it'll be a fast response no matter what. I can even store that data in Redis for a no hit to mysql if that player has already been stored.

 

I do still have a backup copy of the database with battlelog players already I could import to get it started.

Sounds good. Set up an API for fetching by EA GUID and posting by EA GUID/Persona ID and I'll add it to the plugin. Fetching for players should stay rather constant from your server instead of increasing as time goes on because people's systems will start storing their own copies of the persona IDs. The only thing that would keep fetching from you every time is the loadout enforcer run by itself.
Link to comment
  • Administrators

Originally Posted by Prophet731*:

 

Sounds good. Set up an API for fetching by EA GUID and posting by EA GUID/Persona ID and I'll add it to the plugin. Fetching for players should stay rather constant from your server instead of increasing as time goes on because people's systems will start storing their own copies of the persona IDs. The only thing that would keep fetching from you every time is the loadout enforcer run by itself.

Alright i'll get something up for testing.

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

 

Ok colon, i've got a sample set working. You'll be able to see it here. https://adkats.gamerethos.net/api/battlelog

 

eaguid and user_id are hidden from the view but those fields exist. You can filter the results with either the "game" and/or "eaguid" query pram.

 

For example

 

Game only: https://adkats.gamerethos.net/api/battlelog_game=bf4

EAGUID Only: https://adkats.gamerethos.net/api/ba...uid=EAGUIDHERE

Both: https://adkats.gamerethos.net/api/ba...uid=EAGUIDHERE

 

EDIT:

 

I've added another search pram. If you have an existing persona id you can use it like so. You can't use EAGUID and persona together, however, you can use game and persona together.

 

Valid response:

https://adkats.gamerethos.net/api/ba...sona=234243602

 

Invalid response (No entry exists):

https://adkats.gamerethos.net/api/ba...sona=234243604

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.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • 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.