• Katana314@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    15 hours ago

    See, this always annoys me. Game info, yes, is hard: The game needs to send info about the guy behind the wall to your client, so it can draw shadows, play their subtle footsteps, etc. But game logic, like “isPlayerInvisible”, should NOT be hackable like that. That means the hacker’s client sent game state var “Hey, I am invisible now” to the server, and the server just said “Sure, okay . Hey, player 87, you are now being shot by an invisible player.”

    Imagine if you sent all state variables while banking. “I send $5 to my savings account, which leaves my checking with $8 trillion.”

    It generally comes down to developer laziness; transmit all info, trust everything, and rely 100% on the anticheat, so the game code can stay flexible and run in all locations.