wowsims / cata

World of Warcraft Cataclysm Classic simulations.
https://wowsims.github.io/cata/
MIT License
31 stars 47 forks source link

Demo Warlock Sim Returns error and has no functionality #966

Closed Calyus closed 2 months ago

Calyus commented 2 months ago

Describe the bug Using the Local Sim there is no functionality with only Demo Warlock and returns an error "Something went wrong running your raid sim. Reload the page and try again."

To Reproduce Steps to reproduce the behavior:

  1. Go to Warlock
  2. Click on Demonology
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Sim Links and Screenshots http://localhost:3333/cata/warlock/demonology/# Untitled

Desktop (please complete the following information):

Additional context It worked as expected prior to installing .64 last night saw .65 today and I have the same issue. It is only the Demo Warlock Sim that has this issue.

InDebt commented 2 months ago

Hey @Calyus. We've tested the features introduced in .64 thoroughly but it seems some stuff still got through.

[!warning] This will reset all settings and delete all saved item sets

  • Usually a quick "fix" for this would be clicking on the Cogwheel in the upper right and Restore Defaults.

If the item sets and other settings are important and you want to keep those, you could try to Press F12 and open the developer console. Within it you can select the Console tab and share a screenshot of anything that would pop up red after a page refresh.

Calyus commented 2 months ago

The issue remains even after Restoring Defaults as well I have relaunched the local sim after clicking restore defaults and the issue remains. While it claims to have done it, it does not actually remove any of Item Sets. I understand that it is expected to of removed them but something is preventing it from doing so it would seem.

InDebt commented 2 months ago

Hm... this is indeed odd. Could you provide a sreenshot of any errors that might be displayed in the developr console of the browser?

F12 -> Console -> Page refresh and then screenshot anything red.

@1337LutZ Do you have any idea why even the Restore Default would not work here. It seems local storage is not changed at all.

1337LutZ commented 2 months ago

Restoring defaults actually doesn't remove item sets. @Calyus when you open the localhost URL in a private browsing window, does it then work?

Calyus commented 2 months ago

Hm... this is indeed odd. Could you provide a sreenshot of any errors that might be displayed in the developr console of the browser? F12 -> Console -> Page refresh and then screenshot anything red.

Here is the errors displayed in the console Error 1 Error 2

Restoring defaults actually doesn't remove item sets. @Calyus when you open the localhost URL in a private browsing window, does it then work?

It does indeed work in private browser.

Side note: I updated to .66 today and the issue remains with only the Demo Warlock sim.

1337LutZ commented 2 months ago

@Calyus In your broken environment, could you please try the following and send it to us?

Calyus commented 2 months ago

The code seems to end abruptly but I triple checked, it's definitely all that is listed there.

{"settings":{"iterations":3000,"phase":2,"showDamageMetrics":true,"showEpValues":true,"useSoftCapBreakpoints":true,"language":"en","faction":"Alliance","filters":{"armorTypes":["ArmorTypeCloth"],"sources":["SourceRaidH","SourceRaidRF"],"minIlvl":359,"maxIlvl":379,"oneHandedWeapons":true,"twoHandedWeapons":true,"favoriteGems":[52205]}},"raidBuffs":{"markOfTheWild":true,"blessingOfKings":true,"powerWordFortitude":true,"strengthOfEarthTotem":true,"trueshotAura":true,"blessingOfMight":true,"icyTalons":true,"arcaneBrilliance":true,"demonicPact":true,"moonkinForm":true,"wrathOfAirTotem":true,"communion":true,"leaderOfThePack":true,"bloodlust":true},"debuffs":{"ebonPlaguebringer":true,"bloodFrenzy":true,"mangle":true,"sunderArmor":true,"demoralizingShout":true,"frostFever":true},"partyBuffs":{},"player":{"name":"Player","race":"RaceOrc","class":"ClassWarlock","equipment":{"items":[{"id":60237,"enchant":4207,"gems":[68780,52217],"reforging":144},{"id":59512,"reforging":165},{"id":65263,"enchan

1337LutZ commented 2 months ago

The code seems to end abruptly but I triple checked, it's definitely all that is listed there.

{"settings":{"iterations":3000,"phase":2,"showDamageMetrics":true,"showEpValues":true,"useSoftCapBreakpoints":true,"language":"en","faction":"Alliance","filters":{"armorTypes":["ArmorTypeCloth"],"sources":["SourceRaidH","SourceRaidRF"],"minIlvl":359,"maxIlvl":379,"oneHandedWeapons":true,"twoHandedWeapons":true,"favoriteGems":[52205]}},"raidBuffs":{"markOfTheWild":true,"blessingOfKings":true,"powerWordFortitude":true,"strengthOfEarthTotem":true,"trueshotAura":true,"blessingOfMight":true,"icyTalons":true,"arcaneBrilliance":true,"demonicPact":true,"moonkinForm":true,"wrathOfAirTotem":true,"communion":true,"leaderOfThePack":true,"bloodlust":true},"debuffs":{"ebonPlaguebringer":true,"bloodFrenzy":true,"mangle":true,"sunderArmor":true,"demoralizingShout":true,"frostFever":true},"partyBuffs":{},"player":{"name":"Player","race":"RaceOrc","class":"ClassWarlock","equipment":{"items":[{"id":60237,"enchant":4207,"gems":[68780,52217],"reforging":144},{"id":59512,"reforging":165},{"id":65263,"enchan

Then I'm pretty sure that's why your Sim is broken. You can remove this entry from the LocalStorage, your gearsets should be saved in another entry called __savedGear

Calyus commented 2 months ago

Deleting the variable and refreshing has solved the issue, Thank you very much.

1337LutZ commented 2 months ago

It's very odd that your storage has been corrupted this way. It looks like either memory corruption, or something was writing to the store and then the website was closed/refreshed.