CmlLib
한국어 (v3)
한국어 (v3)
  • 🧊CmlLib Projects
  • [AD] 커스텀 런처 주문제작
  • 🚀CmlLib.Core
    • 홈
    • 시작하기
      • CMLauncher
      • 게임 경로 설정
      • 실행 옵션 설정
      • 이벤트 처리
    • 로그인과 세션
      • 마이크로소프트 엑스박스 계정
      • 예전 모장 계정
      • 오프라인 계정
    • 고급 기능
      • VersionLoader
      • Version
      • FileChecker
      • Downloader
    • 모드 로더 인스톨러
      • Forge Installer
      • Fabric Installer
      • LiteLoader Installer
    • 유틸리티
      • Minecraft Changelogs
    • 자료
      • 자주 묻는 질문
      • 알려진 문제
      • 예시 런처
      • 라이센스
  • 🔓Auth.Microsoft
    • 홈
    • CmlLib.Core.Auth.Microsoft
      • JELoginHandler
      • JELoginHandlerBuilder
      • JEAuthenticator
    • XboxAuthNet.Game
      • OAuth
      • XboxAuth
      • XboxAuthException
      • AccountManager
      • Accounts
    • XboxAuthNet.Game.Msal
      • ClientID
      • MsalClientHelper
      • OAuth
    • CmlLib.Core.Bedrock.Auth
    • 자료
  • 🌐MojangAPI
    • 홈
    • Mojang API
    • SecurityQuestion
  • ⚒️Installer.Forge
    • 홈
    • 지원되는 버전
    • 시작하기
    • MForge
    • ForgeVersionLoader
Powered by GitBook
On this page
  • Offline session 사용 후 게임 크래쉬 (1.20~)
  • `ServerIP` 옵션과 함께 게임 실행 시 로딩 스크린에서 텍스쳐 깨짐
  • 비활성화된 '멀티플레이' 버튼, Not authenticated with Minecraft.net
  • 1.16.4 와 1.16.5 에서 Offline session 사용시 비활성화된 '멀티플레이' 버튼
  • Cannot find version <version_name>
  • Could not create Java Virtual Machine
  • Error: could not open jvm.cfg
  • SRV Record and ServerIP
  • Can't access the Minecraft window (macOS)
  • Java runtime error with OpenJDK 11 (macOS)
  • Java runtime error with OpenJDK 11 (Linux)
Edit on GitHub
  1. CmlLib.Core
  2. 자료

알려진 문제

Previous자주 묻는 질문Next예시 런처

Last updated 1 year ago

Offline session 사용 후 게임 크래쉬 (1.20~)

Use below code to create offline session.

public static MSession CreateFakeSession(string username)
{
    return new MSession
    {
        Username = username,
        UUID = "2749420bc7a54b05ab622b34e61b8a79", // fake UUID
        AccessToken = "accesstoken", // fake access token
        UserType = "Mojang"
    };
}

// usage:
// var session = CreateFakeSession("username123");

`ServerIP` 옵션과 함께 게임 실행 시 로딩 스크린에서 텍스쳐 깨짐

  • Game crashed with texture related error message in 'Connecting...' loading screen.

Unfortunately, These bugs are Minecraft's bug. We can't fix.

비활성화된 '멀티플레이' 버튼, Not authenticated with Minecraft.net

1.16.4 와 1.16.5 에서 Offline session 사용시 비활성화된 '멀티플레이' 버튼

Cannot find version <version_name>

Make sure that Mojang launcher can find your version and launch your version without any problem. CmlLib.Core will not able to find or launch the version which Mojang launcher can't.

If this exception throws even target version is in versions directory (default: <Your Minecraft Path>/versions), check version directory name, version json file file, and id property is all same. For example, assume you want to launch your own version named myversion. your version json file should be in versions/myversion/myversion.json and the id property of myversion.json should be myversion. so directory name myversion and the json file name myversion.json and the value of id property myversion is all same.

If the launcher still throw this exception, call launcher.GetAllVersions() method before launcher.CreateProcess. If you add new version into the version directory after the launcher is initialized, you should update version list through GetAllVersions() or GetAllVersionsAsync() method.

Could not create Java Virtual Machine

Error: could not open jvm.cfg

Reinstall Java. if your launcher uses MJava or JavaChecker, Remove the runtime directory (default: <Your Minecraft Path>/runtime) and install java again.

SRV Record and ServerIP

Some version of Minecraft cannot connect to server which has a SRV record when you use direct server connection feature (MLaunchOption.ServerIP).

Can't access the Minecraft window (macOS)

You have to set DockName and DockIcon in LaunchOption. If DockName is empty, you can't click or access the Minecraft window.

Example:

var launchOption = new MLaunchOption
{
    MaximumRamMb = 1024,
    Session = session, 
    DockName = "Minecraft"
};

On macOS Catalina, Minecraft works normally without the above options. Old macOS versions don't work well.

Java runtime error with OpenJDK 11 (macOS)

Old Minecraft versions don't support OpenJDK 11.

Java runtime error with OpenJDK 11 (Linux)

Use Java 8. Old Minecraft versions don't support OpenJDK 11.

To install Java 8, type the following lines in terminal:

sudo apt-get update
sudo apt-get install openjdk-8-jre

To make sure it worked, type java -version. It should return java version "1.8.0_~~~".

Your xbox account would block multiplay feature. Check your account settings.

In a 32-bit JVM, There is limit on MaximumRamMb. Recommended value of MaximumRamMb on 32-bit JVM is 1024.

🚀
ref
[BUG] When i provide server ip and port for auto connect to server on startup, the background does not load in 1.16.5 OptiFine
More Informations
https://github.com/CmlLib/CmlLib.Core/issues/85
More information