Jump to content
McKay Development

Recommended Posts

Posted

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 :D

Posted (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 by mtn
  • 4 months later...
Posted

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.  :huh:

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...