lakhnish Posted April 30, 2023 Share Posted April 30, 2023 (edited) I've looked at the article for mod_dependecies and I've also looked what others have done with mods that use mod_dependencies. For some reason, I'm unable to actually to get it to work. I never actually get the message that says you need to download the other mod, like here: Spoiler I ran a test with just an empty modmain and a basic modinfo.lua. The mod was uploaded to the workshop and dependent on another workshop mod ([API] Modded Skins was my example). What exactly am I doing incorrectly? Any help would be appreciated. This is my modinfo.lua name = "Mod Dependecy Testing" description = "Testing to see how mod dependency works" author = "lakhnish_monster" version = "1" forumthread = "" api_version = 10 dst_compatible = true all_clients_require_mod = false client_only_mod = true mod_dependencies = { { --only have a workshop dependency workshop = "workshop-2812783478", }, } modinfo.lua Edited April 30, 2023 by lakhnish Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/ Share on other sites More sharing options...
Hornete Posted April 30, 2023 Share Posted April 30, 2023 2 minutes ago, lakhnish said: [snip] Your mod is a client mod. I do not imagine client mods can be dependant on server/all client require mods. 1 Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632884 Share on other sites More sharing options...
lakhnish Posted April 30, 2023 Author Share Posted April 30, 2023 (edited) 2 minutes ago, Hornete said: Your mod is a client mod. I do not imagine client mods can be dependant on server/all client require mods. In my case, my client mod is reliant on another client mod in order for it to work. I'm guessing that's still the case? Edited April 30, 2023 by lakhnish Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632885 Share on other sites More sharing options...
Hornete Posted April 30, 2023 Share Posted April 30, 2023 3 minutes ago, lakhnish said: In my case, my client mod is reliant on another client mod in order for it to work.. I'm guessing that's still the case? Yup. You'll have to pester Zach for this one. 1 Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632886 Share on other sites More sharing options...
lakhnish Posted April 30, 2023 Author Share Posted April 30, 2023 (edited) 1 minute ago, Hornete said: *cough* Hey @zarklord_klei *cough* Edited April 30, 2023 by lakhnish Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632887 Share on other sites More sharing options...
Rickzzs Posted April 30, 2023 Share Posted April 30, 2023 (edited) You can just include it into your mod. It is small enough and I've updated it so that only the API will only run once. And also not likely to update often. Something like if not WallPaper then -- load it first, and no need to worry about other mods that does this too. modimport("wallpaper.lua")--rename wallpaper/modmain.lua to another name. end --............. Edited April 30, 2023 by Rickzzs 1 Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632896 Share on other sites More sharing options...
Developer zarklord_klei Posted May 1, 2023 Developer Share Posted May 1, 2023 8 hours ago, lakhnish said: *cough* Hey @zarklord_klei *cough* I unfortunately don't have the time to make the changes needed to support client mods having dependencies. 1 1 1 Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632937 Share on other sites More sharing options...
lakhnish Posted May 1, 2023 Author Share Posted May 1, 2023 57 minutes ago, zarklord_klei said: I unfortunately don't have the time to make the changes needed to support client mods having dependencies. Ah well. Thanks for the response though. 7 hours ago, Rickzzs said: You can just include it into your mod. It is small enough and I've updated it so that only the API will only run once. And also not likely to update often. Thanks for the response as well. I'll just leave it as is since people just need to do an extra click, so it's not too big an issue, but again, thank you. Link to comment https://forums.kleientertainment.com/forums/topic/147510-help-mod_dependecies-isnt-working-for-me-and-i-have-no-idea-why/#findComment-1632942 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now