Duion Posted September 18, 2018 Share Posted September 18, 2018 I have an issue with my game and there is a possible cheat based on the GuiShapeNameHud. The cheat goes as follows, for spectator mode I have a TargetHud that uses the GuiShapeNameHud class to display names above players, so they can more easily be spotted, the problem is, since it is just a GUI it is client side and can be enabled by a client through the console in regular game, giving him an advantage since other players are better visible with the name tags.Torque3D has shape names enabled by default and if you do not want them you can just hide them, but through console commands etc people can bring hidden GUIs back.Here is where I enable it for spectator HUD mode: https://github.com/Duion/Uebergame/blob/master/scripts/client/commands.cs#L112So what would be the best way to solve that issue? Would it be enough to remove the TargetHud from the game, or could someone just copy the code back in and it will work, since it is based on the C++ code of the GuiShapeNameHud? Or would it be possible to move the command to server side, so that the server has to verify the HUD mode the client is in? Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted December 7, 2018 Share Posted December 7, 2018 You should no only be able to make sure is server side only, but add a super-user check to it if you want to maintain access to it as a server admin thing. The only issue "simply" becomes an issue of protecting the superuser access ability. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.