Slay the Spire

Slay the Spire

6,611 vurderinger
BaseMod
5
13
4
5
2
2
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Api
Filstørrelse
Lagt ut
Oppdatert
7.597 MB
28. des. 2018 kl. 13.03
29. jan. kl. 20.16
92 endringslogger ( vis )

Abonner for å laste ned
BaseMod

Beskrivelse
BaseMod is an open-source API for modding Slay the Spire. It provides an extra layer on top of ModTheSpire's low-level API to make the creation of mods easier.

BaseMod provides such things as:
  • A dev console
  • Adding new characters
  • Adding new cards
  • Adding new relics
  • Adding new potions
  • Adding new events
  • Adding new monsters
  • Hooks for many events (e.g. when max hp changes)

If you're interested in creating mods for Slay the Spire, check out the BaseMod wiki[github.com].

If you'd like to contribute to the code behind BaseMod, visit the project's GItHub repository[github.com].
Populære diskusjoner Vis alle (6)
54
15. mars kl. 20.27
Bug reports
Felix Hellborn
6
7. juli 2022 kl. 3.43
Crash since v5.42.1 on M1 MacBook Air
Circle Lin
2
24. jan. kl. 14.55
How do you solve this issue? BaseMod
zatchleekh
159 kommentarer
kobe 17. juni kl. 22.35 
good
五等分的商鞅 28. apr. kl. 9.08 
good
Allen 19. apr. kl. 9.49 
good:sts_merchant:
Muhahahahaz 21. mars kl. 10.02 
The below was specifically for tabbing right. If I tab left from the first tab, then it just blindly tries to access index “-1” for some reason (in which case, the exception doesn’t mention the size of the tab array at all, since -1 is always invalid)
Muhahahahaz 21. mars kl. 9.56 
(I saved a screenshot, if you need more lines of the stack trace. I was limited by Steam’s character limit… Anyway, it seems like the list of tabs has size zero for some reason?)
Muhahahahaz 21. mars kl. 9.52 
I’m getting a crash in the Compendium for some reason…

If I open the Card Library, and use RB on my controller to tab to the right, the game will crash if I try to tab past the right end of the tab bar (and same thing if I try to tab past the left end), but the base game doesn’t do this — It just loops around

I tried disabling all other mods, but it still happens, even with “BaseMod” as the only mod running. Here’s the error screen:

Cause :
java. Lang. Index@utofBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangecheck(ArrayList. java: 653)
at java.util.ArrayList.get(ArrayList.java:429)
at basemod.patches.com.megacrit.cardcrawl.screens.mainMenu.CoLorTabBar.ColorTabBarFix$Fields.getModTab(
CoLorTabBarFix. java: 53)
at basemod.patches.com.megacrit.cardcrawl.screens.compendium.CardLibraryScreen.EverythingFix$DidChangeT
ab. Insert(EverythingFix.java:130)
at com.megacrit.cardcrawl.screens.compendium.cardLibraryScreen.didChangeTab(CardLibraryScreen.java: 510)
Nilly00 4. mars kl. 13.04 
I just saw that all the creators of the mods I have installed were listed in the credits. Is that an effect of your mod? Because if so: Based af.
Bug Kiooeht  [skaper] 29. jan. kl. 20.18 
Should be fixed now. You may need to unsub and resub to force steam to download it immediately
bandit 29. jan. kl. 19.44 
I'm getting the right click crash as well. So far it happens with multiple modlists that use basemod. I can't right-click at all, it always causes a crash.

Cause:
java.lang.NullPointerException
at basemod.patches.whatmod.CardView.Postfix(CardView.java:34)
at com.megacrit.cardcrawl.screens.SingleCardViewPopup.renderTips(SingleCardViewPopup.java:1793)
at com.megacrit.cardcrawl.screens.SingleCardViewPopup.render(SingleCardViewPopup.java:362)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:455)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126).
BigBlindGuy 29. jan. kl. 19.38 
Hi there, after today's update it seems like anytime I right click on a card to view upgrade it will crash.

Looks like it is impacted from commit: 748a4fedbd2fd45687bc977c9dacce11f4f202c5 in whatmod card view.

Are others having this or potentially something from other mods I am using causing the problem.

Stack trace:

java.lang.NullPointerException
at basemod.patches.whatmod.CardView.Postfix(CardView.java:34)
at com.megacrit.cardcrawl.screens.SingleCardViewPopup.renderTips(SingleCardViewPopup.java:1793)
at com.megacrit.cardcrawl.screens.SingleCardViewPopup.render(SingleCardViewPopup.java:362)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:455)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)