Jump to content

Recommended Posts

Posted

I'm a new player but an old software engineer. I understand json so I thought I'd play with modding.
I'm playing with a mod that was created for a previous version and it looks like it should work but does not.

It's a simple op replace patch and I'm not sure it's working.
I was wondering how I can tell if the mod is loading correctly and if it is actually changing the json file I wanted it to.

 

Any help would be great. I'm on the VS discord too.

Posted (edited)

Hi and welcome to the forums!

I use this mod myself, for checking the results of patches:  PatchDebug

It's an old mod, but surprisingly, it still works.

 

Just make sure you follow the directions given in the description, and the results should be printed in the "server-debug.log" file.

If there are a lot of patches, get ready to sift trough a looong log file 😅

 

If you need further assistance or get stuck, there are several people here ready to take a look at your patch and help resolve issues should they appear.

Edited by xXx_Ape_xXx
Posted

Had a look at the mod you're working on, Fast Pitkilns, and there are a few issues with the modinfo.json file that will prevent it from even starting.

Change it to:

{
  "Type": "content",
  "Name": "Fast Pitkilns",
  "Version": "1.0.0",
  "ModID": "FastPitkilns",
  "Description": "Makes Pitkilns Fire Faster.",
  "Website": "",
  "Authors": [
    "Aureus_Prime"
  ],
  "Contributors": [],
  "Side": "Universal",
  "RequiredOnClient": true,
  "RequiredOnServer": true,
  "Dependencies": {}
}

And it should load and work just fine on 1.20.12

If you want it to be ready for 1.21, you'll need to add one more patch for the aged wood that have been added as valid fuel for the pit kilns.

Posted

This looks like gold.  Thank you.  And thanks for the help with the modinfo, I guess I have way more to learn.

Although I think it's still not working because when I look at it with the Kiln Time Viewer mod it shows 15 hours.
https://mods.vintagestory.at/kilntimeviewer

I'm looking to see if that view looks at the default settings but it's a code dll, so I'll have to break out visual studio.

 

(This started as a learning exorcise). 😅

pitkiln.png

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.