Micro Dota 2 client using node-dota2
To get it up and running, follow these steps:
- Rename
config.js.example
toconfig.js
. - Configure your chat channels and other options in
config.js
. - Rename
steamcreds.js.example
tosteamcreds.js
. - Put your username and password in
steamcreds.js
. If you want it to automatically set your display name, you can uncomment that line.
Steam Guard support has been improved immensely. You simply run the program as normal, then when it asks for your SG code, type /sg <code>
.
Run node chat.js
to run the program.
^P/^N go to the prev/next tab, ^C quits, and ^X displays a help message. Mousewheel up/down and ^E/^Y scrolls the current chat window up/down. Generally, Enter performs some context-specific action, like sending a message/command or selecting a person in the friends list.
The two default tabs are the system log tab and the friends list. You can select a friend from the friends list and press enter to start steam messaging them. Steam messaging tabs will also be automatically opened when you receive a message.
Tabs display their number of unread messages in parenthesis and turn red if they have unread messages. Tabs will generally stay scrolled to the bottom when receiving new messages if that's how you left them. If you scroll up, they'll stay at their current scroll position.
Currently, you'll need node 0.12.
Use npm install
to automatically install the requirements.
- Login failures: Try the instructions a few times and verify that your username, password, and steam guard code are entered correctly. If it still doesn't work, file a bug. Note the error code you get on logon failures, and also try running the
logintest.js
(you'll need to specify your steam guard code insteamcreds.js
for this one). - I can't scroll with the mouse: OS X's terminal doesn't send the right codes for scrolling. For any other terminals, make sure mouse scrolling works in vim. If it works there but not here, file a bug.
- Other stuff: File a bug.
- Logging into Steam, including Steam Guard support.
- View friends list.
- Send and receive Steam messages.
- Join and send messages to Dota 2 chat channels.