kiooeht / ModTheSpire

External mod loader for Slay The Spire
MIT License
411 stars 87 forks source link

compile error: no such field: p #173

Open FintajaPlay opened 4 years ago

FintajaPlay commented 4 years ago

Running with debug mode turned ON...

ModVersion Info:

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

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

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

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

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

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

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

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

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

{ 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.modsscreen.SaveBaseModBadges]

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

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.DamageHooks$CalculateCardDamageMulti]

{ basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.DamageHooks$CalculateCardDamageMulti.Insert($0, $$, tmp); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.relics.AbstractRelic.InstantObtainRelicGetHook2]

{ basemod.patches.com.megacrit.cardcrawl.relics.AbstractRelic.InstantObtainRelicGetHook2.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.actions.GameActionManager.OnPlayerLoseBlockToggle]

{ basemod.patches.com.megacrit.cardcrawl.actions.GameActionManager.OnPlayerLoseBlockToggle.InsertPost($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderFixSwitches$RenderOuterGlowSwitch]

{ basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderFixSwitches$RenderOuterGlowSwitch.Insert($0, $$); }

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

{ basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.MaxHandSizePatch$Load.Insert($0, $$, saveFile); }

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

{ basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostDrawHook.Insert($0, $$, c); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.core.AbstractCreature.PlayerMaxHPChange$Decrease]

{ int[] amount = new int[]{amount}; com.evacipated.cardcrawl.modthespire.lib.SpireReturn opt = basemod.patches.com.megacrit.cardcrawl.core.AbstractCreature.PlayerMaxHPChange$Decrease.Insert($0, $$, amount); amount = __amount[0]; if (opt.isPresent()) { return; } }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.UpdateHooks$PostUpdateHook]

{ basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.UpdateHooks$PostUpdateHook.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.RenderHooks$RenderHook]

{ basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.RenderHooks$RenderHook.Insert($0, $$, sb); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.screens.custom.CustomModeScreen.InitializeCharacterButtons]

{ basemod.patches.com.megacrit.cardcrawl.screens.custom.CustomModeScreen.InitializeCharacterButtons.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderDescriptionEnergy$RenderSmallEnergyOrb]

{ float[] start_x = new float[]{start_x}; java.lang.String[] tmp = new java.lang.String[]{tmp}; basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderDescriptionEnergy$RenderSmallEnergyOrb.Insert($0, $$, spacing, i, start_x, draw_y, font, textColor, tmp, gl); start_x = __start_x[0]; tmp = __tmp[0]; }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.DamageHooks$ApplyPowers]

{ float[] tmp = new float[]{tmp}; basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.DamageHooks$ApplyPowers.Insert($0, $$, tmp); tmp = __tmp[0]; }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.AddSwitch]

{ basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.AddSwitch.Insert($$); }

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

{ java.util.HashMap[] params = new java.util.HashMap[]{params}; basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.MaxHandSizePatch$Save.Insert($$, params); params = __params[0]; }

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

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

Patch Class: [basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.GetCardListSwitch]

{ basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.GetCardListSwitch.Insert($$, retVal); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderDescriptionEnergy$AlterEnergyKeyword]

{ basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderDescriptionEnergy$AlterEnergyKeyword.Insert($0, $$, word); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.actions.GameActionManager.GetNextActionHook]

{ basemod.patches.com.megacrit.cardcrawl.actions.GameActionManager.GetNextActionHook.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.screens.SingleCardViewPopup.MissingPortraitFix]

{ com.evacipated.cardcrawl.modthespire.lib.SpireReturn opt = basemod.patches.com.megacrit.cardcrawl.screens.SingleCardViewPopup.MissingPortraitFix.Insert($0, $$, card); if (opt.isPresent()) { return; } }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.EditCharactersHook]

{ basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.EditCharactersHook.Insert($0, $$); }

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

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

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

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

Patch Class: [basemod.patches.com.megacrit.cardcrawl.screens.charSelect.CharacterOption.CtorSwitch]

{ basemod.patches.com.megacrit.cardcrawl.screens.charSelect.CharacterOption.CtorSwitch.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.screens.runHistory.RunHistoryScreen.FixCharacterFilter$ResetRunsDropdown]

{ boolean[] includeMe = new boolean[]{includeMe}; basemod.patches.com.megacrit.cardcrawl.screens.runHistory.RunHistoryScreen.FixCharacterFilter$ResetRunsDropdown.Insert($0, $$, includeMe, data); includeMe = __includeMe[0]; }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.MultiwordKeywords$InitializeDescription]

{ java.lang.String[] word = new java.lang.String[]{word}; basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.MultiwordKeywords$InitializeDescription.Insert($0, $$, word, keywordTmp); word = __word[0]; }

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

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

Patch Class: [basemod.patches.com.megacrit.cardcrawl.screens.options.SettingsScreen.PopupSwitch]

{ basemod.patches.com.megacrit.cardcrawl.screens.options.SettingsScreen.PopupSwitch.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.screens.compendium.CardLibraryScreen.EverythingFix$DidChangeTab]

{ com.megacrit.cardcrawl.cards.CardGroup[] visibleCards = new com.megacrit.cardcrawl.cards.CardGroup[]{visibleCards}; basemod.patches.com.megacrit.cardcrawl.screens.compendium.CardLibraryScreen.EverythingFix$DidChangeTab.Insert($0, $$, visibleCards); visibleCards = __visibleCards[0]; }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.UpdateHooks$PreUpdateHook]

{ basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.UpdateHooks$PreUpdateHook.Insert($0, $$); }

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

{ 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.ui.panels.TopPanel.TopPanelPatches$SetPlayerNamePatch]

{ basemod.patches.com.megacrit.cardcrawl.ui.panels.TopPanel.TopPanelPatches$SetPlayerNamePatch.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.relics.AbstractRelic.InstantObtainRelicGetHook]

{ basemod.patches.com.megacrit.cardcrawl.relics.AbstractRelic.InstantObtainRelicGetHook.Insert($0, $$); }

Patch Class: [basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.ModalChoiceScreenUpdateRender$Update]

{ basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.ModalChoiceScreenUpdateRender$Update.Insert($0, $$); }

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

{ 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