PollyMC icon indicating copy to clipboard operation
PollyMC copied to clipboard

How to play 1.16.5 online without turning off the internet?

Open SakiGhuleh opened this issue 1 year ago • 4 comments

Operating System

No response

Version of PollyMC

PollyMC 8.0

Version of Qt

Qt 6.6.0

Description of bug

I would like to know if there is a way to make the multiplayer mode of version 1.16.5 available to play. When entering the game, it always appears disabled and the only way to activate it is by turning off my internet and turning it on again while in the game, But I would like to know if there is a way to have multiplayer mode available without having to disconnect from the internet in this specific version.

Steps to reproduce

Starting version 1.16.5 while connected to the internet.

Suspected cause

No response

This issue is unique

  • [ ] I have searched the issue tracker and did not find an issue describing my bug.

SakiGhuleh avatar Mar 03 '24 02:03 SakiGhuleh

Are you launching the game with an offline account or with an authlib-injector account? For authlib-injector accounts, https://github.com/fn2006/PollyMC/pull/140 should fix the issue (if/when it is merged). For offline accounts, we might be able to automatically do https://github.com/FabricMC/fabric-loom/issues/915#issuecomment-1609154390. I'll investigate that today and prepare a PR if it seems like a good idea.

In the meantime, if you are using an offline account, you can try this workaround:

  1. Edit your instance
  2. Go to "Settings" in the sidebar, then to the "Java" tab of the instance settings page
  3. Check the "Java arguments" checkbox and paste in
-Dminecraft.api.env=custom
-Dminecraft.api.auth.host=https://invalid.invalid
-Dminecraft.api.account.host=https://invalid.invalid
-Dminecraft.api.session.host=https://invalid.invalid
-Dminecraft.api.services.host=https://invalid.invalid

evan-goode avatar Mar 03 '24 18:03 evan-goode

Are you launching the game with an offline account or with an authlib-injector account? For authlib-injector accounts, #140 should fix the issue (if/when it is merged). For offline accounts, we might be able to automatically do FabricMC/fabric-loom#915 (comment). I'll investigate that today and prepare a PR if it seems like a good idea.

In the meantime, if you are using an offline account, you can try this workaround:

  1. Edit your instance
  2. Go to "Settings" in the sidebar, then to the "Java" tab of the instance settings page
  3. Check the "Java arguments" checkbox and paste in
-Dminecraft.api.env=custom
-Dminecraft.api.auth.host=https://invalid.invalid
-Dminecraft.api.account.host=https://invalid.invalid
-Dminecraft.api.session.host=https://invalid.invalid
-Dminecraft.api.services.host=https://invalid.invalid

I'm using both. the solution for offline accounts worked for me, but how do i apply the one for authlib-injector accounts?

SakiGhuleh avatar Mar 03 '24 20:03 SakiGhuleh

For now you'll need to recompile PollyMC with the fix from my fork, as it hasn't been merged yet.

furokku avatar Mar 04 '24 12:03 furokku

This is fixed in Fjord Launcher Unlocked: https://github.com/hero-persson/FjordLauncherUnlocked.

hero-persson avatar Jun 26 '24 23:06 hero-persson