Skip to content
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

Slow connection #92

Open
andreasdc opened this issue Oct 23, 2022 · 18 comments
Open

Slow connection #92

andreasdc opened this issue Oct 23, 2022 · 18 comments

Comments

@andreasdc
Copy link

When you have multiple servers on you server list and you ping them and then you join the server, connecting will be slow. When you wait until the pings are finished, the connection will be fast. You need around 10/15 servers in your list for get the bug to appear. The pings are slow in general.

@davidromrell
Copy link

this is not a krypton bug but forge/fabric or vanilla

@andreasdc
Copy link
Author

It is vanilla bug, but I didn't find bug that fixed that completely, unfortunately.

@davidromrell
Copy link

list mods here, I can probably help.

@davidromrell
Copy link

davidromrell commented Apr 9, 2024

cause two likely possible problems 1. the mods 2. messing with ipconfig

@andreasdc
Copy link
Author

I think switching to VPN causes that, no mod has timeout option for pinging and it often gets stuck, I think it would help a lot.

@davidromrell
Copy link

I have been surprised of some weird stuff mod interactions do.

@davidromrell
Copy link

I am almost positive now its your ipconfig, do a network reset.

@andreasdc
Copy link
Author

It may be with dns changing, but still there's no timeout option in any mod, I think that would help the most, or some kind of clearing the pending pings.

@davidromrell
Copy link

davidromrell commented Apr 11, 2024

This is the mod you want updated: https://modrinth.com/mod/fast-ip-ping/
The rest of them only apply to some cases.

@davidromrell
Copy link

I tried making a mod similar to what you stated, every time I tried it made performance in game worse.

@andreasdc
Copy link
Author

Adding a timeout for ping made your ingame performance worse?

@davidromrell
Copy link

it was getting overridden, and so trying to get successful run made it worse.

@davidromrell
Copy link

davidromrell commented Apr 11, 2024

the other factor is I was just trying to optimize in general, not just ping timeout. Although I probably would have ran into the same issues with ping timeout.

@davidromrell
Copy link

I am gonna try again later it was not as easy that I expected it to be.

@andreasdc
Copy link
Author

I am gonna try again later it was not as easy that I expected it to be.

What are you trying? Maybe I can help. Can you send your discord username?

@davidromrell
Copy link

I temporarily paused on the project although here is the github: Ihttps://github.com/davidromrell/MyMod

@andreasdc
Copy link
Author

Hmm I don't think it will work like that, but you can send your discord name maybe we will figure something out :)

@davidromrell
Copy link

so https://fabricmc.net/wiki/tutorial:setup is the BEST well documented tutorial for making a mod that does this.
atm I am way to busy to help although, if you make code (even non-functioning if you state is such) I can likely get it to work given you copy reference* or less preferable for security reasons path*.
Notes:
I recommend using IntelliJ .
Problems you are trying to fix that would be helpful for you and anyone in your situation

  1. disable not remove: reverse DNS lookups, ok example of what is occurring in one case preferably I would solve more cases:
    templatefix.txt
  2. any network related code such as fabric-networking-api
  3. any io related code such as io.netty
  4. any http related code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants