• cm0002@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    If my Apex client tells the server I got a perfect headshot, how would the server know I didn’t fake the data?

    Any game that works like that is fundamentally flawed and AC is nothing but an attempt at a cheap bandaid at best.

    The client should be doing nothing but rendering and sending player actions to the server and the server should be managing the game state as well as running its checks on those actions. And when one client sends actuons that are weird and doesn’t line up with it’s internal game state it should kick the client immediately always deferring to what ITS game state is telling it, not the client.

    • ampersandrew@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      The cheat in this case would send legitimate actions. Like maybe you, the human, would have missed the headshot, but your cheat corrected to the inputs that would have landed one.

    • ᗪᗩᗰᑎ@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      And when one client sends actuons that are weird and doesn’t line up with it’s internal game state

      What if my hacked client sends actions that are not weird, completely plausible, but didn’t happen and instead were faked? E.g. I take a headshot and would have missed, but my client sends data that I actually shot them dead center, because I wasn’t completely off? How would the server know it wasn’t me?