-
Posts
4 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
interbots's Achievements
-
interbots changed their profile photo
-
interbots reacted to a post in a topic: CEconItem not the same as EconItem?
-
CEconItem not the same as EconItem?
interbots replied to interbots's topic in node-steam-tradeoffer-manager
I fixed it by getting the users invetory using node steamcommunity and comparing the offer item ids with the inventory ids.I recommend you update the wiki since it might confuse other people too -
CEconItem not the same as EconItem?
interbots replied to interbots's topic in node-steam-tradeoffer-manager
I've sent csgo cases , skins and graffities to the bot and none seem to have the market hash name.. -
interbots reacted to a post in a topic: Can you support other program language like golang or rust?
-
tradeOfferManager.on('newOffer', (offer) => { if (offer.itemsToGive.length == 0){ offer.itemsToReceive.forEach(EconItem => { console.log(EconItem.market_hash_name) }); // offer.accept(false , (err , status)=>{ // console.log(status); // }) } }); Printing undefined each time.I noticed on the wiki it said CEconItem was the same as EconItem
-
interbots reacted to a post in a topic: newOffer not triggering
-
interbots joined the community
-
const SteamUser = require('steam-user'); const TradeOfferManager = require('steam-tradeoffer-manager'); const SteamTotp = require('steam-totp'); const Config = require("./config"); const client = new SteamUser(); client.logOn({ accountName: Config.clientUsername, password: Config.clientPassword, }); client.on('loggedOn', () => { console.log('Bot logged in successfully.'); const tradeOfferManager = new TradeOfferManager({ steam: client, language: 'en', // Replace with the desired language. domain: 'localhost', // Replace 'example.com' with your website's domain (it can be any valid domain) pollInterval: 1000 , // The interval to check for new trade offers (in milliseconds). }); tradeOfferManager.on('newOffer', (offer) => { console.log("New Offer!"); }); tradeOfferManager.on('error', (error) => { console.error('TradeOfferManager error:', error); }); }); client.on('error', (error) => { console.error('Bot error:', error); // Handle other errors here if needed. });