alex7kom / node-steam-tradeoffers

Steam Trade Offers for Node.js **NO LONGER MAINTAINED**
MIT License
287 stars 100 forks source link

Login not Working #65

Closed spyfly closed 9 years ago

spyfly commented 9 years ago

Hello, I got a Problem with logging in into the example bots. This is what I get after inserting the SteamGuard Code:

connected encrypt request handshake complete logon fail: 65, sessionID: 20601331

events.js:72 throw er; // Unhandled 'error' event ^ Error: Logon fail: 65 at SteamClient.handlers.(anonymous function) (/home/pi/TradeBot/node_modules/steam/lib/handlers/user.js:178:11) at SteamClient._netMsgReceived (/home/pi/TradeBot/node_modules/steam/lib/steam_client.js:102:26) at SteamClient.handlers.(anonymous function) (/home/pi/TradeBot/node_modules/steam/lib/steam_client.js:188:10) at SteamClient._netMsgReceived (/home/pi/TradeBot/node_modules/steam/lib/steam_client.js:102:26) at Connection.emit (events.js:95:17) at Connection._readPacket (/home/pi/TradeBot/nodemodules/steam/lib/connection.js:50:8) at Connection.emit (events.js:92:17) at emitReadable (_stream_readable.js:427:10) at emitReadable (_stream_readable.js:423:5) at readableAddChunk (_stream_readable.js:166:9)

How can this be fixed?

srabouin commented 9 years ago

https://github.com/SteamRE/SteamKit/blob/master/Resources/SteamLanguage/eresult.steamd

65 = invalid auth code -- and you should post this in node-steam since it's related to node-steam ... anyway the issue is on your end

alex7kom commented 9 years ago

Not related to node-steam-tradeoffers.

spyfly commented 9 years ago

When I usw the Steam-Node Example, It is able to connect. Only the Steam-Tradeoffers doesn't works to login. Before this, it Bad a Problem with the sentryfile, it said something with "fs" is not defined.

alex7kom commented 9 years ago

Thank you for reminding about fs, this is now fixed in https://github.com/Alex7Kom/node-steam-tradeoffers/commit/bec517d07d131d46713e15e908bd219b990f4da7. I suspect this was the issue since sentry file wasn't written and auth code expired in the end.

spyfly commented 9 years ago

Thank you. It works now.

patrys666 commented 9 years ago

@spyfly How did you fix this problem? Please help.

scholtzm commented 9 years ago

Error 65 is invalid auth code.

patrys666 commented 9 years ago

I'm not sure I'm doing it well. I try to login via node, waiting for auth code, adding authcode to file and run it again. What am I doing wrong?

patrys666 commented 9 years ago

Also, how to generate ssfn file?

spyfly commented 9 years ago

You get the ssfn from your Steam Folder.

patrys666 notifications@github.com schrieb am Fr., 31. Juli 2015 18:44:

Also, how to generate ssfn file?

— Reply to this email directly or view it on GitHub https://github.com/Alex7Kom/node-steam-tradeoffers/issues/65#issuecomment-126748880 .