
#Stonehearth game mods#
If you make mods related to the UI, you can make use of the CEF debugger, provided you have Google Chrome installed: Simply close them again if you've already checked all of them. Reloading the UI will make any non-UI error reappear, even if you've already closed them. If you forgot to take a look at the trace in the error dialog, you can look at the stonehearth.log too (provided you haven't restarted the game). It might be in an inconsistent state and you won't be able to continue using it correctly unless you reload it. Debugging the UIįor UI errors, which usually appear at the right side of the screen, you must always reload the UI (with F5 or the button in the error dialog).

You can try removing it and restarting the game (the file will be re-created). On extreme cases, it might be due to your user_settings.json (located inside the same folder than the stonehearth.log). Right-click on them and select "End Task" if needed.
#Stonehearth game mod#
If your game crashed while testing your mod and now it won't open, check the Task Manager and see if you have Stonehearth.exe processes running in the background.

These errors will also be printed in the stonehearth.log, so if the game closes, you can still check the log until you reopen the game. Even if the trace points to files from the stonehearth mod, the errors may be caused by wrong data from your mod.
#Stonehearth game code#
In general, when an error pops up inside the game, it will have a trace of the code that failed, so you should be able to figure out the problem by looking at that code. Some changes won't be applied for old entities, so you'll need to create new ones in order to see them. Test on a new game instead of on a savefile. doc file), there might be invisible characters that the game considers invalid, so be careful with that. If you copy-paste text from some document (such as a. It's also common to forget to prefix the mixintos and overrides with the mod's namespace. You can also open your mod with SHED and it will tell you if something's pointing to unexisting files. They might have some wrong letter and therefore they reference something that doesn't exist, or you forgot to prefix your aliases with the correct namespace in your files. Search for typos in your aliases, or in your localization strings. This tool will tell you the differences even if the key-value pairs are in different order, it's good for checking if you've missed some key or value. You can also compare your JSON files with other files from the game with JSON Diff. This will tell you if you had any missing or trailing commas, which is a common typo that will make the game not read your files correctly. If you had something wrong in your manifest, it might get marked as invalid or outdated in the Mods menu, and the game won't load your mod. Make sure that your mod is enabled before starting a game. You can also output text to the stonehearth.log from within your mod's Lua files. If there's some file that couldn't be loaded properly, it will be mentioned in the log (sometimes errors will only appear inside the log, instead of popping up in the game). It is inside the folder where Stonehearth is installed, and it gets overwritten every time you run the game. The further you go, the more characters will be available accordingly, more units or armies.While modding it is pretty common to break things accidentally, so here are a few tips for when you don't know why something's not working as intended:

The developers tried not to be like other games, where everything around consists of cubes.
#Stonehearth game simulator#
Stonehearth is one of the few attempts to make a city-building simulator with RPG elements. And all this in order to enter the open world and begin to conquer territories and locations, which will contain elite resources. By the way, no raid is capable of crushing the power of your squad, if you make at least minimal efforts.Īt a certain point in the development of your settlement, you will have to train an entire army of soldiers, where the soldiers are divided into separate classes. There are enough intruders in the game, so our team will gather resources, build buildings, craft weapons and learn military craft at an accelerated pace. At the very beginning, we are given at the disposal of a small group of settlers, which various enemies already want to kill. Dark but comfortable world Stonehearth combines RPG, RTS-strategy and sandbox.
