Giter Site home page Giter Site logo

Comments (34)

APrabhu21 avatar APrabhu21 commented on May 24, 2024 2

image
here you go

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024 1

theres no file with thatname in that folder

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024 1

i put the file it still didnt work

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024 1

oh it worked the problme was i was directly putting the cfg file in the cfg folder while i had to create gamestate_integration folder and put it inside that. Sorry it was my fault

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024 1

Nice! Put a print here with your favorite hero so I can check if everything is ok.

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

Hello @APrabhu21, thanks for testing the application.

Could you check some things for me?

After confirming the application installation, could you open the task manager and check if this service is running?

image

Restart Dota 2, if it's open

from dota2-rpc-client.

galax-debug avatar galax-debug commented on May 24, 2024

Same for me :/

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

Same for me :/

Could you perform the same test mentioned above?

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

@APrabhu21, if it's running normally, check for me if the service was able to create the file gamestate_integration_rpc.cfg in this specific folder of dota files.

image

The content of this file is this:

"dota2-rpc-client Configuration"
{
    "uri"               "http://127.0.0.1:52424/"
    "timeout"           "5.0"
    "buffer"            "0.1"
    "throttle"          "0.1"
    "heartbeat"         "30.0"
    "data"
    {
        "provider"      "1"
        "map"           "1"
        "player"        "1"
        "hero"          "1"
        "draft"         "1"
        "wearables"     "1"
    }
    "auth"
    {
        "token"         "518quwZuBDWr"
    }
}

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

theres no file with thatname in that folder

There seems to be an error creating the file.

I'll upload the file for you to literally put inside the folder, let me know if this works correctly after that.

gamestate_integration_rpc.zip

Alternatively, I'll create a debug version. In case you want to help me look at this problem more closely.

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

do i have to set it up in discord too or something

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

do i have to set it up in discord too or something

In Discord, make sure this option is enabled.

image

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

image
it still only shows normal dota while im in demo mode

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

I just uploaded a debug version from this link.

https://github.com/andsfonseca/dota2-rpc-client/releases/download/v1.0.2/dota2-rpc-client-debug.zip

Can you unzip the file, open the terminal in the current folder and then type the following command:

dota2-rpc-client -f

Give me the output of the program. Expected is to have this output:

image

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

any specific place to unzip it or wherever

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

ah i misclicked
and closed it

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

any specific place to unzip it or wherever

wherever, just be careful not to delete the files later

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

image
it shows me this error message

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

I'm sorry about that, for some reason I thought you would have the development package installed on your machine. It's looking for Microsoft Visual C++ v140 Debug on your system.

Does the same error happen with the release version?

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

it doesnt show any errors with the release version

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

Can you run this same command in the release version?

dota2-rpc-client -f

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

i ran that command and it executed as well but it still doesnt show whats expected in activity status
c) Microsoft Corporation. All rights reserved.

E:\Tools\dc rich>dota2-rpc-client -f
dota2rpc started
\Unable to find DotA 2 files! Please create the following file with the name 'gamestate_integration_rpc.cfg' and insert it into the folder '{{STEAM_LIBRARY_PATH}}/dota 2 beta/game/dota/cfg/gamestate_integration/'.

=========== gamestate_integration_rpc.cfg ================
"dota2-rpc-client Configuration"
{
"uri" "http://127.0.0.1:52424/"
"timeout" "5.0"
"buffer" "0.1"
"throttle" "0.1"
"heartbeat" "30.0"
"data"
{
"provider" "1"
"map" "1"
"player" "1"
"hero" "1"
"draft" "1"
"wearables" "1"
}
"auth"
{
"token" "518quwZuBDWr"
}
}

Listening at http://127.0.0.1:52424.
Press Ctrl+C twice to exit.
|

heres whats in the cmd window rn

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

This is the standard response when it fails to create the integration file automatically. It's a good sign actually.

Let's do one more test.

Uninstall the service, if you have it installed;
Manually copy the cfg file to your Dota 2 folder;
Close dota 2;
Run the program using the command (Do not close the terminal);
Open dota and enter the hero demo

The file is here: #1 (comment)

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

it still only shows as playing dota 2

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

it says unable to find dota2 files at the top in cmd window

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

Perfect, let me know if you find any more problems.
I will try to improve this installation process later.

Then try to install again, so you don't have to keep opening the terminal every time.

I don't participate much in the reddit community but if you find someone with a similar problem can you ask them to check this issue?

from dota2-rpc-client.

APrabhu21 avatar APrabhu21 commented on May 24, 2024

from dota2-rpc-client.

HyunJae5463 avatar HyunJae5463 commented on May 24, 2024

The Service is running and the gamestate_integration Folder exist but it still only shows Playing Dota 2
Tried to reinstall and restart PC but doesnt change anything
Using dota2-rpc-client -f gives same result as from the other dude in this thread
Also tried uninstalling, manually adding cfg file and restarting Dota

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

Hello @HyunJae5463, thx for use

Can you perform some tasks for me?

  • First uninstall the service if you have it installed.
  • Open the terminal in the application folder and enter the following command:
dota2-rpc-client -f
  • Close and Open Dota 2 and enter the demo
  • Send me the output of the program.

from dota2-rpc-client.

phola123 avatar phola123 commented on May 24, 2024

@andsfonseca hope you are supporting this project.
I tried running it but its not showing in discord.
-Files are created
-Service is running (tried restarting it)

  • "-f" command in terminal shows me failed to update status.

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

Hello @phola123, let's test a few things.

  1. Go to your discord and make sure the option to display game activity is enabled and then restart discord.
  2. Check if the service is working. To do this, just open the task manager and go to the services tab. Look for a service called dota2-rpc and check if it is running
  3. Restart the service. (Or start if off)
  4. Restart Dota.
  5. Open a test map or a game with bots and check if discord has updated your profile

If nothing happened anyway.

  1. Stop the service in the task manager.
  2. Open the terminal with the command "-f", as you did before
  3. Open a test map or a game with bots and send me some screenshots of the terminal.

from dota2-rpc-client.

phola123 avatar phola123 commented on May 24, 2024

image

in test map with bots shows nothing

image

After closing game

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on May 24, 2024

It seems to be something related to discord.

I'll take a look and see if I can find out what's going on.

Recently the Discord SDK was updated, maybe something related to this.

I'll add some error messages related to discord connection failure instead of just a failure message.

Not very related, one user said he was able to run the app using administrative privileges. See #20.

I'll create a more specific issue for this.

from dota2-rpc-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.