Slay the Spire

Slay the Spire

RNG Fix
24 Comments
Phoenix_Rising Mar 25, 2024 @ 5:38pm 
This is a fabulous mod. I have no idea how to give it star ratings, but I would give it five stars.:Bless_Gloomhaven:
『Sora』 Dec 16, 2023 @ 10:58am 
After testing, I can confirm this mod does indeed conflict with that one. Note to anyone if they have this issue in future.
『Sora』 Dec 15, 2023 @ 8:44am 
I know this is probably quite old to be posting on, but I installed this mod alongside friendly seed fix for Spire With Friends, and while I can't be certain the cause (given I don't have other people available enough to test) Friendly Seed Fix seems to no longer be working, and given the rest of the mods are all just characters and relics, I'm curious if you'd know whether this would be the result of this mod conflicting with it?
TNoName Mar 4, 2023 @ 10:10am 
bad news:they still not fix.
I guess it is to prevent changes from causing incompatibility of old seeds...Or just lazy
Serp May 17, 2022 @ 5:41pm 
talking about rng and seeds:
Just had a complete run with mods to deactive ~25 red cards (so only 50 red cards where active) and with ability to choose between 5 cards each time. Still I never got the normal red cards "seeing red" or "inflame" (they are not deactivated). So without looking at the code, I'm quite sure that the initial seed determines how rare each card in this whole run will be and if it puts 0% or very small chance there, I will not see this card in the entire run.

So I wonder:
1) Is it possible to improve this RNG so I have the same chance for every card of same rarity everytime I can choose cards?
2) If not, is it at least possible to visualize the chances after generating the seed, so I don't need to start a run if the chance for a card I want to play is super low?!
m_a_h_a_r_a_k_u Oct 21, 2021 @ 2:08am 
Love this! Thanks <3 gave it a thumbs up
Nichilas  [author] Aug 11, 2021 @ 3:29pm 
Hi, thank you for your support! Just to answer your question, the star system on steam is just a popularity measurement. If there were more ratings, it'd have more stars, it's got 95% positive ratings, there just aren't enough. Some of my other mods were similar where they have 98% positive ratings, but only 3 or 4 stars because there are certain breakpoints where you just need a certain total number of ratings, regardless of positive or negative, to be given the stars.

I hope that explanation made sense.
裂开logy Aug 11, 2021 @ 7:28am 
Why no stars?! This is definitely needed. pseudo-random shxt, meaning each game is determined in the beginning (restart won't change encounters, start deck and even every draw in every battle!). One cannot even realize the full potential of the deck in a battle that can be won (but is slain because of bad draw).
As a result, some people just make a copy of the save and explore, and roll back to make another series of choices when things go wrong. Also, some may notice minimal real randomness in the game (cards, relics) and use it to produce different ends by trial-and-error... These above doesn't look right to me. Make the game random all the way through so that one don't need to roll back.
beeyee2010 Jun 20, 2021 @ 9:19pm 
I accepted the friend request, ping me whenever. Thanks!
Nichilas  [author] Jun 19, 2021 @ 10:40pm 
Hi, I would be willing to share the repository, but would rather not post it publicly. I have sent you a friend request, if you accept I can share you the link.
beeyee2010 Jun 19, 2021 @ 9:16pm 
Hey, wondering if this is open sourced at all? Apparently a mod I'm working on doesn't play nicely with it. There's no exception, it just affects the RNG that we're trying to filter on. Hoping I can make them work together
some (momi) Apr 1, 2021 @ 6:15pm 
Love it!

While I'm not experienced enough to know the randomization forumlas the base game uses, I'm a person who loves having maximum rng/actual rng; not psuedo-methods.

If it's not entirely random, then it's not random at all.

Thanks for the great mod!
Riah!! Feb 11, 2021 @ 4:59pm 
Light magician just don't install the mod.
TB Jan 5, 2021 @ 1:54pm 
Ah my bad then. Good that people can check the code. I'd be really interested in how it works if there is a blog post anywhere?

"Once you've seen them once" Ah. That's my error, I'll notice tiny little things like that, but without lots of plays, won't see it normalise again. XD

Though, I still suspect the game might be set to give you nothing but troll drops on you the entire time something drops. But that's by design of the stats, with big negatives, not the drop correlation?
Nichilas  [author] Jan 4, 2021 @ 11:17pm 
I'm not sure what you're trying to say in the first paragraph, but to use your analogy of rolling a die, the game effectively simulates that if you roll a 6 on your first monster, you know your first roll on an event will also be a 6. This is not by design, and the devs were surprised and interested to find this out when it was discussed on the server.

The second part of your statement is just you noticing patterns that don't exist. I just looked at the code to be sure, and the boss you see is fully random once you've seen them all once. Similarly for the robbery event.
TB Jan 3, 2021 @ 11:43am 
Nice mod, but little note...It's not a fix, because it's not a "bug". It's by design.
An RNG generator for 2 numbers between 1-6 would give you occasionally two sixes. By design, StS is like a dice, where 2 is opposite 5, and 1 opposite six, and 3 opposite 4. So the "after a enemy, you get a card loss encounter" etc is by design.

As an example, runs that give you lots of gold, have pirates as the first encounter after the boss (so you have a risk of losing gold before getting to the shop). Runs that give you lots of shiv cards, will correlate with the time keeper/hand exhaust boss.
Butterbox Dec 23, 2020 @ 4:31pm 
If you remove these little things then the best players will not have anything to think about. This is coming from someone who sucks.
lightmagician Aug 22, 2020 @ 11:55am 
Randomness takes away from accomplishments. yeah i won, but how much of that was my choices. or the game allowing me to take the right choices. you can still have varience in choices but when the "Right" choice isn't there. {you have 5+ energy a turn but have not seen any draw cards} when you have 10 possible choices but are given Choices 1,3, 4 and 7 you think "well i'll take 7 since it's the best" sure you had a choice but when 3/4 of those where "Bad Choices" did you really?
angelar Aug 3, 2020 @ 6:35pm 
I think to some extent, strange niche behaviors like this are left in the game due to speedrunning and other similar activities. While I don't think this in particular would be very useful to speedrunners, it's the sort of thing where it's like "technically the player could exploit if it they paid extraordinary attention to it" but a vast majority of the time would not, at which point it becomes a question of if it's worth it to bother fixing it. There's obviously much more egregious examples of this, such as the Pandora's Box glitch.
Star Baker Jul 30, 2020 @ 2:09pm 
Woah, interesting.
Nichilas  [author] Jul 29, 2020 @ 12:32pm 
Hi! Yes, you can't do anything by reading the seed. The issue stems from things such as knowing that if you get a shrine your next '?' space will be a monster fight with 90% probability or the like due to the game reusing the same seed rolls.
verserixic Jul 29, 2020 @ 9:24am 
Ah I see after re-reading. The same random sequence runs in parallel so you just memorize a ton of equivalent results between monsters, potions, fights and chests.
verserixic Jul 29, 2020 @ 9:17am 
I'm fine that this exists. But I do have to ask, are you memorizing the sequence of a 64-bit random seed? Because I'd imagine you have to look up the details for this "foreknowledge" to ever come into play. Which makes this less of a bug fix and more of a player fix akin to locking out a cheat mode. Again that's cool. I was just curious if you had really played this enough that you're recognizing 64bit patterns unaided.
Forgotten Arbiter Jul 28, 2020 @ 10:00pm 
I am the person who wrote the linked essay, and I believe this mod properly fixes the RNG bug. Hopefully the devs can patch the base game soon, but until that point, I'll be using this mod.