- Joined
- Jul 25, 2009
- Messages
- 194
So I'm having troubles finding out what's causing desyncs in my map. If anyone wants to take a look I've attached my map to this post. I'm not worried about memory leaks or poorly written code since this map was made over 8 years ago. Just hoping that I can upgrade it to support 24 players without any desyncing issues. If anyone finds anything that could cause a desync, please let me know!!
Desync Info:
Sometimes the game pulls through without any desyncs occuring at all. But when there are desyncs, they almost always occur within 5 minutes of the "Team Battle" event ending (Can check out this trigger: Duel and boundries -> Duel).
There's a few things that happen exclusively after team battle event ends:
Btw another weird issue I have is after saving the map using WEX editor some units such as priest of moon or any item shop are assigned the "Defend" ability. Before I used to use JNGP editor.
Desync Info:
Sometimes the game pulls through without any desyncs occuring at all. But when there are desyncs, they almost always occur within 5 minutes of the "Team Battle" event ending (Can check out this trigger: Duel and boundries -> Duel).
There's a few things that happen exclusively after team battle event ends:
- A bunch of merchants spawn around the map and they can sell an item called ultimate upgrade. One ultimate upgrade item also spawns on the map. If a user purchases or picks up an ultimate upgrade, it runs a bunch of triggers (check out the SUPER SPELLS AND UPGRADE folder)
- Once a unit picks up an ultimate upgrade, their unit gets replaced by a completely different unit with a new set of spells. These new units are only available AFTER the team battle event ends, so it's possible one of these units might have a spell that's causing desyncs. However I've watched several replays and haven't noticed much correlation yet. I noticed in one of the replays a desync occured while a unit was casting a spell called Orb of Water (can check "orb of water" folder) but I don't see anything wrong with that code.
- After the team battle ends, everyone is rewarded a bunch of gold. So during this time people will start going on shopping sprees. I'm thinking maybe the desyncs are somehow related to item purchases as well (item triggers are located in the "Items" folder)
Btw another weird issue I have is after saving the map using WEX editor some units such as priest of moon or any item shop are assigned the "Defend" ability. Before I used to use JNGP editor.