-
Notifications
You must be signed in to change notification settings - Fork 191
Help with installation #6
Comments
Hi When you install Node.js you also install a tool called npm - which is the node package manager. You can install this library into your projects with simply If you're wanting to play around with the actual repository, just clone that somewhere on your drive and run If you run into problems compiling dependencies (which is perhaps why you mentioned ursa - I too had problems with that on Windows iirc) then you need to set up the dependencies for node-gyp, and if you're on Windows you then run the I'm using linux as my development platform, so if you are indeed on Windows I might not be able to help you with everything. Regardless, let me know how you get on, RJ |
Thank you for your fast reply.
|
Yes you will need Python for some of the installation scripts. This library is built to be used with @seishun's node-steam, you write your bot with node-steam and initialize node-dota2 with an instance of that bot, then node-dota2 uses node-steam's API to send and receive messages via that bot. You cannot use this library with any C# or Steamkit-based projects like @Jessecar96's SteamBot. The If you choose to stick with SteamBot or a SteamKit-based project then I can't offer any help. I'm not aware of any dota2 libraries for SteamKit, nor am I experienced with it outside of occasionally browsing it's code for reference. |
OK, regarding the visual studio components error earlier I found this http://stackoverflow.com/questions/14278417/cannot-install-node-modules-that-require-compilation-on-windows-7-x64-vs2012 , just have to add I am getting confused. The reason I mentioned ursa was because this line from node-steam This |
I finally made some progress. I will post a summary of what I did, hopefully will make the life easier for anybody who stumbles here unprepared like I did.
Anyway that is how I finally got node-steam to work.
, but I get the following error: http://pastebin.com/YTr05Uz2 |
You need to create a node-steam client and log into Steam with it before node-dota2 can do anything; node-dota2 piggybacks the client, but it doesn't manage it for you. Here is a simple skeleton:
|
I am not sure if I understand. |
Make a blank file called 'sentry'. Its simply a place to store a token that identifies the client with Steam Guard - so if you use Steam Guard you only need to verify the logon once. If you're not using steam guard you can just comment out the related lines. |
Thank you! |
I am very new to all this, please provide some instructions for this.
From what I gather I need to have installed:
http://nodejs.org/
(not sure about this one) https://github.com/Obvious/ursa
https://github.com/RJacksonm1/node-steam (which is somewhat older then https://github.com/seishun/node-steam)
finally install this.
Am I correct?
The text was updated successfully, but these errors were encountered: