The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Amazing Chest Ahead
38 kommentarer
Iris Heart  [ophavsmand] 20. mar. 2024 kl. 1:52 
@Guantol thank you, I implemented this change.
Guantol 12. feb. 2024 kl. 4:33 
The mod can sometimes crash the game on room change:
this is what's written in the log file:
[INFO] - Lua stack trace:
[INFO] - [C](-1): HasCollectible
[INFO] - ...aac Rebirth/mods/amazing_chest_ahead_2713661861/main.lua(130): ?
[INFO] - Caught exception, writing minidump...

I looked at the script and I found a for loop that cycles item Id from 1 to 1000 and passes them to player:HasCollectible().

Unofortunately passing non existant Item Ids to HasCollectible leads to undefined behaviour, at best it returns incorrect results and at worst it leads to a game crash (though rarely).

The for loop at line 127 of the main.lua file should be changed to:
for i = 1, Isaac.GetItemConfig():GetCollectibles().Size -1 do
scrimblo bingus 23. nov. 2022 kl. 17:32 
me thinking it's a chest and gets jumpscared by spider
i hate blighttown
Iris Heart  [ophavsmand] 7. aug. 2022 kl. 2:42 
I checked the script, and there is nothing wrong with it. It works for me too, without crashing.

I have 3 guesses:
1. You're somehow running an outdated version, in which case uninstall it, launch the game, quit, and re-install;
2. It conflicts with another mod;
3. Actually a subsection of 2, if you have any mod that create items in the starting room, they might be what causing this.
rainy 7. aug. 2022 kl. 0:56 
My game crashed and I found these in my game log:
[INFO] - Lua stack trace:
[INFO] - [C](-1): HasCollectible
[INFO] - ...aac Rebirth/mods/amazing_chest_ahead_2713661861/main.lua(130): ?
[INFO] - Caught exception, writing minidump...
Viewbob 1. maj 2022 kl. 13:30 
i think the old chest feature should be removed or given a heavily reduced chance as locked chests appear kinda often and also since it could contain a really good item and even an angel room item it could be really op
Iris Heart  [ophavsmand] 15. mar. 2022 kl. 8:03 
Yeah, it gave me a dupe of the item I already had. It seems the issue is on your end.
Iris Heart  [ophavsmand] 15. mar. 2022 kl. 7:51 
I mean, I didn't make it to be this way, it's just my first guess how the game did it on it's own. I would think it would just spawn a dupe of the held item regardless, but I really don't know how can it spawn a Crooked Penny. I just opened a bunch of haunted chests and they all gave me items from the haunted pool. Did you have chaos? Do you have any mods that mess with item pedestals in general?
Standing Cirno Fumo 15. mar. 2022 kl. 7:47 
Not to my knowledge, but replacing items you already had with random stuff feels like a bad way of handling it before the entire pool is exhausted
Iris Heart  [ophavsmand] 15. mar. 2022 kl. 7:31 
Hm... weird. See, items are added into item pool by ID. I just checked, and Crooked Penny ID is definitely not in the pool. So at the moment I don't know how this could've happen. When it happened, did you already have any spooky ghost related items on you?
Standing Cirno Fumo 15. mar. 2022 kl. 6:43 
Haunted Chest item pools seem to be bugged? Sometimes they just don't give a thing from its pool (I just got Crooked Penny from it previously)
Iris Heart  [ophavsmand] 26. feb. 2022 kl. 8:51 
There is no known way to make it achievement dependant unfortunately.
SimicBiomancer 26. feb. 2022 kl. 8:47 
Thanks. Wanted clarity because this seems like a GREAT mod, but I haven't unlocked everything, so I didn't want to have stuff before I'd normally unlock it.
Iris Heart  [ophavsmand] 25. feb. 2022 kl. 22:27 
Yes.
SimicBiomancer 25. feb. 2022 kl. 16:57 
Question. If I use this mod, but don't have Wooden chests unlocked, will they still show up?
Iris Heart  [ophavsmand] 13. feb. 2022 kl. 16:20 
I don't know how.
raine 13. feb. 2022 kl. 16:08 
could you then possibly make it an option for them to appear, like a toggle through the mod config menu mod? sorry if it's too much to ask of you
raine 13. feb. 2022 kl. 16:07 
dang, that's too bad
Iris Heart  [ophavsmand] 13. feb. 2022 kl. 2:10 
Apparently there is no way to check if the wooden chest is unlocked or not, sorry.
raine 13. feb. 2022 kl. 1:58 
thanks, awesome!
Iris Heart  [ophavsmand] 13. feb. 2022 kl. 1:14 
This mod doesn't make haunted chests appear, so you won't see them if you don't have them unlocked. Old chests don't have any unlock requirements. Wooden chests have an unlock requirement, but I currently don't know how I can check for it. I'll ask around, thou.
raine 12. feb. 2022 kl. 17:55 
is there any way to make it so that certain chests only appear if they've been unlocked? maybe a mod config option?
SWE4T & P1XELS 28. jan. 2022 kl. 0:42 
Yea i guess that makes sense actually.
Iris Heart  [ophavsmand] 28. jan. 2022 kl. 0:19 
It's not about visuals. Old chests requires a key to open, like golden one, and wooden doesn't like regular one.
SWE4T & P1XELS 27. jan. 2022 kl. 18:00 
I love this mod because those chests are so rare in-game though I feel like regular chests should become old chests and golden chests should become wooden, not vice versa, but perhaps that's just personal preferance related to visual consistency.
ciao_fiv 26. jan. 2022 kl. 10:08 
fair but they're pretty boring imo. one of my least favorite things in the game
Iris Heart  [ophavsmand] 25. jan. 2022 kl. 13:44 
They are pretty common and are not locked behind beating Mega Satan with one of the hardest characters in the game.
ciao_fiv 25. jan. 2022 kl. 13:19 
why no changes to spiked chests? just like haunted chests they are literally just worse regular chests, they cant drop items. hurt yourself for a few pickups, so fun
Iris Heart  [ophavsmand] 14. jan. 2022 kl. 0:06 
You can open the main.lua file in the mod directory and tweak the odds there. It will hold up until the mod it updated, which I don't see happening in the near future since I did all I wanted with it and there don't seem to be any bugs.
Flair 13. jan. 2022 kl. 18:22 
Lovely addition! Honestly would love to be able to edit some of the values since I'm an RNG freak but I think having more rare chests in general is a great addition to the game.
Iris Heart  [ophavsmand] 13. jan. 2022 kl. 2:01 
Evade Taxes. Thanks.
BosS 12. jan. 2022 kl. 23:38 
whats the modded rock resprite in the Cellar? good mod btw
Iris Heart  [ophavsmand] 10. jan. 2022 kl. 0:56 
Hush.
PeopleLikeStuff 9. jan. 2022 kl. 22:09 
What modded character is that in the screenshots?
Iris Heart  [ophavsmand] 9. jan. 2022 kl. 10:40 
Hey. I have 0 idea how to add mod config support, and that's not something I'd like to spend my limited time pursuing. You can open the lua file and edit the values to your liking or remove parts of the code alltogether.
Sage 9. jan. 2022 kl. 10:24 
Just curious if you have any plans to add mod config support? I would love to be able to change the chances of the chests being replaced to higher or lower or even turning one of them off. If not no worries and thanks for the great mod! :resmile:
GigioPino 9. jan. 2022 kl. 10:21 
Me when Gwynevere
Da7mX (Rayan) 9. jan. 2022 kl. 6:44 
nice