# Solved: Storming the Tower of Error - infinite loop{SOLVED}

**URL:** <https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342>\
**Category:** Level Help\
**Created:** [February 1, 2019, 5:10pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342 "2019-02-01T17:10:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rytrik](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Rytrik](https://discourse.codecombat.com/u/Rytrik)\
**Post date:** [February 1, 2019, 5:10pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/1 "2019-02-01T17:10:00Z")

</div>

I’m having an issue with this level. When I place the fire trap on the X, the game hangs. I’m not sure if my computer is too slow to handle the complexity of the level, but this error comes up afterward. It’s even created a memory error in Chrome and has told me to close Chrome.

Is there something I’m doing incorrectly here? Or is there a reason why this particular level is creating this infinite loop error?

 ![infinite%20loop](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/7/7bdc8a46c705472a744cc9ca0de4b96305a6a85a.jpeg)

---

<div class="post-metadata">

**Author:** ![Deadpool198](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/deadpool198/32/16753_2.png) [@Deadpool198](https://discourse.codecombat.com/u/Deadpool198)\
**Post date:** [February 1, 2019, 5:44pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/2 "2019-02-01T17:44:32Z")

</div>

Nothing’s wrong with your code.  
I’ve seen comments before which say to switch your browser to another one, they mainly suggest Fire Fox.  
I hope this helps.  
🦁 🦁 🦁

---

<div class="post-metadata">

**Author:** ![Rytrik](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Rytrik](https://discourse.codecombat.com/u/Rytrik)\
**Post date:** [February 1, 2019, 6:30pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/3 "2019-02-01T18:30:52Z")

</div>

I’ll give that a go-ahead. Thank you.

---

<div class="post-metadata">

**Author:** ![Rytrik](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Rytrik](https://discourse.codecombat.com/u/Rytrik)\
**Post date:** [February 6, 2019, 3:47pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/4 "2019-02-06T15:47:43Z")

</div>

Gave it a go in Firefox. Initially it ‘worked’, as in not hanging after the initial fire trap placement. Scout was taken out, troops moved out of the camp, and I could see the locations of the red X’s. However, on subsequent code runs, it hangs at exactly the same spot: during or immediately after the placement of the first fire trap.

Maybe I do need a faster computer. Perhaps that is the solution here. It seems strange that 1 level would cause such an issue. Could there be a memory leak in the level coding? It is a user-created level.

---

<div class="post-metadata">

**Author:** ![Deadpool198](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/deadpool198/32/16753_2.png) [@Deadpool198](https://discourse.codecombat.com/u/Deadpool198)\
**Post date:** [February 6, 2019, 6:44pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/5 "2019-02-06T18:44:42Z")

</div>

I’m not sure now,  
maybe @stephanie can help.  
🦁 🦁 🦁

---

<div class="post-metadata">

**Author:** ![stephanie](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/stephanie/32/9569_2.png) [@stephanie](https://discourse.codecombat.com/u/stephanie)\
**Post date:** [February 6, 2019, 8:50pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/6 "2019-02-06T20:50:01Z")

</div>

@Rytrik are you still having this issue? Can you PM me your username? That way I can take a look. Thanks!

---

<div class="post-metadata">

**Author:** ![xython](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/xython/32/7269_2.png) [@xython](https://discourse.codecombat.com/u/xython)\
**Post date:** [February 6, 2019, 9:43pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/7 "2019-02-06T21:43:40Z")

</div>

It’s not obvious what to do in this level. See the [storming-the-towers-of-areth](https://player.vimeo.com/video/315750055?autoplay=1) video:  
The level run on lubuntu linux on 2GB memory stick with 4GB RAM

---

<div class="post-metadata">

**Author:** ![Rytrik](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Rytrik](https://discourse.codecombat.com/u/Rytrik)\
**Post date:** [February 7, 2019, 4:13pm UTC](https://discourse.codecombat.com/t/solved-storming-the-tower-of-error-infinite-loop-solved/17342/8 "2019-02-07T16:13:27Z")

</div>

Hi Stephanie. I pm’d you.

I got it to work now. I was slightly off on a few values. Fixed them, and it works now. Level completed. Thank you everyone.
