When i receive offer . I get market_hash_name using
offer.itemsToReceive[0].market_hash_name
But when i using
offer.getReceivedItems(function (err, items) {
//Why
items[0].market_hash_name !== offer.itemsToReceive[0].market_hash_name
}
It only happen when i received item in game PUBG (example item with market_hash_name: 'Combat Pants (camo)' ) Thanks !
When i using function getOfferrs i received Error: socket hang up . Please help , Thanks !
getOffers(1, function(err, sent, received){
// I received Error: socket hang up
})
I think you wrong this :
if (this._client.steamID !== null) { ...}
i'm not sure but i think you can try with
this._community.on("sessionExpired", function(err) {
this._client.webLogOn();
}
When i using marketSearch function
body.total_count
result this always not correct ? ( always > total_count on website of steam ? ). This is not err . Thank All. When logged and see market steam filter data because result is difference . I realizeI realize
offer.getReceivedItems(function (err, items) {
if (err) {
console.log("Couldn't get received items: " + err);
// Error : soket hang up
} else {
}
})
Sometime bot received Error: socket hang up. How fix this ? Thanks !