Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

Crash when starting multiple client with ReplayCapture enabled

Open iwixw opened this issue 4 years ago • 5 comments

Prerequisites


Description of the Question

Login error occurs


Describe your current situation

A clear description of what is happening (The app didn't do what I expected, instead [...]/I don't know how to make the app to do [...])


Solutions you've already considered

  1. Set [...] setting in my config

Screenshots to help explain your situation (If applicable)

image


Anythings that could help us answering your question

(your scripts, config, log output, information about your system...)

iwixw avatar Jun 15 '21 06:06 iwixw

Replay capture cannot create temporary folder on your D drive. Please make sure console client has correct access permission to D drive.

ReinforceZwei avatar Jun 15 '21 07:06 ReinforceZwei

How to do it?

iwixw avatar Jun 15 '21 07:06 iwixw

I get this error when I open two consoles. With the first, everything is fine, but in the second this is a mistake. Yesterday I could open two accounts at once

iwixw avatar Jun 15 '21 07:06 iwixw

You cannot have two client running at the same time when ReplayCapture is enabled as they share the same cache file. Turning your question to bug report.

ReinforceZwei avatar Jun 15 '21 08:06 ReinforceZwei

Related code: https://github.com/ORelio/Minecraft-Console-Client/blob/4577deee61c913c1457c3ea411027f342689eb37/MinecraftClient/Protocol/ReplayHandler.cs#L27 https://github.com/ORelio/Minecraft-Console-Client/blob/4577deee61c913c1457c3ea411027f342689eb37/MinecraftClient/Protocol/ReplayHandler.cs#L131-L161 The handler would need to generate a unique cache name on launch, e.g. by appending a small random string. This way different MCC instances would have a different cache directory.

ORelio avatar Jun 17 '21 20:06 ORelio