跳过导航
Server authoritative movement with client prediction and rollback/replay support.
0:00 / 0:44

Server authoritative movement with client prediction and rollback/replay support.

sleitnick

3.9万 位关注者

在 X 上查看
520 个赞下载原帖

20,583 次观看 #RobloxDev

Server authoritative movement with client prediction and rollback/replay support. In this example, the client exploits by moving a wall out of the way. But the server owns the movement. The client has failed predictions due to the exploit, and rolls back. #RobloxDev

11 条评论

评论来自 X (Twitter) 上的原帖

  • Totsie 的头像

    @httptotem

    can't you use raycasting for noclip prevention without server authoritive movement

    3 个赞

  • Soccer Bot™ 的头像

    @soccerbottm

    Match Summary 💙 Get an absolute overview of your server several times - with the new Match Summary. Relax and never miss a game again. Activate the new function for your server today. Try Soccer Bot™:

    485 个赞

  • DevGuy 的头像

    @DeforsonGuy

    If the server owns the movement, wouldn't the movement be laggy? Try adding 1-second replication lag on studio.

    2 个赞

  • sleitnick 的头像

    @sleitnick

    This IS with replication lag. That's what client prediction is for

    18 个赞

  • Andrew D 的头像

    @andrew_d_d

    gameplay loop when :^)

    1 个赞

  • sleitnick 的头像

    @sleitnick

    Yeah I've gotta still figure that out lol

  • Cedralian 的头像

    @Cedralian

    Nice anti cheat!

    1 个赞

  • FaultyScript 的头像

    @FaultyScript

    He’s always cookin

    1 个赞

  • nakiyu 的头像

    @whereisnakiyu

    I’m not deeply into coding, but I’m really curious about what I'm seeing. Does this mean exploits like moving or spinning unanchored parts (e.g., walls or objects) would be prevented or made unusable?

    1 个赞

  • sleitnick 的头像

    @sleitnick

    The server auth part makes any exploits pretty much impossible. The rollback (that rubberbanding effect) is just a result of the client "mispredicting" the move, i.e. the client and server disagreed with what the move should be, so the client moved back to the last verified move.

    9 个赞

  • DabidarZ 的头像

    @DabidarZ

    CLEAN ASF