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
41 stars 8 forks source link

[Bug]: Service doesn't start automatically #61

Open ER-95 opened 1 month ago

ER-95 commented 1 month ago

Are you on the latest version?

Is there a fix in progress related to your proposal?

Describe the bug

I installed the service, but I have to start it manually

Expected Behavior

Service should start automatically when game is opened

Dota 2 Patch

No response

Steps To Reproduce

  1. Install the service
  2. Open the game

Anything else?

No response

andsfonseca commented 1 month ago

Hello @ER-95 Can you check this issue to see if this service is working properly?

https://github.com/andsfonseca/dota2-rpc-client/issues/48

Search for dota2rpc and check if the service is started.

Check also if any errors appear when you use the direct command line:

dota2-rpc-client.exe -f

btw, https://github.com/andsfonseca/dota2-rpc-client/issues/58 we are investigating an issue related to discord threads, maybe can be related

but I can only be sure after you confirm it.

ER-95 commented 1 month ago

@andsfonseca The service starts fine (and stays running) if I start it manually from services.msc, but it doesn't automatically run.

andsfonseca commented 1 month ago

I don't have a computer at the moment, but if you access services.msc and search for dota2rpc. In the context menu you have the properties options. Could you check which startup type is defined?

ER-95 commented 1 month ago

@andsfonseca It shows as "Automatic" - full screenshots below: image image image image

andsfonseca commented 1 month ago

It is set to automatic which is correct. I believe that when initializing it is giving an error, similar to #58. I'll investigate.

Okay, also I'll try to find a way to see the error log from the services in the next update, thanks for reporting.

I'm trying to refactor the application threads so that these errors don't close the program immediately. I believe this solves or helps us to find the problem that is happening to you

github-actions[bot] commented 2 days ago

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