start-automated-server.bat doesn't support IPv6
algorythm opened this issue ยท 3 comments
Modpack Version
Describe your issue.
Starting the server won't work on Windows if you have a public IPv6 address.
The script makes a ping
to minecraftforge.net
and tries to look for TTL
in the response. Apparently, if the server returns an IPv6 address, the TTL
is not included:
As I personally have a public IPv6 address, the server responds with IPv6 as well, causing the script to think, that I don't have internet.
Crash Report
No response
Latest Log
No response
Have you modified the modpack?
No
User Modifications
No response
Did the issue happen in singleplayer or on a server?
Server
Cool. I reckon this will be relevant for your other mod packs as well. Also, if you ever plan to update the script with latest from https://github.com/AllTheMods/Server-Scripts/, you'll have the issue again, as the problems stems from that. I've submitted a PR there as well AllTheMods/Server-Scripts#89.
Server Startup Scripts. Contribute to AllTheMods/Server-Scripts development by creating an account on GitHub.
Thanks for the report and fix, very nice of you :D
I've decided to remove the check entirely, it's pretty redundant anyway.