Slay the Spire

Slay the Spire

Lazy Man's Kits
42 Comments
yumatoamino 5 Jun @ 5:27am 
I want to play shadowverse the spire but it wont
Comrade Guin 28 Aug, 2023 @ 6:42am 
incompatible with The Packmaster, any shot this could be fixed?
_charone  [author] 8 May, 2023 @ 7:53pm 
@SandTag what mods were you running
SandTag 8 May, 2023 @ 2:52pm 
java.lang.NoSuchFieldException: clearDrawHistory
at java.lang.Class.getDeclaredField(Class.java:2070) ~[?:1.8.0_144]
at rs.lazymankits.patches.hooks.PlayerDrawCardHook$ModifyDrawCardAmountPatch.Prefix(PlayerDrawCardHook.java:69) ~[%5BSTS%5DLazy%20Man's%20Kits.jar:?]
at com.megacrit.cardcrawl.actions.common.DrawCardAction.update(DrawCardAction.java) ~[?:?]
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179) ~[?:?]
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325) ~[?:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?]
十亿光年 31 Mar, 2023 @ 5:12am 
Cause:
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at rs.winds.monsters.SEVMonsterEditorManaged$SpireShieldSE.lambda$null$5(SEVMonsterEditorManaged.java:3243)
at rs.lazymankits.actions.utility.QuickAction.update(QuickAction.java:46)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126
十亿光年 31 Mar, 2023 @ 5:12am 
打死矛会crash
Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-18-2022)
- ModTheSpire (3.30.3)
Mod list:
- basemod (5.51.1)
- stslib (2.9.0)
- loadout (0.8.5)
- LazyManKits (1.4.7)
- actlikeit (1.2.7)
- StrongEnemies (1.3.5)
- RelicUpgradeLib (1.0.1)
- RelicUpgradeMOD_OPM (1.0.2)
- testmod (5.12.2)
_charone  [author] 8 Feb, 2023 @ 8:07am 
@dEVoRaTriX_LuX the other is that you're playing DTMod in a language that the mod has no corresponded strings, or rather, a proper character's strings
_charone  [author] 8 Feb, 2023 @ 8:03am 
@dEVoRaTriX_LuX haven't read DTMod's code yet, but high chance is that it's because DTMod coded its character not in so standardized way that the game couldn't find the character's localized name. anyway, i'll avoid getting a character's localized name in next update. you can turn off this mod when playing DTMod.
Comrade Guin 8 Feb, 2023 @ 7:46am 
nope still crashes
https://pastebin.com/86434YxN
_charone  [author] 5 Feb, 2023 @ 5:56am 
@dEVoRaTriX_LuX it may be fixed now
Comrade Guin 5 Feb, 2023 @ 5:00am 
Mods in stacktrace:
- DTMod (1.2.1)
- LazyManKits (1.4.6)
Cause:
java.lang.NullPointerException
at rs.lazymankits.listeners.tools.CreatureStatus.assignPlayerProperties(CreatureStatus.java:63)
at rs.lazymankits.listeners.tools.CreatureStatus.<init>(CreatureStatus.java:55)
at rs.lazymankits.listeners.tools.TurnStatus.assignCurrentCreatureStatus(TurnStatus.java:27)
at rs.lazymankits.listeners.tools.TurnStatus.<init>(TurnStatus.java:15)
at
Comrade Guin 5 Feb, 2023 @ 5:00am 
rs.lazymankits.listeners.TurnEventListener.TriggerStartOfTurnEvents(TurnEventListener.java:86)
at rs.lazymankits.LManager.ReceiveOnTurnStart(LManager.java:122)
at rs.lazymankits.patches.hooks.TurnStartHook$TurnStart.Prefix(TurnStartHook.java:27)
at com.megacrit.cardcrawl.core.AbstractCreature.applyStartOfTurnPowers(AbstractCreature.java)
at TheDT.characters.DragonTamer.applyStartOfTurnPowers(DragonTamer.java:458)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:315)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Comrade Guin 5 Feb, 2023 @ 4:51am 
not compatible with the dragon tamer
_charone  [author] 28 Jan, 2023 @ 4:59am 
@Null 不要同时开。
Null 28 Jan, 2023 @ 4:38am 
Bug报告:经过排除,确定同时开启本mod和脑叶公司mod时,脑叶mod中所有异想体卡牌描述无法正常解锁或左右翻页(仅含单页描述的卡牌除外)
Lord Cameron 21 Jan, 2023 @ 8:16am 
It works!
_charone  [author] 20 Jan, 2023 @ 7:52pm 
@Lord Cameron it may be fixed
Lord Cameron 20 Jan, 2023 @ 2:43pm 
Incompatibility with the Packmaster:

Originally posted by Lord Cameron:
Game crashes when I click on the hats button on main screen:

rs.lazymankits.utils.IndicatorMode$DarkenInoptionalCrtPatch$RenderInoptPlayerPatch.Prefix(IndicatorMode.java:257) ~[%5BSTS%5DLazy%20Man's%20Kits.jar:?]
This seems like a lazymankits mod issue. We create a player on the character select screen and they assume whenever a player exist, it's in a run.
The World 6 Jan, 2023 @ 6:33pm 
at com.megacrit.cardcrawl.core.OverlayMenu.update(OverlayMenu.java:71)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2649)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
The World 6 Jan, 2023 @ 6:33pm 
rs.winds.monsters.SEVMonsterEditorManaged$SpireShieldSE.lambda$Edit$7(SEVMonsterEditorManaged.java:3181)
at rs.winds.monsters.MonsterEditor.postUpdate(MonsterEditor.java:61)
at com.megacrit.cardcrawl.monsters.ending.SpireShield.update(SpireShield.java)
at loadout.screens.MonsterSelectScreen$MonsterButton.update(MonsterSelectScreen.java:206)
at loadout.screens.MonsterSelectScreen.updateList(MonsterSelectScreen.java:450)
at loadout.screens.AbstractSelectScreen.update(AbstractSelectScreen.java:227)
at loadout.relics.BottledMonster.update(BottledMonster.java:132)
The World 6 Jan, 2023 @ 6:33pm 
Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (12-18-2022)
- ModTheSpire (3.30.0)
Mod list:
- basemod (5.48.0)
- stslib (2.6.1)
- actlikeit (1.2.7)
- LazyManKits (1.3.1)
- loadout (0.6.5)
- StrongEnemies (1.0.8)

Mods in stacktrace:
- LazyManKits (1.3.1)
- StrongEnemies (1.0.8)
- loadout (0.6.5)
Cause:
java.lang.NullPointerException
at rs.lazymankits.utils.LMSK.GetAllExptMstr(LMSK.java:102)
at rs.winds.monsters.SEVMonsterEditorManaged$SpireShieldSE.alone(SEVMonsterEditorManaged.java:3195)
_charone  [author] 31 Aug, 2022 @ 8:24pm 
@Newbiespud Got it fixed already that unchecking view upgrade doesn't revert the card but it comes in next update. The portrait changes are mostly written in the mods which they do this in their own code and i may not fix it.
Newbiespud 23 May, 2022 @ 10:18pm 
Unchecking "View Upgrade" in single card view does not visually revert the card. Also, if an upgrade's effects also changes the card's portrait, the single card view does not change to reflect that.
wbfw109 13 May, 2022 @ 5:16pm 
@阮矤
I checked the change notes. Thanks!
_charone  [author] 10 May, 2022 @ 4:58pm 
@wbfw109 Only if there's a screen for ONLY ONE CARD to upgrade can player choose a branch, which's due to vanilla game's code. That means upgrade actions such as frozen egg will not allow player to choose a branch, it's some of hard coded in vanilla game.
I may add a option to decide if a card will randomly choose the branch when it comes to such upgrades.
Also, the command for adding a branch to deck will be added later.
wbfw109 10 May, 2022 @ 4:47pm 
How do I add other branch card into Deck on upgraded Card rewards screen?
also When I have one of relics (molten egg, toxic egg, frozen egg), I can not choose one.

Any command exists to choose and add branch card into Deck?
_charone  [author] 10 Aug, 2021 @ 2:16am 
@Crimson 这个语法运行上都说不通的错误,估计是废墟mod乱改了什么东西,改得又不规范:steamfacepalm:( 做了点兼容,要是还报错那就没法了,估计只能是请oracle改java底层了。
Crimson 10 Aug, 2021 @ 1:07am 
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325) ~[?:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:871) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:419) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [?:?]
Controllers: removed manager for application, 0 managers active
Crimson 10 Aug, 2021 @ 1:07am 
05:11:48.774 ERROR core.CardCrawlGame> Exception caught
java.lang.NoSuchFieldException: powerToApply
at java.lang.Class.getDeclaredField(Class.java:2070) ~[?:1.8.0_144]
at rs.lazymankits.patches.fixes.StackExtraPowerAmountFix$ApplyPowerActionStackPowerFix.Insert(StackExtraPowerAmountFix.java:18) ~[%5BSTS%5DLazy%20Man's%20Kits.jar:?]
at com.megacrit.cardcrawl.actions.common.ApplyPowerAction.update(ApplyPowerAction.java:219) ~[?:?]
at ruina.actions.ApplyPowerActionButItCanFizzle.update(ApplyPowerActionButItCanFizzle.java:33) ~[Ruina.jar:?]
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179) ~[?:?]
Crimson 10 Aug, 2021 @ 1:05am 
请问能看一看和废墟mod的兼容性问题吗
在废墟第一关和着魔的职员打了几回合就崩溃了
装了这些mod
Mod list:
- basemod (5.33.1)
- stslib (1.23.0)
- actlikeit (1.2.7)
- LazyManKits (1.0.43)
- ruina (3.4.0)
- DawdlerMod (1.2.4)
_charone  [author] 9 Aug, 2021 @ 9:17am 
@燃烧的通心粉 看过了 确实是幻想乡写法和正常写法有点出入。做了点兼容算法,但有可能又和哪个和幻想乡写法又有差异的冲突就是了,建议Mod别多开。
酱香可可可爱爱莉酱mWs 9 Aug, 2021 @ 8:14am 
1.只开了必要的前置mod和custom start(方便快速打到BOSS),试了多个角色很多次基本确定是本mod问题。
2.本mod是“妖精巫师角色Mod”的前置,我是在玩这个mod时候意外发现了这个bug。而且幻想乡mod也是很热门的mod,也是少有的改变关卡敌人的mod,我觉得最好还是做下兼容。
_charone  [author] 9 Aug, 2021 @ 6:37am 
@燃烧的通心粉 顺带一提,幻想乡mod不需要此mod作为前置依赖。
_charone  [author] 9 Aug, 2021 @ 6:34am 
@燃烧的通心粉 请先确定是本mod的问题(单开幻想乡和这个mod,以及所需的前置),其他mod的算法问题、乱用方法等行为导致的错误我一概不管。如果确定是本mod的问题,详细描述bug的现象,包括但不限于你打出了什么牌,你做了什么,目标做了什么之类的。
酱香可可可爱爱莉酱mWs 9 Aug, 2021 @ 5:22am 
汇报个bug:同时用本mod和幻想乡mod,会导致八云紫BOSS的“不稳定境界”状态效果从本来的反转力量(正负反转)变成了翻倍力量。
pgames-food 28 Jul, 2021 @ 10:17am 
(anything you can do i will be grateful, and you dont have to do anything else,, it is just that there might actually be a lot of people who love Slay the Spire, and are creative, but they do not know enough to make a mod, and given the chance, they might create cool stuff with some guidance) :)
pgames-food 28 Jul, 2021 @ 10:15am 
in my recycling mod, i actually use just 1 container, and 1 recipe, but it adds a lot of variety since i do it in 100 different ways, with different pictures too :) so its not as boring.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1825360426
pgames-food 28 Jul, 2021 @ 10:00am 
ah ok thanks for the info, i will take a closer look
i just get tons of ideas for cool cards and relics :)

IF player gets gold in Current Turn > trigger something
etc :)
_charone  [author] 25 Jul, 2021 @ 9:25pm 
@pgames-food I have already added a xml card system a few versions ago (read the change notes please) and there's an example shows how to create a xml of card datas.

However you have to understand that Sts's game system is different from rimworld's, you can set the basic defaults such as cost, damage and something else in xml but the way card behaves in the game mainly depends on its use(AbstractPlayer p, AbstractMonster m) method (and some others) where you have code on your own to exactly make the card have its own effect.

I can, of course, add some fixed effects in xml based on the vanllia cards and let card read the data to act but there will be a lot of boring cards like Strike Plus, Defense Plus, Bash Plus, or better, Survivor Plus most of which just make the game boring and more boring.
pgames-food 25 Jul, 2021 @ 2:04pm 
hi, i posted this on BeanShell, but do you know if there is any way for a mod, to read a text file, (like xml), and import cards and relics?

for example, i would love to add new cards and relics for slay the spire, but it is not like rimworld (which uses mainly xml).

is there a way to make a mod, that allows users to simply use a text file / xml file template, and the mod can inject them into the game?

such as:
card_title="new card name"
card_cost="2"
upgraded_card_cost="1"
card_text="Deal 9 Damage to a target"
upgraded_card_text="Deal 9 Damage to a target Plus Strength)
card_keywords="any_target+regular_damage+upgraded_regular_damage&strength"
_charone  [author] 24 Jul, 2021 @ 6:00am 
yep i've noticed there are some functions that basemod and stslib have supplied, most of which were created before i had a look on their documents :lunar2019crylaughingpig:
...anyway in the future i may delete these repeated functions to make it neater
(Gk) Erasels 24 Jul, 2021 @ 3:19am 
Hey, took a look at your code, looks pretty neat.

If you want to be even lazier I'd recommend taking a look at the subscribers BaseMod and the hooks StSLib supply. You have a decent amount of redundant code in here that's already covered by those.