In BeamNG.cpp, when LegitimacyCheck() fails due to FindHack(), alert the user of what files he needs to remove in order to play.
finicu212 opened this issue · 0 comments
finicu212 commented
Recently was unable to play despite owning the game on Steam, since I had a few files containing greenluma
inside of my Steam root.
I had to go scrounging through the source code to see what I needed to remove in order to actually play, but regular users surely wouldn't bother to do this.
Solution:
When FindHack(Result)
returns true within LegitimacyCheck()
, print Result
, which is in fact the file path to the malicious file which the user needs to remove if he wants to play.
Alternatively, do std::string Name = fs::directory_iterator(Result).path().filename().string();
and print Name
instead for a relative path to the malicious file inside of the Steam root directory