JnCrMx / discord-game-sdk4j

Java bindings for Discord's Game SDK
MIT License
122 stars 23 forks source link

Pipe not found even though CreateParams.Flags.NO_REQUIRE_DISCORD is used #93

Open m3z0id opened 4 weeks ago

m3z0id commented 4 weeks ago

When I start my program with discord closed, it throws this exception without stack trace: java.io.FileNotFoundException: \\.\pipe\discord-ipc-0 (The system cannot find the file specified) It doesn't make sense, because I specified that Discord is not required as you can see in the code block below.

CreateParams params = new CreateParams();
params.setClientID(<clientidaslong>);
params.setFlags(CreateParams.Flags.NO_REQUIRE_DISCORD);
Core core = new Core(params);

I compiled this library myself from the newest code available to this day

m3z0id commented 4 weeks ago

I found something that has to do something with it in WindowsDiscordChannel.java