Comments (7)
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.
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.
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.
Updated readme: 7230367
from node-steam-trash-bot.
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.
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.
I think that just happens when there are no more trade offers to accept.
from node-steam-trash-bot.
Related Issues (9)
- Crash on trade offers via the /tradeoffer URL HOT 9
- Trade via website is not working. HOT 5
- Steam market fail authorization HOT 11
- Complete noob, can't seem to make it work HOT 4
- Windows Support HOT 1
- Unexpected identifier
- Trade offer decline
- steam has concurrent limit when one andorid device does secondConfirmation? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-steam-trash-bot.