-
Notifications
You must be signed in to change notification settings - Fork 824
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
[Issue Report]: Map reveal/monster activation bug #7745
Comments
Interesting..... it's as if it is picking the wrong stairs to spawn the player in, then maybe it teleports the player to the correct one? |
It's probably updating the other player's position a bit too late so vision is performed locally by player 1 on behalf of player 2 while player 2 is entering the level of player 1 |
It has nothing to do with the other stairs. They are just random in the revealed area. Yeah, it‘s probably an issue with updating players‘ position during loading screens. |
Vanilla has an issue where teleporting during the fade in would teleport you to a coordinate position close to the coordinate position you were in the previous level so I wouldn't be surprised if a similar problem was happening here |
As far as I know that‘s because a player will enter the floor at the same position they left the previous floor and are then correctly positioned once loading is done. |
It's a bit absurd because vision doesn't get activated for a player entering the level until the position is updated, apparently from what I looked at. I think it's going to be hard to solve this without debugging an actual instance of this happening in game, seems like the result of some kind of weird desync. |
You can replicate this easy: Worked like 8/10 times in my tests. Obviusly easier when having two windowed games next to each other on your screen than alt-tabbing to switch between them. I don't think I'm gonna be able to get debugging running, else I would do it myself. |
Operating System
Windows x64
DevilutionX version
1.5.3
Describe
This is, to my knowledge, a bug only occuring when multiple players are involved:
Upon entering a new dungeon floor, some area of the minimap is revealed to players entering the floor after the first player, despite nobody every being there. Monsters in this area are activated, which can lead to huge ambushes.
To Reproduce
I haven't been able to reliably reproduce it, but going down in quick succession worked most of the time.
Screenshot from player Bs persective.
Screenshot from player As perspective.
Expected Behavior
The minimap should only be revealed where you have already been and (more important) monsters shouldn't get activated without being in your lightradius
Additional context
No response
The text was updated successfully, but these errors were encountered: