Is there a way to simuate Ping RTT?

If I have 2 clients connected to a server (dedicated or listen) is it possible to simulate ping rtt?

Example:
Client A has PktLag = 500.
Client B has PktLag = 100.

If Client A jumps there will be a delay of 500 on the server and Client B.

if Client B jumps there will be a delay of 100 on the server and Client A .

Is there a way to have it if Client A jumps with the 500 delay to have Client B have the 500 plus their(Client B) 100?

You could timestamp the methods sent. From client A to server you send the client A timestamp. From server to client B you send the client A timestamp.

ClientBTimestamp - ClientATimestamp = time passed since clientA started jumping.

If you also pass the client location, rotation, linear velocity and angular velocity as parameters you could simulate the movement since client A started the jump.

I think it’s better to synchronize with what the server has instead of the client, though.

I use std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(); to get the UTC time between machines. You need to #include <chrono>