Slay the Spire

Slay the Spire

[Relics]RumiaBox(露米娅的神秘盒子)
Towerdepths 11 Apr, 2019 @ 9:14am
Bug Report
I found an error regarding negative values thanks to ChaoDraw that crashes the game at battle start. It looks like there is a problem with the Infinite Spire Pacifist curse when ChaoDraw is being used.

16:10:31.637 INFO basemod.BaseMod> publish start battle
16:10:31.638 INFO powers.AnimatorPower> Applied PlayerStatistics
16:10:31.640 INFO powers.AnimatorPower> Clearing Player Stats
16:10:31.641 INFO unlock.UnlockTracker> Already seen: infinitespire:Pacifist
16:10:31.643 INFO unlock.UnlockTracker> Already seen: infinitespire:Pacifist
16:10:31.645 INFO unlock.UnlockTracker> Already seen: Burn
Exception: java.lang.IllegalArgumentException: n must be positive
16:10:31.654 ERROR core.CardCrawlGame> Exception caught
java.lang.IllegalArgumentException: n must be positive
at com.badlogic.gdx.math.RandomXS128.nextLong(RandomXS128.java:110) ~[desktop-1.0.jar:?]
at com.badlogic.gdx.math.RandomXS128.nextInt(RandomXS128.java:99) ~[desktop-1.0.jar:?]
at com.badlogic.gdx.math.MathUtils.random(MathUtils.java:113) ~[?:?]
at RumiaBox.relics.ChaoDraw.atBattleStart(ChaoDraw.java:60) ~[RumiaBox.jar:?]
at com.megacrit.cardcrawl.characters.AbstractPlayer.applyStartOfCombatLogic(AbstractPlayer.java:2334) ~[?:?]
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:255) ~[?:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2552) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:878) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:429) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [desktop-1.0.jar:?]
Controllers: removed manager for application, 0 managers active
Game closed.
< >
Showing 1-5 of 5 comments
露米娅不工口  [developer] 30 May, 2019 @ 7:51pm 
o(╥﹏╥)o Oh,sorry!I just saw it.Maybe I fixed this bug, did you meet again?
露米娅不工口  [developer] 30 May, 2019 @ 7:57pm 
If your draw pile dont have ATTACK ,SKILL and POWER card atBattleStart, it will be crash.
How did you do it?
Towerdepths 31 May, 2019 @ 4:19pm 
I don't remember, but I do not think I had a Power card when I got that crash. I did not see it again, though.
wbfw109 7 Oct, 2020 @ 10:06pm 
loading error occurs: https://pastebin.com/S74RGVfS
Mod has been crashing on launch for about a week: https://pastebin.com/11hEgN0s
< >
Showing 1-5 of 5 comments
Per page: 1530 50