На pc бот работает без всяких намёков)
Решил поставить на vps (Ubuntu 14.04)
Поставил node, скинул бота в корнивую (папку root)
При запуске вылетает ошибка.
root@vps-15088:~/Bot1# node tradesell.js
connected
encrypt request
/root/Bot1/node_modules/steam/lib/steam_client.js:150
var cryptedSessKey = require('crypto').publicEncrypt(fs.readFileSync(__dirna
^
TypeError: Object #<Object> has no method 'publicEncrypt'
at SteamClient.handlers.(anonymous function) (/root/Bot1/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/root/Bot1/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/root/Bot1/node_modules/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)
at Connection.Readable.push (_stream_readable.js:128:10)
at TCP.onread (net.js:529:21)