5zig-reborn / The-5zig-Mod

All-in-one modification for Minecraft 1.8.9-1.15.2
https://5zigreborn.eu
GNU General Public License v3.0
109 stars 12 forks source link

You can see chat messages and hear sounds from all of the accounts. AFK timer is also instantiated for each account. #125

Open xparadoxical opened 3 years ago

xparadoxical commented 3 years ago

This bug is related to #96.

Describe the bug Switching to another account makes you see chat messages from all of the accounts. You can also hear any sounds played to any account if the account you're currently controlling is in the range of a sound played at the specific coordinates. This also makes 5zig have more than one instance of the AFK timer. I own only two minecraft accounts so I couldn't test it with more. I suppose that you'd see messages and hear sounds not only from two of the logged in accounts.

To Reproduce

  1. Log in with one account on any server. My choice was Mineplex because of the many sounds you hear on the lobby spawn.
  2. Go to a lobby where there are players talking in the chat.
  3. Go to a place where you can frequently hear sounds.
  4. Write down the coordinates you are at (including Y).
  5. Switch to the other account.
  6. Disconnect from the server and join a singleplayer world. ❌ You can see the messages received by the other account.
  7. Teleport to the previously written down coordinates of the other account. ❌ You can hear all the sounds the other account is hearing.
  8. Stay AFK for 10 minutes (or change your system time to +10min) to make 5zig show you a notification about you being AFK. ❌ You will see more than one notification about being AFK.
  9. Move your mouse on the window. ❌ You will see more than one notification about not being AFK now.

Expected behavior

Screenshots (230V on the screenshot is my other account) two accounts on one server (the same lobby) = you see doubled messages: image two accounts on different servers (or the same server but different lobbies) = you can see messages from both servers/lobbies: image multiple afk notifications: image image

Desktop (please complete the following information):

i-bug-you[bot] commented 3 years ago

Thank you for opening this bug report. A member of the testing group will try to reproduce it as soon as possible. @zortax, @U5B, @Motschen

0cyn commented 3 years ago

Wanted to chime in that upon discovering this bug myself, I thought it was a feature, and a toggle to view the chat for all currently logged-in accounts would be spectacular.

xparadoxical commented 3 years ago

Wanted to chime in that upon discovering this bug myself, I thought it was a feature, and a toggle to view the chat for all currently logged-in accounts would be spectacular.

That and a way to distinguish between receivers of messages, like just [AccountName] prepended to each message would be great.