• Данный материал предоставлен сайтом исключительно в ознакомительных целях.
    Администрация не несет ответственности за его содержимое. По всем жалобам пишите на почту abusevhguru@yandex.ru

Проблема с ботом

kapriiuk

Новичок
Сообщения
9
Реакции
0

kapriiuk

  • 9
  • 0
При запуске, вылазит такая ошибка​

root@cs-rulet:/usr/bot# node steambot.js
[8:40:52:666] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[8:40:53:550] Message: "mongo connected"
connected
encrypt request

/usr/bot/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) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
root@cs-rulet:/usr/bot# ^C
root@cs-rulet:/usr/bot# node steambot.js
[8:45:53:930] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[8:45:54:628] Message: "mongo connected"
connected
encrypt request

/usr/bot/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) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
root@cs-rulet:/usr/bot# ^C
root@cs-rulet:/usr/bot# node steambot.js
[8:46:27:332] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[8:46:28:52] Message: "mongo connected"
connected
encrypt request

/usr/bot/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) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
root@cs-rulet:/usr/bot# service mongod start
Failed to start mongod.service: Unit mongod.service failed to load: No such file or directory.
root@cs-rulet:/usr/bot# node steambot.js
[9:25:40:406] Message: "Using ssfn file"
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[Error: /usr/bot/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/node_modules/bson-ext/build/Release/bson.node: undefined symbol: node_module_register]
js-bson: Failed to load c++ bson extension, using pure JS version
[9:25:41:107] Message: "mongo connected"
connected
encrypt request

/usr/bot/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) (/usr/bot/node_modules/steam/lib/steam_client.js:150:42)
at SteamClient._netMsgReceived (/usr/bot/node_modules/steam/lib/steam_client.js:106:26)
at Connection.emit (events.js:95:17)
at Connection._readPacket (/usr/bot/node_modules/steam/lib/connection.js:50:8)
at Connection.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Connection.Readable.push (_stream_readable.js:130:10)
at TCP.onread (net.js:528:21)
 

Kazino

Новичок
Сообщения
123
Реакции
66

Kazino

  • 123
  • 66
я понял твою ошибку = Using ssfn file"
Тебе нужент ssfn файл, у тебя он отсутствует.
 

FoLez

Пользователь
Сообщения
38
Реакции
19

FoLez

  • 38
  • 19
в скайп отпиши. С данными от машины
 
Сверху