Slay the Spire

Slay the Spire

Fabricate: Custom Creation and Runs
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
Pine Colaria  [kehittäjä] 15.3.2023 klo 14.19
Bug Reports
I would recommend using the following template for bug reports:

-----------------------------------------

Describe the bug
A clear and concise description of what the bug is.

Computer Specs:

OS: [e.g. Windows 10, Ubuntu 20.04]
Storefront [e.g. Steam, GOG]
Slay the Spire game version
Mod the Spire version
List of Loaded Mods

Screenshots
If applicable, add screenshots to help explain your problem.

Error
If there was a crash, please attach the crash log of the error (found in the sendToDevs\logs folder in your STS directory).
Viimeisin muokkaaja on Pine Colaria; 5.2.2024 klo 21.49
< >
Näytetään 1-15 / 61 kommentista
I got a copy of a unique card and it didn't upgrade (didn't get second card either)
The Real Steve Harvey lähetti viestin:
I got a copy of a unique card and it didn't upgrade (didn't get second card either)
Got a copy of another unique and I think it might be Library Looter, since a regular card reward worked
I was able to remove Ascender's Bane at a shop.

Also:

Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-18-2022)
- ModTheSpire (3.30.3)
Mod list:
- basemod (5.51.1)
- stslib (2.9.0)
- extendedui (4.0.1)
- pinacolada-fabricate (1.0.2)

Mods in stacktrace:
- pinacolada-fabricate (1.0.2)
Cause:
java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
at pinacolada.skills.fields.PField_CardGeneric.getCardGroup(PField_CardGeneric.java:138)
at pinacolada.skills.fields.PField_CardGeneric.createAction(PField_CardGeneric.java:162)
at pinacolada.skills.fields.PField_CardID.initializeBasicSelect(PField_CardID.java:72)
at pinacolada.skills.fields.PField_CardGeneric.getGenericPileAction(PField_CardGeneric.java:175)
at pinacolada.skills.skills.base.moves.PMove_Transform.use(PMove_Transform.java:99)
at pinacolada.skills.skills.PMultiSkill.use(PMultiSkill.java:367)
at pinacolada.skills.PCond.useFromTrigger(PCond.java:600)
at pinacolada.skills.skills.base.conditions.PCond_Delegate.triggerOnCard(PCond_Delegate.java:64)
at pinacolada.skills.skills.base.conditions.PCond_OnDraw.onCardDrawn(PCond_OnDraw.java:31)
at pinacolada.skills.PSkill.triggerOnDraw(PSkill.java:1525)
at pinacolada.skills.skills.PMultiCond.triggerOnDraw(PMultiCond.java:416)
at pinacolada.cards.base.PCLCard.lambda$triggerWhenDrawn$6(PCLCard.java:2055)
at pinacolada.cards.base.PCLCard.doEffects(PCLCard.java:489)
at pinacolada.cards.base.PCLCard.triggerWhenDrawn(PCLCard.java:2055)
at com.megacrit.cardcrawl.characters.AbstractPlayer.draw(AbstractPlayer.java:2069)
at com.megacrit.cardcrawl.characters.AbstractPlayer.draw(AbstractPlayer.java:2098)
at com.megacrit.cardcrawl.actions.common.DrawCardAction.update(DrawCardAction.java:146)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
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)

I think it's a curse I made that is supposed to, upon draw, to transform random cards in your hand into one of various cards and then shuffle back into your deck. Maybe it's because I drew it first and there was nothing in hand yet? I didn't see anything. Might want to look into that. Maybe I overdid it a bit but it was possible. (Regardless this is really such an amazing mod. Thank you again! I'm having a lot of fun with it.)
I don't have a any crash logs for this, but whenever I try and upload an image from my computer the game freezes. If I tab out and back in the file explorer window shows up (albeit it's the file explorer built into java, and not my computer's file explorer), but the game remains frozen.
I'd like to also note that opening the card folder via. the in game button works fine.

I know this has nothing to do with any permissions the game has with my computer, and without any crash logs I don't really know where the issue is occurring in the first place.
Maybe I'm doing something wrong on my end or not waiting long enough, idk.
Viimeisin muokkaaja on NE0SPACE; 22.3.2023 klo 16.39
Pine Colaria  [kehittäjä] 22.3.2023 klo 18.27 
Rubinlibelle619 lähetti viestin:
I was able to remove Ascender's Bane at a shop.

Also:

Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-18-2022)
- ModTheSpire (3.30.3)
Mod list:
- basemod (5.51.1)
- stslib (2.9.0)
- extendedui (4.0.1)
- pinacolada-fabricate (1.0.2)

Mods in stacktrace:
- pinacolada-fabricate (1.0.2)
Cause:
java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
at pinacolada.skills.fields.PField_CardGeneric.getCardGroup(PField_CardGeneric.java:138)
at pinacolada.skills.fields.PField_CardGeneric.createAction(PField_CardGeneric.java:162)
at pinacolada.skills.fields.PField_CardID.initializeBasicSelect(PField_CardID.java:72)
at pinacolada.skills.fields.PField_CardGeneric.getGenericPileAction(PField_CardGeneric.java:175)
at pinacolada.skills.skills.base.moves.PMove_Transform.use(PMove_Transform.java:99)
at pinacolada.skills.skills.PMultiSkill.use(PMultiSkill.java:367)
at pinacolada.skills.PCond.useFromTrigger(PCond.java:600)
at pinacolada.skills.skills.base.conditions.PCond_Delegate.triggerOnCard(PCond_Delegate.java:64)
at pinacolada.skills.skills.base.conditions.PCond_OnDraw.onCardDrawn(PCond_OnDraw.java:31)
at pinacolada.skills.PSkill.triggerOnDraw(PSkill.java:1525)
at pinacolada.skills.skills.PMultiCond.triggerOnDraw(PMultiCond.java:416)
at pinacolada.cards.base.PCLCard.lambda$triggerWhenDrawn$6(PCLCard.java:2055)
at pinacolada.cards.base.PCLCard.doEffects(PCLCard.java:489)
at pinacolada.cards.base.PCLCard.triggerWhenDrawn(PCLCard.java:2055)
at com.megacrit.cardcrawl.characters.AbstractPlayer.draw(AbstractPlayer.java:2069)
at com.megacrit.cardcrawl.characters.AbstractPlayer.draw(AbstractPlayer.java:2098)
at com.megacrit.cardcrawl.actions.common.DrawCardAction.update(DrawCardAction.java:146)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
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)

I think it's a curse I made that is supposed to, upon draw, to transform random cards in your hand into one of various cards and then shuffle back into your deck. Maybe it's because I drew it first and there was nothing in hand yet? I didn't see anything. Might want to look into that. Maybe I overdid it a bit but it was possible. (Regardless this is really such an amazing mod. Thank you again! I'm having a lot of fun with it.)


The crash should be fixed for the next version.

As for the Ascender's Bane removal, are you referring to the base game card, or the example card based off of it that is available in from the "Load Existing" menu?
Pine Colaria  [kehittäjä] 22.3.2023 klo 20.28 
NE0SPACE lähetti viestin:
I don't have a any crash logs for this, but whenever I try and upload an image from my computer the game freezes. If I tab out and back in the file explorer window shows up (albeit it's the file explorer built into java, and not my computer's file explorer), but the game remains frozen.
I'd like to also note that opening the card folder via. the in game button works fine.

I know this has nothing to do with any permissions the game has with my computer, and without any crash logs I don't really know where the issue is occurring in the first place.
Maybe I'm doing something wrong on my end or not waiting long enough, idk.

When Fabricate saves images, it tries to downscale the card image with a higher quality method that can increase processing times. I am guessing that it may have issues on certain computers, but since there are no crash logs, there is unfortunately not much I can do on my end about this issue.

In the mean time, if you wish to use card images, you can place a PNG file in your custom card folder whose name is the ID of the card you wish to use the image for (i.e. if your card's file is PCLC_RED_0JJ9.json, your image should be named PCLC_RED_0JJ9.png). The image should be 500x380 in size.
Piña Colada lähetti viestin:
As for the Ascender's Bane removal, are you referring to the base game card, or the example card based off of it that is available in from the "Load Existing" menu?

The base game card. I tend to play custom runs with A20. And in a shop I was able to remove the Ascender's Bane you start with. Maybe it has to do with this new custom mechanic/keyword "Soulbound" since the base game card doesn't have that or rather that it is not yet "updated" with the new mechanic/keyword.

Also thanks for looking into and fixing the other issue.
Pine Colaria  [kehittäjä] 22.3.2023 klo 21.39 
That is weird. Soulbound is actually included with StsLib, so I don't think Soulbound is the issue. I'll keep an eye out for it.

Could I ask if you are playing with any other mods, though? It's possible that there could be conflicts that are causing this issue.
I'm currently playing with only the necessary ones like you can see in the crash log:

- basemod (5.51.1)
- stslib (2.9.0)
- extendedui (4.0.1)
- pinacolada-fabricate (1.0.2)

I also just tested it out with basemod, stslib and basemod, stslib, extendedui. With those it's normal and it doesn't show up. But with fabricate it shows up in the card removal, can be selected, and does get removed.
10:57:12.004 INFO core.CardCrawlGame> Exception occurred in CardCrawlGame render method! 10:57:12.005 ERROR core.CardCrawlGame> Exception caught java.lang.NullPointerException: null 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.cards.AbstractCard.renderHelper(AbstractCard.java:1458) ~[?:?] at com.megacrit.cardcrawl.cards.AbstractCard.renderTint(AbstractCard.java:1322) ~[?:?] at pinacolada.cards.base.PCLCard.renderTint(PCLCard.java:2449) ~[?:?] at pinacolada.cards.base.PCLCard.render(PCLCard.java:1429) ~[?:?] at pinacolada.cards.base.PCLCard.render(PCLCard.java:1956) ~[?:?] at pinacolada.ui.cardEditor.PCLCustomCardEditCardScreen.render(PCLCustomCardEditCardScreen.java:377) ~[Fabricate.jar:?] at pinacolada.ui.cardEditor.PCLCustomCardSelectorScreen.renderImpl(PCLCustomCardSelectorScreen.java:369) ~[Fabricate.jar:?] at extendedui.EUI.render(EUI.java:519) ~[ExtendedUI.jar:?] at extendedui.patches.CardCrawlGamePatches$CardCrawlGame_Render.insert(CardCrawlGamePatches.java:34) ~[ExtendedUI.jar:?] at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:452) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?] 10:57:12.017 INFO core.CardCrawlGame> PAUSE() 10:57:12.017 INFO core.CardCrawlGame> Game shutting down... 10:57:12.018 INFO core.CardCrawlGame> Flushing saves to disk... 10:57:12.018 INFO core.CardCrawlGame> Shutting down controller handler... 10:57:12.018 INFO helpers.FileSaver> Save thread interrupted! 10:57:12.018 INFO core.CardCrawlGame> Shutting down publisher integrations... 10:57:12.018 INFO helpers.FileSaver> Save thread will die now. 10:57:12.023 INFO core.CardCrawlGame> Flushing logs to disk. Clean shutdown successful. 10:57:12.040 INFO extendedui.STSEffekseerManager> Terminated STSEffekseerManager

I tried to make a summon and the game crashed :(

(also didn't say before I don't think, so, cool mod, I think I made an entire new synergy for the defect lol)
Pine Colaria  [kehittäjä] 23.3.2023 klo 11.49 
The Real Steve Harvey lähetti viestin:
10:57:12.004 INFO core.CardCrawlGame> Exception occurred in CardCrawlGame render method! 10:57:12.005 ERROR core.CardCrawlGame> Exception caught java.lang.NullPointerException: null 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.cards.AbstractCard.renderHelper(AbstractCard.java:1458) ~[?:?] at com.megacrit.cardcrawl.cards.AbstractCard.renderTint(AbstractCard.java:1322) ~[?:?] at pinacolada.cards.base.PCLCard.renderTint(PCLCard.java:2449) ~[?:?] at pinacolada.cards.base.PCLCard.render(PCLCard.java:1429) ~[?:?] at pinacolada.cards.base.PCLCard.render(PCLCard.java:1956) ~[?:?] at pinacolada.ui.cardEditor.PCLCustomCardEditCardScreen.render(PCLCustomCardEditCardScreen.java:377) ~[Fabricate.jar:?] at pinacolada.ui.cardEditor.PCLCustomCardSelectorScreen.renderImpl(PCLCustomCardSelectorScreen.java:369) ~[Fabricate.jar:?] at extendedui.EUI.render(EUI.java:519) ~[ExtendedUI.jar:?] at extendedui.patches.CardCrawlGamePatches$CardCrawlGame_Render.insert(CardCrawlGamePatches.java:34) ~[ExtendedUI.jar:?] at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:452) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?] at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?] 10:57:12.017 INFO core.CardCrawlGame> PAUSE() 10:57:12.017 INFO core.CardCrawlGame> Game shutting down... 10:57:12.018 INFO core.CardCrawlGame> Flushing saves to disk... 10:57:12.018 INFO core.CardCrawlGame> Shutting down controller handler... 10:57:12.018 INFO helpers.FileSaver> Save thread interrupted! 10:57:12.018 INFO core.CardCrawlGame> Shutting down publisher integrations... 10:57:12.018 INFO helpers.FileSaver> Save thread will die now. 10:57:12.023 INFO core.CardCrawlGame> Flushing logs to disk. Clean shutdown successful. 10:57:12.040 INFO extendedui.STSEffekseerManager> Terminated STSEffekseerManager

I tried to make a summon and the game crashed :(

(also didn't say before I don't think, so, cool mod, I think I made an entire new synergy for the defect lol)

This crash should be fixed with the hotfix I just put out.
Pine Colaria  [kehittäjä] 23.3.2023 klo 12.03 
Rubinlibelle619 lähetti viestin:
Piña Colada lähetti viestin:
As for the Ascender's Bane removal, are you referring to the base game card, or the example card based off of it that is available in from the "Load Existing" menu?

The base game card. I tend to play custom runs with A20. And in a shop I was able to remove the Ascender's Bane you start with. Maybe it has to do with this new custom mechanic/keyword "Soulbound" since the base game card doesn't have that or rather that it is not yet "updated" with the new mechanic/keyword.

Also thanks for looking into and fixing the other issue.

The ascender's bane issue should be fixed now.
Linear upgrade path isn't working and is removing itself from my cards
Pine Colaria  [kehittäjä] 25.3.2023 klo 11.49 
The Real Steve Harvey lähetti viestin:
Linear upgrade path isn't working and is removing itself from my cards

Can you send me the JSON for your card?
I'm trying to put the json in here, but steam's telling me the message is too big. I heard there's a discord?
< >
Näytetään 1-15 / 61 kommentista
Sivua kohden: 1530 50