Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Zombio bio-operator is unaffected by EMP Blast" despite no vision and on different Z level #36486

Closed
CoroNaut opened this issue Dec 27, 2019 · 4 comments
Labels
<Bug> This needs to be fixed Monsters Monsters both friendly and unfriendly. (S1 - Need confirmation) Report waiting on confirmation of reproducibility Z-levels Levels below and above ground.
Milestone

Comments

@CoroNaut
Copy link

Describe the bug

I am getting a message that requires line of sight for an event that is not in line of sight.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have bio-operator being affected by an emp blast on some other Z-level but near you ofcourse.
  2. get the message

Expected behavior

Can't see this message if not in line of sight

Screenshots

Capture

Versions and configuration

  • OS: Windows
    • OS Version: MINGW/CYGWIN/MSYS2 on unknown Windows version
  • Game Version: 0.D-10211-g0bd1ad2 [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    No Fungal Monsters [No_Fungi],
    Disable Religious Texts [no_religious_Texts]
    ]
@ZhilkinSerg
Copy link
Contributor

This message is guarded by sight (which is const bool sight = g->u.sees( p )), so it should be a bug of vision.

@ZhilkinSerg ZhilkinSerg added (S1 - Need confirmation) Report waiting on confirmation of reproducibility <Bug> This needs to be fixed Monsters Monsters both friendly and unfriendly. Z-levels Levels below and above ground. labels Dec 27, 2019
@CoroNaut
Copy link
Author

CoroNaut commented Dec 28, 2019

I also had another very very strange bug, a turret was firing into a wall, and there was nothing behind that wall and wouldn't stop until i examined and removed it, I thought maybe it was shooting to a different z-level, but there was definitely no breaks in floor or ceiling. This bug and the posted bug may have been a weird edge case with the experimental z-levels.
Oh, and also, i posted an issue about laser pistol using a different line of sight when targeting enemies (and the result being that it tries to shoot through walls), maybe that is connected to this in some way?

@Fris0uman
Copy link
Contributor

I can only reproduce by dropping and EMP in a crowd of bio op and teleporting above before it blows up. And code says that EMP blast don't actually travel accros z-level

void emp_blast( const tripoint &p )
{
   // TODO: Implement z part
   int x = p.x;
   int y = p.y;

This issue of getting a message for something you can't see anymore might be related to #36820

@CoroNaut
Copy link
Author

I went back to the location with a debug clairvoyance artifact, I couldn't find any zombie bio-operators dead or alive from when i ransacked the place in any situation that could've produced the message. I even spawned a bunch of electricity-generating zombies and even the the shock vent field and couldn't get the message to pop up. I didn't use any emp grenades and hadn't teleported when initially going through. That lab in the picture is also extremely massive, spanning from Z-9 to Z-2 with upwards of 450 lab map-tiles

My best guess is that there is something causing the game to just desync or make funny things happen after playing a long time. When I play, I usually keep the game open and go back and forth between it and other tasks. This ends up making the game open and being played for maybe 10 hours sometimes. Once again, just a complete guess.

Anyways, I'm gonna close this issue, even though I encountered this sight bug with the zombie bio-operator and the turret. I can't reproduce and I should've put up a save, my world is approaching 600MB, so I'm not sure anyone wanted that beast of a save file for such an edge case bug lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Monsters Monsters both friendly and unfriendly. (S1 - Need confirmation) Report waiting on confirmation of reproducibility Z-levels Levels below and above ground.
Projects
None yet
Development

No branches or pull requests

4 participants