饥荒联机版

饥荒联机版

Mod Presets
45 条留言
Duxtorm 7 月 22 日 上午 8:51 
I have no idea what's going on..
This mod is causing my game to crash.. no matter how much I try to isolate it, it crashes by just enabling it.

I tried it after unsubscribing to every other mod, checking my file integrity.. still caused my game to crash if I enabled it.

The crash logs suggest it's an issue with the mod itself, specifically line 70-71 (modmain.lua)
But fixing that only stopped it from crashing my game, all of the functionality seems to be busted, causing further crashes when I try to save/load presets..

I made a duplicate of the mod that I tried to fix, I got as far as being able to click the 'save' and 'load' buttons without crashing, but they didn't work-
After I gave up and deleted the duplicate mod and re-installed the original, it didn't crash on start-up, but it still crashed when trying to save a preset.

https://pastebin.com/BiJi0Y1q
the Unkindness 1 月 20 日 下午 5:27 
要是能让不同电脑内的mod数据同步就好了
If only we could synchronize mod data from different computers
belo3kurovdima69 2024 年 12 月 14 日 下午 10:31 
самый необходимый мод для сборки модов
l 2024 年 9 月 16 日 下午 5:31 
Local module Update preset doesn't seem to work
The Reaper Of Memes 2024 年 9 月 7 日 下午 12:33 
So to make this as absolutely clear as possible.

Go to world creation.
Enable the mods you want for the preset.
Click on "Synced"
Then start the world.
Wait for It to load the world then you can disconnect and that preset will be ready for ANY world you host.
Doesn't get simpler than that.
The Reaper Of Memes 2024 年 9 月 7 日 下午 12:32 
Okay so all you need to do Is set up your Synced mods and then start a hosted world, after Its done loading leave and BOOM the preset will be saved and you can do It again for another preset.
Idk what you tell ya that's easily wayyyyy better than having to turn off all your mods and then having to turn back on 100+ mods manually.
Duxtorm 2024 年 9 月 7 日 上午 6:52 
In the default mod screen as you have displayed in the last image, you can save the Client-side mod preset.. but you cannot save the Server-side preset..

Saving the presets I already set in the Server-side mods I already configured was my only reason for getting this mod.. am I really unable to save Server-side mod presets without doing it from a hosted world?
неокортекс антропоморф 2024 年 9 月 3 日 下午 9:19 
some mods that 30 people use is saved correctly and some famous doesnt so i don't understand how to use it :(
rawii22  [作者] 2024 年 7 月 11 日 下午 12:40 
Can you specify which mods as well as how many mods are in this preset? As the previous messages said all mods should work, but I’m just curious so I can check for any eccentricities. I think someone mentioned earlier that they had problems with making presets that had nearly a 100+ mods, I don’t remember if they figured it out but that may still be an issue… I need to check that tho…
The Reaper Of Memes 2024 年 7 月 11 日 上午 12:04 
@OSLO: This mod makes presets, when you activate a preset It activates all the mods you Synced to that specific preset.
And yes you can have multiple presets at a time, just make sure you have the mods you want on and then press the "Sync" button and It'll Sync all the mods you currently have active to that preset.
The Reaper Of Memes 2024 年 7 月 11 日 上午 12:02 
I've been using this mod for a long time.
Never had that Issue once.
Try reinstalling the mod, that or Sync a couple of times to make sure Its really synced.
I use tons of different mods with this so I don't have to reactivate them a hundred different times, or have to remember different client presets I like to use.
I can assure you this mod 100% works just fine.
李皓奇 2024 年 7 月 10 日 下午 9:48 
I tried add preset but some of my client mods enabled were not included.

If not all mods supported, there's no point to use this.
OSLO 2024 年 5 月 18 日 上午 7:30 
does the preset save all my mods configuration or just onw?
rawii22  [作者] 2023 年 3 月 30 日 下午 1:48 
it should, we have a point in "work in progress" where we want to make that easier to do, but at the end of the day it's just gonna be dealing with that one file. There is a possibility that if people want to make a millions assets with a million mods each, we might have to change the way the presets are stored and move to a different file, however we'll let you know if that happens since it will probably break things. (might have to make a 2.0 mod!) if that happens we'll let you all know and ask about it...
akitsu 2023 年 3 月 30 日 上午 10:34 
thanks thats actually huge, would that work if i sent that file to a friend and they use it like you said so to match our settings?
rawii22  [作者] 2023 年 3 月 30 日 上午 1:39 
sorry I didn't make it very obvious in the previous message that the presets are stored in the file called "mod_presets" WITHOUT any file extension. You can open it up if your curious how Klei's data dumper works, but just make sure not to tinker with it or you might break something... (Your computer will probably be transported to The Constant if you do :-)
rawii22  [作者] 2023 年 3 月 30 日 上午 1:35 
yes @kitsune The way we currently have it set up is to store the mod presets in the Klei folder: C:\Users\username\Documents\Klei\DoNotStarveTogether\254404980\client_save\mod_presets
You should be able to copy that file and paste it into the new client_save folder on a new computer with DST on it.
akitsu 2023 年 3 月 26 日 下午 11:47 
when i delete the game or format my pc every single setting i do goes away, can this be used to 1 click set up everything?
rawii22  [作者] 2023 年 2 月 24 日 下午 2:49 
The problem if we remove mod configuration options is that people will no longer be able to store presets that preserve config options. We didn't know how often people use the config options, but we preferred to store them in case people use different configs from server to server. If we find a better way of dumping the info we should hopefully be able to keep the config, but we'll see. We'll take a look at setpersistentstring... sorry for the delay! Again I'm in college and I have a few other people who are having problems with mods and I also have programming assignments on top of everything
RICK 2023 年 2 月 21 日 上午 4:03 
Can you improve the datadumper or remove modinfo.configurations_options or use io instead of TheSim.SetPersistentString to allow for more capacity of mods? Currently it can't store many mods. Or maybe it is because what Link-AM said.
rawii22  [作者] 2023 年 2 月 15 日 下午 8:20 
If you take a look at the mod_presets file we create in the client_save folder, you could always add a section in your modmain that reads the file, do a table.insert, and then rewrite the file. But more importantly, you should be able to specify dependency mods in a field in mod_info. Check out how Gemcore based mods require other mods! It's pretty cool
[ZG] Zan⁧⁧dorum 2023 年 2 月 10 日 下午 4:35 
It'd be nice if mods could come with their own presets, like if there was an easy way to extend this mod to provide one. I've been working on an overhaul mod that wants (but doesn't require) another mod but highly suggests it should be had.
Link-AM 2023 年 1 月 22 日 上午 9:59 
This is a great mod but one issue - it does not work with any mods which do not have settings (the cog option). It's not a big deal for server mods - I just scroll through and re-enable anything that was missed before starting the server. However its a deal breaker for the client mods, so I still use the Batch Enable mod for client.
FRIDAY :( 2022 年 11 月 17 日 上午 2:49 
im having the same issue as the commenter directly below. Right after subscribing to this mod
Dornek 2022 年 9 月 1 日 上午 3:43 
thank you and understandable.
rawii22  [作者] 2022 年 8 月 31 日 上午 9:02 
We never explicitly set any preset limits in the mod, so it's most likely an issue with the way we're compiling the presets into the preset file. One thing to keep in mind is that the more mods each preset has, the more config data the file has to store for each mod. (If you store a bunch of mods that each have a ton of config options and a ton of choices for each option, the file will become large VERY quickly.) Also, since we don't usually use that many mods, we never tested massive presets, so this behavior is new to us.... give us a bit to see what's happening.... again, college has started so you gotta give me some time :-)
Dornek 2022 年 8 月 30 日 上午 9:34 
there seems to be a mod limit in a preset about 64-65, my issue is that I have 100 mods needed to be preseted, is there no way to raise the limit?
rawii22  [作者] 2022 年 8 月 11 日 下午 5:52 
Well, school is starting up so you've gotta give us a bit to settle down, I've got a lot to sort out first....
Stellar Harbour 2022 年 8 月 11 日 上午 4:48 
How it's going?
rawii22  [作者] 2022 年 8 月 2 日 上午 2:52 
Aaaah, I see now, we’ll test it and solve the problem as soon as possible!
rawii22  [作者] 2022 年 8 月 1 日 上午 8:29 
You could always try to make presets include the “Mod Presets” mod every time. If it’s a problem we can always make a new configuration if you guys want!
Stellar Harbour 2022 年 8 月 1 日 上午 1:58 
Thicc
rawii22  [作者] 2022 年 7 月 31 日 下午 11:38 
Hey guys! Make sure to update the mod, we just added the ability to create presets for client mods too! Check out the GitHub if you want SUPER nerdy details...
Ayin 2022 年 7 月 31 日 下午 2:55 
Kinda weird this is not in the base game already. Thanks mate
rawii22  [作者] 2022 年 7 月 29 日 下午 12:15 
Let’s go to the discussion page @Terra B Welch, I might have an idea of what’s wrong but I wanna make sure...
WendyTerra 2022 年 7 月 29 日 上午 3:37 
ok I got it to add a preset, but it only saved 17 out of the 24 mods.
WendyTerra 2022 年 7 月 29 日 上午 3:35 
So I went to add a preset and it told me it already exists...
I haven't added a single preset.
Pyro Is Shy 2022 年 7 月 28 日 下午 6:35 
i give it 2 months before Klei adds this in the next Quality of Life Update
WendyTerra 2022 年 7 月 28 日 下午 5:55 
Omg finally! A mod for this! Tysm!
☆ majoneza ☆ 2022 年 7 月 28 日 下午 4:04 
oh, thank you gentleman
rawii22  [作者] 2022 年 7 月 28 日 上午 1:41 
Adding presets for client mods is coming along well! Give us a few days to finish it and it'll be there...
Medic! 2022 年 7 月 27 日 下午 12:07 
OH MY GOSH THANK YOU!!! AGHHH I wish this were client side but MAN this is going to be SO helpful for servers if it actually works! I can't wait to try this out, thank you so much for this mod you guys!
Stellar Harbour 2022 年 7 月 26 日 下午 8:32 
This is the way
[ZG] Zan⁧⁧dorum 2022 年 7 月 26 日 下午 8:12 
I am so happy someone did this before I had to.
Atobá Azul 2022 年 7 月 26 日 上午 5:39 
OH MY GOD THANK YOU SO MUCH