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

 

Regarding this UTC time difference, mine is 10m 54sec. I am on a vps but since i am on virtuozzo my host has to do the adjustment and thats not saying much. He basically will get to it when he wants to, maybe tomorrow maybe next june. So my back is against the wall here, i need to either uninstall all of this and forget it, or i need to mod it to accept 10m 54s difference until i can get him to do the UTC adjustment.

 

If you dont want to share that info publically i understand then PM me if you want but i need to mod this and im asking for your help. My admins are without any control right now basically.

 

Thanks...

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

Originally Posted by ColColonCleaner*:

 

Regarding this UTC time difference, mine is 10m 54sec. I am on a vps but since i am on virtuozzo my host has to do the adjustment and thats not saying much. He basically will get to it when he wants to, maybe tomorrow maybe next june. So my back is against the wall here, i need to either uninstall all of this and forget it, or i need to mod it to accept 10m 54s difference until i can get him to do the UTC adjustment.

 

If you dont want to share that info publically i understand then PM me if you want but i need to mod this and im asking for your help. My admins are without any control right now basically.

 

Thanks...

Delete lines 16642 and 16643.

 

EDIT: Also, disable automatic updates, as you have modified the code. So strange both your layer and database were incorrect for times...you'd think the hosts would keep up with that.

Link to comment

Originally Posted by durangod*:

 

Delete lines 16642 and 16643.

 

EDIT: Also, disable automatic updates, as you have modified the code. So strange both your layer and database were incorrect for times...you'd think the hosts would keep up with that.

yeah you would think so but im finding out in this business that sometimes common sense and reality are two different things lol... Im still in infancy in my business and i get a great rate on my VPS so for now i have to put up with an extremely lazy host. As far as the gaming host yes they totally should but then again im also finding out that BF3 customer service is somewhat lacking to be kind lol..

 

Thanks so much for what you do, how you do it and for still supporting bf3 as many of us still enjoy it very much. And thanks for the help on this as well :smile:

 

oh i forgot to ask which file name for the edit?

 

nevermind i found it... thanks again :ohmy:

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

Originally Posted by Jasonpb*:

 

Well that didn't last enabled long :ohmy: had it set to optimal settings for metro, within ~300 tickets with the fight in the middle at B the round ended with the baserape message.

 

It's metro, B is generally where the fights at and holding it there while boring isn't base rape :ohmy:

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

Originally Posted by ColColonCleaner*:

 

Well that didn't last enabled long :ohmy: had it set to optimal settings for metro, within ~300 tickets with the fight in the middle at B the round ended with the baserape message.

 

It's metro, B is generally where the fights at and holding it there while boring isn't base rape :ohmy:

What were your chat logs in procon? That hardly seems possible...

 

It triggers when the winning team is dropping less than 10 tickets per minute, and the losing team is dropping more than 60 tickets per minute. Or, winning team is dropping less than 15 tickets per minute, and the losing team is dropping more than 70 tickets per minute.

 

EDIT: And, those values need to be held for a minute and a half without getting better...

 

Those values over that period of time are not possible while sitting at B, or even if beyond that flag. All flags need to be captured by one team in order for it to trigger.

 

This is for metro 2014, not BF3 metro, just in case you were running it on there...

 

If i am to find out what happened on your server, i need the logs.

Link to comment

Originally Posted by Jasonpb*:

 

What were your chat logs in procon? That hardly seems possible...

 

It triggers when the winning team is dropping less than 10 tickets per minute, and the losing team is dropping more than 60 tickets per minute. Or, winning team is dropping less than 15 tickets per minute, and the losing team is dropping more than 70 tickets per minute.

 

EDIT: And, those values need to be held for a minute and a half without getting better...

 

Those values over that period of time are not possible while sitting at B, or even if beyond that flag. All flags need to be captured by one team in order for it to trigger.

 

This is for metro 2014, not BF3 metro, just in case you were running it on there...

 

If i am to find out what happened on your server, i need the logs.

I'll turn it on again, yes it's bf4 and I've sent you a link.
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I'll turn it on again, yes it's bf4 and I've sent you a link.

A battlelog report just shows how things ended, not how it progressed. You can look at 3 different places for the information; Your procon chat logs, your extendedroundstats table, and the endround record created by auto-surrender.
Link to comment

Originally Posted by toxicman2002*:

 

The last version of adkats chrash layer any solution?

I am using the last stable version.

Same here! I host the layer myself.

 

@ColColonCleaner:

 

Downgrade dosn't help: It crashes and crashes again.

 

I've deleted all Adkats-parts from config-folder, Plugin-folder and so on, nothing works. And the best: My Adkats-Database is now destroyed. All Bans are damaged :sad:

 

Before the update all works fine for me and now: I must fix my database and my layer yet.

 

Greets toxic

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

Originally Posted by ColColonCleaner*:

 

Same here! I host the layer myself.

 

@ColColonCleaner:

 

Downgrade dosn't help: It crashes and crashes again.

 

I've deleted all Adkats-parts from config-folder, Plugin-folder and so on, nothing works. And the best: My Adkats-Database is now destroyed. All Bans are damaged :sad:

 

Before the update all works fine for me and now: I must fix my database and my layer yet.

 

Greets toxic

Which update? updating to 5.2.0.0, or updating to 5.2.0.7 from 5.2.0.0.
Link to comment

Originally Posted by toxicman2002*:

 

Update from your last Beta to 5.2.0.7

 

Edit:

 

After a lot of time (i startetbefore 2 hours), databaserestore and a backup from my Layerserver, the old Version from Adkats (5.2.0.0) it works fine for me.

 

I dont know, if adkats was the problem for my database-crash, maybe it was coincidence, but now works all fine with the old settings.

 

No errors occurred now

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

Originally Posted by ColColonCleaner*:

 

Update from your last Beta to 5.2.0.7

I'm looking at my version tracker and 126 servers have updated to 5.2.0.0 without issue, and now that 5.2.0.7 is out, another 78 servers have updated to that version without issue so far.

 

 

So we need to find out what happened to your particular layer that caused something to happen. Last beta, so you were between 5.1.7.0 and 5.2.0.0, then updated to 5.2.0.7.

 

 

What happens on startup of your layer if you have AdKats disabled? Does your layer crash after you enable it?

Link to comment

Originally Posted by toxicman2002*:

 

It crashes when the layer starts. Here the errorlog, its

 

[16:59:58] [AdKats] SUCCESS: Database connection open.

[16:59:58] [AdKats] SUCCESS: Database confirmed functional for AdKats use.

[16:59:58] [AdKats] EXCEPTION: Line Unknown: [GetGlobalUTCTimestamp][Error while getting global UTC Timestamp]: System.ArgumentOutOfRangeException: Der hinzuzufügende Wert war außerhalb des Bereichs.

Parametername: value

bei System.DateTime.Add(Double value, Int32 scale)

bei System.DateTime.AddSeconds(Double value)

bei PRoConEvents.AdKats.DateTimeFromEpochSeconds(Doubl e epochSeconds) in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 24349.

bei PRoConEvents.AdKats.GetGlobalUTCTimestamp(DateTime & UTCTime) in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 22290.

[16:59:58] [AdKats] EXCEPTION: Line Unknown: [DatabaseCommunicationThreadLoop][Error occured in Database Comm thread. Skipping current loop.]: System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.

bei System.ThrowHelper.ThrowKeyNotFoundException()

bei System.Collections.Generic.Dictionary`2.get_Item(T Key key)

bei PRoConEvents.AdKats.HandleException(AdKatsExceptio n aException) in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 24393.

bei PRoConEvents.AdKats.GetGlobalUTCTimestamp(DateTime & UTCTime) in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 22296.

bei PRoConEvents.AdKats.TestDatabaseConnection() in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 16627.

bei PRoConEvents.AdKats.DatabaseCommunicationThreadLoo p() in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 15802.

[16:59:58] [AdKats] EXCEPTION: Line Unknown: [DatabaseCommunicationThreadLoop][Error occured in database comm thread.]: System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.

bei System.ThrowHelper.ThrowKeyNotFoundException()

bei System.Collections.Generic.Dictionary`2.get_Item(T Key key)

bei PRoConEvents.AdKats.HandleException(AdKatsExceptio n aException) in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 24393.

bei PRoConEvents.AdKats.DatabaseCommunicationThreadLoo p() in c:\Users\Desktop\ProConLayer BF4 - Kopie (3)\Plugins\BF4\Temp\bhv7rmsk.0.cs:Zeile 16027.

[17:00:01] Latency Manager Enabled!

[17:00:02] Notify Me!: Enabled =)

[17:00:02] Server Rules On Request Enabled!

[17:00:02] Spambot Enabled!

[17:00:02] UltimateMapManager: Enabled!

[17:00:03] UltimateMapManager: INFO -> Current day/time on this system: Donnerstag, 17:00

This error doesnt come with older version. My wrong: it was not a beta, it was your latetst adkats (5.2.0.0).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Fschjg261*:

 

I'm looking at my version tracker and 126 servers have updated to 5.2.0.0 without issue, and now that 5.2.0.7 is out, another 78 servers have updated to that version without issue so far.

 

 

So we need to find out what happened to your particular layer that caused something to happen. Last beta, so you were between 5.1.7.0 and 5.2.0.0, then updated to 5.2.0.7.

 

 

What happens on startup of your layer if you have AdKats disabled? Does your layer crash after you enable it?

With 5.2.0.7. when i aktivate Plugin Layer instant crash and canot conect to layer anymore,with 5.2.0.0 no problems.

Layer is hosted G-Portal.

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

Originally Posted by r3alflash*:

 

Hey, we have some probs at our layers:

 

21:09:36 62] [AdKats] ERROR: System.Net.WebException: The request timed out

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0

at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0

at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in :0

at System.Net.WebClient.ReadAll (System.Net.WebRequest request, System.Object userToken) [0x00000] in :0

at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] in :0

[AdKats] EXCEPTION: Line Unknown: [FetchSQLUpdates][Error while fetching SQL updates.]: System.Net.WebException: The request timed out

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0

at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0

at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in :0

at System.Net.WebClient.ReadAll (System.Net.WebRequest request, System.Object userToken) [0x00000] in :0

at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] in :0

[AdKats] EXCEPTION: Line Unknown: [FetchSQLUpdates][Error while fetching SQL updates.]: System.Net.WebException: The request timed out

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0

at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0

at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in :0

at System.Net.WebClient.ReadAll (System.Net.WebRequest request, System.Object userToken) [0x00000] in :0

at System.Net.WebClient.DownloadDataCore (System.Uri address, System.Object userToken) [0x00000] in :0

The first 2 quotes are from a 5.2.0.8 and the last one from 5.2.0.0

 

the layer runs at a linux vserver and we have 5 parts of layer

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

Originally Posted by ColColonCleaner*:

 

Message Database.

#1064 - 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 'using System.' at line 28

No, i mean the actual exception log from AdKats. In the plugin console. It gives more information that I need.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hey, we have some probs at our layers:

 

 

 

 

 

 

 

 

The first 2 quotes are from a 5.2.0.8 and the last one from 5.2.0.0

 

the layer runs at a linux vserver and we have 5 parts of layer

Linux boxes seem to have issues using the webclient, we've see this before. It could just be the way the firewalls are normally configured on those machines.

 

I can't see where the first one was happening on your layer, so i added some more debug around that area. The last two are the same, your layer was simply unable to connect to github to check for db updates.

 

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

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.