Slay the Spire

Slay the Spire

Mystery Dungeon
Zu 2 Nov, 2021 @ 9:45am
Game crashes if I choose any combination other than bulbasaur first and charmander second
Later I managed to request a TEST RUN PLZ and successfully picked pikachu and squirtle, but then I saved and quit, continued, dared to accept the quiz, but the game crashed immediately and left me with a frozen screen so I had to ctrl alt del to get rid of it.

Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-22-2020)
- ModTheSpire (3.23.2)
Mod list:
- basemod (5.34.1)
- stslib (1.24.1)
- MysteryDungeon (0.5.0)

Cause:
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at com.badlogic.gdx.files.FileHandle.<init>(FileHandle.java:76)
at com.badlogic.gdx.backends.lwjgl.LwjglFileHandle.<init>(LwjglFileHandle.java:29)
at com.badlogic.gdx.backends.lwjgl.LwjglFiles.internal(LwjglFiles.java:42)
at com.megacrit.cardcrawl.core.AbstractCreature.loadAnimation(AbstractCreature.java:401)
at mysteryDungeon.characters.Pokemon.reloadAnimation(Pokemon.java:280)
at mysteryDungeon.characters.Pokemon.awardThingsToAward(Pokemon.java:407)
at mysteryDungeon.patches.PokemonNeowPatch$NeowEventFlow.AdvanceAccordingToChoice(PokemonNeowPatch.java:321)
at com.megacrit.cardcrawl.neow.NeowEvent.buttonEffect(NeowEvent.java)
at com.megacrit.cardcrawl.events.AbstractEvent.update(AbstractEvent.java:124)
at com.megacrit.cardcrawl.neow.NeowEvent.update(NeowEvent.java:142)
at com.megacrit.cardcrawl.neow.NeowRoom.update(NeowRoom.java:24)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:871)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:419)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
< >
Showing 1-7 of 7 comments
red5h4d0w  [developer] 2 Nov, 2021 @ 10:46am 
This is likely due to missing animations in the version of the mod you have. I'll push another version when I'll be able to do so. In the meantime try to unsubscribe then subscribe again, it should make you update to the latest version available on the workshop
Ivel54  [developer] 2 Nov, 2021 @ 11:05am 
When you accepted the quiz were pikachu and quirtle still chosen?
if yes I might be able to reproduce the error.
Last edited by Ivel54; 2 Nov, 2021 @ 11:06am
Ivel54  [developer] 2 Nov, 2021 @ 11:14am 
Originally posted by Zu:
Later I managed to request a TEST RUN PLZ and successfully picked pikachu and squirtle, but then I saved and quit, continued, dared to accept the quiz, but the game crashed immediately and left me with a frozen screen so I had to ctrl alt del to get rid of it.

Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-22-2020)
- ModTheSpire (3.23.2)
Mod list:
- basemod (5.34.1)
- stslib (1.24.1)
- MysteryDungeon (0.5.0)

Cause:
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at com.badlogic.gdx.files.FileHandle.<init>(FileHandle.java:76)
at com.badlogic.gdx.backends.lwjgl.LwjglFileHandle.<init>(LwjglFileHandle.java:29)
at com.badlogic.gdx.backends.lwjgl.LwjglFiles.internal(LwjglFiles.java:42)
at com.megacrit.cardcrawl.core.AbstractCreature.loadAnimation(AbstractCreature.java:401)
at mysteryDungeon.characters.Pokemon.reloadAnimation(Pokemon.java:280)
at mysteryDungeon.characters.Pokemon.awardThingsToAward(Pokemon.java:407)
at mysteryDungeon.patches.PokemonNeowPatch$NeowEventFlow.AdvanceAccordingToChoice(PokemonNeowPatch.java:321)
at com.megacrit.cardcrawl.neow.NeowEvent.buttonEffect(NeowEvent.java)
at com.megacrit.cardcrawl.events.AbstractEvent.update(AbstractEvent.java:124)
at com.megacrit.cardcrawl.neow.NeowEvent.update(NeowEvent.java:142)
at com.megacrit.cardcrawl.neow.NeowRoom.update(NeowRoom.java:24)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:871)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:419)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

After testing, the problem is that the game still beleives you to have chosen 2 pokémons.
When launching a game with test run plz (which is named "I'd prefer to choose my team" in the latest update) do not go back and start the quiz.

If you choose your first fight before saving and quitting there shouldn't be any problem.
We will try and fix the problem soon.
Last edited by Ivel54; 2 Nov, 2021 @ 11:15am
Zu 2 Nov, 2021 @ 11:16am 
Originally posted by red5h4d0w:
try to unsubscribe then subscribe again, it should make you update to the latest version available on the workshop
Did but noticed steam is slow to deliver workshop updates these days, so I wouldn't be surprised if I was still on the og version when I unsubbed n resubbed earlier.
Originally posted by Ivellios554:
When you accepted the quiz were pikachu and squirtle still chosen?
When I chose the test run option with pikachu and squirtle, the animated sprite changed to pikachu and neow offered starting boons. Save n quit. Continue. Back to the [...] section and pikachu was still shown indeed. Then I clicked to start the quiz, the screen froze, and the game had seemingly crashed before I used ctrl alt del to "refresh" the screen.
Originally posted by Ivellios554:
When launching a game with test run plz (which is named "I'd prefer to choose my team" in the latest update) do not go back and start the quiz.
That's fair. Btw, I forgot to mention you can choose the same pokemon twice if you don't do the quiz, which also crashes the game for obvious reasons.
Last edited by Zu; 2 Nov, 2021 @ 11:18am
Ivel54  [developer] 2 Nov, 2021 @ 11:23am 
Yeah we are trying to add something that removes the already picked choice from the pool for the second one.
Thank you again for your help Zu.


If you would join our discord server it would help us be more reactive to the problems you may encounter.
Zu 2 Nov, 2021 @ 11:34am 
No rush. Do things at your own pace (like me - for better or worse :skullz: ). Modding starts as a hobby after all.
red5h4d0w  [developer] 7 Nov, 2021 @ 7:48pm 
the crash should no longer be reproducible. However, the animation of a prviously selected character remains until a choice is made
< >
Showing 1-7 of 7 comments
Per page: 1530 50