mtn Posted June 10, 2016 Report Share Posted June 10, 2016 hi i wanted to ask if and when yes how i can bind ips in node-steam-user like herehttps://github.com/DoctorMcKay/node-steam-client#cmclient Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 10, 2016 Report Share Posted June 10, 2016 You'd create your own CMClient, bind it to the IP you want, and pass it to the constructor of SteamUser. Quote Link to comment Share on other sites More sharing options...
mtn Posted June 10, 2016 Author Report Share Posted June 10, 2016 hey i wanted to ask if you can explain me how to add ptocol and ip binding ting to the existing node-steam-user lib.if you want money for adding this tell me your price Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 10, 2016 Report Share Posted June 10, 2016 var CMClient = require('steam-client').CMClient; var SteamUser = require('steam-user'); var client = new CMClient(); client.bind('192.168.0.2'); var user = new SteamUser(client); Quote Link to comment Share on other sites More sharing options...
mtn Posted June 10, 2016 Author Report Share Posted June 10, 2016 (edited) /root/node_modules/steam-client/node_modules/protobufjs/dist/ProtoBuf.js:2440 throw Error(this+"#"+keyOrObj+" is not a field: undefined"); ^ Error: .CMsgClientLogon#accountName is not a field: undefined at Error (native) at MessagePrototype.set (/root/node_modules/steam-client/node_modules/protobufjs/dist/ProtoBuf.js:2440:35) at MessagePrototype.set (/root/node_modules/steam-client/node_modules/protobufjs/dist/ProtoBuf.js:2434:38) at Message (/root/node_modules/steam-client/node_modules/protobufjs/dist/ProtoBuf.js:2363:34) at CMClient.logOn (/root/node_modules/steam-client/lib/cm_client.js:188:52) at Object.<anonymous> (/root/newip.js:41:8) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10) at startup (node.js:148:18) at node.js:405:3 what i doing wrong? var SteamTotp = require('steam-totp'); var request = require("request"); var CMClient = require('steam-client').CMClient; var SteamUser = require('steam-user'); var client = new CMClient(); client.bind('127.0.0.1'); var user = new SteamUser(client); var code = SteamTotp.generateAuthCode('======'); console.log(code); client.logOn({ "accountName": "*******", "password": "********" }); Edited June 10, 2016 by mtn Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 10, 2016 Report Share Posted June 10, 2016 user.logOn, not client.logOn Quote Link to comment Share on other sites More sharing options...
mtn Posted June 10, 2016 Author Report Share Posted June 10, 2016 THANK YOU it works Quote Link to comment Share on other sites More sharing options...
jazz Posted November 7, 2016 Report Share Posted November 7, 2016 Hi, may I connect to Steam Api via ipv6? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted November 7, 2016 Report Share Posted November 7, 2016 No. No Steam services support IPv6 at the present time. jazz 1 Quote Link to comment Share on other sites More sharing options...
Frost Byte Posted November 8, 2016 Report Share Posted November 8, 2016 Just a noob question, but why would you want to bind an ip to node-steam-user? Does it provide some sort of benefit? And what does it do? Quote Link to comment Share on other sites More sharing options...
jazz Posted November 8, 2016 Report Share Posted November 8, 2016 Just a noob question, but why would you want to bind an ip to node-steam-user? Does it provide some sort of benefit? And what does it do? Maybe he want the army of bots on a single machine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.