Seth wrote:Anyswitch comes in the form of a client-side mod for every map file.
So one solution to protect the server is to enable a content check mode in the server settings! There are two content check modes in the settings: "Pure" (game.serverContentCheck 1) and "Unpure" (game.serverContentCheck 2) - either one can stop anyswitch users. They will get a "data differs from server" error message when they load the map. There are some caveats which cause many admins to give up using content check altogether, but solutions can be found. Admins and players just have to be careful of some things so that legitimate players don't get the "data differs from server" error message.
What mods are being run is important. You said it's a vanilla server so even Pure mode should work. Server-side mods should cause no problems. Some client modifications, such as the bf1942.exe patches that fix some bugs cause no error messages. Some client-side mods, such as custom maps or some changes to .rfa files may cause error messages, but they can be made to work properly under Unpure mode. So if there are some specific client-side mods that the admins want to allow there's some work that needs to be done to make them work properly. Other mods which modify certain parts of the memory will not work and that is how it is supposed to be to stop not only anyswitch but also many other cheats that can be made.
Let me know if this solves their problem and I win the bounty or if there's some issue they can't solve or something more that needs to be done.
That's the first logical answer that comes to mind when trying to find a solution to this problem, however it's far more complicated than simply making your server Pure or Unpure. Mod hacks are stopped easily if you run a Pure server, however if the hacker is using an external application that injects the hack into the BF1942.exe or the DLLs then there is almost nothing (if anything) that the admins can do to stop it. And so, we might never be able to prevent hackers using an external application from using this, or any other hack. Instead of trying to find a miraculous fix for this hack, which doesn't exist, we should focus on finding a way to track down hackers more efficiently.