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

Server IP Change Causes Player Disconnection and Entity Loss #134

Open
DanielErmilov opened this issue Nov 1, 2024 · 6 comments
Open

Server IP Change Causes Player Disconnection and Entity Loss #134

DanielErmilov opened this issue Nov 1, 2024 · 6 comments

Comments

@DanielErmilov
Copy link

While playing with the WorldHost mod, a significant problem occurs when the auto-generated server IP address changes. Specifically, the IP address can randomly switch from example.eu.world-host.* to example.world-host.*, resulting in some players being disconnected from the server. This issue is especially problematic when using entity's like boat with chest with items inside or mods that create persistent entities, such as "Small Ships". When my friend was disconnected due to this IP change while seated on a ship entity, the ship disappeared from the game.

This behavior can severely impact gameplay, especially with mods that include entities that are difficult to obtain. After the IP address changes, some people might have no issues playing on the new IP. However, my friend sometimes reconnects with a high ping, which often leads to further disconnections, or he is unable to find the server at all. Only the .eu.world-host. servers provide a stable connection for him.

It would be beneficial if the mod allowed for a consistent IP address throughout the session, or at least provided a setting that lets users choose a preferred server location to ensure stability. Alternatively, an option to save entities could be a helpful last resort.

@Gaming32
Copy link
Owner

Gaming32 commented Nov 1, 2024

If entities are getting deleted when players disconnect, that is the fault of the mod that adds those entities, and not World Host. World Host simply connects players. Additionally, the only reason your address under World Host can change is if your real IP address changes.

@DanielErmilov
Copy link
Author

Thanks for the comment. The thing is, if the IP is the same and the disconnect happens, then the entity is loaded. Only if the IP of the host has changed for whatever reason and then the disconnect happens, then the entities never appear.

@Gaming32
Copy link
Owner

Gaming32 commented Nov 1, 2024

I'm sorry, but there is definitely some external cause. IP addresses changing (which shouldn't happen, unless the host is already doing something super unusual) can have no affect on gameplay, period. Unless the mod adding the entity is intentionally doing it (which I'm 99.99% sure it's not).

@DanielErmilov
Copy link
Author

What do you mean by unless the host does something super unusual? When I start a host, I usually have the IP with eu. And the IP changes randomly. I don't get any pop-up or other notification that something has happened to the host or anything like that. I then always have to check with worldhost IP whether the IP has changed or not. But please explain in which cases such an IP change is caused.

@Gaming32
Copy link
Owner

Gaming32 commented Nov 1, 2024

A proxy server change could only be caused by your real IP changing to a different region. This can only really be caused by things like VPNs or Tor.

@DanielErmilov
Copy link
Author

Ok. Interesting. I don't use any VPNs. I'll keep an eye on it. Is there perhaps a hint in the log of an IP change?

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