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

 

Got the basic idea, but explain further what you want.

We have some people paying for membership on the server, it should be nice to be able to set some kind of expire date when the time they have paid for is over, then they should be moved to the "guest user group" also it would be more easy to track when they have registered as members and when they should pay again for the server.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Xjmhd*:

 

Hey C3, I posted this a couple of days ago and I'm guessing you missed it. I keep getting this after enabling Adkats it opens the db connection and ingame commands work however the settings page is completely blank

 

Code:

[00:26:37 79] [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()
[00:26:37 79] [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()
Also would it be possible to have an option to disable the automatic numbers placed before the rules?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hey C3, I posted this a couple of days ago and I'm guessing you missed it. I keep getting this after enabling Adkats it opens the db connection and ingame commands work however the settings page is completely blank

 

Code:

[00:26:37 79] [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()
[00:26:37 79] [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()
Also would it be possible to have an option to disable the automatic numbers placed before the rules?
Hmmm, enable plugin debugging on your layer and restart, i think i know where the error is. Once plugin debugging is enabled these errors will contain actual line numbers instead of "Line 0". Thanks.
Link to comment

Originally Posted by Xjmhd*:

 

Hmmm, enable plugin debugging on your layer and restart, i think i know where the error is. Once plugin debugging is enabled these errors will contain actual line numbers instead of "Line 0". Thanks.

Plugin debugging is on

 

Posted Image

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

Originally Posted by Xjmhd*:

 

The setting in procon.cfg for this is:

 

procon.private.options.enablePluginDebugging True

 

Error looks like this after adding procon.private.options.enablePluginDebugging True to the procon.cfg

 

Code:

[20:29:35 93] [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) in e:\UserFiles\ALBERTOA\GameServers\TC34748720072338364573365\Plugins\BF4\Temp\3qcpncdt.0.cs:line 643
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at PRoConEvents.AdKats.GetDisplayPluginVariables() in e:\UserFiles\ALBERTOA\GameServers\TC34748720072338364573365\Plugins\BF4\Temp\3qcpncdt.0.cs:line 643
Sorry for the late response, my cpu cooler has died so I'm unable to use my own pc.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

My code didn't allow for invalid game IDs without throwing an error...you have a soldier added to some user with an invalid game ID (probably game ID 0).

 

Try this version: https://raw.githubusercontent.com/Co...test/AdKats.cs

 

It should show you which soldier has that invalid game ID so you can remove it from the user.

Link to comment

Originally Posted by LCARSx64*:

 

How to disable nickname from Reason who gave ban?

Attachment 3347

In AdKats settings, scroll down to section A12. Messaging Settings and change Display Admin Name in Kick and Ban Announcement to False.

 

You could also go to Procon's options, Advanced tab, Chat Tab section and untick Enable Admin name on chat message.

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

Originally Posted by Xjmhd*:

 

My code didn't allow for invalid game IDs without throwing an error...you have a soldier added to some user with an invalid game ID (probably game ID 0).

 

Try this version: https://raw.githubusercontent.com/Co...test/AdKats.cs

 

It should show you which soldier has that invalid game ID so you can remove it from the user.

Guessing this could be because of one of my Admins changing name?

 

Edit: The version you gave me isen't appearing in Plugins in procon.

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

Originally Posted by ColColonCleaner*:

 

How to disable nickname from Reason who gave ban?

Attachment 3347

What UI are you using there?

 

Many people requested that be added so it became the default, and right now it can't be disabled. I can add a new feature to disable it though. Admin name in ban/kick announcement is for the server-wide admin.say when someone is kicked/banned and does not affect the ban reason.

Link to comment

Originally Posted by Hodor*:

 

What UI are you using there?

 

Many people requested that be added so it became the default, and right now it can't be disabled. I can add a new feature to disable it though. Admin name in ban/kick announcement is for the server-wide admin.say when someone is kicked/banned and does not affect the ban reason.

Rconnet and Procon!

When I give ban for player in-game I get just such a reason (my nickname) - Reason

Pls fix it

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

Originally Posted by Prophet731*:

 

Rconnet and Procon!

When I give ban for player in-game I get just such a reason (my nickname) - Reason

Pls fix it

If I'm not mistaken rconnet has its own in-game admin feature?

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 www-battleplay4u-com*:

 

i switched off the ban enforcer and it started downlaoding but ends immediatelly because of an error

 

any ideas?

 

cheers

OOOps_I_did_it

 

Code:

[03:45:50 19] [AdKats] WARNING: 534 bans downloaded, beginning repopulation to ban list.

[03:45:50 19] [AdKats] Re-ProconBanning: leitmtv for 620393193sec for [b__70][Error in email sending thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.EmailHandler.<>c__DisplayClass73.b__70()

[03:45:50 27] [AdKats] Re-ProconBanning: for 620393168sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:50 34] [AdKats] Re-ProconBanning: Skylifter1 for 620393168sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:50 42] [AdKats] Re-ProconBanning: doncocio for 620393168sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:50 50] [AdKats] Re-ProconBanning: reutnitzer for 631149046sec for 

[03:45:50 66] [AdKats] Re-ProconBanning: Tsurany for 620393143sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:50 73] [AdKats] 2,81% of bans repopulated. AVG 27,47 downloads/sec.

[03:45:50 73] [AdKats] Re-ProconBanning: BoomShikiWuowaLT for 620562661sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:50 89] [AdKats] Re-ProconBanning: XDerGriecheX for 620701146sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:51 05] [AdKats] Re-ProconBanning: Wolfus_kun for 620904797sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:51 12] [AdKats] Re-ProconBanning: IIIIAkellaIII for 621013693sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:51 20] [AdKats] Re-ProconBanning: Murd3rWorship for 621136968sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:51 28] [AdKats] Re-ProconBanning: an_unknown_kill for 631149045sec for dont say thatt

[03:45:51 44] [AdKats] Re-ProconBanning: Loffel1994 for 631149046sec for Bad Language

[03:45:51 59] [AdKats] 5,62% of bans repopulated. AVG 21,37 downloads/sec.

[03:45:51 59] [AdKats] Re-ProconBanning: LUN4T1C0003K for 631149046sec for Racism - Permanent Ban

[03:45:51 75] [AdKats] EXCEPTION: Line 0: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.RepopulateProconBanList()
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Xjmhd*:

 

Check your download, just tried it again and it works on my end.

Yeah I got it to work, the soilder "gollumxOnPc" seems to be bugged when added guessing it might something with my db but it adds two soilders and one of them are invalid. Thank you for the help :smile:
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

i switched off the ban enforcer and it started downlaoding but ends immediatelly because of an error

 

any ideas?

 

cheers

OOOps_I_did_it

 

Code:

[03:45:50 19] [AdKats] WARNING: 534 bans downloaded, beginning repopulation to ban list.

[03:45:50 19] [AdKats] Re-ProconBanning: leitmtv for 620393193sec for [b__70][Error in email sending thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.EmailHandler.<>c__DisplayClass73.b__70()

[03:45:50 27] [AdKats] Re-ProconBanning: for 620393168sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:50 34] [AdKats] Re-ProconBanning: Skylifter1 for 620393168sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:50 42] [AdKats] Re-ProconBanning: doncocio for 620393168sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:50 50] [AdKats] Re-ProconBanning: reutnitzer for 631149046sec for 

[03:45:50 66] [AdKats] Re-ProconBanning: Tsurany for 620393143sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:50 73] [AdKats] 2,81% of bans repopulated. AVG 27,47 downloads/sec.

[03:45:50 73] [AdKats] Re-ProconBanning: BoomShikiWuowaLT for 620562661sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:50 89] [AdKats] Re-ProconBanning: XDerGriecheX for 620701146sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:51 05] [AdKats] Re-ProconBanning: Wolfus_kun for 620904797sec for [PlayerListingThreadLoop][Error occured in player listing thread.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.PlayerListingThreadLoop()

[03:45:51 12] [AdKats] Re-ProconBanning: IIIIAkellaIII for 621013693sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:51 20] [AdKats] Re-ProconBanning: Murd3rWorship for 621136968sec for [FetchPlayer][Error while fetching player.]: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Roo'
,'EA_AEB15E7AFBF3D561A4D213DF5DD0BB' at line 11
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.G

[03:45:51 28] [AdKats] Re-ProconBanning: an_unknown_kill for 631149045sec for dont say thatt

[03:45:51 44] [AdKats] Re-ProconBanning: Loffel1994 for 631149046sec for Bad Language

[03:45:51 59] [AdKats] 5,62% of bans repopulated. AVG 21,37 downloads/sec.

[03:45:51 59] [AdKats] Re-ProconBanning: LUN4T1C0003K for 631149046sec for Racism - Permanent Ban

[03:45:51 75] [AdKats] EXCEPTION: Line 0: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei PRoConEvents.AdKats.RepopulateProconBanList()
1. Please run the script linked here to remove those invalid record messages: myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry37596

 

2. add the following line to your procon.cfg, or enable plugin debugging from your layer control if you have that access. "procon.private.options.enablePluginDebugging True". Reboot your layer.

3. Try the import again, and if it still errors out, post the new error.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Yeah I got it to work, the soilder "gollumxOnPc" seems to be bugged when added guessing it might something with my db but it adds two soilders and one of them are invalid. Thank you for the help :smile:

No problem, glad things are working again. And to the point of soldiers changing names, the system is designed to automatically account for that and just assign the powers to the new name.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Rconnet and Procon!

When I give ban for player in-game I get just such a reason (my nickname) - Reason

Pls fix it

You already said that, and will have to wait for a new feature to disable it. Still wondering how you got banning admin on your UI.
Link to comment

Originally Posted by www-battleplay4u-com*:

 

1. Please run the script linked here to remove those invalid record messages: myrcon.net/...advanced-in-game-admin-and-ban-enforcer-adkats#entry37596

 

2. add the following line to your procon.cfg, or enable plugin debugging from your layer control if you have that access. "procon.private.options.enablePluginDebugging True". Reboot your layer.

3. Try the import again, and if it still errors out, post the new error.

still get an error

the sql script run without errors

 

 

Code:

[14:32:37 13] [AdKats] EXCEPTION: Line 12442: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.RepopulateProconBanList() in d:\Procon\Layer Plugins\Layer-03\Plugins\BF4\Temp\qtepa3la.0.cs:Zeile 12442.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

still get an error

the sql script run without errors

 

 

Code:

[14:32:37 13] [AdKats] EXCEPTION: Line 12442: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.RepopulateProconBanList() in d:\Procon\Layer Plugins\Layer-03\Plugins\BF4\Temp\qtepa3la.0.cs:Zeile 12442.
Thanks, the line number is what i needed. I'll get back to you.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

still get an error

the sql script run without errors

 

 

Code:

[14:32:37 13] [AdKats] EXCEPTION: Line 12442: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.RepopulateProconBanList() in d:\Procon\Layer Plugins\Layer-03\Plugins\BF4\Temp\qtepa3la.0.cs:Zeile 12442.
Try this version: https://raw.githubusercontent.com/Co...test/AdKats.cs
Link to comment

Originally Posted by www-battleplay4u-com*:

 

Code:

[16:12:23 78] [AdKats] EXCEPTION: Line 12434: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.RepopulateProconBanList() in d:\Procon\Layer Plugins\Layer-01\Plugins\BF4\Temp\iwq7kitc.0.cs:Zeile 12434.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

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:

debug dump
Sorry for the delay, please enable plugin debugging and post the error again. This time it will have valid line numbers.

 

I described how to enable plugin debugging on layers a couple posts ago.

 

 

Sent from my SPH-D710 using Tapatalk

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Code:

[16:12:23 78] [AdKats] EXCEPTION: Line 12434: [RepopulateProconBanList][Error while repopulating procon banlist.]: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei PRoConEvents.AdKats.RepopulateProconBanList() in d:\Procon\Layer Plugins\Layer-01\Plugins\BF4\Temp\iwq7kitc.0.cs:Zeile 12434.
What... Your ban has no linking record. The only way that would have happened is if someone deleted those records from your db. Nothing in AdKats expects that to happen.

 

This means whichever bans are throwing this error no longer have reasons assigned to them. I can add code to assign a new reason like "Ban Reason Expunged" to those bans.

 

Sent from my SPH-D710 using Tapatalk

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.