FluffyQuack
patreon
Diablo mod progress - Improving network desync
🕑 Added 2021-04-20 09:51:59 +0000 UTCI'm trying to work on improving the network sync in Diablo 1 (in DevilutionX source port). It's kind of amazing how easily you can desync in Diablo 1. Basically, almost any kind of movement can result in a desync.
In this video, I simply do these 3 types of movement:
- Queue up a move while attacking
- Cancel movement with an attack and then moving again
- Simply clicking to move back and forth
The game keeps sending packets to other clients about what tile the local player is moving to, and it turns out the game does an extremely bad job making sure those values are set correctly. With those values fixed, you get the result shown in the latter half of the video.
That said, there's still plenty other ways to cause desyncs in the game, but this change improves it a lot.