Project Zomboid

Project Zomboid

A advanced zombie mod 1
nigel  [developer] 15 Apr, 2022 @ 3:53am
Bug: COOP network desync
COOP mode clients experiencing desync
- Tested coop mode with 2 clients
- added networking debug

Test:
- Coop mode compatability
- 1 host 1 client
- Log all network commands by this mod

Result:
- no major lag
- traffic as expected (low with ~50 zombes)
- Could be problem with bad internet

Solution:
- Add option for more delay for zombie data requests
- Try better zombie initialization (not locality based)
Last edited by nigel; 18 Apr, 2022 @ 3:35pm
< >
Showing 1-6 of 6 comments
fordzatalibun 18 Apr, 2022 @ 11:06am 
it feel like when i play with my friend for a while this mod enable , its feel heavy desync and give me a bad timing ( my friend too)
iuhggiuhhgbnr 18 Apr, 2022 @ 11:08am 
Feel like in co-op player very desync. I see host teleport around 15+ times
Sometime i see host walk very slow and teleport

:Fistofdosh:
nigel  [developer] 18 Apr, 2022 @ 1:48pm 
COOP? Multiplayer without dedicated server?
"HOST" button in main menu?

I can see if I can reproduce this
fordzatalibun 18 Apr, 2022 @ 2:30pm 
Im host
nigel  [developer] 18 Apr, 2022 @ 2:44pm 
https://c.tenor.com/mAlJkmN3TEcAAAAC/hackerman-emote.gif

Okay, thank you!
I will plug that in the mainframe and see what happens
nigel  [developer] 18 Apr, 2022 @ 3:30pm 
I did some testing and....

So far I assume this is because
there are zombies on the current client
which are not local to the current client.
These zombies do not have outfits on the client they are local to.
This will make the current client continuously ask for data from the server.
Server won't have the data until the client which the zombie is local to initializes it.


There's a 1 second cooldown on that but
in case there are more then 1 zombies like that,
you will get lots of traffic.


Next update I will add a sandbox option for that
to increase this time, allowing more than 1 second
to reduce traffic, just in case.
Maybe I will also edit the method the zombie is initialized.


You should also try reducing the total zombie
population in your game as a temporary fix.

Thanks for the bug report.
< >
Showing 1-6 of 6 comments
Per page: 1530 50