Git Product home page Git Product logo

Comments (7)

lobzenko avatar lobzenko commented on August 31, 2024

hm, i think its not working without bot.js, but in bot,js

var steam = require('steam');
var SteamTrade = require('steam-trade');

pls more documentation

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

ok, i can run bot.js, now i have:

root@bourbon:path/steambot# node bot.js
2014-03-17T18:31:58.688Z - warn: No servers file found, using defaults
2014-03-17T18:31:59.730Z - error: Caught Steam error cause=logonFail, eresult=65

keep diging, i think reason is guardCode in secret.js

from node-steam-trash-bot.

bonnici avatar bonnici commented on August 31, 2024

See here for what the errors mean: https://github.com/seishun/node-steam/blob/master/lib/generated/steam_language.js

65 means InvalidLoginAuthCode so your guardCode config must be wrong. You should try to run the bot without a guardCode (set it to null), then you'll get error code 63 (AccountLogonDenied) and Steam will send a code to the email associated with your account. Then change guardCode to what they send you and it should work. After that you can set guardCode to null again or just leave it.

from node-steam-trash-bot.

bonnici avatar bonnici commented on August 31, 2024

Updated readme: 7230367

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

Hello, thx for anwer.

+* Set all config and leave guardCode set to null

i think its correct, but not tested it. When this field equal '', SteamGuard code not sended, i run example.js from Steam module and get guard code, now testing offline offers )

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

If run bot.js and send offline steam offer, he run CasperJS, and first time works right, any next offer send error:

TypeError: 'null' is not an object (evaluating 'url.toLowerCase') reason this code

var offerUrl = this.evaluate(function() {
return document.querySelector('a.header_notification_tradeoffers').getAttribute('href');
});

offerUrl is null, bcs user not login, i check it on screenshot. I think cookie not send, but read from file and adding to PhantomJS correct.

Keep diging )

from node-steam-trash-bot.

bonnici avatar bonnici commented on August 31, 2024

I think that just happens when there are no more trade offers to accept.

from node-steam-trash-bot.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.