Forum

> > CS2D > General > CS2D and MOSS, the anticheat software
Forums overviewCS2D overviewGeneral overviewLog in to reply

English CS2D and MOSS, the anticheat software

8 replies
To the start Previous 1 Next To the start

old CS2D and MOSS, the anticheat software

Chrome
User Off Offline

Quote
Hello developers and contributors, thank you for the work you`re doing.

In our competitive scene, we use anticheat software called MOSS to prevent hacking. This software scans game files for any suspicious / suspiciously modified files, plus takes screenshots every 60 seconds. Although generally it gets the work done, players are sometimes unable to use it because of bugs and instability. I`d like to get some clarification from you on one of such cases.

Once MOSS finishes recording, it creates a .rar archive with player's game files and screenshots taken, thus either proving or disproving one's fair play. We have a report with a number of screenshots. Most of them are normal (like this one, notice that fog of war is present), yet some of them are weird: blank black tiles, no HUD, no fog of war (screenshot 1, screenshot 2). The most common MOSS' bug is taking completely black screenshots, but the bug you`re seeing here was so unique that some players just claimed this person was a hacker. In his defense, other players claimed these bugged screenshots were taken right when CS2D was drawing tiles.

Here`s what MOSS developer, nohope, has to say on this matter:
Quote
Unless the game is badly coded , I highly doubt this could be a bug.
if it was the case, a player running a desktop duplicator process would be able to cheat just using a second monitor.
this would be the first game and the first time I hear that. maybe you should ask to game dev if they overlay in any way to create the final render


Sadly, some players used this as an excuse to start a witch hunt against an honorable player. I`m sure it`s a bug, but I just find it interesting technology-wise how this stuff works. I know US.de houses a handful of proficient programmers, would be great to read an elaborate explanation, especially from user DC
So the question persists: what happened?

old Re: CS2D and MOSS, the anticheat software

DC
Admin Off Offline

Quote
CS2D is currently not using vsync and I guess the process taking the screenshot can just hook in at the wrong moment in the process of rendering stuff. So it might take a shot when only a part (or worse: nothing) of the game is actually rendered.

But I guess user SQ can give you a better answer. He heavily modified BlitzMax' standard rendering system for CS2D as far as I know.

old Re: CS2D and MOSS, the anticheat software

xsiN
User Off Offline

Quote
Players can have such suspicious files for educational purposes, such as cs2d hacks (to see how they work)
If moss scans and accuses those files then won't the other players immediately classify that person as a hacker?

old Re: CS2D and MOSS, the anticheat software

Ajmin
User Off Offline

Quote
@user xsiN: First of all those competitive players have no thirst for such education like you do have.
Also,
Chrome has written
This software scans game files for any suspicious / suspiciously modified files

The software scans game files not the entire PC.
Anyway your commitment towards those thirsty players should not be in vain but should be appreciated lol!

old Re: CS2D and MOSS, the anticheat software

SQ
Moderator Off Offline

Quote
Yes, as it does not have vsync from 1.0.0.1 version.
This issue might appear on low performance PCs when GPU doesn't catch up with frame speed.

Though, it's still quite odd that it happens like this. MOSS might also taking screenshot from some kind of backbuffer.

old Re: CS2D and MOSS, the anticheat software

gotya2
GAME BANNED Off Offline

Quote
Moss is a joke, but those screenshots just look like cs2d is halfway drawing the frame. and then bitblt is taken.

It's easy enough to bypass moss. (detect screenshot , don't take it, turn off cheats, take screenshot). If someone would be tampering with moss, it wouldn't look like this.
edited 1×, last 14.07.17 08:02:08 pm

old Re: CS2D and MOSS, the anticheat software

VaiN
User Off Offline

Quote
have you considered using client-side lua for taking the screenshots? if you are using hashing to verify file integrity, it would be just another file to include. you could have that script take the screenshot so it'd be no different than pressing F5 in-game.

old Re: CS2D and MOSS, the anticheat software

Quattro
GAME BANNED Off Offline

Quote
user gotya2 has written
Moss is a joke, but those screenshots just look like cs2d is halfway drawing the frame. and then bitblt is taken.

It's easy enough to bypass moss. (detect screenshot , don't take it, turn off cheats, take screenshot). If someone would be tampering with moss, it wouldn't look like this.


There are trolls who think it's impossible to do what you say. Uprte6 hacked moss in under 2 minutes.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview