# \[Bugged\] Gas Attack, Sarven Desert and see through walls

**URL:** <https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212>\
**Category:** Uncategorized\
**Created:** [July 15, 2018, 9:24pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212 "2018-07-15T21:24:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 15, 2018, 9:24pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/1 "2018-07-15T21:24:14Z")

</div>

Just want to say for anyone googling this level out of frustration, make sure you have the right glasses on. Took me 20 minutes to realize the problem wasn’t my code, it was my hero not being able to see the enemies.

edit: NVM it was my fault for not reading all the notes: [[Note] Gas Attack, Sarven Desert and see through walls](https://discourse.codecombat.com/t/note-gas-attack-sarven-desert-and-see-through-walls/15212/24)

---

<div class="post-metadata">

**Author:** ![SuperSmacker](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/supersmacker/32/8385_2.png) [@SuperSmacker](https://discourse.codecombat.com/u/SuperSmacker)\
**Post date:** [July 15, 2018, 11:39pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/2 "2018-07-15T23:39:42Z")

</div>

Never google a level. It ruins the purpose of the game.

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 16, 2018, 12:09am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/3 "2018-07-16T00:09:08Z")

</div>

In this case, it would have saved me a lot of wasted time and frustration.

---

<div class="post-metadata">

**Author:** ![Chaboi\_3000](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chaboi_3000/32/48486_2.png) [@Chaboi\_3000](https://discourse.codecombat.com/u/Chaboi_3000)\
**Post date:** [July 16, 2018, 3:21am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/4 "2018-07-16T03:21:18Z")

</div>

Yeah but you’re never gonna be officially passing the level since you cheated your way through it by googling it. ☹

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 16, 2018, 3:38am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/5 "2018-07-16T03:38:22Z")

</div>

The reason I made this thread is because googling turned up nothing useful. But regardless, I’m not going to waste so much time if I can avoid it. I don’t care if it’s cheating as long as I’m still learning what I need to know.

---

<div class="post-metadata">

**Author:** ![Chaboi\_3000](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chaboi_3000/32/48486_2.png) [@Chaboi\_3000](https://discourse.codecombat.com/u/Chaboi_3000)\
**Post date:** [July 16, 2018, 3:42am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/6 "2018-07-16T03:42:40Z")

</div>

Well you didn’t write the code so I won’t consider that learning

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 16, 2018, 3:47am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/7 "2018-07-16T03:47:45Z")

</div>

oh well you’re wrong, but thanks for sharing your opinion.

---

<div class="post-metadata">

**Author:** ![Chaboi\_3000](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chaboi_3000/32/48486_2.png) [@Chaboi\_3000](https://discourse.codecombat.com/u/Chaboi_3000)\
**Post date:** [July 16, 2018, 3:53am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/8 "2018-07-16T03:53:19Z")

</div>

Opinions can’t be wrong. And BTW it’s true

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 16, 2018, 4:04am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/9 "2018-07-16T04:04:06Z")

</div>

Opinions can be wrong. I bet you could think of a lot of wrong opinions if you tried.

And if it were true, I never would have made it through Calc II. Tutors showing me what I did wrong and me learning from it is the only reason I ever learned anything from that course. Otherwise I would have just been overwhelmed.

Anyway, I didn’t make this thread to get into an argument over this. I just wanted it here for people who may have the same problem I had.

---

<div class="post-metadata">

**Author:** ![SuperSmacker](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/supersmacker/32/8385_2.png) [@SuperSmacker](https://discourse.codecombat.com/u/SuperSmacker)\
**Post date:** [July 16, 2018, 5:29am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/10 "2018-07-16T05:29:23Z")

</div>

I know that you don’t learn math by looking at the solution. There is a difference between showing someone what’s wrong and just looking at the solution.

Looking at the solution won’t let you learn anything. Showing someone what’s wrong let them know how to fix their mistake and not make it in the future. That’s what the forum is for. It’s for pointing out mistakes, not for giving solutions.

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 16, 2018, 7:28am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/11 "2018-07-16T07:28:22Z")

</div>

Looking at the solution has it’s place in math as well. They even sell solutions manuals for math and physics textbooks, and believe me when I tell you those can be a life saver.

If you guys don’t learn from looking at solutions, that’s fine. Some of us do though, so you either have to accept that or agree to disagree with me about it.

And I don’t think any of this is even relevant to the reason I made this thread anyway.

---

<div class="post-metadata">

**Author:** ![Chaboi\_3000](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/chaboi_3000/32/48486_2.png) [@Chaboi\_3000](https://discourse.codecombat.com/u/Chaboi_3000)\
**Post date:** [July 16, 2018, 7:53am UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/12 "2018-07-16T07:53:22Z")

</div>

I know that, but learning from your own solution can be twice as important than learning from other’s solutions. I prefer learning from my solution, but it can be sometimes useful when learning from solutions when you **really** don’t know the answer and how to solve it. But laziness, no that’s not good for you.

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 20, 2018, 8:31pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/13 "2018-07-20T20:31:01Z")

</div>

> [@Chaboi\_3000](#):
>
> But laziness, no that’s not good for you.

Cool, but no one asked.

---

<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:** [July 20, 2018, 8:45pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/14 "2018-07-20T20:45:36Z")

</div>

Can you name the problem glasses?

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 20, 2018, 8:51pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/15 "2018-07-20T20:51:50Z")

</div>

Any glasses that allow you to see through walls. Can’t remember which ones I was using at the time.

---

<div class="post-metadata">

**Author:** ![Seojin\_Roy\_Lee](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/seojin_roy_lee/32/23539_2.png) [@Seojin\_Roy\_Lee](https://discourse.codecombat.com/u/Seojin_Roy_Lee)\
**Post date:** [July 20, 2018, 8:53pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/16 "2018-07-20T20:53:20Z")

</div>

only twilight glasses will allow you to see through walls.

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 20, 2018, 8:55pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/17 "2018-07-20T20:55:43Z")

</div>

Oh then that must be them.

---

<div class="post-metadata">

**Author:** ![Archion](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/archion/32/26234_2.png) [@Archion](https://discourse.codecombat.com/u/Archion)\
**Post date:** [July 20, 2018, 8:56pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/18 "2018-07-20T20:56:22Z")

</div>

I used them and it was fine

---

<div class="post-metadata">

**Author:** ![Kwyjibo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/kwyjibo/32/8502_2.png) [@Kwyjibo](https://discourse.codecombat.com/u/Kwyjibo)\
**Post date:** [July 20, 2018, 8:57pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/19 "2018-07-20T20:57:40Z")

</div>

My bad, the problem glasses are any glasses that DON’T allow you to see through walls.

---

<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:** [July 20, 2018, 9:55pm UTC](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212/20 "2018-07-20T21:55:30Z")

</div>

I think you had a problem with your code. It’s strange, but you can complete the level with any glasses from Mahogany to Twilight.  
I used this code to display friends in the console:

```python
var friends = hero.findFriends();
for (var i in friends)
    console.log(friends[i].id);

```

Mahogany glasses:

 ![1](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/e/eabf426e8965f7524c3a243bb7ceee51dbdd284a.jpg)

Twilight glasses:

 ![2](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/3/3728c8b0972213f147fa42321f617fb386ec1e18.jpg)

Right you can see the console log. So the designer intentionally modified all glasses to see through walls ( and in the process broke them 😉 ) It’s for me some kind of bug…

[Next page](https://discourse.codecombat.com/t/bugged-gas-attack-sarven-desert-and-see-through-walls/15212.md?page=2)
