• Hello
Search Results for

    Show / Hide Table of Contents

    Reduce FPS punisher (Pro)

    This punisher lowers the frame rate, the number of pictures the game draws per second. The game still runs, but it no longer feels smooth. A cheater wants a smooth game too.

    This punisher needs the Pro version.

    Walkthrough: Punishing cheaters.

    Add it

    The predefined Anti-Cheat-Monitor prefab has no punisher. To use this one:

    1. Make your own monitor prefab. Copy the predefined one.
    2. Drag the Reduce FPS Punisher prefab onto the monitor in your prefab so it becomes a child.
    3. Assign your prefab to the Anti-Cheat Monitor field in Edit > Project Settings > GuardingPearSoftware > AntiCheat.

    The punisher prefabs in Assets/GUPS/AntiCheat/Resources/Prefabs/Punishers.

    The component is ReduceFpsPunisher (namespace GUPS.AntiCheat.Punisher). You can also add it by hand to a child of the monitor.

    Add the reduce FPS punisher component.

    Settings

    • Is Active (isActive, bool, default on): Turns the punisher on or off.
    • Threat Rating (threatRating, uint, default 550): The limit. The punisher runs when the threat score of the Anti-Cheat Monitor reaches this number.
    • Punish Frame Rate (punishFrameRate, int, default 30): The frame rate after the punisher ran. Set a low number, such as 10, for a strong effect.

    Good to know

    • It runs once per session. The frame rate stays low until the game is closed.
    • It turns VSync off and sets Application.targetFrameRate. If your own code sets the frame rate later, it overwrites the punishment.
    • The default of 30 is hardly a punishment in a game that already runs at 30 or 60. Lower it.

    Back to the Punisher overview.

    In This Article
    Back to top GuardingPearSoftware documentation