enterpriseshost.blogg.se

Stonehearth game engine
Stonehearth game engine





stonehearth game engine stonehearth game engine
  1. #Stonehearth game engine mod#
  2. #Stonehearth game engine mods#
  3. #Stonehearth game engine code#

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).

stonehearth game engine

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 engine 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 engine 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.

#Stonehearth game engine mods#

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. 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:







Stonehearth game engine