-
-
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
can't properly replay multiplayer log #1798
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.
Hey @DreadKnight I tried looking at #1805 but I can't reproduce the freezing issue. I'm going to try to get the logging feature working in multiplayer so we can debug properly. Sorry, can you remind me how to use the logging feature? If remember correctly in the console, you use AB.getLog() to get the string and then AB.restoreGame({string} to restore. Is this correct? |
Heya! Please always use hashtags for issues, edited that one for you. The log thing is documented in the contribution guide over here https://github.com/FreezingMoon/AncientBeast/blob/master/CONTRIBUTING.md#report-issues |
@rianconley Found the issue: make sure the output given by |
Sounds good. Yeah, I got it to work although it seems to freeze during loading - doing a click through made it unfreeze. I'll see if I can get that fixed as well. |
@rianconley It doesn't freeze for me. It used to do that a few years ago I recall though. I'm using latest stable version of Chrome. |
Hey @DreadKnight, I fixed the logging so it can restore the state of a multiplayer match. However, the restore only applies to single player. To restore for multiplayer, I'll need to build a separate logging component so it can simulate a multiplayer match using nakama api. Let me know if you think this is a good idea. |
Good to hear. If you can fix the movement-related sync issues without such a feature, then we can skip it for now at least. |
Can't properly replay a log for a multiplayer match in hotseat mode, as it stops after a few moves.
The text was updated successfully, but these errors were encountered: