Giter Club home page Giter Club logo

Comments (17)

leamare avatar leamare commented on June 8, 2024 1

image

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024 1

Here's the copy

libraryfolders.vdf.txt

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024

Tried versions 1.0.2, 1.0.3, 1.0.4

Version 1.0.2 ended up installing the service/config, but it couldn't run. Running the executable with -f flag led to crash with "Failed to debug" error. Non-debug version just ended up crashing silently.

Versions 1.0.3 and 1.0.4 were similar. Install script was running properly, but the service wasn't installed for whatever reason. Launching them with -f flag didn't led to any crashes (unsurprisingly), but it didn't seem to connect to the game client.

It doesn't seem like a permissions problem (1.0.2 was able to install, after all), but I suspect there might be a problem with accessing the 52424 port? Not entirely sure.

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

image

This is the output when the installation process work. Can you send a picture of the output when you try install?

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

@leamare Can you run a trial version on your machine? I created a version with more debug messages.
It won't be necessary to uninstall your current version, just unzip and run.

When you confirm I send the file

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024

I'll be able to run it tomorrow.

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

dota-rpc-client-test.zip

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024

image

Seems to be a permission issue after all, though I'm not sure where it could've come from and what folders is it using.

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

Just to be sure, does this error also happen when you run as administrator?

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

I will create an exception handler in case it fails to create the folder or file.

In case of error, manual installation information should appear in the terminal

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

dota2-rpc-client-test.zip

This version has exception handling. The output will also show which files it tries to write and an error message should be displayed if it fails.

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024

Just to be sure, does this error also happen when you run as administrator?

Yes, I only run it from an admin PShell.

image

Seems like there is the issue. It's trying to create a folder and cfg file in F:\SteamLibrary\...
But Dota client is located in D:\SteamLibrary\....

It should probably have some kind of feedback when this happens and also show the path it used.
Changing "STEAM_FOLDER" in the config file doesn't really solve the issue (it's still looking in the wrong library folder).

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024

I tried it with the mainline 1.0.4 version.
Changing STEAM_FOLDER to D:\\SteamLibrary forced it to actually show this prompt:

File 'D:\SteamLibrary/SteamApps/libraryfolders.vdf 'not found!
Unable to find 'dota 2 beta' folder using steam library, please set the directory...

and allow me to manually select dota 2 beta folder.

So it seems to be the issue with the automatic folder detection

In the libraryfolders.vdf the "F" drive one comes first, but it doesn't have "570" listed. Only the "D" library folder.

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

You're right!

Can you send me a copy of your libraryfolders.vdf file for me to take a look at. (You can remove some games from your list and your personal information if necessary)

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

@leamare, can you test this version?

This is the definitive version, so it is recommended to uninstall the old one if you have it installed.

Link: #24

from dota2-rpc-client.

leamare avatar leamare commented on June 8, 2024

This should do

image

from dota2-rpc-client.

andsfonseca avatar andsfonseca commented on June 8, 2024

Perfect, I hope that's all. Thanks for testing with me.

I will accept the pull request and close the thread. You can reopen if you need.

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.