Slay the Spire

Slay the Spire

奇美拉卡牌+
crash logs
hi please find these 2 logs which mentioned your mod, just in case it is something fixable from your side?

ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.lambda$Insert$0(SoulboundPatch.java:102) ~[StSLib.jar:?]
at java.util.ArrayList.removeIf(ArrayList.java:1405) ~[?:1.8.0_144]
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.Insert(SoulboundPatch.java:102) ~[StSLib.jar:?]
at com.megacrit.cardcrawl.helpers.CardLibrary.getCurse(CardLibrary.java:1079) ~[?:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.returnRandomCurse(AbstractDungeon.java:1406) ~[?:?]
at chimeracardsplus.cardmods.rare.CursedMod.onInitialApplication(CursedMod.java:38) ~[chimeracardsplus.jar:?]
at basemod.helpers.CardModifierManager.addModifier(CardModifierManager.java:35) ~[?:?]
at CardAugments.CardAugmentsMod.applyWeightedCardMod(CardAugmentsMod.java:847) ~[?:?]
at CardAugments.CardAugmentsMod.rollCardAugment(CardAugmentsMod.java:799) ~[?:?]
at CardAugments.patches.OnCardGeneratedPatches$ModifySpawnedCardsPatch.patch(OnCardGeneratedPatches.java:55) ~[CardAugments.jar:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.getRewardCards(AbstractDungeon.java:1866) ~[?:?]
at com.megacrit.cardcrawl.rewards.RewardItem.<init>(RewardItem.java:161) ~[?:?]
at com.megacrit.cardcrawl.screens.CombatRewardScreen.setupItemReward(CombatRewardScreen.java:89) ~[?:?]
at com.megacrit.cardcrawl.screens.CombatRewardScreen.open(CombatRewardScreen.java:370) ~[?:?]
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:437) ~[?:?]
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) [?:?]


+

another game:
Cause:
java.lang.NullPointerException
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.lambda$Insert$0(SoulboundPatch.java:102)
at java.util.ArrayList.removeIf(ArrayList.java:1405)
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.Insert(SoulboundPatch.java:102)
at com.megacrit.cardcrawl.helpers.CardLibrary.getCurse(CardLibrary.java:1079)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.returnRandomCurse(AbstractDungeon.java:1406)
at chimeracardsplus.cardmods.rare.CursedMod.onInitialApplication(CursedMod.java:38)
at basemod.helpers.CardModifierManager.addModifier(CardModifierManager.java:35)
at CardAugments.CardAugmentsMod.applyWeightedCardMod(CardAugmentsMod.java:847)
at CardAugments.CardAugmentsMod.rollCardAugment(CardAugmentsMod.java:799)
at CardAugments.patches.OnCardGeneratedPatches$ModifySpawnedCardsPatch.patch(OnCardGeneratedPatches.java:55)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.getRewardCards(AbstractDungeon.java:1866)
at com.megacrit.cardcrawl.rewards.RewardItem.<init>(RewardItem.java:161)
at com.megacrit.cardcrawl.screens.CombatRewardScreen.setupItemReward(CombatRewardScreen.java:89)
at com.megacrit.cardcrawl.screens.CombatRewardScreen.open(CombatRewardScreen.java:370)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:437)
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)
< >
正在显示第 1 - 7 条,共 7 条留言
reswaut  [开发者] 5 月 10 日 下午 10:06 
Hi pgames-food! From what I can tell, this issue is likely caused by other mods.

The crash occurs when the game tries to randomly select a curse (triggered by the Cursed modifier). The game crashes while spawning a curse—likely because other mods disrupted the curse pool. My mod’s Cursed Modifier only triggers the base game’s logic here.

To avoid crashes, you can simply disable the Cursed Modifier.

If you’re open to troubleshooting, here’s how to check if my mod is actually the cause:
  1. If the crash happens again, make sure the crash persists upon continuing your run.
  2. Disable the Cursed modifier and see if the game still crashes. If so, you can send me the new logs.
  3. If the game now stops crashing, obtain the Cursed key and open some chests. If the game crashes when you open a chest, and the my mod isn't mentioned in the logs, then the issue is elsewhere. By default, you can use the
    `
    key to open/close the in-game console. In the console, type in
    relic add Cursed_Key
    to get the cursed key, and
    debug
    to enable/disable debug mode. Once debug mode is enabled (you will see lots of crossed red boxes all over the game screen), you can teleport to any chest rooms by directly clicking on them on the map.
pgames-food 5 月 11 日 下午 5:05 
ah hi, ok thanks for the info, i'll try some more troubleshooting to see

one thing that i just remembered is that i think i have some cards (curse cards) which i had specifically filtered out, i think via a card filter mod, (because those particular curses themselves kept causing actual crashes in the past, and after filtering them i had a fairly stable game in 2024 modpack version - this was before upgrading to the latest game version and mods etc :)
pgames-food 5 月 12 日 下午 10:20 
hi i tried some more testing, and saw that in card filter mod, i only had 1 cursecard disabled (which is the one that says Lose the game lol) and after that, everything worked fine :)

before unblocking that card, the debug mode with cursedkey did crash, so it must have been that.

but i also did try to "Disable the Cursed modifier" as you mentioned, but how do i do this?
i could not find any way to do that :)

(in the main menu > mods > clicking on config/settings for your mod, doesnt bring up any window, and the main Chimera mod doesnt seem to have any option to "Disable the Cursed modifier" so i was not sure how test that bit :)

(im just happy that i can play a run, with several acts so far :) its just that ideally, it would be nice to be able to still disable that 1 cursecard which simply makes you Lose The Game if it is ever played lol because i like to lose via mostly skill and a bit of randomness, not just 1 random game over card :lunar2019piginablanket:
最后由 pgames-food 编辑于; 5 月 12 日 下午 10:21
reswaut  [开发者] 5 月 13 日 上午 7:12 
Hi pgames-food! In Main Menu > Modifiers you can view and disable individual modifiers.
pgames-food 5 月 15 日 下午 1:14 
ah thanks, i must have missed it when i first clicked on mods :)
dvide 5 月 16 日 上午 11:15 
Sorry for off topic but I recognize that exception stack trace and I think Card Filter: Curse Fix will probably help with your crash as well:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3417656017
pgames-food 5 月 16 日 上午 11:47 
ah many thanks @divide thats cool to know, most of the time i was filtering out (this time, the card that says End The Game) and other times mostly cursecards that were causing crashes in general :) so its good to know they can be filtered out again with your mod :)
最后由 pgames-food 编辑于; 5 月 16 日 上午 11:48
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50