-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
About entity rewrite #7
Comments
Entity rewrite is not necessary in modern versions of Minecraft - this is not necessary. |
But why bungeecord is using a entity rewrite? |
Because BungeeCord is dumb. |
You can not send a login packet twice, because some clients may have bugs or crashes (mods or cheats) Without entity rewrite can cause a entity id duplication on client (entity and client player entity id) |
Yes you can - you've been able to send the "join game" packet more than once for a while now. |
Yes, you can send join game twice. but it cause bugs on modded clients(random disconnects, crashes). I am tested it and online was lower by ~20% |
In bungeecord repo only one branch without entity rewrite. On master Login packet from server is cancelled. https://github.com/SpigotMC/BungeeCord/blob/master/proxy/src/main/java/net/md_5/bungee/ServerConnector.java#L285 |
lolno. go away with that talk. |
If you want to lose online, its a your chose. There are a lot of players with cheats. And with mods too. I am already say, that online on my server was dropped by 20% when i try to use a alt-respawn. |
It's your choice to press the fork button as well. |
I just said to kashike why send login packet twice is bad. Also there is commit with begin of entity rewrite, 515248f. I just write some ideas how to make entity rewrite better, and reduce cpu usage by disabling entity rewrite. |
On the branch which disables entity rewrites, it sends its own login packet, as opposed to passing through original one, so that it can send a login packet and then a respawn packet. There are several servers which run their own forks of bungee without this entity rewrite logic without any issues, in fact, many modded servers take this approach and run perfectly fine and quite practically have no option other than this in order to run; Are there going to be teething issues with some mods? Yes, but there is a whole idea here that by providing an environment which attempts to drop a lot of the quirky behavior that bungeecord shoves onto these mods sees a better chance of them actually attempting to provide some level of support for this software, as opposed to the current behavior of mod developers either providing support for it reluctantly, or shoving off support entirely. |
Okey. Now i see, that velocity uses a rewriter/remapper only for 1.8. But why you use it only for 1.8 if in 1.8 and 1.12.2 implementation/packet_handle is the same. https://www.diffchecker.com/Vrr01myy |
I read that you want integrate velocity to paper and sponge.
How about to make velocity to handle(generate) players entity ids and sync it across network?
Ex:
The text was updated successfully, but these errors were encountered: