Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to start game #254

Open
chuy19312 opened this issue Apr 4, 2020 · 0 comments
Open

Error when trying to start game #254

chuy19312 opened this issue Apr 4, 2020 · 0 comments

Comments

@chuy19312
Copy link

This is the full logs i got, i'm using the happy holidays release and checked with debug on and off

---------------------------------- Debug Mode Off Log
ModVersion Info:

  • Java version (1.8.0_144)
  • Slay the Spire (null)
  • ModTheSpire (3.6.3)
    Mod list:
  • basemod (5.5.0)

Begin patching...
Finding core patches...
Finding patches...
Patching Overrides...
Injecting patches...
Patch Class: [basemod.patches.whatmod.PlayerPowerTips]

  • Patching [com.megacrit.cardcrawl.core.AbstractCreature.renderPowerTips(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
  • Adding Insert @ r2 (abs:819)...

com.evacipated.cardcrawl.modthespire.patcher.PatchingException: javassist.CannotCompileException: [source error] no such field: p
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:209)
at com.evacipated.cardcrawl.modthespire.Patcher.finalizePatches(Patcher.java:150)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:207)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:266)
at java.lang.Thread.run(Thread.java:748)
Caused by: javassist.CannotCompileException: [source error] no such field: p
at javassist.CtBehavior.insertAt(CtBehavior.java:1213)
at javassist.CtBehavior.insertAt(CtBehavior.java:1140)
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:183)
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:207)
... 4 more
Caused by: compile error: no such field: p
at javassist.compiler.TypeChecker.fieldAccess(TypeChecker.java:845)
at javassist.compiler.TypeChecker.atFieldRead(TypeChecker.java:803)
at javassist.compiler.TypeChecker.atMember(TypeChecker.java:988)
at javassist.compiler.JvstTypeChecker.atMember(JvstTypeChecker.java:66)
at javassist.compiler.ast.Member.accept(Member.java:39)
at javassist.compiler.JvstTypeChecker.atMethodArgs(JvstTypeChecker.java:221)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:735)
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.CtBehavior.insertAt(CtBehavior.java:1192)
... 7 more

---------------------------------- Debug Mode ON Log
Running with debug mode turned ON...

ModVersion Info:

  • Java version (1.8.0_144)
  • Slay the Spire (null)
  • ModTheSpire (3.6.3)
    Mod list:
  • basemod (5.5.0)

Begin patching...
Finding core patches...
Finding patches...
Patching Overrides...
Class: [basemod.abstracts.CustomMonster]

  • Overriding [com.megacrit.cardcrawl.monsters.AbstractMonster.renderDamageRange(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
    Fixing invocations in superclass AbstractMonster...
    @ 929
    Replacing SpireSuper calls...
    @ 127
    { super.renderDamageRange(((com.badlogic.gdx.graphics.g2d.SpriteBatch) $1[0]));
    $_ = null; }
  • Overriding [com.megacrit.cardcrawl.monsters.AbstractMonster.renderIntentVfxBehind(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
    Fixing invocations in superclass AbstractMonster...
    @ 926
    Replacing SpireSuper calls...
    @ 133
    { super.renderIntentVfxBehind(((com.badlogic.gdx.graphics.g2d.SpriteBatch) $1[0]));
    $_ = null; }
  • Overriding [com.megacrit.cardcrawl.monsters.AbstractMonster.renderIntent(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
    Fixing invocations in superclass AbstractMonster...
    @ 927
    Replacing SpireSuper calls...
    @ 139
    { super.renderIntent(((com.badlogic.gdx.graphics.g2d.SpriteBatch) $1[0]));
    $_ = null; }
  • Overriding [com.megacrit.cardcrawl.monsters.AbstractMonster.renderIntentVfxAfter(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
    Fixing invocations in superclass AbstractMonster...
    @ 928
    Replacing SpireSuper calls...
    @ 145
    { super.renderIntentVfxAfter(((com.badlogic.gdx.graphics.g2d.SpriteBatch) $1[0]));
    $_ = null; }
  • Overriding [com.megacrit.cardcrawl.monsters.AbstractMonster.renderName(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
    Fixing invocations in superclass AbstractMonster...
    @ 940
    Replacing SpireSuper calls...
    @ 151
    { super.renderName(((com.badlogic.gdx.graphics.g2d.SpriteBatch) $1[0]));
    $_ = null; }
    Injecting patches...

Patch Class: [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.MaxHandSizePatch$SaveField]

  • Patching [com.megacrit.cardcrawl.saveAndContinue.SaveFile]
  • Adding Field: public java.lang.Integer maxHandSize_479;
    • Copying annotation: @com.google.gson.annotations.SerializedName(value="basemod:max_hand_size")
      {
      if (maxHandSize == null) { maxHandSize = new com.evacipated.cardcrawl.modthespire.lib.SpireField(null); }
      maxHandSize.initialize(com.megacrit.cardcrawl.saveAndContinue.SaveFile.class, "maxHandSize_479");
      }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.ShrinkLongDescription$Scale]

  • Patching [com.megacrit.cardcrawl.cards.AbstractCard]
  • Adding Field: public java.lang.Float descriptionScale_453;
    {
    if (descriptionScale == null) { descriptionScale = new com.evacipated.cardcrawl.modthespire.lib.SpireField(null); }
    descriptionScale.initialize(com.megacrit.cardcrawl.cards.AbstractCard.class, "descriptionScale_453");
    }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ModSaves]

  • Patching [com.megacrit.cardcrawl.saveAndContinue.SaveFile]
  • Adding Field: public basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ModSaves$HashMapOfJsonElement modSaves_191;
    • Copying annotation: @com.google.gson.annotations.SerializedName(value="basemod:mod_saves")
      {
      if (modSaves == null) { modSaves = new com.evacipated.cardcrawl.modthespire.lib.SpireField(null); }
      modSaves.initialize(com.megacrit.cardcrawl.saveAndContinue.SaveFile.class, "modSaves_191");
      }
  • Adding Field: public basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ModSaves$ArrayListOfJsonElement modCardSaves_12;
    • Copying annotation: @com.google.gson.annotations.SerializedName(value="basemod:mod_card_saves")
      {
      if (modCardSaves == null) { modCardSaves = new com.evacipated.cardcrawl.modthespire.lib.SpireField(null); }
      modCardSaves.initialize(com.megacrit.cardcrawl.saveAndContinue.SaveFile.class, "modCardSaves_12");
      }
  • Adding Field: public basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ModSaves$ArrayListOfJsonElement modRelicSaves_301;
    • Copying annotation: @com.google.gson.annotations.SerializedName(value="basemod:mod_relic_saves")
      {
      if (modRelicSaves == null) { modRelicSaves = new com.evacipated.cardcrawl.modthespire.lib.SpireField(null); }
      modRelicSaves.initialize(com.megacrit.cardcrawl.saveAndContinue.SaveFile.class, "modRelicSaves_301");
      }

Patch Class: [com.evacipated.cardcrawl.modthespire.patches.modsscreen.SaveBaseModBadges]

  • Patching [basemod.BaseMod.registerModBadge(com.badlogic.gdx.graphics.Texture,java.lang.String,java.lang.String,java.lang.String,basemod.ModPanel)]
  • Adding Insert @ r8 (abs:699)...

{
com.evacipated.cardcrawl.modthespire.patches.modsscreen.SaveBaseModBadges.Insert($$, badge);
}

Patch Class: [com.evacipated.cardcrawl.modthespire.patches.modsscreen.MainMenuItem]

  • Patching [com.megacrit.cardcrawl.screens.mainMenu.MainMenuScreen.setMainMenuButtons()]
  • Adding Insert @ r4 (abs:147)...

{
int[] __index = new int[]{index};
com.evacipated.cardcrawl.modthespire.patches.modsscreen.MainMenuItem.Insert($0, $$, __index);
index = __index[0];
}

Patch Class: [com.evacipated.cardcrawl.modthespire.patches.CreditsModList]

  • Patching [com.megacrit.cardcrawl.credits.CreditsScreen()]
  • Adding Insert @ r5 (abs:56)...

{
float[] __tmpY = new float[]{tmpY};
com.evacipated.cardcrawl.modthespire.patches.CreditsModList.Insert($0, $$, __tmpY);
tmpY = __tmpY[0];
}

Patch Class: [com.evacipated.cardcrawl.modthespire.patches.DisableGdxForceExit]

  • Patching [com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop()]
  • Adding Insert @ 248...

{
com.evacipated.cardcrawl.modthespire.patches.DisableGdxForceExit.Insert($0, $$);
}

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.ShrinkLongDescription$ShiftSizeLineDescription]

  • Patching [com.megacrit.cardcrawl.cards.AbstractCard.renderDescription(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
  • Adding Insert @ 2049...

{
float[] __draw_y = new float[]{draw_y};
basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.ShrinkLongDescription$ShiftSizeLineDescription.Insert($0, $$, __draw_y);
draw_y = __draw_y[0];
}

Patch Class: [basemod.patches.com.megacrit.cardcrawl.ui.panels.PotionPopUp.PrePotionUseHookTargetMode]

  • Patching [com.megacrit.cardcrawl.ui.panels.PotionPopUp.updateTargetMode()]
  • Adding Insert @ 247...

{
basemod.patches.com.megacrit.cardcrawl.ui.panels.PotionPopUp.PrePotionUseHookTargetMode.Insert($0, $$, potion);
}

Patch Class: [basemod.patches.com.megacrit.cardcrawl.events.Vampires.ReplaceAttacks]

  • Patching [com.megacrit.cardcrawl.events.city.Vampires.replaceAttacks()]
  • Adding Insert @ r8 (abs:122)...

{
basemod.patches.com.megacrit.cardcrawl.events.Vampires.ReplaceAttacks.Insert($0, $$);
}

Patch Class: [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostInitializeStarterRelicsHookSwitch]

  • Patching [com.megacrit.cardcrawl.characters.AbstractPlayer.initializeStarterRelics(com.megacrit.cardcrawl.characters.AbstractPlayer$PlayerClass)]
  • Adding Insert @ r14 (abs:473)...

{
java.util.ArrayList[] __relics = new java.util.ArrayList[]{relics};
basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostInitializeStarterRelicsHookSwitch.Insert($0, $$, __relics);
relics = __relics[0];
}

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.CardGroup.MoveToExhaustPileHook]

  • Patching [com.megacrit.cardcrawl.cards.CardGroup.moveToExhaustPile(com.megacrit.cardcrawl.cards.AbstractCard)]
  • Adding Insert @ r6 (abs:944)...

{
basemod.patches.com.megacrit.cardcrawl.cards.CardGroup.MoveToExhaustPileHook.Insert($0, $$);
}

Patch Class: [basemod.patches.com.megacrit.cardcrawl.ui.panels.PotionPopUp.PostPotionUseHookTargetMode]

  • Patching [com.megacrit.cardcrawl.ui.panels.PotionPopUp.updateTargetMode()]
  • Adding Insert @ 257...

{
basemod.patches.com.megacrit.cardcrawl.ui.panels.PotionPopUp.PostPotionUseHookTargetMode.Insert($0, $$, potion);
}

Patch Class: [basemod.patches.whatmod.MonsterPowerTips]

  • Patching [com.megacrit.cardcrawl.monsters.AbstractMonster.renderTip(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
  • Adding Insert @ r6 (abs:318)...

{
basemod.patches.whatmod.MonsterPowerTips.Insert($0, $$, p);
}
com.evacipated.cardcrawl.modthespire.patcher.PatchingException: javassist.CannotCompileException: [source error] no such field: p
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:209)
at com.evacipated.cardcrawl.modthespire.Patcher.finalizePatches(Patcher.java:150)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:207)
at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:266)
at java.lang.Thread.run(Thread.java:748)
Caused by: javassist.CannotCompileException: [source error] no such field: p
at javassist.CtBehavior.insertAt(CtBehavior.java:1213)
at javassist.CtBehavior.insertAt(CtBehavior.java:1140)
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:183)
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:207)
... 4 more
Caused by: compile error: no such field: p
at javassist.compiler.TypeChecker.fieldAccess(TypeChecker.java:845)
at javassist.compiler.TypeChecker.atFieldRead(TypeChecker.java:803)
at javassist.compiler.TypeChecker.atMember(TypeChecker.java:988)
at javassist.compiler.JvstTypeChecker.atMember(JvstTypeChecker.java:66)
at javassist.compiler.ast.Member.accept(Member.java:39)
at javassist.compiler.JvstTypeChecker.atMethodArgs(JvstTypeChecker.java:221)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:735)
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.CtBehavior.insertAt(CtBehavior.java:1192)
... 7 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant