Slay the Spire

Slay the Spire

Skul: The Hero Slayer
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Svitasch  [udvikler] 27. aug. 2023 kl. 22:28
Bug Reports
They're lurking in there somewhere...mind telling me when you find them?
< >
Viser 1-15 af 48 kommentarer
AgentPhil 12. sep. 2023 kl. 15:44 
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 kl. 16:59 
And those were the only mods I was running right there, with their dependencies.
AgentPhil 12. sep. 2023 kl. 17:02 
This just started in a recent update. Figured you must've changed something.
Svitasch  [udvikler] 12. sep. 2023 kl. 19:11 
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?
Sidst redigeret af Svitasch; 12. sep. 2023 kl. 19:37
AgentPhil 12. sep. 2023 kl. 19:46 
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)
Sidst redigeret af AgentPhil; 12. sep. 2023 kl. 19:47
Svitasch  [udvikler] 12. sep. 2023 kl. 20:38 
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!
Sidst redigeret af Svitasch; 12. sep. 2023 kl. 20:52
AgentPhil 12. sep. 2023 kl. 20:57 
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).
Sidst redigeret af AgentPhil; 12. sep. 2023 kl. 21:23
Svitasch  [udvikler] 12. sep. 2023 kl. 21:34 
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 kl. 15:16 
Fire! on Davy Jones doesn't work with a dupe potion is that intended? orrr
Svitasch  [udvikler] 13. sep. 2023 kl. 16:25 
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!
Sidst redigeret af Svitasch; 13. sep. 2023 kl. 16:34
MoistSpookyWater 14. sep. 2023 kl. 13:32 
Upgraded Fire!s text has a small issue its "skulmod:Bleach" the unupgraded one is fine though
Svitasch  [udvikler] 14. sep. 2023 kl. 15:39 
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!
Sidst redigeret af Svitasch; 14. sep. 2023 kl. 15:56
AgentPhil 18. sep. 2023 kl. 13:06 
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!
Sidst redigeret af AgentPhil; 18. sep. 2023 kl. 13:45
Svitasch  [udvikler] 18. sep. 2023 kl. 13:36 
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!
Sidst redigeret af Svitasch; 18. sep. 2023 kl. 13:40
Sagil 12. okt. 2023 kl. 5:10 
When you take lethal damage, Reassembly leaves you alive but on 0 hitpoints, unable to play any cards or end your turn.
Sidst redigeret af Sagil; 12. okt. 2023 kl. 5:11
< >
Viser 1-15 af 48 kommentarer
Per side: 1530 50