Skip to content

new character template crash #17

Description

@bennewhouse

Hi, I'm consistently getting a crash when I try to load a mod based off the new character template. I've tried a bunch of times to follow the steps and have only made the minimal changes listed before testing. I'll paste the error log below, and can confirm that I have the most recent versions of ModTheSpire, BaseMod, and StSLib running through Steam Workshop, as well as the most recent public version of STS1 running. I've also tried reinstalling everything and running on a different computer. Same issue.

I'm guessing it's relevant that I've also tried using the Dark Vexon Pro Template and I get the exact same error.

Can anyone help?

Version Info:

  • Java version (1.8.0_144)
  • Slay the Spire (12-18-2022)
  • ModTheSpire (3.30.3)
    Mod list:
  • basemod (5.56.0)
  • stslib (2.12.0)
  • wizardmod (0.0.1)

Begin patching...
Patching enums...Done.
Finding core patches...
Finding patches...
Patching Overrides...
Injecting patches...
Patch Class: [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.OnEvokeOrb]

  • Patching [com.megacrit.cardcrawl.characters.AbstractPlayer.evokeWithoutLosingOrb()]
  • 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:318)
    at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:443)
    at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:285)
    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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions