andsfonseca / dota2-rpc-client

Allows you to observe the status of your DotA 2 (Defense of the Ancients 2) match within the Discord, through the Rich Presence service. 🎮
https://andsfonseca.github.io/dota2-rpc-client/
MIT License
47 stars 8 forks source link

[Bug]: The service shuts down after the match/test lobby is started #58

Open dvllvsberg opened 7 months ago

dvllvsberg commented 7 months ago

Are you on the latest version?

Is there a fix in progress related to your proposal?

Describe the bug

Yesterday everything just worked. But idk, maybe just because the new patch just came out today, when I try to start the match or test lobby, the service just shuts down.

Before starting the match/test lobby:

Снимок экрана 2024-03-22 181945

Снимок экрана 2024-03-22 182020

After starting the match/test lobby:

Снимок экрана 2024-03-22 182409

Снимок экрана 2024-03-22 182417

It seems that this problem is due to the new patch, but everything is possible, maybe it is just because I doing something wrong.

Expected Behavior

No response

Dota 2 Patch

7.35d

Steps To Reproduce

No response

Anything else?

  1. I tried to uninstall the service by using uninstall.windows.bat and reinstall it again by using install.windows.bat, but that didn't help.
  2. By executing dota2-rpc-client.exe, the console pops up and disappears immediately in like 0.1 seconds.
  3. Yesterday, I just downloaded and installed it, and the only issue was the language. It didn't change to my default "Russian" language.
andsfonseca commented 7 months ago

I'll check this as soon as possible.

To open as console application, open the terminal and execute:

dota2-rpc-client.exe -f

Maybe this will show more information about the error.

dvllvsberg commented 7 months ago

I'll check this as soon as possible.

To open as console application, open the terminal and execute:

dota2-rpc-client.exe -f

Maybe this will show more information about the error.

### It seems like it is a bug, here is console output: image image

Another issue, how does software detect en_us, if my Game, Discord, OS, startup parameters, have nothing in common with English? If I should I can open another separate Issue.

andsfonseca commented 7 months ago

Thanks for the report, it seems to be something with the discord api.

As soon as I have more details I will let u know about this

andsfonseca commented 7 months ago

Oh, about the auto language detection, the code tries to get the default locale of the system. But when fail, the automatically set as en-us.

But you can force to use your language inside config.json.

dvllvsberg commented 7 months ago

Got it, so I'll just wait for fix. Thanks a lot!

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 30 days with no activity.

andsfonseca commented 6 months ago

I'm still working on it!

For now I'm working on better thread management to communicate with discord and studying options for using an alternative version of the discord SDK

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.

andsfonseca commented 4 months ago

Still working on it

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.