Jump to content
McKay Development

mjavad_mllw

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by mjavad_mllw

  1. thanks sir But I have a problem with my bot. Whenever the bot logs out for any reason, it doesn't log back in because when I send a trade request or check my inventory etc., steamID is empty. any idea on this ?
  2. what is the best way to check if my client is still logged in ? and if the client logged out how to relogin again ? btw i have sth like this but it does not work: // this should relogin again but wont work client.on("disconnected", (eresult, msg) => { console.log(`Disconnected from Steam: ${msg} (${eresult})`); setTimeout(() => { if (client.steamID === null) { try { client.logOn(logOnOptions); } catch (error) { console.error(error); } } }, 5000); }); // the way i check if client is logged in or not function isLoggedIn() { return client.steamID; }
  3. Hi guys, whats the steam endpoint to get user items? i mean i know this https://steamcommunity.com/inventory/765xxxxxxxxx/440/2 but this wont send all details in one array description and items are seperate im looking for an endpoint to get all details of an item in one single array ex: something like getInventoryContents method in steamcommunitycomminuty module
  4. Hi Guys i was looking for an endpoint to get steam currency rates is there an endpoint? steam or third party api anything that i can use is good
  5. thanks for reply you mean i should login again or get a new refreshToken with renewRefreshToken?
  6. Hey i just trying to find out how many times can i use a refreshToken made by steam_session to login via steam_user into steam? and what should we do to login again into steam_user if my refreshToken got expired or not valid anymore?
  7. hi i have some code that send me log after each trade has been accepted i tested my code and it only send me message only after i accepted a trade that has TF2 items in it i tried with steam and cs2 items but it wont work and i dont know why can you help me? manager.on('sentOfferChanged', (offer, oldState) => { if (offer.state === 3) { // do sth .... } }); manager.on('receivedOfferChanged', (offer, oldState) => { if (offer.state === 3) { // do sth .... } });
×
×
  • Create New...