OfficialNoms / ALSReplicated

This is a community-based effort to fully and effectively replicate Advanced Locomotion System v4 which is permanently free on the Epic Marketplace.
MIT License
106 stars 88 forks source link

Client lag on networked server #12

Open idlespoon opened 4 years ago

idlespoon commented 4 years ago

Detailed description of issue: When running advanced session via link , client is lagging to server player; latency of client is 48ms but appears jittery and unstable. Often teleports. When observed by client player, server player is not lagging or appearing jittery/unstable.

Steps to reproduce:

  1. Package game to run with advanced session/networked replication, play as server player and examine connected client player.
  2. Observe client player's latency and behavior

Expected results: No/little issue with loading client player's animations, velocity, position, rotation, etc.

Actual results: Client players appear jittery/unstable when playing and struggle to move in a stable fashion.

nyudeb commented 4 years ago

Hello, I got the same problems with lags ... I'm using this plugin to have a dedicated AWS server: https://www.youtube.com/watch?v=DTdlqJHJ6v8&t=1515s.

In editor, I don't have any lags (2 players + dedicated server), it work well... but when I build it (server + client), I got some jittery/teleportation with a ~30-50ms ping...

I don't know what to do so I'm posting this here to update this post.

Cesio137 commented 4 years ago

this happens because most of the variables are cited only on the server and are not collected locally

l0m-dev commented 4 years ago

Any updates on this issue?