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

 

Lol what do you mean nothing happens? If you are running 4.0.0.0 that should work.

!punish doesn't do anything, nada, nothing! :P

 

I'll test on a second server...

 

*edit:

Not on the second server either...

 

This is what i have from line 3065 to 3070:

Code:

//Update player death information
                if (this._PlayerDictionary.ContainsKey(kKillerVictimDetails.Victim.SoldierName)) {
                    lock (this._PlayersMutex) {
                        AdKatsPlayer victim = this._PlayerDictionary[kKillerVictimDetails.Victim.SoldierName];
                        this.DebugWrite("Setting " + victim.player_name + " time of death to " + kKillerVictimDetails.TimeOfDeath, 7);
                        victim.lastDeath = kKillerVictimDetails.TimeOfDeath;
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

!punish doesn't do anything, nada, nothing! :P

 

I'll test on a second server...

 

*edit:

Not on the second server either...

 

This is what i have from line 3065 to 3070:

Code:

//Update player death information
                if (this._PlayerDictionary.ContainsKey(kKillerVictimDetails.Victim.SoldierName)) {
                    lock (this._PlayersMutex) {
                        AdKatsPlayer victim = this._PlayerDictionary[kKillerVictimDetails.Victim.SoldierName];
                        this.DebugWrite("Setting " + victim.player_name + " time of death to " + kKillerVictimDetails.TimeOfDeath, 7);
                        victim.lastDeath = kKillerVictimDetails.TimeOfDeath;
You didn't change anything o.O, those lines are exactly the same as before. You must have changed something else to make it stop working.

 

Should look like this 3065 to 3070

 

Code:

//Update player death information                
if (this._PlayerDictionary.ContainsKey(kKillerVictimDetails.Victim.SoldierName)) {
                    lock (this._PlayersMutex) {
                        AdKatsPlayer victim = this._PlayerDictionary[kKillerVictimDetails.Victim.SoldierName];
                        this.DebugWrite("Setting " + victim.player_name + " time of death to " + DateTime.UtcNow, 7);
                        victim.lastDeath = DateTime.UtcNow;
Link to comment

Originally Posted by TMiland*:

 

You didn't change anything o.O, those lines are exactly the same as before. You must have changed something else to make it stop working.

 

Should look like this 3065 to 3070

 

Code:

//Update player death information                
if (this._PlayerDictionary.ContainsKey(kKillerVictimDetails.Victim.SoldierName)) {
                    lock (this._PlayersMutex) {
                        AdKatsPlayer victim = this._PlayerDictionary[kKillerVictimDetails.Victim.SoldierName];
                        this.DebugWrite("Setting " + victim.player_name + " time of death to " + DateTime.UtcNow, 7);
                        victim.lastDeath = DateTime.UtcNow;
Aww crap! :ohmy: Forgot to hit the redo button, This is what i had:

 

Code:

//Update player death information
                if (this._PlayerDictionary.ContainsKey(kKillerVictimDetails.Victim.SoldierName)) {
                    lock (this._PlayersMutex) {
                        AdKatsPlayer victim = this._PlayerDictionary[kKillerVictimDetails.Victim.SoldierName];
                        this.DebugWrite("Setting " + victim.player_name + " time of death to " + kKillerVictimDetails.TimeOfDeath, 7);
                        victim.lastDeath = DateTime.UtcNow;
Witch is the current active code on all 6 layers, tested on two of them. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Aww crap! :ohmy: Forgot to hit the redo button, This is what i had:

 

Code:

//Update player death information
                if (this._PlayerDictionary.ContainsKey(kKillerVictimDetails.Victim.SoldierName)) {
                    lock (this._PlayersMutex) {
                        AdKatsPlayer victim = this._PlayerDictionary[kKillerVictimDetails.Victim.SoldierName];
                        this.DebugWrite("Setting " + victim.player_name + " time of death to " + kKillerVictimDetails.TimeOfDeath, 7);
                        victim.lastDeath = DateTime.UtcNow;
Witch is the current active code on all 6 layers, tested on two of them. :smile:
Do other commands work? Because this same code is called for @kill as well.

 

Once again level 3 debug logs would be nice.

Link to comment

Originally Posted by TMiland*:

 

Do other commands work? Because this same code is called for @kill as well.

 

Once again level 3 debug logs would be nice.

On !punish nothing happends, so no debug log there,

 

!kill works, with this in the debug log:

[09:59:30 12] [AdKats] admin_say upload for player Server by TommyMiland SUCCESSFUL!

[09:59:30 78] [AdKats] admin_say update for player Server by TommyMiland SUCCESSFUL!

[09:59:46 30] [AdKats] Players with BF4Stats: 84.44%

[09:59:46 65] [AdKats] OnBanList fired

[09:59:46 82] [AdKats] player_kill upload for player TommyMiland by TommyMiland SUCCESSFUL!

[09:59:46 83] [AdKats] Killing player. Player last died 567 seconds ago.

[09:59:47 02] [insane Limits] Thread(fetch): DONE inserting 1 new players, 0 still in queue, took a total of 2 secs

[09:59:47 48] [AdKats] player_kill update for player TommyMiland by TommyMiland SUCCESSFUL!

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

Originally Posted by TMiland*:

 

Did you change the text for the punish command by accident?

OMFG! Yes i did on the pistols & knife server since it's hardcore, but that changed on all servers, BUT not before i restarted the layers AFTER i changed the code! :sad:

 

*Edit:

This is from the debug on !punish:

[17:49:12 47] [AdKats] player_punish upload for player KingSabaton by TommyMiland SUCCESSFUL!

[17:49:12 70] [AdKats] Killing player. Player last died 340 seconds ago.

[17:49:13 46] [AdKats] player_kill_lowpop update for player KingSabaton by TommyMiland SUCCESSFUL!

[17:49:18 10] [AdKats] Players with BF4Stats: 83.80%

[17:49:34 96] [AdKats] OnBanList fired

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

Originally Posted by ColColonCleaner*:

 

OMFG! Yes i did on the pistols & knife server since it's hardcore, but that changed on all servers, BUT not before i restarted the layers AFTER i changed the code! :sad:

Yeah, it's meant to sync command definitions every 5 minutes, but only happens on restart in 4.0.0.0. Your problem should be fixed given the debug log you sent.
Link to comment

Originally Posted by TMiland*:

 

Yeah, it's meant to sync command definitions every 5 minutes, but only happens on restart in 4.0.0.0. Your problem should be fixed given the debug log you sent.

Ah, i see! Yes, the command works as intended now, only 1 kill on punish!

 

Thanks for all the support, and for not giving up on me lol! :biggrin:

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

Originally Posted by ColColonCleaner*:

 

Ah, i see! Yes, the command works as intended now, only 1 kill on punish!

 

Thanks for all the support, and for not giving up on me lol! :biggrin:

I fear the problem you had also applies to all users east of UTC time (UTC +X). All commands resulting in a kill will be doubled. If other people notice this issue, please talk to me and get it fixed.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

is there something new about metabans sync ?

I've been working on stability issues with the new version, but those have been resolved as of last night. I can begin working on the planned additions and fixes here now: https://github.com/ColColonCleaner/A...e=1&state=open

 

Metabans was in there, not sure where it went. It will be added though.

Link to comment

Originally Posted by Wlad*:

 

Hello guys I have a problem to let the plugin work and gettin this error:

 

[22:56:31 99] [AdKats] SUCCESS: Database connection open.

[22:56:32 00] [AdKats] ERROR: AdKats tables not present in the database. For this release the adkats database setup script must be run manually. Run the script then restart AdKats.

[22:56:32 02] [AdKats] DBCOMM: Ending Database Comm Thread

[22:56:32 53] [AdKats] AdKats 4.0.0.0 Disabled! =(

I know that the sql file need to be used, but I realy dont understand how I should use it and wanted to ask if someone can describe it to me.

 

I logged in mysql database and searched for the same database which is used by Procon Chat, GUID, Stats and Mapstats Logger too. Now I dont know how I should get this code in my database , also I tryed it like on the screen:

 

https://raw.github.com/ColColonClean...ter/adkats.sql in there ? Do I need to Unbenannt.jpg

 

After I klick on OK

 

This error pops up:

#1370 - alter routine command denied to user 'sid96182_1'@'%' for routine 'sid96182_1.addLogPlayerID'

So coud someone explain it to me or post an homepage where it is possible to learn it.

 

Big thanks for your help

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

Originally Posted by AgentHawk*:

 

Hey

 

I found a issue with AdKats and the Latency Manager.... Here are some notes about it: showthread....er-2013/page52*

 

So I dont know if that a issue from AdKats or Latency....

 

Greetz

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

Originally Posted by ColColonCleaner*:

 

Hello guys I have a problem to let the plugin work and gettin this error:

 

 

 

 

I know that the sql file need to be used, but I realy dont understand how I should use it and wanted to ask if someone can describe it to me.

 

I logged in mysql database and searched for the same database which is used by Procon Chat, GUID, Stats and Mapstats Logger too. Now I dont know how I should get this code in my database , also I tryed it like on the screen:

 

https://raw.github.com/ColColonClean...ter/adkats.sql in there ? Do I need to Unbenannt.jpg

 

After I klick on OK

 

This error pops up:

 

 

So coud someone explain it to me or post an homepage where it is possible to learn it.

 

Big thanks for your help

You personally aren't doing anything wrong, your database provider has limited your access to procedures. Talk with them about obtaining access to change/add procedures and triggers.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hey

 

I found a issue with AdKats and the Latency Manager.... Here are some notes about it: showthread....er-2013/page52*

 

So I dont know if that a issue from AdKats or Latency....

 

Greetz

Interesting. Is this happening with any specific setting on latency manager? Or does the entire plugin stop functioning? There is no code in AdKats that is meant to interact with that plugin.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

I have many

 

[19:45:40 63] [AdKats] ERROR: [FetchPlayerStats][bF4 stats response for player 'PLAYERNAME' was invalid.]

Yes, BF4Stats changed their API today so it is returning values AdKats doesn't expect. Will respond with a fix soon. For now just disable the hacker checker since it is currently not working as a result.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

:huh: we can type those command in procon?

The only procon change (i know about) that would have affected AdKats is the OnTeamXFactionOverride function which was removed, but that doesn't exist in 4.0.0.0, only in the beta version im preparing.

 

Commands can be issued against AdKats from the procon chat window by prefixing it with /. e.g. /kill somebody reason

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.