-
Notifications
You must be signed in to change notification settings - Fork 383
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
raidemulator can't reset battles correctly #5714
Comments
I also encountered the same issue, and I've been trying to pinpoint the problem. Currently, I've noticed that this issue started occurring after c245ef6. However, I haven't made any progress on how to fix it. It seems like the Emulator's team initialization logic doesn't fully adapt to the new State update logic. The code interrupts in the updateState function of AnalyzedEncounter.ts due to the inability to correctly retrieve the job. I believe that the actual data parsing currently occurs after the load logic in the Raid Emulator, including ID and job information. This is causing the initialization of the party list to fail. The issue only exists in non-first encounters. |
Perhaps it's an issue with encounter segmentation, but I'm not entirely sure. Here is the partyList log:
At 21:06, it seems like someone disconnected or something happened. Although the count is 8, there are only 7 IDs. I'm not sure if this is the reason? This log was also given to me by someone else, so I don't know exactly what happened at that time. |
It seems to be caused by being split by the fflogs uploader. edit: It seems not, even complete logs can cause problems. |
I have been deeply troubled by this issue, as a large number of battle records were unusable. Therefore, I have been trying to figure out how to fix this problem. Now, I have made some progress. With this commit (edited), I can now successfully read battle records. |
Hmm! What is the bug here, ultimately? Is it that (cc @valarnin) |
@valarnin This happens with the 2nd and 3rd pulls in the log (and others) of the log you sent me. |
Yeah, this is on my list of things to look into but it's a bit far down the list since it's resolved with a refresh when it happens. |
For what it's worth, that's not true for me. The 2nd and 3rd pulls in the log you sent me always have this error, regardless of refreshes or db clears and reloads. |
I'm trying out use the raidemulator to write my own scripts. It will work fine until July 10th. When I tried to load logs yesterday, a logs file only read first fight fine, it couldn't read other fights under the same log file correctly anymore. When the battle is wipe, it reports the following error. My logs files(include old files) have same error.
![bug](https://private-user-images.githubusercontent.com/32677144/254774944-3cff0a4c-25b8-4564-9f30-1e9e5659f16c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyODAyOTMsIm5iZiI6MTcyNDI3OTk5MywicGF0aCI6Ii8zMjY3NzE0NC8yNTQ3NzQ5NDQtM2NmZjBhNGMtMjViOC00NTY0LTlmMzAtMWU5ZTU2NTlmMTZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIyMzk1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiMjkxMTdjOTJjMTVlMDg4ZTAzZGM5NGRmYjgzZmJiYTcwNzVhMjc1YzhkNzM4ZWZmYTE3NzAwZTMwZTE3NTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5HGTqSFDhyDQV2rRbLpRgmGTwKHGcYLfVDmJC2ph6zM)
By the way,I have tried masking my own scripts file,not using OVERLAY_WS to load raidemulator(using the url:https://quisquous.github.io/cactbot/ui/raidboss/raidemulator.html), clear the browser cache, use another network and so on,
it has the same error.
I try to split the logs into one file has only one fight, the raidemulator can read the file correctly.
The text was updated successfully, but these errors were encountered: