Noita
Persistence
89 条留言
Fox  [作者] 10 月 31 日 下午 1:16 
(Sorry for split, Steam limits comment length.)
Fox  [作者] 10 月 31 日 下午 1:15 
If I'm wrong, please by all means correct me, but I cannot see how to attach ZeroBrane to a running normal process.

The next problem beyond even that is, in Linux, Noita runs inside Proton..so whichever debugger would have to attach to Proton, hunt out Wine, hunt out Noita, hunt out Lua, and then hook to the Windows version of the Lua engine....while running on Linux.

I'm very frustrated, and I really appreciate any attempts to help.
Fox  [作者] 10 月 31 日 下午 1:15 
Specifically for Noita, on Windows, the game runs in the Falling Everything engine, which runs a Lua engine, which runs mods. Decoda, on Windows, is able to hunt through (supposedly) ANY game engine, and connect with (in this case) the Lua INSIDE inside Noita's Falling Everything engine.

From what I understand/see/can find, ZeroBrane Studio can debug specifically a Lua script running as its own process inside a Lua engine acting standalone. It seems to be built to debug Lua-as-an-application, not lua-as-a-subprocess.
Fox  [作者] 10 月 31 日 下午 1:15 
@Ghosticus - Thank you for reaching out. I had not heard of ZeroBrane Studio, so I did check it out just now. I was very excited because it seemed to have all of the right features, but unless I misunderstand, it won't quote work. I'll explain;

Decoda has a unique feature. It can debug the Lua code running inside a captive Lua engine running inside ANY* game. From within Decoda, the main executable for the game/program/whatever is selected and launched, and when Decoda finds a Lua engine running as a subprocess, it connects to it as a debugger, and creates a UI entry for every script which the engine loads and runs, allowing breakpoints, inspection of local and global variables, and even runtime code modification on some engines. I don't really understand HOW it does so, but it works with any game which runs Lua inside itself.
Ghosticus 10 月 30 日 上午 10:17 
@Fox - Have you looked into ZeroBrane Studio? It supports Linux.
Fox  [作者] 10 月 23 日 下午 12:33 
@Anothername - Every time I think I've fixed that bug, I stop hearing about it for just long enough to think it's really gone. Unfortunately, it's incredibly difficult to reproduce for me, for whatever reason, and I don't know how to restore function to a save once it happens because I haven't been able to reproduce it. Closing and restarting the game should rebuild the internal information Persistence uses to handle this stuff, but I'm obviously missing something. Updates are slow because debugging running Lua in Linux is apparently not a thing (someone help?) like it was in Windows with Decoda. I'm still interested in maintaining it, but it is very difficult for me. This is literally the one thing I had in Windows that I can't solve in Linux.
Anothername 10 月 21 日 上午 10:48 
I'm not sure if this mod is still getting updates, but for some reason later into one of my runs (dunno if i can see how long but def a few hours in) the wand menu is broken, displaying a single wand i dont in fact have, that i cant research, and not showing the two persistence-created wands and the one i picked up and wanted to research. All attempts to resolve this in-game failed
Exovi 10 月 16 日 下午 12:08 
It is a really cool mod, has allowed me to get a lot of irl friends to try Noita. Its a tough game to get into

Plus the absolute chaos that can happen in a run is great on voice call! Lots of careful preparation interspersed with "oh $#%^" moments

Sent the friend request; on the off chance you need testing hit me up. Persistence would be a pretty cool integration in multiplayer given how long a run can go, and how quickly you get sent back to zero
Fox  [作者] 9 月 15 日 下午 1:53 
@Exovi -- I'd not heard of that mod before, sounds wild. This seems like a cool mod to support, but I have no idea where to even start.

I'll see what I can do, when I have time. It will likely require changes to my handling of lots of things, so it won't be by accident and it's unlikely to have an easy workaround. If you'd like, send a friend request and I'll make a note to ping you if/when I manage it. Debugging code in Noita has become near impossible since Microsoft convinced me to stop using Windows, but Noita is still frequently on my mind.
Exovi 9 月 14 日 下午 8:18 
Has anyone had this working in Entangled Worlds? It doesn't seem to allow us to research / purchase spells properly. I was able to research a spell in my friend's inventory, but neither of us would get a copy when I went to purchase
Fox  [作者] 8 月 10 日 下午 12:57 
Another fix, resolved crashes related to templates.
Fox  [作者] 7 月 15 日 上午 11:10 
Okay -- @Mamasan, @Byson, @MarkErik and everyone else -- another update, this time thanks to @Byson's report I was able to replicate the crash.

Once. One time, in around ten minutes of just mashing on the menu key constantly while playing. I tried to replicate it for around an hour, I only got it to happen once. BUT, I saw what caused it.

I've added an additional safety check which should tackle this one. Please let me know if it's still a problem.
Byson 7 月 15 日 上午 6:46 
I can confirm Mamasan's report below, but it is unrelated to the HMs, it's just opening and closing the menu a few times. I have two other mods, gold lasts twice as long and telekinetic kick as permanent perk, but seeing how simple they are I doubt they are interfering.
Fox  [作者] 7 月 13 日 下午 7:18 
@Mamasan - Not without more information. Do you have other mods installed? I find it very difficult to diagnose issues with Noita mods, it's very discouraging and I wish it was easier. I'm sure it's something I'm missing, but that doesn't help.
Mamasan 7 月 13 日 下午 7:13 
Every run the persistence menu disappears after one or two holy mountains. It works fine for the first or second, but then I can't access it from any future holy mountain. Any idea why?
Fox  [作者] 7 月 10 日 下午 4:01 
Small update. Most likely doesn't fix Lama's Stats issue (in progress, can't replicate the bug) but it does fix a few typos, solve a few potential issues, beautify Stash cash display on profile selection.

I decided to take a swing at enabling Amnesiac Mode, which was an old request.

I've also added a Holy Mountain Reward (Bonus) payout which can be enabled as a free payout when the player reaches the Holy Mountain, to go alongside the other Holy Mountain Reward (Stash) which is more intended to give the player money from their own stash, for example when disabling manual stash withdrawals as a challenge option.
MarkErik 7 月 5 日 上午 8:55 
Lama's Stats breaks this mod, and in particular the save, for about 2-3 locations, sometimes the recearch and purchase tab simply does not open (instead, there is an emptiness and there is no way to move).
And if this does not happen, then the research tab does not see the inventory, and the purchased spells do not enter the inventory, after that, turning the mod on or off does not fix the situation, the save just seems to break.
Fox  [作者] 7 月 1 日 上午 11:34 
@Roxseig -- No worries, glad to hear everything else works. I've pushed an update, the wording in the Setting menu changed a tiny bit for clarity and the settings to disable the menu(s) should be working now. Feel free to reach out with anything else!
Roxseig 7 月 1 日 上午 11:32 
Everything else seems to be working fine for me, except for that option. I'm impressed I'm the only one who thought of using it lol. (Or at least reporting it anyways.) Thanks for answering! :steamthumbsup:
Fox  [作者] 7 月 1 日 上午 10:55 
@Roxseig: lol that's because I forgot to write it? The setting is there but it doesn't hook up to anything. Apparently you're the first to use it. I'll address that. Anything else while you've got me?
Roxseig 6 月 30 日 上午 2:45 
The option to allow researching, purchasing, etc only on lobby (and not in holy mountain) isn't working for me, any fix?
Fox  [作者] 5 月 24 日 下午 9:38 
Another new update -- small one, but fixes* a critical bug. Previously if Persistence menus were opened with no wands/items held, Persistence would corrupt the player entity by destroying its inventory components, rendering the player save permanently damaged. It was an artifact of old code, and should be fixed. I have a hard time debugging this game due to how vast the possibilities are, please report issues.
momentum 4 月 21 日 上午 10:51 
Thanks
Fox  [作者] 4 月 20 日 下午 6:27 
Your profiles/researched wands/spells/loadouts/etc should be saved even if you temporarily disable and remove the mod, yes.
momentum 4 月 19 日 下午 6:04 
if i disable this mod then re-enable it is my stuff saved
Fox  [作者] 4 月 12 日 下午 6:52 
OK everyone. New update deploying

Added gamepad input.
Added option for Persistence menu access anywhere.
Visual bug fixes, functional bug fixes.

Not a big one, bug a significant one. Sorry it took so long, life has been ... a lot, lately.

NOTE: I did not author the controller input handling, I just enabled Noita's built-in handling. Some inputs are weird. Vertical movements will scroll every scrollable window on the screen. Scrolling via controller is weird. Selecting items can be a little unintuitive -- must move odd direction to reach some controls, etc. Nothing I can do about most of it.

Note 2: This is a relatively untested build, I don't play lots anymore and my cat died while I was working on the update, so I kinda lost wind.

Finally, I'm on Linux now, on all of my systems. Uploading this is turning out to be tricky. Apologies if I nuke the comments or description or images or whatever, I'll try to fix it.
varna 2024 年 11 月 29 日 上午 7:43 
Have to reiterate the previous request - even if not default, an option to allow opening Persistence menus anywhere would be really nice!
Frostie :3 2024 年 10 月 28 日 下午 6:05 
can you make it so the menu can be opened anywhere not just in lobby or holy mountains? thank you
Old Mad Merlin Murdock 2024 年 9 月 23 日 下午 9:05 
Amazing work!
SolarSupremacy 2024 年 8 月 26 日 下午 12:33 
Fox, you absolute sexy lad!

I realized controllers (and by extension, the Steam Deck) isn't supported much in the Noita community because most players are likely just on PC and adding controller support may be a pain in the ass.

But if you do add controller support, I will give you a virtual hug. That would be hella skibidi bussin no cap skull emoji.
††SWAZZ BEARD, MORALITY PIRA 2024 年 8 月 12 日 下午 4:44 
please make it harder to delete the save file 2 clicks is still possible to mistakenly delete the save data maybe a press and hold? or 5 clicks? please and thank you love the mod
K41RY 2024 年 8 月 2 日 下午 8:38 
Sure thing!
Fox  [作者] 2024 年 8 月 2 日 下午 4:35 
I legitimately cannot help troubleshoot your game based on this message. Literally the two things I know about your situation are those two messages. Neither of the bugs you've mentioned have been reported by anyone else, and if I can't reproduce it myself I can't troubleshoot it by myself. If you would like more help, give me something more to go by. I'll gladly spend some time on it.
K41RY 2024 年 8 月 2 日 上午 3:26 
Why is it that sometimes the game just refuses to load the Persistence in-game menu when I click????
K41RY 2024 年 7 月 29 日 下午 10:30 
Clicking on the Research tab does nothing. It gives zero options to research.
Fox  [作者] 2024 年 7 月 29 日 下午 12:49 
@SolarSupremacy -- I'm not sure why it never occurred to me. I have a Steam Deck. The next major release will include full Steam Deck support, if I can figure it out. Thank you for bringing this to my attention.
SolarSupremacy 2024 年 7 月 29 日 上午 8:58 
Would have loved to try it out but it doesn't work on Steam Deck or with controller.
Fox  [作者] 2024 年 7 月 23 日 下午 12:30 
Also to describe the issue in a bit of detail -- the original persistence tracked a _max and a _min on several values, and at some point I expanded it to track _max and _min on almost all researched values.

During the v3 rework, I decided restricting a player to a researched minimum instead of just "the minimum" felt pedantic, so I ditched the _min/_max where it made sense to only track _max and MOSTLY renamed them.

'mana_max' is what it's actually called in the game's component system, so I didn't prune _max from 'mana_max' and I just flat missed that one reference when renaming mana_charge_speed.

Thanks for picking up the slack, folks.
Fox  [作者] 2024 年 7 月 23 日 下午 12:19 
You guys are great. Thanks @Radio, good find and good job. I've pulled the PR, I've pushed the fix, I still don't understand how I couldn't replicate it, it definitely was an always-broken style logic error.

Sorry for being so absent, real life has been rough lately. I'm still around, but it'll be slow for a bit.
Vluur 2024 年 7 月 22 日 下午 4:46 
Radio was correct with regards to the cause. A user on GitHub has pioneered a PR that fixes the issue https://github.com/codefaux/persistence/pull/14
Erythion 2024 年 7 月 22 日 上午 12:09 
Radio's workaround works for me
Radio 2024 年 7 月 19 日 下午 7:55 
I have a similar issue, where the mana charge speed is not updating.

I took a look at the script - I think the problem is on line 658 of data_store.lua. It looks like you're checking _research.b_mana_charge_speed_max to determine whether to save the mana charge speed. That property does not exist - remove the _max from the end of the property and it should work.
DevilsGoonie 2024 年 7 月 18 日 下午 9:37 
Also stuck on mana charge speed stuck at 2. Brand new game. Just bought it. Your mod is the only one i've installed so far. I haven't changed or modified anything else other than your mod. I edited the settings to only cost 50% for all of the sliders (research and stuff) and maxed the gold amount saved to the max.
Fox  [作者] 2024 年 7 月 16 日 下午 2:59 
I cannot replicate the "mana charge speed stuck at 2" bug with a fresh Persistence profile or an old Persistence profile, using main channel (not beta) Noita and no other mods. If you're using other mods, please test without them and report back. If you're not using other mods, please provide more details, see the Discussions thread. I can't fix it if I can't figure out how it's happening, none of my testers have experienced it.
DrCthulhu 2024 年 7 月 15 日 下午 5:06 
i am having the same issue where mana charge speed is not being saved and is stuck at 2.
Silvestris 2024 年 7 月 15 日 上午 9:37 
I believe theres another bug, It wont let me increase my mana charge speed when I research.
Fox  [作者] 2024 年 7 月 14 日 上午 10:04 
It's entirely possible Steam didn't update the mod, and it was still running the old version with the bugs. I started Noita on a different system last morning and the workshop still had v2 installed, lol. Glad it's working, at least!
Silvestris 2024 年 7 月 13 日 下午 8:39 
Scratch that, it randomly decided to work, I probably was outdated. Apologies
Silvestris 2024 年 7 月 13 日 下午 8:38 
Whenever I die, no money gets saved, and when I try to stash money manually, it eats my gold.
Fox  [作者] 2024 年 7 月 13 日 下午 8:30 
Stash seems to be working for me. If you mentioned how it wasn't working, what you were trying to do, what your understanding of the stash's function was, or something similar, I could attempt to troubleshoot it. "It isn't working or I don't get it" is super vague. Feel free to start a thread on the Discussion page if you'd like.