Jump to content

Advanced In-Game Admin and Ban Enforcer - AdKats


Message added by Prophet731,

If you've been banned from a server then you will need to appeal the ban with the owners/community of that server. We do not control any bans done on servers that utilize AdKats as all bans are local to that server.

Recommended Posts

Originally Posted by HappyGotLucky*:

 

Thank you for the hard work and updates ColColonCleaner.

 

Any other info you need in regards to this exception that continues to pop up in my console?

 

[11:04:32 42] [AdKats] EXCEPTION: Line 0: [updatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.UpdatePlayerReputation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

[11:05:32 28] [AdKats] EXCEPTION: Line 0: [updatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.UpdatePlayerReputation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

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

Originally Posted by HappyGotLucky*:

 

Also this now pops up, which didn't occur on 5.0.0.0

 

[11:11:18 64] [AdKats] EXCEPTION: Line 0: [FetchUserList][Error while fetching access list.]: MySql.Data.Types.MySqlConversionException: Unable to convert MySQL date/time value to System.DateTime

at MySql.Data.Types.MySqlDateTime.GetDateTime () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlDataReader.GetDateTime (Int32 i) [0x00000] in :0

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

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

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

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

Originally Posted by ColColonCleaner*:

 

Well I think It's working now, but things seem a little screwed up.

 

Code:

[20:44:33 71] [AdKats] ERROR: Command for ID 13 not found in command dictionary when assigning commands.[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to find user role for role ID 4
[20:44:33 82] [AdKats] ERROR: Unable to add soldier 466 to user 2 when fetching user list. User not found.
[20:44:33 82] [AdKats] ERROR: Unable to add soldier 10037 to user 4 when fetching user list. User not found.
[20:44:33 82] [AdKats] ERROR: Unable to add soldier 679 to user 7 when fetching user list. User not found.
[20:44:33 82] [AdKats] ERROR: Unable to add soldier 23809 to user 8 when fetching user list. User not found.
[20:44:33 83] [AdKats] ERROR: Unable to add soldier 2976 to user 11 when fetching user list. User not found.
[20:44:33 83] [AdKats] ERROR: Unable to add soldier 845 to user 13 when fetching user list. User not found.
[20:44:33 83] [AdKats] ERROR: Unable to add soldier 760 to user 14 when fetching user list. User not found.
[20:45:21 18] [AdKats] ERROR: Unable to find target weight for type|action: 3|20
[20:45:21 18] [AdKats] ERROR: Unable to find target weight for type|action: 3|20
[20:49:34 87] [AdKats] ERROR: Command for ID 13 not found in command dictionary when assigning commands.
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to find user role for role ID 4
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 466 to user 2 when fetching user list. User not found.
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 10037 to user 4 when fetching user list. User not found.
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 679 to user 7 when fetching user list. User not found.
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 23809 to user 8 when fetching user list. User not found.
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 2976 to user 11 when fetching user list. User not found.
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 845 to user 13 when fetching user list. User not found.
[20:49:34 98] [AdKats] ERROR: Unable to add soldier 760 to user 14 when fetching user list. User not found.
You deleted your roles table... That's bad, very bad.

 

AdKats relies on that table to know what to categorize each user, and where to link commands.

 

What were all of your role names? I'll write an sql query to fix it once you reply.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Thank you for the hard work and updates ColColonCleaner.

 

Any other info you need in regards to this exception that continues to pop up in my console?

 

[11:04:32 42] [AdKats] EXCEPTION: Line 0: [updatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.UpdatePlayerReputation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

[11:05:32 28] [AdKats] EXCEPTION: Line 0: [updatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.UpdatePlayerReputation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

Another person had this error as well. Can you enable plugin debugging on your layer and restart it? The number at the end of the exception will change. I can use that number to find the error location faster.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Also this now pops up, which didn't occur on 5.0.0.0

 

[11:11:18 64] [AdKats] EXCEPTION: Line 0: [FetchUserList][Error while fetching access list.]: MySql.Data.Types.MySqlConversionException: Unable to convert MySQL date/time value to System.DateTime

at MySql.Data.Types.MySqlDateTime.GetDateTime () [0x00000] in :0

at MySql.Data.MySqlClient.MySqlDataReader.GetDateTime (Int32 i) [0x00000] in :0

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

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

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

Look in your adkats_users table. Are there real dates in the expiration column? Or are they all zeros?
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

always the problem of reserve slot on procon that does not take into account, while the old version works very well.

But you do not hear me row: Mad:

Some people could not run the plugin at all, that was a more serious problem to fix. I can work on this now. What are your settings for this? Were you using the user list, or the special players table for this before?

 

FYI, the default guest role is ignored now for reserved slots. So, if you have users in your user list for reserved slots, but they are on the default guest role, you need to create a role for them and assign the appropriate commands.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yep that was the issue for this one thank you.

Alright.

 

Code:

UPDATE `adkats_users` SET `user_expiration` = DATE_ADD(UTC_TIMESTAMP(), INTERVAL 20 YEAR);
That will fix your user table for now. However, i need you to try adding a new user and see if the same error happens again. It shouldn't. This was a bug i ran into during my own testing, but it was fixed, or at least i thought it was fixed.

 

If it happens again, please look in the table again and see if the expiration date for that user is just zeros like before.

Link to comment

Originally Posted by HappyGotLucky*:

 

Alright.

 

Code:

UPDATE `adkats_users` SET `user_expiration` = DATE_ADD(UTC_TIMESTAMP(), INTERVAL 20 YEAR);
That will fix your user table for now. However, i need you to try adding a new user and see if the same error happens again. It shouldn't. This was a bug i ran into during my own testing, but it was fixed, or at least i thought it was fixed.

 

If it happens again, please look in the table again and see if the expiration date for that user is just zeros like before.

Added another user and it's fine thank you.

 

I enabled plugin debugging. Didn't seem to change anything in regards to the player reputation error. May be due to my layers being run in Linux. Hopefully the other individual gets something different. I may just comment out that function for now since the admin C# desktop app I built that uses this data doesn't use that anyway.

 

[11:52:04] [AdKats] MySql Connection capable. All variables in place.

[11:52:04] [AdKats] EXCEPTION: Line 0: [updatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.UpdatePlayerReputation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

[11:52:04] [AdKats] Entering queueRecordForProcessing

[11:52:04] [AdKats] Preparing to queue adkats_exception record for processing

[11:52:04] [AdKats] Record queued for processing

[11:52:04] [AdKats] Exiting queueRecordForProcessing

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

Originally Posted by ColColonCleaner*:

 

Added another user and it's fine thank you.

 

I enabled plugin debugging. Didn't seem to change anything in regards to the player reputation error. May be due to my layers being run in Linux. Hopefully the other individual gets something different. I may just comment out that function for now since the admin C# desktop app I built that uses this data doesn't use that anyway.

 

[11:52:04] [AdKats] MySql Connection capable. All variables in place.

[11:52:04] [AdKats] EXCEPTION: Line 0: [updatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Object reference not set to an instance of an object

at PRoConEvents.AdKats.UpdatePlayerReputation (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

[11:52:04] [AdKats] Entering queueRecordForProcessing

[11:52:04] [AdKats] Preparing to queue adkats_exception record for processing

[11:52:04] [AdKats] Record queued for processing

[11:52:04] [AdKats] Exiting queueRecordForProcessing

Changing plugin debugging on your client wont change it on your layer, your layer host will have an option to enable it. It will be posting exception records to your database every time one of these errors happens, so that's not good. If you can get that enabled, that would be most helpful.
Link to comment

Originally Posted by HappyGotLucky*:

 

Changing plugin debugging on your client wont change it on your layer, your layer host will have an option to enable it. It will be posting exception records to your database every time one of these errors happens, so that's not good. If you can get that enabled, that would be most helpful.

I changed the procon.cfg on the layer on the server that hosts it. (My procon layers are hosted on our own dedicated CentOS box)

 

I changed procon.private.options.enablePluginDebugging = False to True.

 

I just don't know if that works since my procon layers are running on a linux server instead of windows.

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

Originally Posted by ColColonCleaner*:

 

Started seeing this on my layers today. (Version prior to 5.0, reverted back until some of the bugs in 5.0 are worked out)

[21:58:05 93] [AdKats] ERROR: Database connection fault detected. This is fault 2. Critical disconnect at 10.

 

Any thoughts? I seem to be able to connect to the db ok.

 

*Did some DB optimization, corrected some buffer sizes. Seems to be happy now.

At any point should the adkats_records_main table be archived? I'm at about 30M rows currently.

Hutchew is correct, deleting records for command ID 49 will reduce the size of your db.

 

Run this to check which commands are causing the most records:

 

Code:

SELECT command_action AS command_id, count(record_id) AS usage_count FROM adkats_records_main GROUP BY command_action ORDER BY usage_count desc;
Let me know which commands are causing the most records.

 

if 37 is an issue, use this query:

 

Code:

DELETE FROM adkats_records_main where command_action = 37 and record_message like "Name-Banned%";
if 49 is an issue, use this query:

 

Code:

DELETE FROM adkats_records_main WHERE command_action = 49 AND record_message = "No previous IP on record";
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I changed the procon.cfg on the layer on the server that hosts it. (My procon layers are hosted on our own dedicated CentOS box)

 

I changed procon.private.options.enablePluginDebugging = False to True.

 

I just don't know if that works since my procon layers are running on a linux server instead of windows.

Yep that should do it. If it doesn't i'll keep that in mind for later. Let me know if the exceptions have line numbers now.
Link to comment

Originally Posted by www-battleplay4u-com*:

 

running 5.0.0.4 now

 

Code:

[18:52:16 24] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 25] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 28] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 29] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 31] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 32] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 76] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 79] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:16 80] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 82] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 84] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 87] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:16 90] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 00] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 01] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 03] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:17 04] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 05] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 06] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:17 08] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 16] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 17] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 19] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 25] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 28] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 39] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 40] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 44] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 45] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 46] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 47] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 55] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 56] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 57] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 59] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 60] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 61] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 63] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 64] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 75] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 78] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 79] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 82] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:17 84] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:17 85] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 86] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:17 88] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:17 89] [AdKats] EXCEPTION: Line 13264: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13264.
[18:52:17 92] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:18 00] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:18 03] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:18 10] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:18 11] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:18 20] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
[18:52:20 36] [AdKats] WARNING: Could not find damage stats for mpx in BF4 library of 71 weapons. Using BFXStats API damage of 34 DPS in the meantime.
[18:52:23 65] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
i allways get errors from the tmp folder

 

 

update:

 

after deleting the files in the temp folder this left as error

 

Code:

[18:56:45 35] [AdKats] EXCEPTION: Line 13292: [UpdatePlayerReputation][Error while updating player reputation.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.UpdatePlayerReputation(AdKatsPlayer aPlayer) in d:\Procon\Layer Plugins\Layer-08\Plugins\BF4\Temp\z4hmm43b.0.cs:Zeile 13292.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by www-battleplay4u-com*:

 

it seems to work..no freezing any more

 

some smaler issues with:

 

Code:

[19:02:34 59] [AdKats] WARNING: Could not find damage stats for bulldog in BF4 library of 71 weapons. Using BFXStats API damage of 40 DPS in the meantime.
[19:02:34 59] [AdKats] WARNING: Could not find damage stats for mpx in BF4 library of 71 weapons. Using BFXStats API damage of 34 DPS in the meantime.
[19:02:38 48] [AdKats] WARNING: Could not find damage stats for mpx in BF4 library of 71 weapons. Using BFXStats API damage of 34 DPS in the meantime.
[19:02:38 48] [AdKats] WARNING: Could not find damage stats for bulldog in BF4 library of 71 weapons. Using BFXStats API damage of 40 DPS in the meantime.
testing it now with another db and layer

 

 

UPDATE:

No single errors occur

 

i guess that the sql script of the 1 layer i runned it did not work properly...

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

Originally Posted by www-battleplay4u-com*:

 

ok....everythink is ine now again except one point:

 

Code:

[19:23:21 87] [AdKats] WARNING: Could not find damage stats for deagle-44 in BF4 library of 71 weapons. Using BFXStats API damage of 85 DPS in the meantime.
[19:23:54 73] [AdKats] WARNING: Could not find damage stats for bulldog in BF4 library of 71 weapons. Using BFXStats API damage of 40 DPS in the meantime.
but everythink else is running just fine

 

CLEANER...Big Thx

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

Originally Posted by virusdead*:

 

Some people could not run the plugin at all, that was a more serious problem to fix. I can work on this now. What are your settings for this? Were you using the user list, or the special players table for this before?

 

FYI, the default guest role is ignored now for reserved slots. So, if you have users in your user list for reserved slots, but they are on the default guest role, you need to create a role for them and assign the appropriate commands.

I get the names of members by procon :huh:

How can I make an order I would need more details :huh:

 

Capture.PNG

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

Originally Posted by Jasonpb*:

 

You deleted your roles table... That's bad, very bad.

 

AdKats relies on that table to know what to categorize each user, and where to link commands.

 

What were all of your role names? I'll write an sql query to fix it once you reply.

Pretty certain the only role I had created was "BF4 Moderator" which I've recreated.

 

Code:

05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 466 to user 2 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 10037 to user 4 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 679 to user 7 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 23809 to user 8 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 2976 to user 11 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 845 to user 13 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 760 to user 14 when fetching user list. User not found.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I get the names of members by procon :huh:

How can I make an order I would need more details :huh:

 

Capture.PNG

All you need is a role that is not Default Guest. For example, create a new role called "Reserved Slot", and assign all those people to that role. Just make sure the new reserved slot role doesn't have access to commands they shouldn't. The Default Guest role is ignored now since that role is reverted to when a user expires.
Link to comment

Originally Posted by virusdead*:

 

All you need is a role that is not Default Guest. For example, create a new role called "Reserved Slot", and assign all those people to that role. Just make sure the new reserved slot role doesn't have access to commands they shouldn't. The Default Guest role is ignored now since that role is reverted to when a user expires.

But where should I go that's what I do not understand
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Pretty certain the only role I had created was "BF4 Moderator" which I've recreated.

 

Code:

05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 25] [AdKats] ERROR: Unable to find user role for role ID 4
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 466 to user 2 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 10037 to user 4 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 679 to user 7 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 23809 to user 8 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 2976 to user 11 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 845 to user 13 when fetching user list. User not found.
[05:59:26 27] [AdKats] ERROR: Unable to add soldier 760 to user 14 when fetching user list. User not found.
Ok, someone on your user list is assigned to a role that you deleted. Role ID 4. Looks like you also deleted users from your list without cleaning up the usersoldiers table too. Users 2, 4, 7, 8, 11, 13, and 14. So it looks like you deleted the roles table, and removed users from the user list without removing their soldier entries from the usersoldiers table. If you clean up those references, the errors will go away. Make sure no users are pointing to role ID 4, and remove soldiers mapping to users 2, 4, 7, 8, 11, 13, and 14, from the usersoldiers table.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

But where should I go that's what I do not understand

Create a role like you would for any other. There is a "New Role" line in the role settings section, enter Reserved Slot in that line and hit enter. Then assign those users to that role.
Link to comment

Originally Posted by virusdead*:

 

Create a role like you would for any other. There is a "New Role" line in the role settings section, enter Reserved Slot in that line and hit enter. Then assign those users to that role.

In procon? or base MSQL
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Jasonpb*:

 

Ok, someone on your user list is assigned to a role that you deleted. Role ID 4. Looks like you also deleted users from your list without cleaning up the usersoldiers table too. Users 2, 4, 7, 8, 11, 13, and 14. So it looks like you deleted the roles table, and removed users from the user list without removing their soldier entries from the usersoldiers table. If you clean up those references, the errors will go away. Make sure no users are pointing to role ID 4, and remove soldiers mapping to users 2, 4, 7, 8, 11, 13, and 14, from the usersoldiers table.

Thanks, all fixed!
* 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.