# Item crashes my mod

**URL:** <https://discourse.stonehearth.net/t/item-crashes-my-mod/27062>\
**Category:** Modding\
**Created:** [December 17, 2016, 6:33pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062 "2016-12-17T18:33:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yangzhoui](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yangzhoui/32/65492_2.png) [@Yangzhoui](https://discourse.stonehearth.net/u/Yangzhoui)\
**Post date:** [December 17, 2016, 6:33pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/1 "2016-12-17T18:33:38Z")

</div>

Well soo i am making a mod and encountering some problems here and ther but i have 1 now i just cant find the origin from. I literaly have no clue what this causes. i just added like any other item i added until now.

So here is the file: [Dropbox - yangarmoury.smod](https://www.dropbox.com/s/4moro4aju6elki8/yangarmoury.smod?dl=0)

this is my total mod who works just fife but the moment i replace my recipes.json and manifest.json with the new versions that are located next to them it loads the game and then just wont load the ui or let any one work. The game does not completele crahes cause stonehearth is still running.  
normally in the corner of the screen the 64x text thing and after that the people start walking and the ui will be loaded. this just does not happen at all. It just stays at looking at static hearthlings.

I have tried replacing the files with one of my exciting items and then the ui tries to load and the 64x appears but it gives the level\_requierment error pops up and the ui wont load any further. That error just does not give me any info on what is wrong.

if someone with more experience could look in my files what is wrong i would be really greatfull.

the problem could be in:  
entities/weapons/gravis\_sword  
manifest\_new.json  
jobs/blacksmith/recipes

all other files work just fine

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Geokhan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geokhan/32/50159_2.png) [@Geokhan](https://discourse.stonehearth.net/u/Geokhan)\
**Post date:** [December 17, 2016, 7:22pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/2 "2016-12-17T19:22:07Z")

</div>

I know that a single left out “,” in a .json can cause the game not to load or to crash.

@Yangzhoui I do not know if you use a .json checker or not so I just wanted to mention [http://jsonlint.com/](http://jsonlint.com/) which checks .json files for structure. Helped me many times, and in case someone else is having a similar issue and did not know that there is a resourse like this.  
I like JSONLint but there may be other .json validators out there as well.

I copied and pasted your manifest text into it and received this result

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/d/6/d683d7d6756a9553b48c4829e618bdc095085727.png)

There should be a { before “info”: and an extra } at the end.

---

<div class="post-metadata">

**Author:** ![Yangzhoui](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yangzhoui/32/65492_2.png) [@Yangzhoui](https://discourse.stonehearth.net/u/Yangzhoui)\
**Post date:** [December 17, 2016, 7:27pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/3 "2016-12-17T19:27:43Z")

</div>

yea i check every thing with json lint and everything gave this message  
Valid JSON

with the sceenshot you sended you forgot to include the first and last { }

this is why i am asking on the forums cause i just cant find any thing wrong wwith it while it still not works.  
all files are saved on UTF-8

but thanks anyway ^¢^

---

<div class="post-metadata">

**Author:** ![Geokhan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geokhan/32/50159_2.png) [@Geokhan](https://discourse.stonehearth.net/u/Geokhan)\
**Post date:** [December 17, 2016, 7:31pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/4 "2016-12-17T19:31:01Z")

</div>

😵 Yup, doubled checked. That was my mistake I copied and pasted incorrectly from your file. It was my mistake.

Thought I had found something for you, but was wrong

---

<div class="post-metadata">

**Author:** ![Yangzhoui](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yangzhoui/32/65492_2.png) [@Yangzhoui](https://discourse.stonehearth.net/u/Yangzhoui)\
**Post date:** [December 17, 2016, 7:36pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/5 "2016-12-17T19:36:53Z")

</div>

No problem 😜 no hard feelings  
I have checked my files more then 6 times and am still clueless so i dont blame anyone for not knowing xD

but to other people out there i still havent found the sulution just yet.

---

<div class="post-metadata">

**Author:** ![Geokhan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geokhan/32/50159_2.png) [@Geokhan](https://discourse.stonehearth.net/u/Geokhan)\
**Post date:** [December 17, 2016, 7:53pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/6 "2016-12-17T19:53:17Z")

</div>

Think I found it.

the gravis\_sword\_recpie.json file should be gravis\_sword\_recipe.json check this to see if it is the reason.

this is in the jobs/blacksmith/recipes

---

<div class="post-metadata">

**Author:** ![Yangzhoui](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yangzhoui/32/65492_2.png) [@Yangzhoui](https://discourse.stonehearth.net/u/Yangzhoui)\
**Post date:** [December 17, 2016, 8:00pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/7 "2016-12-17T20:00:22Z")

</div>

Thanks for the notice and i would have hoped that would be it but i was already worried it wouldnt since i have recreated the files at least 3 times so i would have spelled it right one of the times.

its good to know and i fixed it but the mod is still not working :c  
i really apriciate that you are helping searching trough my files!  
If i can i will return the favor :3

---

<div class="post-metadata">

**Author:** ![Geokhan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geokhan/32/50159_2.png) [@Geokhan](https://discourse.stonehearth.net/u/Geokhan)\
**Post date:** [December 17, 2016, 8:05pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/8 "2016-12-17T20:05:05Z")

</div>

also the gravis\_sword\_sword\_iconic.json should be gravis\_sword\_iconic.json  
located at enitities/weapons/gravis\_sword

---

<div class="post-metadata">

**Author:** ![Yangzhoui](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yangzhoui/32/65492_2.png) [@Yangzhoui](https://discourse.stonehearth.net/u/Yangzhoui)\
**Post date:** [December 17, 2016, 8:09pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/9 "2016-12-17T20:09:12Z")

</div>

Well i be damned that fixed it! thank you very much kind sir.  
I really hate dyslexia. i just dont see those mistakes. even if i read the thing more then 10 times xD

thanks again i have been searching for almost 2 hours trying to fix it.

---

<div class="post-metadata">

**Author:** ![Geokhan](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/geokhan/32/50159_2.png) [@Geokhan](https://discourse.stonehearth.net/u/Geokhan)\
**Post date:** [December 17, 2016, 8:09pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/10 "2016-12-17T20:09:21Z")

</div>

with those two changes I now have more weapons in my armory

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/3/1/31fd266885bb90dfe26f639bf7f5a7df0adbac3d.jpg)

Just had to drink some coffee to get going, that was the reason for my first mistake. 😀

---

<div class="post-metadata">

**Author:** ![Yangzhoui](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yangzhoui/32/65492_2.png) [@Yangzhoui](https://discourse.stonehearth.net/u/Yangzhoui)\
**Post date:** [December 17, 2016, 8:10pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/11 "2016-12-17T20:10:59Z")

</div>

yup and i found that i made a type probably at the wood resource cause he shows that you need 3 items who are not found. i will fix that and upload version 0.4 to my mod page!  
Cant thank you enough!

---

<div class="post-metadata">

**Author:** ![BarbeQ](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/barbeq/32/52580_2.png) [@BarbeQ](https://discourse.stonehearth.net/u/BarbeQ)\
**Post date:** [December 19, 2016, 2:10pm UTC](https://discourse.stonehearth.net/t/item-crashes-my-mod/27062/12 "2016-12-19T14:10:50Z")

</div>

One place to check for additional info on errors is the games logfile. Sometimes, it does contain some helpful stuff… and sometimes not. Still worth a check. Just thought I mention it. Good luck with your endeavours @Yangzhoui.
