ipxwrapper icon indicating copy to clipboard operation
ipxwrapper copied to clipboard

Atomic Bomberman is lagging

Open Ceotom opened this issue 9 months ago • 21 comments

We have 2 players with following setup: 1 player: Hosts DOSBox ipxnet server (using DOSBox-X) 2 player: Connects to 1 player's ipxnet server

Both running Win10, who hosts in-game doesn't matter. Players teleports continuously and doesn't properly sync some events, like bomb placement, power-up pickups. Bombs can appear at wrong places or too late, power-ups may re-appear at same place after being picked up and etc. Video from 1 player side (red in-game): https://github.com/solemnwarning/ipxwrapper/assets/36301121/816715b9-57d1-4ac1-a1c6-39fa43489b80 You can notice how 2 player walks jerky 17s: 1 player pickups disease that forces player to set bombs continuously as soon as possible, but at 19s it reappears below bomb 25s: For some reason 2 bomb unexpectedly appears behind 1 player which is impossible normally (he can set only 1 bomb)

Logs with debugging messages (we didn't wait for the game to start because it takes VERY LONG to start with debugging enabled and we quit on "Receiving level data"): 1player.log 2player.log

During test with VMware VMs with this setup:

Host machine: Hosts DOSBox ipxnet server on Win10 VM1 and 2: Connects to host's ipxnet server using host-only adapter, running WinXP due to performance reasons, 2 VMs with Win10 are too slow.

I'm found that those issues appears only if simulate packet loss, ping just add delays until you action appear on other side.

Pinging showed that we has ~38ms ping and 0% packet loss. Looks like ipxwrapper drops packets?

Ceotom avatar Nov 19 '23 06:11 Ceotom