-
-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
online matches freezing at times [bounty: 200 XTR] #1805
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hey @DreadKnight, I'm still trying to understand where and why the multiplayer freeze issues are occurring. Not being able to reproduce the error using a game scenario makes the debugging very difficult. I also think building a logging system for multiplayer would be very time consuming and seems like overkill at this point The errors in the screenshots don't makes me think its not a synchronization issue since the match data has to be transmitted and recieved before x and y coordinates are applied. If it's not the match data it's most likely a bug related to the creature abilities. In conclusion, I think more testing needs to be done so the pertinent info can be logged. The console log that would be useful would be the log message This will allow me to know what data was received which is causing the error. The other log message although less likely where the issue is occurring is Either one of these log messages will help me better understand what is causing the freezing. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
A bounty of 66 XatteR is being offered for fixing this issue. |
Ability.activate() should have a no-throw guarantee. But since it doesn't we put it in try-catch. Plus remember all the null reference errors? Optional chaining can help. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining |
Opened #2044 which might be related, but focuses on the abilities that move units aspect, hopefully you'll look at it @rianconley |
Some online multiplayer matches that I've played ended by because of game freezing after the blue player ended turn, but game was saying it was my turn, though blue unit was still showing up as active. It might be because of a UI/animation thing or caused by overlapping units due to certain abilities #1804 #1797 - also bad for debugging that online multiplayer replays are broken #1798
Note that in order to fix this bug, you would probably need to have an instance of Nakama server running along with one of the two compatible databases. Here's a set-up guide: https://heroiclabs.com/docs/nakama/getting-started/install/
The text was updated successfully, but these errors were encountered: