Slay the Spire

Slay the Spire

Skul: The Hero Slayer
 This topic has been pinned, so it's probably important
Svitasch  [developer] 27 Aug, 2023 @ 10:28pm
Bug Reports
They're lurking in there somewhere...mind telling me when you find them?
< >
Showing 1-15 of 48 comments
AgentPhil 12 Sep, 2023 @ 3:44pm 
I think this mod is conflicting with chimera cards.
java.lang.IllegalArgumentException: class com.megacrit.cardcrawl.vfx.cardManip.CardGlowBorder declares multiple JSON fields named scale
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:167)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:97)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:52)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:136)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.access$100(ReflectiveTypeAdapterFactory.java:49)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:106)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:105)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:97)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:136)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.access$100(ReflectiveTypeAdapterFactory.java:49)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:106)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:105)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:97)
at com.google.gson.Gson.getDelegateAdapter(Gson.java:442)
at com.google.gson.typeadapters.RuntimeTypeAdapterFactory.create(RuntimeTypeAdapterFactory.java:217)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:52)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.Gson.toJson(Gson.java:597)
at com.google.gson.Gson.toJsonTree(Gson.java:498)
at basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ConstructSaveFilePatch.Prefix(ConstructSaveFilePatch.java:61)
at com.megacrit.cardcrawl.saveAndContinue.SaveFile.<init>(SaveFile.java:226)
at com.megacrit.cardcrawl.helpers.SaveHelper.saveIfAppropriate(SaveHelper.java:280)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2202)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2119)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.updateFading(AbstractDungeon.java:2848)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2517)
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)
AgentPhil 12 Sep, 2023 @ 4:59pm 
And those were the only mods I was running right there, with their dependencies.
AgentPhil 12 Sep, 2023 @ 5:02pm 
This just started in a recent update. Figured you must've changed something.
Svitasch  [developer] 12 Sep, 2023 @ 7:11pm 
Thanks for the feedback! I just recently fixed this exact error with Momentum, since it was caused by the cardmod I originally used for it trying to reference a card and crashing trying to save.

Do you know if you recently grabbed or used any specific card before this crash showed up? Or if it was any specific chimera modifier on one of the cards causing it?

Edit: I just removed a blank cardmod that wasn't being used but may possibly have caused this error, so if anything's still malfunctioning the only culprit I can think off the top of my head this instant would be maybe a Momentum that you got before the update?
Last edited by Svitasch; 12 Sep, 2023 @ 7:37pm
AgentPhil 12 Sep, 2023 @ 7:46pm 
I pick up a price of power with prepared mod from Neow, immediate hard crash.

java.lang.IllegalArgumentException: class com.megacrit.cardcrawl.vfx.cardManip.CardGlowBorder declares multiple JSON fields named scale
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:167)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:97)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:52)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:136)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.access$100(ReflectiveTypeAdapterFactory.java:49)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:106)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:105)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:97)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:136)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.access$100(ReflectiveTypeAdapterFactory.java:49)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:106)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:105)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:97)
at com.google.gson.Gson.getDelegateAdapter(Gson.java:442)
at com.google.gson.typeadapters.RuntimeTypeAdapterFactory.create(RuntimeTypeAdapterFactory.java:217)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:52)
at com.google.gson.Gson.getAdapter(Gson.java:360)
at com.google.gson.Gson.toJson(Gson.java:597)
at com.google.gson.Gson.toJsonTree(Gson.java:498)
at basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ConstructSaveFilePatch.Prefix(ConstructSaveFilePatch.java:61)
at com.megacrit.cardcrawl.saveAndContinue.SaveFile.<init>(SaveFile.java:226)
at com.megacrit.cardcrawl.helpers.SaveHelper.saveIfAppropriate(SaveHelper.java:280)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2202)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2119)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.updateFading(AbstractDungeon.java:2848)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2517)
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)
Last edited by AgentPhil; 12 Sep, 2023 @ 7:47pm
Svitasch  [developer] 12 Sep, 2023 @ 8:38pm 
I think I found it? It seems like the cardmod for the Slime King relic had an empty card field on it from when I was figuring him out (and made bad choices). I'm guessing Chimera's attempting to save that cardmod for some reason or other, and it's what's causing a crash. So far it seems stable now.

Give me just a few minutes to clean up all the other cardmods before I push the update, and it should be all green from there. Thank a billion for being patient with me! :SkulWitchCat:

Edit: Update's pushed!
Last edited by Svitasch; 12 Sep, 2023 @ 8:52pm
AgentPhil 12 Sep, 2023 @ 8:57pm 
Certainly! I'm actually a programming student so a part of me has recently been interested in making a mod myself (I have a couple ideas... some crueler than others), but I guess time will tell if I decide to dedicate my free time to maintaining and continuously improving something like that.

Edit: Alright, everything's working now! Even on my regular profile with over 130 mods (I have a problem).
Last edited by AgentPhil; 12 Sep, 2023 @ 9:23pm
Svitasch  [developer] 12 Sep, 2023 @ 9:34pm 
If it's any encouragement, the community and modding discord have enough frameworks, resources, and examples that I'm sure you could make what you're looking for without too much struggle! The hard parts are basically actually designing cards, and art unless you're lucky enough to have premade assets.

Cool, I'm glad to hear it! If it could cause a random crash like that, it's good that it was found for futureproofing. And hey, it's only a problem when it causes a problem eh?
MoistSpookyWater 13 Sep, 2023 @ 3:16pm 
Fire! on Davy Jones doesn't work with a dupe potion is that intended? orrr
Svitasch  [developer] 13 Sep, 2023 @ 4:25pm 
Thanks for the bug report!

While it wasn't intentional, with a little bit of rooting around, it looks like Duplication Potion doesn't copy anything that purges with base game purge - pushing a patch now that migrates to StSLib's Purgefield!
Edit: Patch is pushed!

Abyss Orb, Abyss Spike, Throw Head, Recall Head will all now duplicate when played under the appropriate Duplication effects, creating an additional copy in the hand. They purge and replace themselves to function, so they were caught in the crossfire.

Loaded Dice will now duplicate when played under Duplication effects.

Awakening and Fire! will still not duplicate as a now-intentional choice, due to potential damage output outright removing encounters entirely. Their description will update to reflect this!
Last edited by Svitasch; 13 Sep, 2023 @ 4:34pm
MoistSpookyWater 14 Sep, 2023 @ 1:32pm 
Upgraded Fire!s text has a small issue its "skulmod:Bleach" the unupgraded one is fine though
Svitasch  [developer] 14 Sep, 2023 @ 3:39pm 
Oh whoops. Thanks! I'll fix that now, and it should be here along with a bunch of other stuff in the next couple of minutes!
Edit: Update's here!
Last edited by Svitasch; 14 Sep, 2023 @ 3:56pm
AgentPhil 18 Sep, 2023 @ 1:06pm 
When skulsmod is the only mod enabled, even if “enable skulls” is disabled, skulls still show up in other character’s card pools. The log confirms that they are still added to the card pool on generation.
Update: all fixed up now!
Last edited by AgentPhil; 18 Sep, 2023 @ 1:45pm
Svitasch  [developer] 18 Sep, 2023 @ 1:36pm 
Hm...I just fixed the problem causing this yesterday to make sure that all sources are checking the config option.

The person helping me test had to unsub and resub before the change worked, so the update might not be pushing out to everyone properly. Let me push another update with a different version number to see if I can't get the workshop up to speed. It should be out in about 3 minutes!

Edit: Annnd it's pushed!
Last edited by Svitasch; 18 Sep, 2023 @ 1:40pm
Sagil 12 Oct, 2023 @ 5:10am 
When you take lethal damage, Reassembly leaves you alive but on 0 hitpoints, unable to play any cards or end your turn.
Last edited by Sagil; 12 Oct, 2023 @ 5:11am
< >
Showing 1-15 of 48 comments
Per page: 1530 50