Kitteh6660 / DramaticDoors

Minecraft Mod for Forge & Fabric: 3-block high doors, in every vanilla variety! End enderman discrimination!
MIT License
6 stars 7 forks source link

[BUG] Doors do not udate for other players on multiplayer servers. #31

Open NotIntruder opened 1 year ago

NotIntruder commented 1 year ago

Important Information

Minecraft Version: Forge 1.19.2 Mod Loader System: Forge (Forge or Fabric) DramaticDoors Version: DramaticDoors-Forge-1.19.2-2.1.10

Describe the bug The door states are bugged they update on the server side and client side for the person interacting with the door but do not update on another player on the same server.

To Reproduce The steps to recreate are as follows:

Run mod on a forge server 1.19.2 Ver. Need 2 players Ask one player open the custom door from the mod Dramatic doors. You will now see the door in closed state even if the door is open for the other person and on server side aswell.

Expected behavior When another player interacts with the door the door should open for both the players on the server where as the state of the door is only updated on the interacting players client and not the passive players client

Screenshots Cannot provide screenshots.

Kitteh6660 commented 1 year ago

That is a tricky one to fix, I may have to look into it. Have you tried opening using redstone? Does it update for other players?

NotIntruder commented 1 year ago

That is a tricky one to fix, I may have to look into it. Have you tried opening using redstone? Does it update for other players?

Nah it does not even work for the person who is activating the redstone itself

Kitteh6660 commented 1 year ago

This is unusual as I tried running a dev test server with 2 clients connected. When one player opens and closes the door, the other player still sees the door updating.

NotIntruder commented 1 year ago

This is unusual as I tried running a dev test server with 2 clients connected. When one player opens and closes the door, the other player still sees the door updating.

Can it be a conflict with other mods adding custom doors that may affect this? I can maybe send you the modpack or mod list idk

Cault120 commented 1 year ago

I am also having this same issue. I can provide information and screenshots if you need. To take this one step further, the doors also arent visible on the passive players perspective. If the passive player tries to interact with the door which is not visible it may become visible block by block with constant interaction aka trying to open/close the door. Once the door is visible, then we are running into the same issue as previously posted. Doors not opening on any passive players screen, only on the active players screen. I will say that I have Macaw's Doors , Oh the Biomes You'll go installed, and Every Compat which all (I believe) add doors. I know that Macaw's doors are recognized along with OTBYG, I didn't think to check Every Compat. I have tried the last 4 versions of you mod from 1.19.2 on the server and the results have not varied. I'd love to have this mod in the pack if possible but if this is an impossible fix due to clashing mods then I understand.

Cault120 commented 1 year ago

Quick update. It doesn't seem as though your mod is the only one. Security Craft's reinforced doors do the same. They are activated by redstone so there is no "active" player. Meaning that although Dramatic doors only open for the player who placed, and opens the doors, the reinforced door shows up and then refuses to show its opened. The only way to do it is by powering it, then clicking each section of the door to force a block update. After seeing that I decided to test the same for the Dramatic doors with an identical result. Door is powered, noise of door opening plays, but the door visibly stays shut. If you walk into the door you are blocked as if it were closed, click the sections of the door to force the block update and bam, like magic it works and you can walk theough. Same thing vis versa. Door is opened, unpower it, it stays visibly opened but trying to walk through results in rapid teleporting backwards to the outside of the door.

Kitteh6660 commented 1 year ago

It's a strange issue. Maybe other mods could possibly be causing some sort of block update suppression or something?

cloby0 commented 11 months ago

i am having this same issue too forge 43.2.14 mc 1.19.2 dramatic doors 1.19.2-2.3.7_1

i will say i also have double doors mod, which could be part of the issue for you guys if you have it i think quark also has a door related feature perhaps if you guys had that

ChicknTurtle commented 11 months ago

I have the same issue, disabling double doors on quark didn't fix the problem and I am not using the double doors mod. I do have macaws doors and lots of other mods.