BuIlDaLiBlE / BetterHI3Launcher

A much better Honkai Impact 3rd launcher.
The Unlicense
105 stars 19 forks source link

No network error upon first run #16

Closed minh2134 closed 3 years ago

minh2134 commented 3 years ago

Describe the bug Executing BetterHI3Launcher.exe results in "network error", regardless of user internet status. Official launcher and the game works fine.

To Reproduce Steps to reproduce the behavior:

  1. Download release v1.1.20210419.1
  2. Save it anywhere
  3. Click on BetterHI3Launcher.exe

Expected behavior A clear and concise description of what you expected to happen.

Log Tried firing the launcher using Powershell, no log output.

Screenshots If applicable, add screenshots to help explain your problem. ảnh

Desktop (please complete the following information):

Additional context Vietnam locale. Tried putting it on Desktop and D:\ (not OS drive), still consistent error behavior.

BuIlDaLiBlE commented 3 years ago

Seems like you cannot reach my servers. Can you access https://bpnet.host or https://serioussam.ucoz.ru? If not, then unfortunately you'll need to use some kind of proxy server or even a VPN.

minh2134 commented 3 years ago

The first one I can't ping it but when I access it using Firefox I'm left with this : ảnh

The second one I can ping it just fine.

BuIlDaLiBlE commented 3 years ago

Hmm, not sure what can be the problem. Can you try this build and show me what it outputs? BetterHI3Launcher_1.1.20210423.0_TEST.zip

minh2134 commented 3 years ago

ảnh This one gives more insight into the problem. It gives the same output as https://bpnet.host when I try to ping it in powershell.

Edit: I mean as in the request also timed out when I pinged the website in powershell.

BuIlDaLiBlE commented 3 years ago

Ah, so the problem lies connecting to miHoYo servers. Since the launcher uses Global servers by default it tries to connect to them but fails. This is something I was aware of but didn't do anything about. Can you try applying this registry file and running the launcher again? bbh3l_os_reg.zip

minh2134 commented 3 years ago

Ah that works. Though I am a Global player and my official launcher + game works fine. ảnh Here's the error log when I tried to switch to global server on the program.

yeah I know, Vietnam but play on Global anyways...

BuIlDaLiBlE commented 3 years ago

Hm, that's surely weird. The timeout I set is 30 seconds which is more than enough time to reliably say the connection isn't going to be established. How long does it take for the official launcher to open? How fast does this URL open: https://d2wztyirwsuyyo.cloudfront.net/tmp/com.miHoYo.bh3global/pc/VersionInfo.txt?

minh2134 commented 3 years ago

Definitely within in 5s for me to open up that link.

Official version takes under 15s from clicking the launcher to the moment I press 'Start'

BuIlDaLiBlE commented 3 years ago

Honestly, I have no idea at this point. This just doesn't make any sense.

KorewaLidesu commented 3 years ago

Did you run the game with admin perm?

minh2134 commented 3 years ago

Yeah, that's a given since the program requires admin perm by default.

BuIlDaLiBlE commented 3 years ago

Addressed in v1.2.20210822.0. Yes, I'm a bit late.