Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Question. #23

Closed
maxibaby opened this issue Mar 5, 2014 · 4 comments
Closed

Question. #23

maxibaby opened this issue Mar 5, 2014 · 4 comments

Comments

@maxibaby
Copy link

maxibaby commented Mar 5, 2014

Hello, im new at this and i have a few questions:

1º) Could i get banned if i send messages to a channel each 60 seconds? I know is a stupid question.

2º) Is it possible to make an exe from the script i have now ?

3º) When the script is already running, is there any way i can interact with it in real - time ? I mean:

Could i have a script that just log's into dota and joins a channel. And then i send messages via console:

Dota2.sendMessage("","")

Or

Send a Dota2.leaveChat("") so i can close it, because otherwise the channels get bugg

Tried using
node
.load ./script.js

But it won't execute my loop

@rjackson
Copy link
Member

rjackson commented Mar 5, 2014

Hi,

  1. Going by the Steam Subscriber Agreement's section on "Restrictions on Use of Software" it could be argued that using tools built with libraries such as node-dota2, node-steam, SteamKit (etc) - which are derived from reverse-engineering Steam - do indeed violate the Steam Subscriber Agreement. That said, Valve are pretty friendly with modding in general and I think they understand the value such tools can bring to Steam and their games' ecosystem, but ultimately I think it's at Valve's discretion, you should be careful not to do anything that might be considered abusive or detrimental to Steam and/or Dota 2. As such, I can't and don't give any sort of guarantees that an account will not be banned/sanctioned in any way because of usage of node-dota2.

  2. I have no experience with this, but googling for "nodejs to exe" brings up a fair few results. Have a play around with the solutions from searches and see where that gets you.

  3. You could have a web interface and use web sockets, otherwise I'm sure there's CLI stuff you can do. Again, this is best left to searching - I'm probably of little help here.

To run your script simply input node ./script.js.

@maxibaby
Copy link
Author

maxibaby commented Mar 5, 2014

Thanks you for your awesomely fast answer.

I would like to know how could i investigate more on this 3) since im new to programming this is kind a, do and learn project im doing.

So far from what i understand, this is an application that sends some packets to dota2 servers, and handles the answers.

What i would want to do is: Normally execute the script + be able to send him new commands.

So i could imagine this like a chat ? Where first server is gonna exceute when i login to it and then gonna exceute what ever i send him ?


Going like this, i found out that a could idea could be sending messages through Steam chat, as instructions to be executed on serverside :)

@maxibaby
Copy link
Author

maxibaby commented Mar 5, 2014

Could someone help me here seishun/node-steam#53

@bontscho
Copy link
Contributor

i assume this has been solved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants