Git Product home page Git Product logo

Comments (4)

kiooeht avatar kiooeht commented on July 26, 2024

What version of ModTheSpire?
What mod(s) are you trying to load?
Run ModTheSpire in debug mode and post that log, it provides me more information of which patch is causing the error.

from modthespire.

Rwolder avatar Rwolder commented on July 26, 2024

I'm trying to load BaseMod using the latest version of ModTheSpire (2.3.0) and the latest version of BaseMod.

Debug mode!
Finding core patches...
Finding patches...
Injecting patches...
Patch [com.evacipated.cardcrawl.modthespire.patches.CreditsModList]
Patching [com.megacrit.cardcrawl.credits.CreditsScreen()]
Adding Insert @ r5 (abs:55)...
{
float[] __tmpY = new float[]{tmpY};
com.evacipated.cardcrawl.modthespire.patches.CreditsModList.Insert($0, $$, __tmpY);
tmpY = __tmpY[0];
}
Patch [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 [basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.CustomCardsPatch]
Patching [com.megacrit.cardcrawl.helpers.CardLibrary.initialize()]
Adding Insert @ 233...
{
basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.CustomCardsPatch.Insert($$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostInitializeStarterDeckHookSwitch]
Patching [com.megacrit.cardcrawl.characters.AbstractPlayer.initializeStarterDeck()]
Adding Insert @ 246...
{
java.util.ArrayList[] __cards = new java.util.ArrayList[]{cards};
basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostInitializeStarterDeckHookSwitch.Insert($0, $$, __cards);
cards = __cards[0];
}
Patch [basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.GetCardListSwitch]
Patching [com.megacrit.cardcrawl.helpers.CardLibrary.getCardList(com.megacrit.cardcrawl.helpers.CardLibrary$LibraryType)]
Adding Insert @ 693...
{
basemod.patches.com.megacrit.cardcrawl.helpers.CardLibrary.GetCardListSwitch.Insert($$, retVal);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.CreateCharacterSwitch]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.createCharacter(com.megacrit.cardcrawl.characters.AbstractPlayer$PlayerClass)]
Adding Insert @ 980...
{
java.lang.Object[] __p = new java.lang.Object[]{p};
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.CreateCharacterSwitch.Insert($$, __p);
p = (com.megacrit.cardcrawl.characters.AbstractPlayer)__p[0];
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.EnergyManager.PostEnergyRechargeHook]
Patching [com.megacrit.cardcrawl.core.EnergyManager.recharge()]
Adding Insert @ 39...
{
basemod.patches.com.megacrit.cardcrawl.core.EnergyManager.PostEnergyRechargeHook.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.RenderHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.render()]
Adding Insert @ 395...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.RenderHook.Insert($0, $$, sb);
}
Patch [basemod.patches.com.megacrit.cardcrawl.screens.charSelect.CharacterSelectScreen.InitializeSwitch]
Patching [com.megacrit.cardcrawl.screens.charSelect.CharacterSelectScreen.initialize()]
Adding Insert @ 66...
{
basemod.patches.com.megacrit.cardcrawl.screens.charSelect.CharacterSelectScreen.InitializeSwitch.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderEnergySwitch]
Patching [com.megacrit.cardcrawl.cards.AbstractCard.renderEnergy(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
Adding Insert @ 2545...
{
basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderEnergySwitch.Insert($0, $$, drawX, drawY);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.StartGameHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.startNewGame(com.megacrit.cardcrawl.characters.AbstractPlayer$PlayerClass)]
Adding Insert @ 610...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.StartGameHook.Insert($$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.screens.charSelect.CharacterOption.CtorSwitch]
Patching [com.megacrit.cardcrawl.screens.charSelect.CharacterOption(java.lang.String,com.megacrit.cardcrawl.characters.AbstractPlayer$PlayerClass,java.lang.String,java.lang.String)]
Adding Insert @ 87...
{
basemod.patches.com.megacrit.cardcrawl.screens.charSelect.CharacterOption.CtorSwitch.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostInitializeStarterRelicsHookSwitch]
Patching [com.megacrit.cardcrawl.characters.AbstractPlayer.initializeStarterRelics(com.megacrit.cardcrawl.characters.AbstractPlayer$PlayerClass)]
Adding Insert @ 271...
{
java.util.ArrayList[] __relics = new java.util.ArrayList[]{relics};
basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostInitializeStarterRelicsHookSwitch.Insert($0, $$, __relics);
relics = __relics[0];
}
Patch [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderOuterGlowSwitch]
Patching [com.megacrit.cardcrawl.cards.AbstractCard.renderOuterGlow(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
Adding Insert @ 1237...
{
basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.RenderOuterGlowSwitch.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PreUpdateHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.update()]
Adding Insert @ 649...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PreUpdateHook.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostDrawHook]
Patching [com.megacrit.cardcrawl.characters.AbstractPlayer.draw(int)]
Adding Insert @ 1036...
{
basemod.patches.com.megacrit.cardcrawl.characters.AbstractPlayer.PostDrawHook.Insert($0, $$, c);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PreStartGameHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.update()]
Adding Insert @ 697...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PreStartGameHook.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostUpdateHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.update()]
Adding Insert @ 792...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostUpdateHook.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostRenderHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.render()]
Adding Insert @ 443...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.PostRenderHook.Insert($0, $$, sb);
}
Patch [basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.CreateCardImageSwitch]
Patching [com.megacrit.cardcrawl.cards.AbstractCard.createCardImage()]
Adding Insert @ 844...
{
basemod.patches.com.megacrit.cardcrawl.cards.AbstractCard.CreateCardImageSwitch.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.StartActHook]
Patching [com.megacrit.cardcrawl.core.CardCrawlGame.update()]
Adding Insert @ 778...
{
basemod.patches.com.megacrit.cardcrawl.core.CardCrawlGame.StartActHook.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.rooms.CampfireUI.InitializeButtonsSwitch]
Patching [com.megacrit.cardcrawl.rooms.CampfireUI.initializeButtons()]
Adding Insert @ 71...
{
basemod.patches.com.megacrit.cardcrawl.rooms.CampfireUI.InitializeButtonsSwitch.Insert($0, $$);
}
Patch [basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.InitializeCardPoolsSwitch]
Patching [com.megacrit.cardcrawl.dungeons.AbstractDungeon.initializeCardPools()]
Adding Insert @ 1393...
{
basemod.patches.com.megacrit.cardcrawl.dungeons.AbstractDungeon.InitializeCardPoolsSwitch.Insert($0, $$, tmpPool);
}
javassist.CannotCompileException: [source error] no such field: tmpPool
at javassist.CtBehavior.insertAt(CtBehavior.java:1213)
at javassist.CtBehavior.insertAt(CtBehavior.java:1140)
at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:105)
at com.evacipated.cardcrawl.modthespire.Patcher.finalizePatches(Patcher.java:124)
at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:90)
at com.evacipated.cardcrawl.modthespire.ModSelectWindow.lambda$null$1(ModSelectWindow.java:71)
at java.lang.Thread.run(Unknown Source)
Caused by: compile error: no such field: tmpPool
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)
... 6 more

from modthespire.

kiooeht avatar kiooeht commented on July 26, 2024

Are you using https://github.com/t-larson/BaseMod or https://github.com/daviscook477/BaseMod?
If you're using t-larson's, it is out of date and you should switch to the other.

from modthespire.

Rwolder avatar Rwolder commented on July 26, 2024

You are right, I didn't have the correct version. Thank you!

from modthespire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.