-
-
Notifications
You must be signed in to change notification settings - Fork 306
[1.8.9] Thaumcraft selecting focus on wand not work behind BungeeCord #731
Comments
Probably an issue with packets, as happened with BungeeCord. Please, post your server log. |
I've got a fairly decent idea as to what's going on and how to handle it for 1.10.2+. @bloodmc basically, when a foreign packet is received, we should be checking the content changes for the player's inventories and throwing events accordingly. In this case, Thaumcraft is changing the itemstack in the player's main hand and modifying the tag. |
But couldn't that foreign packet be doing a number of different things? Won't some foreign packets get spammed a lot? |
Yes, @ryantheleach but without being able to tell when something happens, since itemstacks are interacted with directly, i's not really well possible unless we basically flag to capture anything that does change during the packet being handled. |
In the server is no exceptions, errors etc. Yes its behind bungeecord. |
Yay, without bungeecord it works. Im using SpongePls plugin for forwarding in the BungeeCord. In the logs of sponge and bungee see no errors or exceptions. |
This is probably something to contact the thaumcraft author about. I've no clue of it's protocol or how it works, so the chances of me fixing this are slim. |
The issue is with BungeeCord, not SpongeForge, SpongePls or Thaumcraft. See this. So... SpongeCoord when? |
@dualspiral Can you look into this with your BungeeCord fork? |
@bloodmc When I get chance I'll take a look - though @hunter688, have you tried this using Waterfall instead of Bungee yet? |
Closing this but discussion can continue as it is not a Sponge issue and is a bungee issue. |
Found source of problem. Lobby server is 1.10.2 with protocolsupport plugin. When connect through this server, got issue. When remove protocolsupport and join to modded server as fallback, all is ok. |
Took me a while to figure out this issue. But the problem isn't bungeecord nor thaumcraft. The problem lies in the minecraft protocol and the challenge bungeecord brings. When a player join a server on bungeecord, it gets asigned a entity id on that specific server. However when the client switches to another server the client id on the new server will be different. Bungee itself counteracts this problem by rewriting all know packets and changing their id's. However thaumcraft is one of those mods that uses the entity id of the player for some of it's packets. What causes everything to go haywire when a player switches servers. As a proof of concept I also fixed the problem in the form of a bungeecord plugin: https://github.com/densitycraft/ForgePacketFix |
Hey Thanks a lot! |
Looks like it does not work for me. :( Latest Waterfall, ForgePacketFix, lobby server with 1.10.2 spigot and latest protocolsupport, latest 1.8.9 sponge with thaumcraft. Still cannot change focuses. |
Yeah I tested this for 1.7.10. I guess the packet id's for the new thaumcraft are different. Ill add the id's for 1.8.9 tho. See: https://github.com/densitycraft/ForgePacketFix/issues/1. |
Great! |
@thomas15v https://github.com/densitycraft/ForgePacketFix/ is 404 |
@RhythmNz I removed that repo with the densitycraft group. Also I am not re-uploading that repo since it is not the correct way to fix it, see: MinecraftForge/MinecraftForge#3284. By modifying bungeecord to send the correct packet on server switch, you can easily fix the problem. However I am pretty sure that change will never get pulled in the original bungeecord since it breaks the team api inside bungee. Wich is also the reason why I never send a PR. |
@thomas15v You mean I can write a plugin to fix? |
@RhythmNz Ehm no. You have to path your bungee in order to support it. This is the path I applied on my server: https://gist.github.com/thomas15v/3768613bce327caa2f46b319eadea615. |
@thomas15v Do you have the finished version of the Jar. For 1.7.10 |
Tested with pure forge server - no problems. When add spongeforge (no another plugins) then cannot change focuses on the Thaumcraft wand wand. Looks like spongeforge break clicking in the selecting gui.
Steps to reproduce:
expected result is change focus to clicked.
SF(build 1538)
The text was updated successfully, but these errors were encountered: