Slay the Spire

Slay the Spire

BaseMod
Bug reports
A place to hopefully store all the bug reports in one place
< >
Showing 31-45 of 58 comments
Shad3Light Feb 1, 2021 @ 11:04pm 
Card Modifier's atEndOfTurn triggers at the end of player's AND monster's turn. Is it the intended behavior? Because the source comment only mentioned player's turn.


/** * triggers at the end of the player's turn. The group passed is the current location of the card at the * time that this method is called. */ public void atEndOfTurn(AbstractCard card, CardGroup group) { }
Hiden Mar 25, 2021 @ 12:42pm 
so when i launch the game with mods and try and play i keep getting
"ERROR: Unable to find dependency 'basemod' for mod 'GifTheSpireLab' "
I have unsub and resub and still get the same Error
Gentlemen May 3, 2021 @ 2:50am 
I load only base mod. Error
ModVersion Info: - Java version (1.8.0_201) - Slay the Spire (12-22-2020) - ModTheSpire (3.20.0) Mod list: - basemod (5.32.2) Begin patching... Patching enums...Done. Finding core patches... Finding patches... Patching Overrides... Injecting patches...Done. Compiling patched classes...Done. Busting enums...Done. Setting isModded = true...Done. Adding ModTheSpire to version...Done. Initializing mods... - BaseMod - basemod.BaseMod libgdx version 1.9.5 09:45:37.690 INFO basemod.BaseMod> initializeGson 09:45:37.754 INFO basemod.BaseMod> initializeTypeMaps 09:45:37.757 INFO basemod.BaseMod> Registered MonsterStrings 09:45:37.764 INFO basemod.BaseMod> Registered PowerStrings 09:45:37.768 INFO basemod.BaseMod> Registered CardStrings 09:45:37.770 INFO basemod.BaseMod> Registered RelicStrings 09:45:37.772 INFO basemod.BaseMod> Registered EventStrings 09:45:37.774 INFO basemod.BaseMod> Registered PotionStrings 09:45:37.776 INFO basemod.BaseMod> Registered CreditStrings 09:45:37.778 INFO basemod.BaseMod> Registered TutorialStrings 09:45:37.780 INFO basemod.BaseMod> Registered KeywordStrings 09:45:37.782 INFO basemod.BaseMod> Registered ScoreBonusStrings 09:45:37.784 INFO basemod.BaseMod> Registered CharacterStrings 09:45:37.787 INFO basemod.BaseMod> Registered UIStrings 09:45:37.789 INFO basemod.BaseMod> Registered OrbStrings 09:45:37.792 INFO basemod.BaseMod> Registered StanceStrings 09:45:37.794 INFO basemod.BaseMod> Registered RunModStrings 09:45:37.796 INFO basemod.BaseMod> Registered BlightStrings 09:45:37.798 INFO basemod.BaseMod> Registered AchievementStrings 09:45:37.799 INFO basemod.BaseMod> initializePowerMap java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.evacipated.cardcrawl.modthespire.Patcher.initializeMods(Patcher.java:47) at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:442) at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:273) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at basemod.BaseMod.initializePowerMap(BaseMod.java:692) at basemod.BaseMod.initialize(BaseMod.java:371) ... 8 more
Abhyo^^ Jun 5, 2021 @ 12:33pm 
Happened while trying to play Spire with Friends, any help?

Version Info:
- Java version (1.8.0_144)
- Slay the Spire (01-23-2019)
- ModTheSpire (3.21.0)
Mod list:
- basemod (5.32.3)

Begin patching...
Patching enums...Done.
Finding core patches...
Finding patches...
java.lang.ArrayIndexOutOfBoundsException: 4
at basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.FixColoredTextOffset$Locator.Locate(FixColoredTextOffset.java:38)
at com.evacipated.cardcrawl.modthespire.patcher.LocatorInfo.findLines(LocatorInfo.java:22)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:491)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:348)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:394)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:273)
at java.lang.Thread.run(Thread.java:748)
wbfw109 Jun 26, 2021 @ 7:17am 
When I am typing "unlock" command and continuously "level" characters, it occurs

Banner RefreshedException in thread "LWJGL Application" java.lang.ArrayIndexOutOfBoundsException: 2
at basemod.devcommands.unlock.Unlock.extraOptions(Unlock.java:42)
at basemod.devcommands.ConsoleCommand.autocomplete(ConsoleCommand.java:90)
at basemod.devcommands.ConsoleCommand.suggestions(ConsoleCommand.java:187)
at basemod.AutoComplete.createCMDSuggestions(AutoComplete.java:324)
at basemod.AutoComplete.suggest(AutoComplete.java:205)
at basemod.DevConsole.setText(DevConsole.java:183)
at basemod.patches.com.megacrit.cardcrawl.helpers.input.ScrollInputProcessor.TextInput$receiveTyping.readKeyboardInput(TextInput.java:111)
at com.megacrit.cardcrawl.helpers.input.ScrollInputProcessor.keyTyped(ScrollInputProcessor.java)
at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:318)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:217)
Last edited by wbfw109; Jun 26, 2021 @ 7:26am
dadragon357 Jul 30, 2021 @ 12:04am 
Im not sure what the problem is, but it was working fine before and no mods have been switched.
Exception in thread "LWJGL Application" java.lang.NullPointerException
at basemod.ModToggleButton.<init>(ModToggleButton.java:39)
at basemod.ModLabeledToggleButton.<init>(ModLabeledToggleButton.java:21)
at basemod.BaseModInit.receivePostInitialize(BaseModInit.java:70)
at basemod.BaseMod.publishPostInitialize(BaseMod.java:2244)
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostInitializeHook.Postfix(PostInitializeHook.java:9)
at com.megacrit.cardcrawl.core.CardCrawlGame.create(CardCrawlGame.java:308)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
WhiteNinjer Oct 28, 2021 @ 7:47pm 
Game crashes on attempted run start with anything from the Duelist Mod (haven't tried anything else yet) the only thing that has changed since I last played it was the 28 Oct update of this mod. Causes a null pointer exception.
Abstract Daddy Oct 30, 2021 @ 4:12pm 
I have no issues loading and using BaseMod by itself, but I can't get my example mod from the tutorial to load. I can see it in MTS, but on start up I get this error:
```
atch Class: [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb]
- Patching [com.megacrit.cardcrawl.characters.AbstractPlayer.evokeNewestOrb()]
- Adding Instrument...
com.evacipated.cardcrawl.modthespire.patcher.PatchingException: javassist.CannotCompileException: [source error] onEvoke(basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$Nested) not found in basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$Nested
at com.evacipated.cardcrawl.modthespire.patcher.InstrumentPatchInfo.doPatch(InstrumentPatchInfo.java:45)
at com.evacipated.cardcrawl.modthespire.Patcher.finalizePatches(Patcher.java:304)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:398)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:273)
at java.lang.Thread.run(Thread.java:748)
Caused by: javassist.CannotCompileException: [source error] onEvoke(basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$Nested) not found in basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$Nested
at javassist.expr.MethodCall.replace(MethodCall.java:241)
at basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$1.edit(OnEvokeOrb.java:33)
at javassist.expr.ExprEditor.loopBody(ExprEditor.java:192)
at javassist.expr.ExprEditor.doit(ExprEditor.java:91)
at javassist.CtBehavior.instrument(CtBehavior.java:712)
at com.evacipated.cardcrawl.modthespire.patcher.InstrumentPatchInfo.doPatch(InstrumentPatchInfo.java:43)
... 4 more
Caused by: compile error: onEvoke(basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$Nested) not found in basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb$Nested
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:749)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:695)
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:330)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.Javac.compileStmnt(Javac.java:567)
at javassist.expr.MethodCall.replace(MethodCall.java:235)
... 9 more
```

The error is complaining about trying to patch the `onEvoke` method ,but it's unrelated to the tutorial mod.
zatchleekh Nov 1, 2021 @ 8:53pm 
Originally posted by oglazirin:
Having this error:

ModVersion Info:
- Java version (1.8.0_144)
- Slay the Spire (null)
- ModTheSpire (3.6.3)
Mod list:
- basemod (5.5.0)
- stslib (1.10.0)
- infinitespire (0.9.2)

Begin patching...
Finding core patches...
Finding patches...
java.lang.NoSuchMethodException: Patch basemod.patches.com.megacrit.cardcrawl.screens.DeathScreen.ForceUnlock:
No method named [calculateUnlockProgress] found on
class [com.megacrit.cardcrawl.screens.DeathScreen]
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:264)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:185)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:199)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:266)
at java.lang.Thread.run(Thread.java:748)


ave you found a way to slove this?
Lynbell Dec 30, 2021 @ 4:17am 
I try to input the Unlock level command on the dev console, but it keeps crashing whenever I reached "Unlock leve" without even finish typing the level word

==============reskin????
5
5
5
5
5
5
6
5
5
5
5
7
5
5
5
2
5
5
5
5
5
5
Exception in thread "LWJGL Application" java.lang.ArrayIndexOutOfBoundsException: 2
at basemod.devcommands.unlock.Unlock.extraOptions(Unlock.java:42)
at basemod.devcommands.ConsoleCommand.autocomplete(ConsoleCommand.java:92)
at basemod.devcommands.ConsoleCommand.suggestions(ConsoleCommand.java:191)
at basemod.AutoComplete.createCMDSuggestions(AutoComplete.java:343)
at basemod.AutoComplete.suggest(AutoComplete.java:223)
at basemod.DevConsole.setText(DevConsole.java:183)
at basemod.patches.com.megacrit.cardcrawl.helpers.input.ScrollInputProcessor.TextInput$receiveTyping.readKeyboardInput(TextInput.java:111)
at com.megacrit.cardcrawl.helpers.input.ScrollInputProcessor.keyTyped(ScrollInputProcessor.java)
at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:318)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:217)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
_charone Jan 30, 2022 @ 8:25pm 
It seems CustomSavable doesn't work correctly on the relics that are added by PostCreatedStartingRelicSubscriber.
Drake Apr 20, 2022 @ 7:06am 
The new update broke Conspire. Since that mod hasn't been updated in years, is this something you can fix?
Log:

Begin patching...
Patching enums...Done.
Finding core patches...
Finding patches...
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy3.clz(Unknown Source)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:434)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:382)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:398)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:285)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: basemod.patches.com.megacrit.cardcrawl.events.NoteForYourself.MissingCard
at com.evacipated.cardcrawl.modthespire.MTSClassLoader.findClass(MTSClassLoader.java:112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.evacipated.cardcrawl.modthespire.MTSClassLoader.loadClass(MTSClassLoader.java:96)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at javassist.bytecode.annotation.MemberValue.loadClass(MemberValue.java:56)
at javassist.bytecode.annotation.ClassMemberValue.getValue(ClassMemberValue.java:89)
at javassist.bytecode.annotation.AnnotationImpl.invoke(AnnotationImpl.java:151)
... 6 more
Adman120 Apr 20, 2022 @ 1:25pm 
Originally posted by Drake:
The new update broke Conspire. Since that mod hasn't been updated in years, is this something you can fix?
Log:

Begin patching...
Patching enums...Done.
Finding core patches...
Finding patches...
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy3.clz(Unknown Source)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:434)
at com.evacipated.cardcrawl.modthespire.Patcher.injectPatches(Patcher.java:382)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:398)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:285)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: basemod.patches.com.megacrit.cardcrawl.events.NoteForYourself.MissingCard
at com.evacipated.cardcrawl.modthespire.MTSClassLoader.findClass(MTSClassLoader.java:112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.evacipated.cardcrawl.modthespire.MTSClassLoader.loadClass(MTSClassLoader.java:96)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at javassist.bytecode.annotation.MemberValue.loadClass(MemberValue.java:56)
at javassist.bytecode.annotation.ClassMemberValue.getValue(ClassMemberValue.java:89)
at javassist.bytecode.annotation.AnnotationImpl.invoke(AnnotationImpl.java:151)
... 6 more
thank you for figuring that out! i was going crazy
pgames-food Apr 28, 2022 @ 4:34pm 
hi i encountered a bug using this and the potion brewer mod:
as far as i can remember, i had been using a newly acquired relic which creates me a rare potion at the start of each combat, (but it had been working fine for almost an entire act incuding boss battle (using the endless mode Lord of Fortification bosses)

but then after completing the act, it went to another endless act (as is usually does), and when the 1st combat of that act started (and i got to a stable state when it was my turn), i saved and quit... (possibly the potion was already given?)

then whenever i try to continue my game, and load it, i get this error ;)
im not sure what causes it, but if i had to guess, maybe something to do with potions?

the only other mod i installed for that playthrough continuation (for several combats) was A Better Reward (but i think that just works on new games at the start)

"
ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at potionbrewer.cards.Prototype.onLoad(Prototype.java:303) ~[Potionbrewer.jar:?]
at potionbrewer.cards.Prototype.onLoad(Prototype.java:27) ~[Potionbrewer.jar:?]
at basemod.abstracts.CustomSavable.onLoadRaw(CustomSavable.java:40) ~[BaseMod.jar:?]
at basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.LoadPlayerSaves.Postfix(LoadPlayerSaves.java:36) ~[BaseMod.jar:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.loadPlayerSave(CardCrawlGame.java:1245) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:801) ~[?:?]
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) [?:?]
"
pgames-food Apr 28, 2022 @ 4:41pm 
(i'll post on the potion brewer too just in case theres an easy fix from their side, but as wasnt sure i politely post to both :)
< >
Showing 31-45 of 58 comments
Per page: 1530 50