# Co-Op Desync Update

**URL:** <https://community.puzzlequest3.com/t/co-op-desync-update/3620>\
**Category:** Developer & Patch Notes\
**Created:** [July 7, 2023, 1:27am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620 "2023-07-07T01:27:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeto](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/jeto/32/6326_2.png) [@Jeto](https://community.puzzlequest3.com/u/Jeto)\
**Post date:** [July 7, 2023, 1:27am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/1 "2023-07-07T01:27:27Z")

</div>

Hey everyone,

Here comes another update from the team regarding Party battles!  
As everyone is aware, this has been an ongoing issue that the team has spent some time investigating.

There are currently two issues:  
**Timing issues!** - These issues occur when the server gets multiple instructions at the exact same moment, and due to the order they’re processed, things get confused.

**Determinism!** - a word I had not heard till today. Where data for random events is different in two different places when it should be the same.

Determinism is a tricky thing to fix and we are still investigating, but have at least narrowed down where to look. (We are very grateful for our big-brain server engineer for digging into this.)

We do have a fix in the works for the Timing issues however! We have tested this internally and it essentially involves trading the risk of the co-op battle failing for a small amount of latency in co-op battles. When we tested it, yes, it was noticeable at first, but we fairly quickly stopped noticing. When we turned the fix off to test the original state of co-op and started getting those beloved bugs again.  
We are still determining whether or not to roll this fix out after 2.2 goes live.

There are a lot of moving parts when it comes to live co-op, which means finding the cause AND THEN the fix for it has taken some time. Appreciate everyone’s patience while the team have been looking into this further!

---

<div class="post-metadata">

**Author:** ![Mythos](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/mythos/32/338_2.png) [@Mythos](https://community.puzzlequest3.com/u/Mythos)\
**Post date:** [July 7, 2023, 1:54am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/2 "2023-07-07T01:54:05Z")

</div>

Thanks for the update - good to know it’s still being worked on as this is a fun multiplayer element

---

<div class="post-metadata">

**Author:** ![HigureTheStillWind](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/higurethestillwind/32/3149_2.png) [@HigureTheStillWind](https://community.puzzlequest3.com/u/HigureTheStillWind)\
**Post date:** [July 7, 2023, 5:28am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/3 "2023-07-07T05:28:08Z")

</div>

It is great to know that you are advancing towards making party play more stable. Thank you for your hard work!

---

<div class="post-metadata">

**Author:** ![Jeto](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/jeto/32/6326_2.png) [@Jeto](https://community.puzzlequest3.com/u/Jeto)\
**Post date:** [July 31, 2023, 1:43am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/4 "2023-07-31T01:43:07Z")

</div>

Some more information as 2.2 is on the horizon.

Later this week in an attempt to further stabilise co-op battles, we will be introducing some intended lag. **This will only affect Party battles.** This will look like Gems taking a moment to lock into place after being moved, or spells taking a second to activate etc.

Going forward, we will look at ways to hide this lag and make the game feel more responsive. An example linked to the above would be the Gems would “appear” locked into their position before they are.

This has been a part of the ongoing testing and experiences of the team here in our Australian studio. We do expect the lag to be less notable in regions such as America where you are physically close to the servers. But as always, will keep an eye on feedback & further issues.

Again, we appreciate your patience as this has been an ongoing and major investigation on our side and will continue to monitor Party battles going forward.

---

<div class="post-metadata">

**Author:** ![Kafka](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/kafka/32/242_2.png) [@Kafka](https://community.puzzlequest3.com/u/Kafka)\
**Post date:** [August 7, 2023, 1:49am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/5 "2023-08-07T01:49:42Z")

</div>

Hi everyone,

The changes to Co-op Jeto outlined above have been released not long ago.

As mentioned, you will notice a slight pause when matching Gems in Party battles.  
We found when testing this ourselves it was easy to get used to and became less noticeable.

We’d be interested to hear your experience with it once you’ve had a chance to play around with it.

---

<div class="post-metadata">

**Author:** ![HigureTheStillWind](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/higurethestillwind/32/3149_2.png) [@HigureTheStillWind](https://community.puzzlequest3.com/u/HigureTheStillWind)\
**Post date:** [August 7, 2023, 7:21pm UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/6 "2023-08-07T19:21:35Z")

</div>

First experience after the changes. Several battles and everything went smoothly, no crash at all. The pause is not too noticeable, I don’t find it bothersome at all. So thumbs up for the time being 🙂 I will come again after I do more parties to update on this.

Thanks for the hard work!

---

<div class="post-metadata">

**Author:** ![HigureTheStillWind](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/higurethestillwind/32/3149_2.png) [@HigureTheStillWind](https://community.puzzlequest3.com/u/HigureTheStillWind)\
**Post date:** [August 13, 2023, 12:26pm UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/7 "2023-08-13T12:26:37Z")

</div>

After several days of doing parties not a single crash yet. Great work, thank you very much!

---

<div class="post-metadata">

**Author:** ![Lyrian](https://sea1.discourse-cdn.com/flex019/user_avatar/community.puzzlequest3.com/lyrian/32/17_2.png) [@Lyrian](https://community.puzzlequest3.com/u/Lyrian)\
**Post date:** [August 20, 2023, 2:47pm UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/8 "2023-08-20T14:47:33Z")

</div>

> [@Kafka](#):
>
> We’d be interested to hear your experience with it once you’ve had a chance to play around with it.

Super LTTP on this one, but AIlile and I got around to giving the changes a whirl.

The delay in moving gems is significantly more noticeable when playing using AP Mode then with Timer mode. _Perhaps this a result of AP Mode needing to check/report the state of the game board after every gem move, versus Timer mode only needing to resolve the state of the game board after the timer expired?_

For most players, the delay shouldn’t be much of an added inconvenience. For more nimble players, the added sync lag is annoying because the lag time is generally greater than the time that such a player needs to move the next gem. This results in gem moves not being recognized by the game, while the move timer still is running, which is frustration central. _Would not recommend using Timer mode in Co-Op play._

And… it wouldn’t be a co-op post from me without some crash codes, so… 😛

We had some consistent crashes during Co-Op runs. Strangely though, the crashes did not occur during the rounds themselves, but during resolution of the after-battle chests themselves.

A selection of some of the crash codes:

 ![Screenshot_20230818_122413_Puzzle Quest 3](https://us1.discourse-cdn.com/flex019/uploads/puzzlequest3/original/2X/5/5d12a3b2f9e29a002632b203e8b4bb0329611963.jpeg)

 ![Screenshot_20230818_121353_Puzzle Quest 3](https://us1.discourse-cdn.com/flex019/uploads/puzzlequest3/original/2X/e/ec508a0064aff3129cd65dffc37c163fb1f06460.jpeg)

 ![Screenshot_20230818_121039_Puzzle Quest 3](https://us1.discourse-cdn.com/flex019/uploads/puzzlequest3/original/2X/7/7decc8e8b7ad9d9107a299bc62586fc6daef6003.jpeg)

As far as we can ascertain:

- These crashes appear to be attributable to the server processing resolution of the end-of-battle treasure chest.
- It seems that one player can open the chest without issue, but then the other player crashes out (I opened the chest first, causing AIlile’s crashes in screenshots 2 and 3 when attempting to action the chest. For screenshot 1, I observed her opening the chest without issue and then I crashed out before being able to action the chest).
- The crashed player drops group and is returned to the Tavern upon restart. The received chest is then actionable as normal per being placed in a blank chest slot of requiring immediate overflow resolution.

_Possible attempts by server to incorrectly sync individual chests as if they were one chest (crash being cause by a player attempting to open a chest a server believes has already been opened)?_

Group was private (may be a confounding issue or cause), there were no other players in the party. Dungeons run were Wyrmhelm and Pharos of Lothdyn, Difficulty 2.

---

<div class="post-metadata">

**Author:** ![Thalinae](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@Thalinae](https://community.puzzlequest3.com/u/Thalinae)\
**Post date:** [September 9, 2023, 8:47am UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/9 "2023-09-09T08:47:00Z")

</div>

I would like to add something to the change and the “look and feel” of it:

- The lag is highly noticeable and very annoying ☹
- It is frustrating to see the enemy (AI) move smoothly, while we bump against a stop sign every move
- Playing with timer is horrible, as @Lyrian already mentioned, moves are not recognized, which leads to a double penalty: no smooth gameplay _and_ wasting more seconds due to unrecognized moves
- In about every 2nd game, gems are stuck on top of each other. This means that in the _current_ turn, the player cannot continue playing (the move is not finished after the pause). It also means that in the _next_ move, the old image of the previous gem is still in place, while the actual gem is also drawn in the same place. You need to figure out, which gem is the real one and will probably waste more time trying to match the previous (non-existing) gem color.
- Sometimes, the gems are not exchanging places, so only one gem moves and gets stuck.

Until I tried playing Co-Op again, I really wanted to keep this to myself. But the way the devs are addressing this topic is really the wrong way of dealing with race-conditions or creating a deterministic chain of events based on remote pseudo-random generator. To be honest, this is a very clumsy way and it would be more helpful to remove Party Mode completely for the next 6-12 Month and re-do the whole client-/server code, preferably by re-using and/or licensing a working, useful network protocol implementation for online games.

---

<div class="post-metadata">

**Author:** ![KerGiz](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@KerGiz](https://community.puzzlequest3.com/u/KerGiz)\
**Post date:** [September 9, 2023, 4:19pm UTC](https://community.puzzlequest3.com/t/co-op-desync-update/3620/10 "2023-09-09T16:19:07Z")

</div>

> [@Thalinae](#):
>
> In about every 2nd game, gems are stuck on top of each other. This means that in the _current_ turn, the player cannot continue playing (the move is not finished after the pause)

Sometimes it is also occours in normal gameplay. I haven’t yet figured out if it is in Dungeon, Kingdom Defense or PVP, but definitely in solo play.  
I will keep an eye on it, and post the data on the next occourence.
