Slay the Spire

Slay the Spire

Card Filter
57 Comments
MiL 18 Apr @ 8:36am 
Some modded character have a bigger card collection that doesn't get fully shown by this mod. Is there any way to fix that?
dvide 31 Jan @ 11:28am 
Released a companion mod that hopefully fixes a crash that occurs in this when you filter out curses: https://sp.zhabite.com/sharedfiles/filedetails/?id=3417656017
Mike 18 Jun, 2024 @ 9:56am 
It's very useful when I play character mods!
附加物 9 Jun, 2024 @ 11:32am 
Sometimes, there may be randomly playing all the cards in the character pool, and the selected cards will flash back when filtered,is that a bug?
Bedge 12 Jul, 2023 @ 2:33pm 
thanks for this it lets me remove some objectively bad cards from some popular character mods
Carbon the Wanderer 4 Aug, 2022 @ 2:28pm 
Update, reinstalled the mod to make sure, got the crash again

will make a thread because steam hates me
Carbon the Wanderer 4 Aug, 2022 @ 2:23pm 
Hello. I recently got a crash whenever I tried to get "a random curse." This crash would try to point the system to some "getCursel" function. Removing this mod fixed it. Please investigate this "getCursel" thing.
幾度新涼 11 Nov, 2021 @ 8:58pm 
Thank you so much, love this mod. I subscribed a character mod that's got almost 300 cards. However it can only show first few dozens of cards (I assume it's because there are too many cards), any way to fix that?
Lynbell 15 Oct, 2021 @ 2:53am 
Here is another crash log from Mirror Mist and random curse from Neo
https://cdn.discordapp.com/attachments/802050939686092840/898508757758255104/Crash_log_multiples.docx
Lynbell 12 Oct, 2021 @ 11:28pm 
I'll do a few more and record them for you when I got free time
delish  [author] 12 Oct, 2021 @ 5:16pm 
I'll have to check in on that one. Got another stacktrace for that?
Lynbell 12 Oct, 2021 @ 5:10pm 
Ah thanks for the clarification. It also happens when Neow gives me a random curse.
delish  [author] 12 Oct, 2021 @ 6:08am 
You're right, my mistake. Looking over the stacktrace again, I see it's from a ReplayTheSpire event:

com.megacrit.cardcrawl.mod.replay.events.thebottom.MirrorMist.buttonEffect(MirrorMist.java:1064)

I'm not sure what it's doing in that line, but I suspect my mod is incompatible with that event.
Lynbell 11 Oct, 2021 @ 9:01pm 
No, it's any curse, I tried it a bunch of time and didn't filtered out any base-game curses.
delish  [author] 11 Oct, 2021 @ 8:43pm 
Unfortunately the Serpent event is hardcoded to give you Doubt. If it's filtered, the game will crash on this event.
Lynbell 11 Oct, 2021 @ 7:55pm 
Hey there! It seems like attempting to filter any curse(s) at all and having an event that gives a random curse crashes the game for me. I can't identify if any of the mods I use with has conflicts with it. Here's my crash log on one of the attempts:
https://paste.ee/p/AxedS
delish  [author] 1 Oct, 2021 @ 6:29pm 
mod has been updated. Not thoroughly tested yet, but it's working. If it crashes on you, please include the full stacktrace from ModTheSpire so I can attempt to debug
Trezor 6 Jan, 2021 @ 10:18am 
Hi. I have a bug report, when entering the event from chapter one: "event Mushrooms" it crashes the game to dekstop, ive tested it without any other mods but this one only, and even without any cards disabled from this mod too, have tried to disable only and all but the parasite curse
旅渚Lastcel 24 Aug, 2020 @ 5:40am 
Waiting to see this and the relic filter get updated some day.
thesnowdropman 9 May, 2020 @ 2:58pm 
Any chance this gets updated for watcher?
Einlenzer 27 Jan, 2020 @ 6:45am 
Hope this one will be updated for v2.0
Iduno 19 Jan, 2020 @ 7:39pm 
As far as I can tell, this (and relic filter) cause crashes if the game tries to bring up a card that it isn't allowed to. Which is why they sometimes cause issues with shops (including the ones in ? rooms). I'm not sure what the fix would be.

Also, they aren't updated for the Watcher yet, but that's still new.
Solution 9 Mar, 2019 @ 10:56am 
Really makes you think.
Solution 9 Mar, 2019 @ 10:55am 
Hmmm.
Void_Kitsune 10 Feb, 2019 @ 5:50pm 
this mod has problems. lots of problems.
Cha Cha 10 Feb, 2019 @ 5:19am 
Game won't launch when i have this. The console starts launching goes to the end then just stops.
Mythr1l 7 Feb, 2019 @ 2:36pm 
going to the shop crashes the game
God 7 Feb, 2019 @ 1:44pm 
Going to a store box can crash the game :/
Die Robbe 7 Feb, 2019 @ 9:01am 
With this mod : Total Ram Usage: 96 %
Without this mod: Total Ram Usage 32 %

WTF DID YOU DO
Wario Speedwagon 7 Feb, 2019 @ 7:20am 
Crashes on first victory with ironclad everytime. No other mods running aside from prereqs. I made sure not to veto all of a rarity as well.

FIX: when he says "all of a rarity", what should be said is you need minimums for reward screen and shop screen. e.g at least 3 normal cards for reward, and I believe 4 cards for shop. After I changed my cards to reflect that, I don't crash on rewards and I don't crash entering shop.

Thanks for fun mod.
The Lime of Betrayal 7 Feb, 2019 @ 7:04am 
As soon as I say that, I decide to test out turning off mods that aren't on the Steam workshop that I had enabled, and sure enough, it now properly loads. I don't know which of the mods I turned off was causing the conflict, but it seems to have been because of that that it wasn't properly loading.
The Lime of Betrayal 7 Feb, 2019 @ 6:57am 
Well, I can confirm that it's not the Relic Filter mod at fault. When it gets to the following lines in the launcher, that's when it essentially freezes and I need to force close it, and then wait a few minutes for my computer to get back up to speed:
14:37:02.804 INFO cardFilter.CardFilterMod> CardFilterMod settings data loading
14:37:02.855 INFO cardFilter.CardFilterMod> Initializing card library screen.
14:37:02.879 INFO basemod.BaseMod> registerModBadge : CardFilterMod
14:37:02.879 INFO basemod.ModBadge> initialized mod badge for: CardFilterMod
14:37:02.880 INFO basemod.ModBadge> setup hooks for CardFilterMod mod badge

And, as far as I'm aware, that's what should be happening at that point, but instead slows down and doesn't properly load at that point. I suppose I could send the full log file if there's something you could find in it, but I'm not seeing anything relevant skimming over it myself.
delish  [author] 6 Feb, 2019 @ 7:35pm 
okay I believe I have the curses pool fixed, and Witch mod shouldn't just plain crash now
delish  [author] 6 Feb, 2019 @ 7:11pm 
@scubastevve you're right, and that's something I'll need to fix when I have time.
scubastevve 6 Feb, 2019 @ 2:59pm 
playing as the witch crashes the game immediately, it requests 3 curses from the pool at the start of each fight, but disabling even a single curse crashes the game. I don't know where to post the log so I'll put it here, feel free to delete it.

Exception: java.lang.NullPointerException
22:55:34.424 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.lambda$Insert$0(SoulboundPatch.java:98) ~[StSLib.jar:?]
at java.util.ArrayList.removeIf(ArrayList.java:1405) ~[?:1.8.0_144]
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.Insert(SoulboundPatch.java:98) ~[StSLib.jar:?]
at com.megacrit.cardcrawl.helpers.CardLibrary.getCurse(CardLibrary.java:895) ~[?:?]
ddarkrai 6 Feb, 2019 @ 2:44pm 
Just disabling most cards crashes the game, not all cards for a rarity for me.
cody 6 Feb, 2019 @ 12:45pm 
Disabled parasite curse and game crashes at the stomp mushroom event. It makes sense since the parasite curse is in the event. I will just re enable the card. It would just be a free 20 hp heal if the card disable worked :lunar2019laughingpig:
jpowbrrrr 6 Feb, 2019 @ 7:43am 
I only tried for curses, it doesnt work, i still get hit by curses
The_Mogens 6 Feb, 2019 @ 5:37am 
Most card mods appear with ??? ¿Is that normal?
(Gk) Erasels 5 Feb, 2019 @ 12:32pm 
Nvm, update seems to have fixed it. Thanks!
delish  [author] 5 Feb, 2019 @ 11:15am 
@Erasels I just got finished uploading a new version that fixes card pools resetting on a new act. Let me know if you encounter problems still.
(Gk) Erasels 5 Feb, 2019 @ 11:13am 
Alright, I sung the praises to early. It seems like this mod doesn't work? I tried disabling a bunch of modded cards and they still appear in combat card reward screens.

Mainly from ReplayTheSpire if that affects anything.
delish  [author] 5 Feb, 2019 @ 11:13am 
I believe I've fixed the card pools, so they shouldn't reset on new acts and relics that give cards during combat shouldn't give disabled cards anymore.
delish  [author] 5 Feb, 2019 @ 10:50am 
Ah yes, it looks like the pool resets every new act. I'll be fixing that, too.
delish  [author] 5 Feb, 2019 @ 10:45am 
I've found at least one relic that gives cards during combat can give disabled cards, so I have at least one fix to be made. Let me know if you notice more issues.
delish  [author] 5 Feb, 2019 @ 10:14am 
@GVOLTT Can you turn on the Debug option in BaseMod then watch the output as it's closing? I've got a couple dozen mods, cards disabled, relics disabled, and I don't have long close times.
Nom 5 Feb, 2019 @ 10:00am 
@mrdelish well, it seems to be in the end of the act (like last fight before last camp) but i'll play more to see if i can pinpoint a pattern. I'm playing only with base mod , relic filter and this one.
The Lime of Betrayal 5 Feb, 2019 @ 8:56am 
I don't know if it's this mod or the Relic Filter [leaning this one since there's more cards than relics], but with a ton of other mods active, running one of the mods [if not both] causes my computer to slow to a halt and essentially freeze (not completely, but slow enough that it takes minutes to properly close). I can understand long loading times with mods, but as of right now, this is unrunnable for me when I have many other mods active.
Toon Maniac 5 Feb, 2019 @ 8:48am 
Based
(Gk) Erasels 5 Feb, 2019 @ 8:45am 
Yes! This is essential once you have a lot of mods installed. Too many mods add too much stuff to the base game, diluting the pools, making it hard to get any combos started.

Thank you for making these.