Jump to content
McKay Development

CsS

Member
  • Posts

    4
  • Joined

  • Last visited

CsS's Achievements

  1. chatFriends must be an object not array var chatFriends = {}; self.chatFriends[string(steamid.getSteamID64)] = persona
  2. npm install forever -g than start bot with command forever start bot_script.js it will run all untill it gets log off. or if you run linux apt-get install screen than screen nodejs bot_script.js
  3. Hi. I have stored session into a file, I am trying to restore it using setCookies function but loggedIn function returns false, With heder location https://steamcommunity.com/login/home/?goto=%2Fmy fs.readFile('/cookies.txt', 'utf8', function (err,data) { if (err) { return console.log(err); } console.log(JSON.parse(data)) // array of cookies from steamcommunity.login function steamCommunity.setCookies(JSON.parse(data)); steamCommunity.loggedIn(function (error, logged_in){ console.log(logged_in) // === false; console.log(error) // === null }); });
×
×
  • Create New...