mirror of
https://git.sanhost.net/sanasol/hytale-f2p.git
synced 2026-02-28 07:41:47 -03:00
Revert debug builds, update fastutil issue docs
Agent and -Xshare:off both ruled out as causes. Restored normal agent injection. Updated docs with complete findings — issue remains unsolved. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -482,11 +482,15 @@ async function launchGame(playerNameOverride = null, progressCallback, javaPathO
|
||||
}
|
||||
}
|
||||
|
||||
// DualAuth Agent: DISABLED for debug - testing fastutil classloader issue
|
||||
// TODO: re-enable after testing
|
||||
// DualAuth Agent: Set JAVA_TOOL_OPTIONS so java picks up -javaagent: flag
|
||||
// This enables runtime auth patching without modifying the server JAR
|
||||
const agentJar = path.join(gameLatest, 'Server', 'dualauth-agent.jar');
|
||||
if (fs.existsSync(agentJar)) {
|
||||
console.log('DualAuth Agent: SKIPPED (debug build - fastutil classloader test)');
|
||||
const agentFlag = `-javaagent:"${agentJar}"`;
|
||||
env.JAVA_TOOL_OPTIONS = env.JAVA_TOOL_OPTIONS
|
||||
? `${env.JAVA_TOOL_OPTIONS} ${agentFlag}`
|
||||
: agentFlag;
|
||||
console.log('DualAuth Agent: enabled via JAVA_TOOL_OPTIONS');
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user