# Performance and Combat issues

**URL:** <https://discourse.stonehearth.net/t/performance-and-combat-issues/13517>\
**Category:** Previous Build Reports\
**Created:** [June 15, 2015, 2:02pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517 "2015-06-15T14:02:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://discourse.stonehearth.net/u/Maciej)\
**Post date:** [June 15, 2015, 2:02pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/1 "2015-06-15T14:02:43Z")

</div>

Howdy!

I am experiencing a few bugs, which make Stonehearth very frustrating to play.

When my footmen attack something, game stops briefly in moment when weapon “touches” enemy. Strangely enough, I don’t experience it when my footmen are fighting far away from my village.  
A large fight inside a village makes my game to stop entirely for about 3-4 seconds.

I am experiencing also a huge problem with performance after about 10 days in game. I have about 10 hearthlings by then and about 6-7 buildings, everything is running smoothly (besides combat), a coloured bar in lower right part of screen shows about 60-80% of idle. But then something happens, and lua takes about 60-80% of this bar, like this

[![](http://i.imgur.com/QzipV5k.jpg) ](http://i.imgur.com/QzipV5k.jpg)

Game is slowed down severely after this, reloading a game does not help. Sometimes this happens sooner, sometimes later. Number of hearthlings or buildings does not seem to affect this.

Do you know the source of these bugs? Can we expect that developers fix this in the next update?

---

<div class="post-metadata">

**Author:** ![Dracorexion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/dracorexion/32/18684_2.png) [@Dracorexion](https://discourse.stonehearth.net/u/Dracorexion)\
**Post date:** [June 15, 2015, 2:14pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/2 "2015-06-15T14:14:53Z")

</div>

The lag spikes from fighting has been reported already, and something must have been causing your lua spikes. What goes on when the lua spikes? It can be anything so look around and see what’s going on in every nook abd cranny. Also, what’ re your system specs and game settings on?

---

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://discourse.stonehearth.net/u/Maciej)\
**Post date:** [June 15, 2015, 2:40pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/3 "2015-06-15T14:40:22Z")

</div>

Thank you for fast reply!  
I haven’t noticed anything wrong when “lua spike” started occurring in my game. Game just slowed down, I was not even building anything. I am running Stonehearth on Lenovo G500s laptop, which have Intel i3 3110m 2,4 Ghz processor, 4 GB ram and GeForce 720M Graphics Card. It should be enough to run this game (it passes recommended graphics requirements). And here is screen of my graphics options [http://i.imgur.com/ukizq1d.jpg](http://i.imgur.com/ukizq1d.jpg)

---

<div class="post-metadata">

**Author:** ![Dracorexion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/dracorexion/32/18684_2.png) [@Dracorexion](https://discourse.stonehearth.net/u/Dracorexion)\
**Post date:** [June 15, 2015, 2:49pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/4 "2015-06-15T14:49:48Z")

</div>

It doesn’t have to be something “wrong” just something going on before the lua spikes due to that something. @8BitCrab you got any idea what could be causing it?

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [June 15, 2015, 2:55pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/5 "2015-06-15T14:55:23Z")

</div>

does this happen just at night, or during the day to? if its only happening at night, then it could be all the particle effects from the firepit, lanterns, and such. and if its happening during fighting, that also may be due to the particle effects and the fight animations.

---

<div class="post-metadata">

**Author:** ![Dracorexion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/dracorexion/32/18684_2.png) [@Dracorexion](https://discourse.stonehearth.net/u/Dracorexion)\
**Post date:** [June 15, 2015, 2:59pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/6 "2015-06-15T14:59:49Z")

</div>

Dunno if it can cause it, but do shops pop up as well? Sometimes if things happen suddenly at the same time, it can cause a lua spike or just a geneal lag spike.

---

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://discourse.stonehearth.net/u/Maciej)\
**Post date:** [June 15, 2015, 3:48pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/7 "2015-06-15T15:48:56Z")

</div>

After it started happening it just don’t stops. I waited for 10 minutes, and it didn’t stopped even for a second.

---

<div class="post-metadata">

**Author:** ![Dracorexion](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/dracorexion/32/18684_2.png) [@Dracorexion](https://discourse.stonehearth.net/u/Dracorexion)\
**Post date:** [June 15, 2015, 4:07pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/8 "2015-06-15T16:07:11Z")

</div>

Did it start at night? Did you here a shop try to pop up? Or an attack?

---

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://discourse.stonehearth.net/u/Maciej)\
**Post date:** [June 15, 2015, 4:22pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/9 "2015-06-15T16:22:32Z")

</div>

I did not have any issue with shopping. If I recall correctly it started at day, when I finished to mine a tunnel in the mountain, about 12 tiles long. A lot of ore and stone was lying around.  
But previous time when I had such problem I was not mining at all, so I don’t think mining is a problem.

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [June 16, 2015, 7:27pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/10 "2015-06-16T19:27:48Z")

</div>

I remember other users complaining also about hitching

> [@Maciej](#):
>
> when weapon “touches” enemy

so it might be some calculations in the background, but if you don’t experience it when thay are fighting away, it might be caused by another thing. 😕

---

<div class="post-metadata">

**Author:** ![ZwoeleBeer](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/zwoelebeer/32/46741_2.png) [@ZwoeleBeer](https://discourse.stonehearth.net/u/ZwoeleBeer)\
**Post date:** [June 16, 2015, 9:27pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/11 "2015-06-16T21:27:22Z")

</div>

So let’s say I also have this problem at night, is there a certain graphic setting that will reduce the particles?

---

<div class="post-metadata">

**Author:** ![8BitCrab](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/8bitcrab/32/48512_2.png) [@8BitCrab](https://discourse.stonehearth.net/u/8BitCrab)\
**Post date:** [June 16, 2015, 10:21pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/12 "2015-06-16T22:21:27Z")

</div>

im not sure… try playing with the lowest graphics and shadow settings, other then that, im unsure if there is a way to turn off/down individual graphic settings.

---

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://discourse.stonehearth.net/u/Maciej)\
**Post date:** [June 17, 2015, 7:38am UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/13 "2015-06-17T07:38:31Z")

</div>

I am using now latest “beta build” on steam.  
I don’t have any problems with combat now, now hearthlings can defend themselves without lags 😄  
I didn’t have any problems with performance so far, but I have played only 1h on new build, so lua spikes can still happen.

---

<div class="post-metadata">

**Author:** ![Anymn](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/anymn/32/46904_2.png) [@Anymn](https://discourse.stonehearth.net/u/Anymn)\
**Post date:** [June 17, 2015, 12:47pm UTC](https://discourse.stonehearth.net/t/performance-and-combat-issues/13517/14 "2015-06-17T12:47:36Z")

</div>

Actually I got these strange lua pikes too. But when playing in peaceful, I’m not getting them at all. I was experiencing that _golem camps_ create quite a bit of lua. Probably it’s related to this? Are there any golems in your world?
