Hi there At first thnx for the awesome wrapper around the steam trade offers! I have encountered an issue with creating tradeoffers, accepting works like a charm! When i try to create and offer, add items to it and send, i don't receive any feedback err and status are undefined. If i log the tradeoffer all is set, what am i missing? Thnx in advance!
steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) {
if (err) {
console.log("Steam login fail: " + err.message);
process.exit(1);
}
fs.writeFile('steamguard.txt', steamguard);
console.log("Logged into Steam");
manager.setCookies(cookies, function(err) {
if (err) {
console.log(err);
process.exit(1); // Fatal error since we couldn't get our API key
return;
}
console.log("Got API key: " + manager.apiKey);
// var inventory = manager.loadUserInventory("*****", 730, 2);
// console.log(inventory);
var offer = manager.createOffer("****");
offer.addMyItem({"appid": 730, "contextid": 2, "assetid": "6582251698"});
offer.send(function(err, status) {
if (err) {
console.log("send" + err);
} else {
console.log("Offer #" + offer.id + " " + status);
}
console.log(status);
console.log('hierheirieirh');
});
});
console.log('testtest');
// Checks and accepts confirmations every 30 seconds
steam.startConfirmationChecker(30000, config.identity_secret);
});