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

 

Seriously? its your DB, your the one paying for it. If your host won't allow "alter" you may as well go find a better one.

It's not their DB though, it's just their schema, procedures are stored at the global level and run internally with root access which can be a security issue. I'll write a version for fresh installs only that doesn't require a procedure, but it will only work for first time installs.
Link to comment

Originally Posted by p19blo*:

 

Posted Image

 

xpkillers stats logger has exact same info on, but no problems there. ive blanked out a few bits for privacy but if you need to see them bits i cant pm you an image link. this worked fine before 4.0

 

if i put the wrong password in then it shows which servers its tryring to connect me to.

InnerException: MySql.Data.MySqlClient.MySqlException: Access denied for user 'vanucci'@'t226.topaz.fastwebserver.de' (using password: YES)

 

thats not my url

 

im with hostgator and my primary domain is battlefieldbible.com for my vps.

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

Originally Posted by lordicon*:

 

Posted Image

 

xpkillers stats logger has exact same info on, but no problems there. ive blanked out a few bits for privacy but if you need to see them bits i cant pm you an image link. this worked fine before 4.0

 

if i put the wrong password in then it shows which servers its tryring to connect me to.

InnerException: MySql.Data.MySqlClient.MySqlException: Access denied for user 'vanucci'@'t226.topaz.fastwebserver.de' (using password: YES)

 

thats not my url

 

im with hostgator and my primary domain is battlefieldbible.com for my vps.

If I am not mistaken t226.topaz.fastwebserver.de is your hosts connection information. Just like with mine when I put my IP it returns my [email protected], 95% of the time it will never come back as your purchased url when using a host like hostgator. Also I would not name the database and user name the same thing, Switch that up a bit, I assume that vanucci? is required because your on a shared hosting and thats your host way of knowing who is who, however I would at least change the username.

 

Your main problem is not that you can not connect to your database because the host name is correct and its connecting fine, Its lookings more alone the issue of privliages not set right. Did you forget to give your new sql user access to that database? Access denied for user 'vanucci'@'t226.topaz.fastwebserver.de'_?

 

I just enlarged your image so I could see the error better. Did you do a backup copy of the database and transfer it to another server or something? Its showing user cpses_vaDgPzzNtg as the DEFINER has no access and not vanucci_adkats4 like you have in the MySQL Username field. If that is the case then your problem would be with the import you did to the hostgator vps database.

 

There was a post made somewhere about when you change a database from one server to another do the export then edit the .sql and change the username listed everywhere in the .sql that says something about the Definer, I am not sure where that post was cause it could help you if that is your problem.

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

Originally Posted by ColColonCleaner*:

 

Posted Image

 

xpkillers stats logger has exact same info on, but no problems there. ive blanked out a few bits for privacy but if you need to see them bits i cant pm you an image link. this worked fine before 4.0

 

if i put the wrong password in then it shows which servers its tryring to connect me to.

InnerException: MySql.Data.MySqlClient.MySqlException: Access denied for user 'vanucci'@'t226.topaz.fastwebserver.de' (using password: YES)

 

thats not my url

 

im with hostgator and my primary domain is battlefieldbible.com for my vps.

Are you running the new webadmin?

 

The user definer error is described in the previous pages with a fix.

Link to comment

Originally Posted by jking54*:

 

The whole point of us creating this system was to avoid false positives at all costs. The type 88 does 25 damage, they were getting 33. G18 does 18 damage, they were getting 28/24. They appear to be legit bans, but i'm not 100% positive. I would honestly suggest raising your trigger level back to at least 40 on DPS.

Consider for the moment, why raise it artificially higher when you'd miss these supposed bans, better to be able to retro unban on a case by case then let a bunch thru? Wouldn't it be better to have it ban by weapon stats, instead of a global setting?

 

I got this one a day ago for the sar-21 with DPS @ 25:

 

Hacking/Cheating DPS Automatic Ban [sAR21-33-87-12]

 

"id":"sar-21",

"damage_max":25,

"damage_min":18

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

Originally Posted by ColColonCleaner*:

 

Consider for the moment, why raise it artificially higher when you'd miss these supposed bans, better to be able to retro unban on a case by case then let a bunch thru? Wouldn't it be better to have it ban by weapon stats, instead of a global setting?

 

I got this one a day ago for the sar-21 with DPS @ 25:

 

Hacking/Cheating DPS Automatic Ban [sAR21-33-87-12]

 

"id":"sar-21",

"damage_max":25,

"damage_min":18

Because of hardcore mode. People play on hardcore servers and their weapons do more damage than normal. Health is only 60% on hardcore, so LMGs that deal 34 damage can be 2-hit-kills on those servers. All weapons in hardcore automatically do 40% more damage than normal. Like i said, 50% has worked very well for us, not one single false positive, you will rarely find a damage modder who only adds a few % to their weapon's damage.
Link to comment

Originally Posted by jking54*:

 

Because of hardcore mode. People play on hardcore servers and their weapons do more damage than normal. Health is only 60% on hardcore, so LMGs that deal 34 damage can be 2-hit-kills on those servers. All weapons in hardcore automatically do 40% more damage than normal. Like i said, 50% has worked very well for us, not one single false positive, you will rarely find a damage modder who only adds a few % to their weapon's damage.

Some valid points but couldn't it be adjusted for either mode, HC or Normal? Percentages in either case? There will always be the hackers that will come in with a load, but I suspect that many are brighter than this and would want to fly under the radar as it were, to not attract attention with normal damage plus a little bit more...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by IAF-SDS*:

 

Because of hardcore mode. People play on hardcore servers and their weapons do more damage than normal. Health is only 60% on hardcore, so LMGs that deal 34 damage can be 2-hit-kills on those servers. All weapons in hardcore automatically do 40% more damage than normal. Like i said, 50% has worked very well for us, not one single false positive, you will rarely find a damage modder who only adds a few % to their weapon's damage.

Hey ColColon.

 

I have to disagree with you on the statement that people who play on Hardcore have weapons that do more damage.

 

Weapons on Hardcore servers do NOT do more damage. They do the same damage whether on normal or hardcore. The only time a weapon will do more damage on one server versus another is if someone plays on an unranked or custom server where the server owner has changed the default 100% bullet damage variable (vars.bulletDamage).

 

It takes less damage to kill on hardcore because you start out with 60% health instead of 100% health, but a bullet fired from a particular gun will do the same damage whether it is fired on hardcore or normal. So your statement that weapons in hardcore do 40% more damage is not the right way to think about it.

 

To illustrate my point: if a player has only 60% health remaining on a normal server after being wounded in a gunfight, the next weapon to shoot him on that normal server cannot be considered as being 40% more powerful than the rest of the weapons on that normal server. It's the same weapon, doing the same damage. The only difference is the player had less health, not the weapon does more damage.

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

Originally Posted by Hutchew*:

 

Actually, just meandering through my NyQuil induced stupor, you could consider the 1st "bullet" in a hardcore server does do a theoretical 40% more damage (of the 100% normally available), but after that first round, then remaining hits would be normal. Purely from a dps/kill perspective, of course.

 

I'll just be over here slobbering in the corner. Happy pneumoniatoc New Year!

 

Hutchew

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

Originally Posted by ColColonCleaner*:

 

Hey ColColon.

 

I have to disagree with you on the statement that people who play on Hardcore have weapons that do more damage.

 

Weapons on Hardcore servers do NOT do more damage. They do the same damage whether on normal or hardcore. The only time a weapon will do more damage on one server versus another is if someone plays on an unranked or custom server where the server owner has changed the default 100% bullet damage variable (vars.bulletDamage).

 

It takes less damage to kill on hardcore because you start out with 60% health instead of 100% health, but a bullet fired from a particular gun will do the same damage whether it is fired on hardcore or normal. So your statement that weapons in hardcore do 40% more damage is not the right way to think about it.

 

To illustrate my point: if a player has only 60% health remaining on a normal server after being wounded in a gunfight, the next weapon to shoot him on that normal server cannot be considered as being 40% more powerful than the rest of the weapons on that normal server. It's the same weapon, doing the same damage. The only difference is the player had less health, not the weapon does more damage.

You didn't understand what i said. What i said is from the stats point of view and is correct. For example, if someone plays exclusively hardcore servers, 60% health is 100% to them. According to the stats the SCAR-H does 30 damage, and the headshot bonus is 200%, so a headshot at close range is 60 DPS. In hardcore that = 100 DPS, 40% more than normal.
Link to comment

Originally Posted by Hutchew*:

 

You didn't understand what i said. What i said is from the stats point of view and is correct. For example, if someone plays exclusively hardcore servers, 60% health is 100% to them. According to the stats the SCAR-H does 30 damage, and the headshot bonus is 200%, so a headshot at close range is 60 DPS. In hardcore that = 100 DPS, 40% more than normal.

Yeah, I think that's what I was trying to say, but it only "counts" from a dps/kill standpoint on the first shot that hits the target, where it takes the advantage of the reduced player health in HC to generate the initial damage %.

 

Or am I over-thinking this?

 

Hutchew

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

Originally Posted by AgentHawk*:

 

It's not their DB though, it's just their schema, procedures are stored at the global level and run internally with root access which can be a security issue. I'll write a version for fresh installs only that doesn't require a procedure, but it will only work for first time installs.

normally I dont wanna ask...but I need to rent my old DB and Server...So maybe you can give me a approximate time indication?

Thanks alot for your work!

 

btw HAPPY NEW YEAR :smile:

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

Originally Posted by ColColonCleaner*:

 

Yeah, I think that's what I was trying to say, but it only "counts" from a dps/kill standpoint on the first shot that hits the target, where it takes the advantage of the reduced player health in HC to generate the initial damage %.

 

Or am I over-thinking this?

 

Hutchew

Hmm, rethinking my math here... what is the actual % difference over normal?

 

Lets say a bullet does 25 damage in normal to players with 100 health, 25/100 = 25% of the player's health, leading to a kill/hit calculation of 25 DPS.

 

In hardcore, bullet still does 25 damage, but players have 60 health, 25/60 = 41.6% of the player's health. That would in theory lead to a kill/hit calculation of 42 DPS, not 25. However, the gun is still a "3 hit kill" on average, since the last shot just drops them from 10 HP to 0 instead of -15. So 3 hits to kill equates to 33% of the players health instead of 25%. So bullets for 25 DPS guns will deal 32% more damage than normal according to stats on average.

 

What about higher damage guns? LMGs deal 34 damage. In hardcore that is a "2 hit kill", so according to stats it will be dealing 50% damage. So those weapons deal 47% more damage than normal according to stats.

 

What about lower damage guns? Lower damage guns like auto-pistols deal 18 damage, so they are 6-hit-kills in normal play, 4-hit-kills in hardcore. 4-hit-kill = 25 DPS according to stats so they deal on average 38% more damage than normal.

 

1 hit kill weapons, and weapons that deal 50% or more damage normally are not included in the calculation so those can be ignored.

 

The default trigger level 50 is higher than all of these values, and these are the extremes for someone who plays exclusively hardcore servers and averages head/body/leg shots. So my math checks out.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

What's the sitrep on the mtar-21 and rpk-74m? I'm getting a boatload of these, tnx.

Simple solution, get together with a friend and chest shot each other at close range in single-fire mode. Tell me the DPS and i'll add them. Have not had a reliable source for those guns yet.
Link to comment

Originally Posted by IAF-SDS*:

 

You didn't understand what i said. What i said is from the stats point of view and is correct. For example, if someone plays exclusively hardcore servers, 60% health is 100% to them. According to the stats the SCAR-H does 30 damage, and the headshot bonus is 200%, so a headshot at close range is 60 DPS. In hardcore that = 100 DPS, 40% more than normal.

I understood what you said, and it is a common misconception which is why Im trying to help. It is still not correct as stated, even from a stats point of view, which I believe is what you're focusing on here (to determine when someone is cheating based on the amount of damage his weapon does). If we took the SCAR-H and went into a normal server to let you shoot me, and then we went into a hardcore server to let me shoot you, that weapon's damage would be identical for both of us, even though it would take more bullets for you to kill me in the normal server.

 

Otherwise, weapons charts and cheat-o-meters would all be completely out of whack for hardcore players, and all of the those players would look like they were literally using damage hacks because every single one of them would do 40% more damage from your perspective.

 

When cheat detection is used while looking at a player's stats, it technically checks the weapon's bullet damage (regardless of what health the player has at the time he was shot) right? So why does it matter what the player's health is for purposes of checking for a damage hack's bullet damage?

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

Originally Posted by p19blo*:

 

If that's the case and you don't have direct access to mysql command line tools, you're going to need to create a dump of the database and manually edit each definer line in the sql dump. You will need to specify a user which exists and will access to the db.

 

For example, change:

 

 

 

to

 

 

 

Make sure you change every line in the sql dump which references DEFINER= and then re-import it.

 

Make sure you keep a backup of the original dump just in case you screw it up.

ok im a noob. so when you say dump im assuming youre telling me to export the tables to an .sql file and then open it in an editor.

 

I have done this but DEFINER= isnt in it anywhere

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

Originally Posted by ColColonCleaner*:

 

I understood what you said, and it is a common misconception which is why Im trying to help. It is still not correct as stated, even from a stats point of view, which I believe is what you're focusing on here (to determine when someone is cheating based on the amount of damage his weapon does). If we took the SCAR-H and went into a normal server to let you shoot me, and then we went into a hardcore server to let me shoot you, that weapon's damage would be identical for both of us, even though it would take more bullets for you to kill me in the normal server.

 

Otherwise, weapons charts and cheat-o-meters would all be completely out of whack for hardcore players, and all of the those players would look like they were literally using damage hacks because every single one of them would do 40% more damage from your perspective.

 

When cheat detection is used while looking at a player's stats, it technically checks the weapon's bullet damage (regardless of what health the player has at the time he was shot) right? So why does it matter what the player's health is for purposes of checking for a damage hack's bullet damage?

Please read the longer post i made today discussing the full breakdown. Please correct my math if i'm wrong.
Link to comment

Originally Posted by p19blo*:

 

Yea you need to remove the user definer from the trigger or procedure. I've ran into that so many times its not funny.

how do i do this ? is it similar to what is suggested in two posts up ?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AgentHawk*:

 

I got this error....

 

: Line 0: [uploadRecord][unexpected error uploading Record.]: MySql.Data.MySqlClient.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`sid95555_1`.`adkats_records_debug`, CONSTRAINT `adkats_records_debug_fk_server_id` FOREIGN KEY (`server_id`) REFERENCES `tbl_server` (`ServerID`) ON DELETE CASCADE ON UPDATE CASCADE)

at MySql.Data.MySqlClient.MySqlStream.ReadPacket()

at MySql.Data.MySqlClient.NativeDriver.GetResult(Int3 2& affectedRow, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)

at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

at MySql.Data.MySqlClient.MySqlDataReader.NextResult( )

at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)

at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()

at PRoConEvents.AdKats.UploadRecord(AdKatsRecord record)

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

Originally Posted by 101st-chicago*:

 

Battlelog shows

 

MTAR-21 Damage 30

RPK-74m Damage 30

 

joined normal server and seen the RPK-74m did 25 damage, one shot to the chest.

 

need to unlock the MTAR-21

 

 

is that what u need ?

 

Simple solution, get together with a friend and chest shot each other at close range in single-fire mode. Tell me the DPS and i'll add them. Have not had a reliable source for those guns yet.

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

Originally Posted by p19blo*:

 

only 1 procon layer is giving this back

 

[06:42:36 13] [AdKats] ERROR: player role was null in hasAccess.

[06:42:36 13] [AdKats] EXCEPTION: Line 0: [CompleteRecordInformation][Error occured while completing record information.]: System.NullReferenceException: Object reference not set to an instance of an object.

at PRoConEvents.AdKats.CompleteRecordInformation(AdKa tsRecord record, String message)

 

any ideas?

 

all 5 server we have running this share same everything. so im a bit fuzzled why only 1 server gives this back ?

* Restored post. It could be that the author is no longer active.
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.