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

 

Sorry if this has already been covered. I have been busy with work. If I run the SQL script on my old BF3 database.... And of course update CHAT/Stats logger along with Adkats... Will it now work?

The new universal version of stat logger is NOT compatible with the BF3 version. You can run AdKats with both versions, but you cannot run the universal version of stat logger on the BF3 database.
Link to comment

Originally Posted by ixnorp*:

 

I just checked again, and it works:

 

Posted Image

 

Debug level 2

 

[11:04:30 66] [AdKats] guneddown protected from hacker checker by database ID.

 

Perhaps you entered the wrong ID?

I'll try it again later thanks!

 

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by jking54*:

 

C3, thanks for the update, looking forward to using the auto punish but how to set this up like you guys have it on ADK, where I'm currently using this:

 

showthread....0-RPG-USAS-etc*

 

but I want it to auto punish and subsequently boot like yours does, many thanks.

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

Originally Posted by HappyGotLucky*:

 

Just updated from 4.0 to 4.1 saw this exception pop up. And my plugin settings page is blank... :sad:

 

 

[14:28:49 61] [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.Collections.Generic.Dictionary`2[system.Int64,PRoConEvents.AdKats+GameVersion].get_Item (Int64 key) [0x00000] in :0

at PRoConEvents.AdKats+c? AnonStorey0.m__5 (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

at System.Linq.Enumerable+c__It erator1A`2[PRoConEvents.AdKats+AdKatsPlayer,PRoCon.Core.CPlug inVariable].MoveNext () [0x00000] in :0

at System.Collections.Generic.List`1[PRoCon.Core.CPluginVariable].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in :0

at System.Collections.Generic.List`1[PRoCon.Core.CPluginVariable].AddRange (IEnumerable`1 collection) [0x00000] in :0

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

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

Originally Posted by ColColonCleaner*:

 

Just updated from 4.0 to 4.1 saw this exception pop up. And my plugin settings page is blank... :sad:

 

 

[14:28:49 61] [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.Collections.Generic.Dictionary`2[system.Int64,PRoConEvents.AdKats+GameVersion].get_Item (Int64 key) [0x00000] in :0

at PRoConEvents.AdKats+c? AnonStorey0.m__5 (PRoConEvents.AdKatsPlayer aPlayer) [0x00000] in :0

at System.Linq.Enumerable+c__It erator1A`2[PRoConEvents.AdKats+AdKatsPlayer,PRoCon.Core.CPlug inVariable].MoveNext () [0x00000] in :0

at System.Collections.Generic.List`1[PRoCon.Core.CPluginVariable].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in :0

at System.Collections.Generic.List`1[PRoCon.Core.CPluginVariable].AddRange (IEnumerable`1 collection) [0x00000] in :0

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

Check your tbl_games table. Does it have entries for both BF3 and BF4?
Link to comment

Originally Posted by Narf!*:

 

Error

SQL query:

 

ALTER TABLE `adkats_specialplayers` ADD CONSTRAINT `adkats_specialplayers_game_id` FOREIGN KEY ( `player_game` ) REFERENCES `tbl_games` ( `GameID` ) ON UPDATE NO ACTION ON DELETE CASCADE ,

ADD CONSTRAINT `adkats_specialplayers_server_id` FOREIGN KEY ( `player_server` ) REFERENCES `tbl_server` ( `ServerID` ) ON UPDATE NO ACTION ON DELETE CASCADE ,

ADD CONSTRAINT `adkats_specialplayers_player_id` FOREIGN KEY ( `player_id` ) REFERENCES `tbl_playerdata` ( `PlayerID` ) ON UPDATE NO ACTION ON DELETE CASCADE ;

 

 

MySQL said: Documentation

 

#1005 - Can't create table 's438898.#sql-380_4155f0' (errno: 121)

That's what both of our databases say if I do the Mysql script.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Narf!*:

 

Well, I'm sure I didn't. I logged in to first database, did it, got that error. Logged in to 2nd database, did it, got the error. But if you say I'm good... I'll try updating the plugin later. Now I'll prepare for NBA action on TV :ohmy:)

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

Originally Posted by Jamesonp*:

 

Thanks for the update, I have a few questions.

 

1) Where do I set the group for the ban list?

2) This new update seems to freeze up the Procon Parent Layer tab every few seconds, has anyone else noticed this?

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

Originally Posted by ColColonCleaner*:

 

Thanks for the update, I have a few questions.

 

1) Where do I set the group for the ban list?

2) This new update seems to freeze up the Procon Parent Layer tab every few seconds, has anyone else noticed this?

1) tbl_server -> ServerGroup. Remember this applies to all bans now.

2) Hmmm, does it continue if you minimize the settings subsections in AdKats you aren't using? AdKats has so many settings now it might be lagging your particular layer when refreshed.

Link to comment

Originally Posted by Jamesonp*:

 

1) tbl_server -> ServerGroup. Remember this applies to all bans now.

2) Hmmm, does it continue if you minimize the settings subsections in AdKats you aren't using? AdKats has so many settings now it might be lagging your particular layer when refreshed.

1) Thank you

 

2) It seems to be what is causing it. Having to fight with it constantly to change any settings (this isn't new, just worse with this version) is very hard. Would it be possible to just add a dropdown box to disable automatic refreshes or set the time rate at which it occurs?

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

Originally Posted by ColColonCleaner*:

 

1) Thank you

 

2) It seems to be what is causing it. Having to fight with it constantly to change any settings (this isn't new, just worse with this version) is very hard. Would it be possible to just add a dropdown box to disable automatic refreshes or set the time rate at which it occurs?

Yeah...i don't know what to do about that. I need to update the setting page when people change any setting, and there are so many settings now it's getting hairy. In fact the first 2000+ lines of the plugin are all for settings management....

 

I'll look into alleviating the problem, but it wont be a direct solution...

 

Does it help when you minimize all the setting sections you aren't working with?

Link to comment

Originally Posted by Jamesonp*:

 

1) Yeah...i don't know what to do about that. I need to update the setting page when people change any setting, and there are so many settings now it's getting hairy. In fact the first 2000+ lines of the plugin are all for settings management....

 

2) Does it help when you minimize all the setting sections you aren't working with?

1) I'm not sure if this is possible as I don't code in C# or .net, but would it be possible to delay sending and updating the settings (for something like 10 seconds) when a clickable box is selected or focused on?

 

2) Yea, it appears as if "User Settings," "Role Settings" and "Command List" are the biggest culprits.

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

Originally Posted by ColColonCleaner*:

 

1) Thank you

 

2) It seems to be what is causing it. Having to fight with it constantly to change any settings (this isn't new, just worse with this version) is very hard. Would it be possible to just add a dropdown box to disable automatic refreshes or set the time rate at which it occurs?

I added a log message every time i request the settings page be updated. Time is the number of seconds since the last request was made.

 

https://raw2.github.com/ColColonClea...test/AdKats.cs

 

Send me your plugin log files after a while to see how often the request gets made.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.