Slay the Spire

Slay the Spire

Fourth Key
 This topic has been pinned, so it's probably important
DandyLion  [developer] 6 Jan, 2024 @ 9:12pm
BUG THREAD
Post your bug reports here. If you can, I'd appreciate if you opened an issue on the GitHub[github.com] instead. I've set up workflow automations to notify me when new issues are opened.
Last edited by DandyLion; 25 Jan, 2024 @ 10:33am
< >
Showing 1-7 of 7 comments
AgentPhil 8 Feb, 2024 @ 6:42am 
This mod is screwing with relic filter and relic compendium, since this doesn't happen when it's off. Relic filter shows for a split second then disappears.
And when I open the relic compendium, the game crashes immediately with this message:
java.lang.NullPointerException
at com.badlogic.gdx.graphics.g2d.SpriteBatch.switchTexture(SpriteBatch.java:1056)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.draw(SpriteBatch.java:237)
at com.megacrit.cardcrawl.relics.AbstractRelic.renderOutline(AbstractRelic.java:1184)
at com.megacrit.cardcrawl.relics.AbstractRelic.render(AbstractRelic.java:963)
at com.megacrit.cardcrawl.screens.compendium.RelicViewScreen.renderList(RelicViewScreen.java:712)
at com.megacrit.cardcrawl.screens.compendium.RelicViewScreen.render(RelicViewScreen.java:647)
at com.megacrit.cardcrawl.screens.mainMenu.MainMenuScreen.render(MainMenuScreen.java:576)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:435)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Mumei 8 Feb, 2024 @ 3:23pm 
Originally posted by AgentPhil:
This mod is screwing with relic filter and relic compendium, since this doesn't happen when it's off. Relic filter shows for a split second then disappears.
And when I open the relic compendium, the game crashes immediately with this message:
java.lang.NullPointerException
at com.badlogic.gdx.graphics.g2d.SpriteBatch.switchTexture(SpriteBatch.java:1056)
at com.badlogic.gdx.graphics.g2d.SpriteBatch.draw(SpriteBatch.java:237)
at com.megacrit.cardcrawl.relics.AbstractRelic.renderOutline(AbstractRelic.java:1184)
at com.megacrit.cardcrawl.relics.AbstractRelic.render(AbstractRelic.java:963)
at com.megacrit.cardcrawl.screens.compendium.RelicViewScreen.renderList(RelicViewScreen.java:712)
at com.megacrit.cardcrawl.screens.compendium.RelicViewScreen.render(RelicViewScreen.java:647)
at com.megacrit.cardcrawl.screens.mainMenu.MainMenuScreen.render(MainMenuScreen.java:576)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:435)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
I had this too. It's an incompatibility with Pale of the Ancients. Having only this mod does not cause crash
DandyLion  [developer] 17 Feb, 2024 @ 5:36am 
thanks for reporting, I'll add this to my board to investigate
DandyLion  [developer] 25 Feb, 2024 @ 9:22am 
the relic compendium crash was indeed fourthkey + pale of the ancients, so thanks for pointing that out Mumei that made things easy

Originally posted by AgentPhil:
This mod is screwing with relic filter and relic compendium, since this doesn't happen when it's off. Relic filter shows for a split second then disappears.

i wasn't able to replicate this behavior. i was running these mods and didn't experience that
StsLib (2.11.0)
BaseMod (5.54.1)
Relic Filter (1.0.1)
Act Like it! (1.2.7)
Pale of the Ancients (1.3.4)
Fourth Key (1.3.6)
Downfall (5.1.2)

were you playing with any other mods? could be something that when combined with fourthkey does this for some weird reason
Last edited by DandyLion; 25 Feb, 2024 @ 7:04pm
cyxw 11 Apr @ 3:19am 
When playing downfall with fourth key gained, after defeating merchant, game crashes when trying apply purple key as loot
I disabled 4th key mod later, but if you want log I can recreate them.
I had activated to have all the keys on start,
playing with slime boss,
killed the merchant in his turn by burn damage in the last turn, so his action was fleeing.

Not sure why this happens, it is supposedly patched for alwaysneverkeys and downfall... that's why I'm inclined to think the cause is the merchant dying at the same time it flees.

Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-18-2022)
- ModTheSpire (3.30.3)
Mod list:
- basemod (5.55.3)
- stslib (2.11.1)
- OptimizeTheSpire (1.2.0)
- AchievementEnabler (1.0.0)
- dd-narration-mod (1.0.2)
- actlikeit (1.2.8)
- shopgrid (1.0.0)
- ShopMod (1.1.2)
- neoe_removeCardDiscount (0.1)
- alwaysneverkeys (0.1.0)
- anniv6 (1.5.1)
- neatTheSpire (1.1)
- paleoftheancients (1.3.5)
- downfall (5.3.6)
- fourthKey (1.5.0)
- ConstructionDeck (1.0)
- HugYouColors (1.3.6)
- SorenTheSpire (1.0.1)
- vesselmod (0.5.1)
- haberdashery (1.1.2)
- HugYouRelics (2.0.6.2)
- quickrestart (2.1.1)
- CorruptTheSpire (1.4.4)
- hungrywolf (0.8.0)

Mods in stacktrace:
- anniv6 (1.5.1)
- fourthKey (1.5.0)
Cause:
java.lang.NullPointerException
at fourthKey.patches.rewards.RewardItemPatch$PurpleKeyRewardPatch.Postfix(RewardItemPatch.java:40)
at com.megacrit.cardcrawl.rewards.RewardItem.<init>(RewardItem.java:101)
at fourthKey.patches.downfall.monsters.FleeingMerchantPatch$AddKeyToRewardsOnDiePatch.Prefix(FleeingMerchantPatch.java:14)
at downfall.monsters.FleeingMerchant.die(FleeingMerchant.java)
at com.megacrit.cardcrawl.monsters.AbstractMonster.damage(AbstractMonster.java:833)
at spireMapOverhaul.zones.wildfire.actions.BurningLoseHPAction.update(BurningLoseHPAction.java:35)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
at com.megacrit.cardcrawl.rooms.ShopRoom.update(ShopRoom.java:55)
at downfall.rooms.HeartShopRoom.update(HeartShopRoom.java:88)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Originally posted by CristoElMago:
Not sure why this happens, it is supposedly patched for alwaysneverkeys and downfall...

I killed him in my turn and crashes this:

Mods in stacktrace:
- fourthKey (1.5.0)
Cause:
java.lang.NullPointerException
at fourthKey.patches.rewards.RewardItemPatch$PurpleKeyRewardPatch.Postfix(RewardItemPatch.java:40)
at com.megacrit.cardcrawl.rewards.RewardItem.<init>(RewardItem.java:101)
at fourthKey.patches.downfall.monsters.FleeingMerchantPatch$AddKeyToRewardsOnDiePatch.Prefix(FleeingMerchantPatch.java:14)
at downfall.monsters.FleeingMerchant.die(FleeingMerchant.java)
at com.megacrit.cardcrawl.monsters.AbstractMonster.damage(AbstractMonster.java:833)
at com.megacrit.cardcrawl.actions.common.DamageAction.update(DamageAction.java:91)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
at com.megacrit.cardcrawl.rooms.ShopRoom.update(ShopRoom.java:55)
at downfall.rooms.HeartShopRoom.update(HeartShopRoom.java:88)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
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
Per page: 1530 50