ds5678 / Better-Water-Management

Mod improving the way water is managed for The Long Dark
MIT License
7 stars 6 forks source link

Missing waterskin blueprint and error message from MelonLoader #2

Closed Harald92 closed 3 years ago

Harald92 commented 3 years ago

Hello,

I tried out your "Better-Water-Management" mod because I like the idea of managing water in a more realistic way rather than summoning container out of thin air for your water to store, would be cool if water would freeze at below 0 °C at a specific rate which gets faster and faster when it gets colder (I have zero programing experience so I do not know how hard it would be to implement something like that).

My problem is that I do not have the blueprint for the water-skin, all other aspects of the mods seam to work. I disabled all other mods I had to see if some of them causes problem with "Better-Water-Management" because there were some crafting mods in there but with only "Better-Water-Management" enabled the problem still persists.

MelonLoader message: [10:57:33.161] [MelonLoader] [ModComponentMapper] assets/prefabs/gear_waterskin.prefab [10:57:33.164] [MelonLoader] [ModComponentMapper] Mapping GEAR_Waterskin [10:57:33.167] [MelonLoader] [ModComponentMapper] Console Manager not initialized. 'Waterskin' , 'GEAR_Waterskin' added to waitlist. [10:57:33.168] [MelonLoader] [ModComponentMapper] assets/textures/gear_waterbottle_empty.png [10:57:33.173] [MelonLoader] [ModComponentMapper] [Error] System.NullReferenceException: Object reference not set to an instance of an object at ModComponentMapper.AutoMapper.LoadAssetBundle (System.String relativePath) [0x0007c] in <69a379ae58cb40bdb8d30037a142255b>:0 at ModComponentMapper.AutoMapper.AutoMapDirectory (System.String directory, System.String modDirectory) [0x00099] in <69a379ae58cb40bdb8d30037a142255b>:0 at ModComponentMapper.AutoMapper.AutoMapDirectory (System.String directory, System.String modDirectory) [0x00015] in <69a379ae58cb40bdb8d30037a142255b>:0 at ModComponentMapper.AutoMapper.Initialize () [0x00065] in <69a379ae58cb40bdb8d30037a142255b>:0 at ModComponentMapper.Implementation.OnApplicationStart () [0x0005c] in <69a379ae58cb40bdb8d30037a142255b>:0 at MelonLoader.MelonHandler.OnApplicationStart () [0x0015d] in <1439d668687c44d0920b0e0ecea592c0>:0

Remodor commented 3 years ago

Something most likely went wrong with your installation. The mod works perfectly fine for me, except the bug with drinking water right away from a pot. However, I am confident, this is going to be fixed soon. Just don’t press the drink option directly from boiled water, as it makes your pot disappear for now.

Your suggestion is interesting, programming wise, however, not too trivial to implement..

Harald92 commented 3 years ago

It is working now.

The solution was to download a fresh version of "ModComponentAPI.dll", "ModComponentMapper.dll" and "AssetLoader.dll". I do not know if they were updated since I downloaded them (~1 Month ago) because every other mod worked with them very well.