OSP Code MP [WIP] MB Anti Cheat v0.8.5

Users who are viewing this thread

_Sebastian_

Punkbuster 2.0
Baron

Introduction
Hello Community.
Since many game servers got infested by cheaters, I decided to write a simple yet effective server-side anti-cheat system.

The anti cheat system successfully tracks hacking incidents, messages admins about those incidents and treats the cheating players accordingly.
It also supports customization via server commands, so you can change many options on the fly or on server startup.

The system is optimized for low workload and utilizes batching concepts to ensure consistently high performance.

At the moment the anti cheat system provides working detection for the following hacks.

  • Unblockable Attacks
    This hack works by exploiting an engine bug and is currently the most game breaking cheat out there.
    The hack triggers after the player starts a melee attack, it simply executes the attack from a different direction (which the weapon does not support).
    The engine executes the invalid attack, but keeps playing the animation of the initial attack/direction.
    So it's impossible for other players to block the attack.

  • Autoblock
    This hack simply turns on the automatic blocking for the cheating player, even if the server has set it to manual.

  • Aimbot
    Temporarily turns on the AI for the cheating player, which results in superb accuracy in ranged combat.
Check out the changelog for more features.

Other Boards
There are a couple other threads related to this tool, to join them just click the links below.

Support
The Anti Cheat system is and allways will be completely free to use, but keep in mind that I'm working on it during my free time and at my own expense.
In case you want to support me and this project with a donation, then you can do so by using the following links.
Any support will be very appreciated!


Changelog (including pre-release changes)
Visit the GitHub Repository for detailed source code updates.
https://pastebin.com/ymj93GhN


Known Issues
There might be rare incidents of false-positives, this is the reason why kicking / banning is disabled in the current version.
However this can be changed by server commands.

It's all up to the related parameters, which need fine tuning.
In order to speed up this progress I need as many server logs as possible.

So if you want to help with this, you can send me your server (using the aniti cheat, ofc) logs.
I promise to keep them confidential.


Server Commands
Anti cheat settings can be changed on the fly via the server console, or on startup by editing the specific Sample_"Mission".txt.
The commands are as follows;
https://pastebin.com/mqApdTbM


Ready-to-use Files
The latest server-engine, server commands, compiled module files aswell as the modsys of Native, Napoleonic Wars and Viking Conquest can be downloaded
HERE


Code implementation for modded/different modules
The implementation requires the server to run on v1.161 or latter.
 
372440971818041355.png
 
Thanks, Sebastian! It looked like a perfect Christmas gift for Ronin.  :party: That is, until it started banning honest folk.  :cry: (Yeah, my bad for being overconfident and enabling the ban that you had uncommented.) So, I think it definitely needs more work and testing.
 
KissMyAxe said:
Thanks, Sebastian! It looked like a perfect Christmas gift for Ronin.  :party: That is, until it started banning honest folk.  :cry: (Yeah, my bad for being overconfident and enabling the ban that you had uncommented.) So, I think it definitely needs more work and testing.

Yeah, that's the main reason it's uncommented... Sebastian is working on it still. :smile:
 
A new version has been released.
Code:
- Improved the detection method of attacks in order to eliminate "false"-hacking incidents.
- Added logging of hack incidents.
- Logs of hack incidents will now be broadcasted to admins.
False-hack detections schouldn't occur any longer, or atleast less often.
Tell me if that still happens.
 
Thanks Sebastian. I'll add it back on Ronin with banning disabled and see how it performs.

EDIT: The latest version still has a lot of false positives.
 
A new year needs a new version.
Code:
- Added support for in-game hosted servers.
- Tweaked detection parameters.
- Enhanced logging of hack incidents, more information provided.
KissMyAxe said:
EDIT: The latest version still has a lot of false positives.
It's all about fine tuning those parameters, but that takes time and alot of testing.
The new version logs plenty of information in order to speed up the tweaking progress.
It would be nice if you guys could provide the logs of those false-positives, the more the better.
 
Good morning.
The Anti Cheat system got a major update.
Code:
- Changed the code structure for better modulability.
- Weapons with 4 valid attack directions are now excluded from the unblockable hack detection.
- Improved unblockabe detection methods.
- Implemented basic autoblock detection.
- Implemented basic aimbot detection.
- Advanced logging of potential hack incidents.
- Improved the messaging system, for admins and normal players.
- Added changeable hack consequences such as kick and temp/perma ban, or just notifications.
- Implemented a warning system for admins which tracks suspicious player activities.
As you can see it now features autoblock and aimbot detection aswell.
Almost everything has been rewritten from scratch and new enhanced detection systems have been implemented.

Kicking / banning is still disabled for now, as I need to gather more information to tweak all parameters accordingly.
Check out the OP for more information.

Thanks to all the server hosters, who still participate in testing the anti cheat system.
You're a great help! (especially your server logs)  :wink:

İbrahim Pasha said:
I hope we can get rid of cheaters with help from guys like you.
Well it's time to do something against it.
If TaleWorlds don't care, the community will...
 
Hi, can you block the key switching on servers? good job by the way.Good luck.
 
Black Dead said:
Hi, can you block the key switching on servers? good job by the way.Good luck.
Well that would require the implementation of WSE, which I consider doing anyway.
So there's hope...

Namakan said:
What do you mean by key switching?
Obviously changing the game keys within the registry.
People who got banned can switch those keys... and et voila, they unban themselves.

BTW
I just noticed, that this thread got sticked... Thanks to the mod who did that!
 
Well obviously this is good work and I really don't have a clue about scripting and stuff, but is it not easier for cheaters to change their hacks, if you post the whole code in this quite public place?
 
Back
Top Bottom