# Lab Turrets Exploit?

**URL:** <https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987>\
**Category:** The Garage\
**Created:** [February 25, 2015, 7:34pm UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987 "2015-02-25T19:34:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakers](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@Jakers](https://discourse.cataclysmdda.org/u/Jakers)\
**Post date:** [February 25, 2015, 7:34pm UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/1 "2015-02-25T19:34:26Z")

</div>

Apologies if this has already been reported or it’s intentional, but I’ve seem to be able to take care of turrets very easily in science labs. I simply walk behind a closed metal door, and the turret shoots me as if I were standing there. I can repeat moving behind the door until the turret runs out of ammo, then easily kill it. Unsure if this works for other turrets. I discovered this whilst playing the experimental version 2745.

This part of a video I recorded should explain further.

[http://youtu.be/EBWAYDq5v64?t=44m46s](http://youtu.be/EBWAYDq5v64?t=44m46s) You won’t really need to watch on from 46:20 in the video.

---

<div class="post-metadata">

**Author:** ![Vorchar](https://avatars.discourse-cdn.com/v4/letter/v/5f8ce5/32.png) [@Vorchar](https://discourse.cataclysmdda.org/u/Vorchar)\
**Post date:** [February 25, 2015, 9:17pm UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/2 "2015-02-25T21:17:42Z")

</div>

Turrets LOS disregards doors so it sees you and keep shooting.

---

<div class="post-metadata">

**Author:** ![Jakers](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@Jakers](https://discourse.cataclysmdda.org/u/Jakers)\
**Post date:** [February 25, 2015, 11:09pm UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/3 "2015-02-25T23:09:42Z")

</div>

> [@Vorchar](#):
>
> Turrets LOS disregards doors so it sees you and keep shooting.

Is there a possible fix for this in the future, or will the coding be too conplex to get sround this problem? Although using the exploit did avoid me getting shot, it seemed somewhat of a cheat to waste the ammo of the turret, then easily finish it off to move on to the next room.

---

<div class="post-metadata">

**Author:** ![StopSignal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/stopsignal/32/1923_2.png) [@StopSignal](https://discourse.cataclysmdda.org/u/StopSignal)\
**Post date:** [February 26, 2015, 12:21am UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/4 "2015-02-26T00:21:48Z")

</div>

I guess it’d be more of an strategy than an exploit? Maybe the turret is programmed to destroy enemies that hide behind, for example, wooden doors.

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [February 26, 2015, 2:02am UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/5 "2015-02-26T02:02:41Z")

</div>

Exploit that apparently wasn’t fixed–I thought it was. Latest dev version?

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [February 26, 2015, 4:50am UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/6 "2015-02-26T04:50:43Z")

</div>

Looking into it, I suspect it’s a FoV caching thing, I was messing with that recently because it had the opposite problem of turrets shooting at you before they should be able to see you.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [February 26, 2015, 5:54am UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/7 "2015-02-26T05:54:32Z")

</div>

Fixed, thanks for reporting Jakers 😃  
Turns out it wasn’t FoV caching after all, the special attack code wasn’t checking whether the monster could still see you before attacking.

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/11398>

---

<div class="post-metadata">

**Author:** ![Jakers](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@Jakers](https://discourse.cataclysmdda.org/u/Jakers)\
**Post date:** [February 26, 2015, 10:43am UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/8 "2015-02-26T10:43:43Z")

</div>

[quote=“Kevin Granade, post:7, topic:8987”]Fixed, thanks for reporting Jakers 😃  
Turns out it wasn’t FoV caching after all, the special attack code wasn’t checking whether the monster could still see you before attacking.  
[https://github.com/CleverRaven/Cataclysm-DDA/pull/11398[/quote]](https://github.com/CleverRaven/Cataclysm-DDA/pull/11398%5B/quote%5D)

No problem! Glad I could help you fix this issue. Now I can be scared again whilst travelling inside science labs!

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [February 26, 2015, 11:05am UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/9 "2015-02-26T11:05:47Z")

</div>

> [@Jakers](#):
>
> No problem! Glad I could help you fix this issue. Now I can be scared again whilst travelling inside science labs!

Until you discover a surefire method to recognize rooms with anything dangerous in them.

---

<div class="post-metadata">

**Author:** ![Vorchar](https://avatars.discourse-cdn.com/v4/letter/v/5f8ce5/32.png) [@Vorchar](https://discourse.cataclysmdda.org/u/Vorchar)\
**Post date:** [February 26, 2015, 2:13pm UTC](https://discourse.cataclysmdda.org/t/lab-turrets-exploit/8987/10 "2015-02-26T14:13:35Z")

</div>

Perhaps it is safe to peek at turrets now…
