ok, i've done some test. Jbox2d is deterministic in different architectures, BUT... As i've previously said, the second client wasn't able to synchronize physic.
That's why: if collision is happening, or has happened, the server world has "something"(we can call it the story as BorisTheBrave say) that will produce slightly different results from client... this happens also if server and client are on the same PC (so same math).
So the "story" of a physic world CAN modify the execution of some math,
I'm trying to understand where is stored this history and send it to client, so I can archive the full determinism. (actually the error are < 10^-5 over 1000 step)
Please help, I'm 0,00000... far from the solution 😁
That's why: if collision is happening, or has happened, the server world has "something"(we can call it the story as BorisTheBrave say) that will produce slightly different results from client... this happens also if server and client are on the same PC (so same math).
- example:
server: and AMD server.
clientA: same PC as server
clientB: INTEL client
server start, clientA and clientB enter and move around, collide, and everything is all right (no error)
server start, clientA or clientB enter and move around, collide, and everything is all right (no error), clientB/clientA try to enter, and it's math is different from server (and also the other client)
server start and also start some collision, clientA and clientB try to enter but their physic is different from server
So the "story" of a physic world CAN modify the execution of some math,
I'm trying to understand where is stored this history and send it to client, so I can archive the full determinism. (actually the error are < 10^-5 over 1000 step)
Please help, I'm 0,00000... far from the solution 😁