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

 

Hello! When I call server rules an error appears:

EXCEPTION-7010-D-b__a00-RulePrinter11: [Error while printing server rules][system.InvalidOperationException: Sequence contains no matching element

at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

at PRoConEvents.AdKats.c__DisplayClassa0f.b__a00()]

 

The Server is New.

Which game is this for?
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hello,

 

Is there anyway that we can get the challenge reward system set up before you leave this project?

 

Also, as a suggestion, is there a way you could add a setting so that we can regulate when the challenge system begins. For example, I would like it show that we can set the minimum number of players who have to be in the server before the challenge system begins. I ask this because players are getting easy challenge completions when the server has only 3 or less players Be nice if the challenge system was set up so that it would not run unless there were at least 4 players in the server or a setting that allowed the admins to set the number of players who had to be in the server before the challenge system began.

I'll be finishing it up this week.
Link to comment

Originally Posted by Esccape*:

 

The server has 50 slots. 48 players and 2 commander. It doesn't matter how many are on it. The mistake always comes.

I testet version 7.0.1.0 and 7.0.1.153. The error is the same.

Server:

http://battlelog.battlefield.com/bf4...d-b9bb20422521

 

Version: 7.0.1.153

EXCEPTION-701153-0,39-D-b__a56-RulePrinter13: [Error while printing server rules][system.InvalidOperationException: Sequence contains no matching element

at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

at PRoConEvents.AdKats.c__DisplayClassa65.b__a56()]

 

Version: 7.0.1.0

EXCEPTION-7010-D-b__a00-RulePrinter11: [Error while printing server rules][system.InvalidOperationException: Sequence contains no matching element

at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

at PRoConEvents.AdKats.c__DisplayClassa0f.b__a00()]

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

Originally Posted by ColColonCleaner*:

 

The server has 50 slots. 48 players and 2 commander. It doesn't matter how many are on it. The mistake always comes.

I testet version 7.0.1.0 and 7.0.1.153. The error is the same.

Server:

http://battlelog.battlefield.com/bf4...d-b9bb20422521

 

Version: 7.0.1.153

EXCEPTION-701153-0,39-D-b__a56-RulePrinter13: [Error while printing server rules][system.InvalidOperationException: Sequence contains no matching element

at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

at PRoConEvents.AdKats.c__DisplayClassa65.b__a56()]

 

Version: 7.0.1.0

EXCEPTION-7010-D-b__a00-RulePrinter11: [Error while printing server rules][system.InvalidOperationException: Sequence contains no matching element

at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

at PRoConEvents.AdKats.c__DisplayClassa0f.b__a00()]

Try the latest version.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hello,

 

Is there anyway that we can get the challenge reward system set up before you leave this project?

 

Also, as a suggestion, is there a way you could add a setting so that we can regulate when the challenge system begins. For example, I would like it show that we can set the minimum number of players who have to be in the server before the challenge system begins. I ask this because players are getting easy challenge completions when the server has only 3 or less players Be nice if the challenge system was set up so that it would not run unless there were at least 4 players in the server or a setting that allowed the admins to set the number of players who had to be in the server before the challenge system began.

Rewards are added, please test.
Link to comment

Originally Posted by Timm*:

 

Hello.

 

Today Adkats stoped working, and i got this error

 

Code:

[22:48:44 73] [AdKats] INFO: AdKats challenge reward table not found. Attempting to add.

[22:48:44 86] [AdKats] CREATE TABLE IF NOT EXISTS `adkats_challenge_reward` (

                      `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,

                      `ServerID` smallint(5) unsigned NOT NULL,

                      `Tier` int(10) unsigned NOT NULL,

                      `Reward` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'None',

                      `Enabled` int(1) unsigned NOT NULL DEFAULT 0,

                      `DurationMinutes` int(10) unsigned NOT NULL DEFAULT 60, -- 4294967295

                      `CreateTime` datetime NOT NULL,

                      `ModifyTime` datetime NOT NULL,

                      PRIMARY KEY (`ID`),

                      UNIQUE (`ServerID`, `Tier`, `Reward`),

                      KEY `adkats_challenge_reward_idx_CreateTime` (`CreateTime`),

                      KEY `adkats_challenge_reward_idx_ModifyTime` (`ModifyTime`),

                      CONSTRAINT `adkats_challenge_reward_fk_ServerID` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE NO ACTION ON UPDATE CASCADE

                    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='AdKats - Challenge Rewards'

[22:48:44 86] [AdKats] ERROR-701158: [Non-Query failed. [Adding challenge reward table]: MySql.Data.MySqlClient.MySqlException: Error writing file './xl_stat_bf4/adkats_challenge_reward.frm' (Errcode: 28)

   ? PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlCommand command)

   ? PRoConEvents.AdKats.SendNonQuery(String desc, String nonQuery, Boolean verbose)]

[22:48:45 03] [AdKats] ALTER TABLE adkats_settings MODIFY setting_value varchar(10000)

[22:48:48 20] [AdKats] ERROR-701158: [AdKats tables not present or valid in the database. Have you run the AdKats database setup script yet_ If so, are your tables InnoDB_]

[22:48:48 23] [AdKats] INFO: Shutting down AdKats.

[22:48:50 28] [AdKats] SUCCESS: Database timing confirmed.

[22:48:53 83] [AdKats] AdKats 7.0.1.158 Disabled! =(
I do not change anything, now i must run Adkats database setup script?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hello.

 

Today Adkats stoped working, and i got this error

 

Code:

[22:48:44 73] [AdKats] INFO: AdKats challenge reward table not found. Attempting to add.

[22:48:44 86] [AdKats] CREATE TABLE IF NOT EXISTS `adkats_challenge_reward` (

                      `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,

                      `ServerID` smallint(5) unsigned NOT NULL,

                      `Tier` int(10) unsigned NOT NULL,

                      `Reward` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'None',

                      `Enabled` int(1) unsigned NOT NULL DEFAULT 0,

                      `DurationMinutes` int(10) unsigned NOT NULL DEFAULT 60, -- 4294967295

                      `CreateTime` datetime NOT NULL,

                      `ModifyTime` datetime NOT NULL,

                      PRIMARY KEY (`ID`),

                      UNIQUE (`ServerID`, `Tier`, `Reward`),

                      KEY `adkats_challenge_reward_idx_CreateTime` (`CreateTime`),

                      KEY `adkats_challenge_reward_idx_ModifyTime` (`ModifyTime`),

                      CONSTRAINT `adkats_challenge_reward_fk_ServerID` FOREIGN KEY (`ServerID`) REFERENCES `tbl_server` (`ServerID`) ON DELETE NO ACTION ON UPDATE CASCADE

                    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='AdKats - Challenge Rewards'

[22:48:44 86] [AdKats] ERROR-701158: [Non-Query failed. [Adding challenge reward table]: MySql.Data.MySqlClient.MySqlException: Error writing file './xl_stat_bf4/adkats_challenge_reward.frm' (Errcode: 28)

   ? PRoConEvents.AdKats.SafeExecuteNonQuery(MySqlCommand command)

   ? PRoConEvents.AdKats.SendNonQuery(String desc, String nonQuery, Boolean verbose)]

[22:48:45 03] [AdKats] ALTER TABLE adkats_settings MODIFY setting_value varchar(10000)

[22:48:48 20] [AdKats] ERROR-701158: [AdKats tables not present or valid in the database. Have you run the AdKats database setup script yet_ If so, are your tables InnoDB_]

[22:48:48 23] [AdKats] INFO: Shutting down AdKats.

[22:48:50 28] [AdKats] SUCCESS: Database timing confirmed.

[22:48:53 83] [AdKats] AdKats 7.0.1.158 Disabled! =(
I do not change anything, now i must run Adkats database setup script?
Error code 28 for MySQL is the OS error for 'No space left on device'.

Please confirm your database's disk drive is not full.

Once the drive space issue is fixed you should be able to start AdKats normally.

Link to comment

Originally Posted by SmackDown*:

 

Hello,

 

Thank you so much for completing the reward section. It appears to be working for me!

 

I have multiple challenges running at once and I have a question about the reward section.

 

Tier Level : What does this mean? If I have 5 challenges running, Do I have to create a separate reward for each challenge and that I set the tier to match the challenge number? Not sure what this means exactly.

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

Thank you so much for completing the reward section. It appears to be working for me!

 

I have multiple challenges running at once and I have a question about the reward section.

 

Tier Level : What does this mean? If I have 5 challenges running, Do I have to create a separate reward for each challenge and that I set the tier to match the challenge number? Not sure what this means exactly.

Tier basically means difficulty. Set all your easy challenges at tier 1, slightly harder at tier 2, etc. All the challenges of a specific tier get the same rewards when completed.

 

EDIT: For automatic challenge assignment each round it looks for tier 1 challenges with 1 round duration.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Added a minimum player setting to the challenge manager, defaulting to 0 players.

Players can still select challenges during low population, but the challenges will not progress until the player count is reached.

Also, progress on a challenge will stop if the server falls below the minimum player count while a challenge is running, it's checked continuously while the challenges are running.

Players are notified of low population status on their challenge when they issue the /ch or /ch p commands, an extra text line is appended to the end.

Link to comment

Originally Posted by SmackDown*:

 

Added a 24 hour timeout to the command lock challenge reward. Any other rewards on challenges will still activate but the command lock reward can only activate once every 24 hours per player.

Hello,

 

I am trying to set up the challenge system with three different reward tiers. Tier 1 would get 24 hour reserve slot, tier 2 would get 7 day reserve slot and tier 3 would get a 14 day reserve slot. Is this possible with the current challenge system. I thought it was and it seemed to be working until I updated to adkats version 7.0.1.186. Now when I try to run a challenge, I get this error code: [06:35:16 40] [AdKats] ERROR-701186: [Round state was invalid when assigning entry.]

 

Any suggestions?

 

Also, I don't understand how to use "Challenge Command Lock Timeout Hours" and "Use Different Round Rule for each player".

 

Thank you for your help!

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

I am trying to set up the challenge system with three different reward tiers. Tier 1 would get 24 hour reserve slot, tier 2 would get 7 day reserve slot and tier 3 would get a 14 day reserve slot. Is this possible with the current challenge system. I thought it was and it seemed to be working until I updated to adkats version 7.0.1.186. Now when I try to run a challenge, I get this error code: [06:35:16 40] [AdKats] ERROR-701186: [Round state was invalid when assigning entry.]

 

Any suggestions?

 

Also, I don't understand how to use "Challenge Command Lock Timeout Hours" and "Use Different Round Rule for each player".

 

Thank you for your help!

I will be writing up all the docs when i'm done, i have most of them written already.

 

Yes you can set up your tiers like that. Just convert the days you want to minutes and put that in the reward minutes box for reserved slot at each tier you create. There are 1440 minutes in a day.

 

At what point are you getting that error? It just means you're trying to start a challenge when a round is not active. Are you playing in the server when you try to assign the challenge to yourself?

 

Command lock timeout is how often a player can receive the command lock reward.

 

Use different round rule for each player means instead of selecting 1 round rule (random selection of tier 1 rules having 1 round duration) for the entire server, instead it will do the randomness on each player. So you won't run into the case where the whole server is told to use shotguns for example. People didn't like that. So i added an option for it to randomize for each player instead of the whole server.

Link to comment

Originally Posted by SmackDown*:

 

Hello,

 

I am having trouble getting the challenges to work now since the latest update to Adkats. I have deleted all of my challenges and just created on tier 1 challenge. When I go into the server, it will list the challenge if I type !ch list. But it will not activate, and I see the below Procon error: Round state was invalid when assigning entry.

 

Here are my settings:

 

Challenge Settings.jpg

 

Any Ideas?

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

I am having trouble getting the challenges to work now since the latest update to Adkats. I have deleted all of my challenges and just created on tier 1 challenge. When I go into the server, it will list the challenge if I type !ch list. But it will not activate, and I see the below Procon error: Round state was invalid when assigning entry.

 

Here are my settings:

 

Challenge Settings.jpg

 

Any Ideas?

Strange. If you joined the server and spawned it should have transitioned the state to playing. There are three round states, loaded, playing, and ended. The challenges (since they can be round based) can only activate in 'playing' state. After a level is loaded it's in loaded state, if a player spawns it should transition everything to playing state.

 

I'll take a look tonight to see if there are any cases where this might trip up and stop transitioning properly.

Link to comment

Originally Posted by SmackDown*:

 

Hello,

 

I think I fixed my issue. When I reported my issue to you, I had entered the game, but was in the main deploy page and had not deployed into the map. So while in the deploy page, I was entering the challenge code to select a challenge when I got those above mention errors. When entering the server, the challenge system worked and the error code stopped.

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

Originally Posted by ColColonCleaner*:

 

Hello,

 

I think I fixed my issue. When I reported my issue to you, I had entered the game, but was in the main deploy page and had not deployed into the map. So while in the deploy page, I was entering the challenge code to select a challenge when I got those above mention errors. When entering the server, the challenge system worked and the error code stopped.

Alright great. I'll make that message spit back at the player that they need to spawn in addition to throwing an error. Only one player needs to spawn to transition the system to playing state each round, the rest can operate without spawning. Thanks for the testing.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

How can I do to transfer the adkats configuration to another game server?

Connect your new game server's layer to the same database that your old server is on and keep it that way.

In the 'setting import' field in section 1, type the server ID of your old server. All settings from that server will be imported to this one. It will overwrite any settings you currently have modified on the new server.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

AdKats 7.5.0.0 (21-SEP-2018)

 

Bugfix/enhancement release for AdKats 7. Been tested for some time now but keep me posted with anything strange. Cheers.

 

If you are running 5.2.0.0+, your layer will automatically update and only require a reboot to run this version.

If not, update one layer, run it to complete startup, then repeat on your other layers.

 

https://sourceforge.net/projects/adk...atest/download

 

Enhancements

 

  • Added the C32 challenge system. This is probably the biggest feature added to AdKats since the ban enforcer.
  • Added monitoring of players who join the server while AdKats' first player list is still being processed.
  • Added option to only fire ticket difference based nukes while in high population.
  • Added option to auto-kick players who first joined the server after a certain date. This is used as an anti-cheat measure if a large number of hackers are invading your server at once. Allows regular players to stay in the server while brand new players are auto-kicked.
  • Added lenient reassignment option to the team power monitor. Allows players to be reassigned to the weak team even if they currently have a map advantage. A percentage difference setting is available to tweak this, defaulting to 30%.
  • Updated assorted console messages to be more descriptive.
  • Added purge of adkats statistics once they are 90 days old for performance reasons.
  • Added colors to many of the AdKats chat messages so they are more easily distinguished.
  • A player requesting to assist when they are already queued will now refresh the timeout back to 5 minutes on that auto-assist.
  • Added player clan tag history display to the pinfo command.
  • Added SWAP functionality to the assist command. If two players, one on each team, request to assist, it will swap them both regardless of team state.
  • Added AdKats/procon running time to exception messages.
  • Updated multi-threading system to be more easily controlled and efficient.

New Commands

 

  • All the new challenge commands. Please look at the docs for those.

Changes

 

  • Disabled and hid all metabans configurations/actions since that service is offline permanently.
  • Added a limit of 1 ticket based nuke per team per round.
  • Added force kill command to the power level restriction list.
  • Changed all references of chat commands in messages to (exclaim)command, e.g. !command. All prefixes are still accepted, this is only a display change.
  • Special player statuses like reserved slot, spectator slots, anti-cheat whitelisting, etc, can now be issued again even if the target player already has a matching status on them. The new status duration will overwrite the existing status duration.
  • Modified the winning team prediction to be unsure if both estimates are less than 1 minute apart.
  • Added a maximum duration of 30 seconds to the countdown command.
  • Increased command timeout for player_kick from 30 to 45 seconds.
  • Players who are command locked are now whitelisted from loadout enforcement for the duration of the lock.

Bugs Fixed

 

  • Fixed a bug where weapons might be detected as BF3 on other games.
  • Fixed an issue where auto-nukes with a duration still active when a round ends would keep posting messages and issuing kill commands.
  • Added an automatic fix for the command ID mismatch issue caused by old versions of the BFAdminCP.
  • Fixed some cases where startup time could be extended unnecessarily by some old list invalidation logic.
  • Fixed some ban message codes from the LIVE anti-cheat system to have proper syntax.
  • Reduced some unnecessary spam from the assist command.
  • Fixed some issues with player name history display in the pinfo command.
  • Fixed some state management issues around MULTIBalancer's unswitcher.
  • Cleaned up some unused code.

Upgrade SQL from 4.0.0.0 - Current

 

No manual upgrade SQL required.

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.