Project Zomboid

Project Zomboid

A advanced zombie mod 1
nigel  [开发者] 2022 年 4 月 15 日 上午 3:53
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)
最后由 nigel 编辑于; 2022 年 4 月 18 日 下午 3:35
< >
正在显示第 1 - 6 条,共 6 条留言
fordzatalibun 2022 年 4 月 18 日 上午 11:06 
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 2022 年 4 月 18 日 上午 11:08 
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  [开发者] 2022 年 4 月 18 日 下午 1:48 
COOP? Multiplayer without dedicated server?
"HOST" button in main menu?

I can see if I can reproduce this
fordzatalibun 2022 年 4 月 18 日 下午 2:30 
Im host
nigel  [开发者] 2022 年 4 月 18 日 下午 2:44 
https://c.tenor.com/mAlJkmN3TEcAAAAC/hackerman-emote.gif

Okay, thank you!
I will plug that in the mainframe and see what happens
nigel  [开发者] 2022 年 4 月 18 日 下午 3:30 
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.
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50