Comments (4)
Can you show error log in console? Make screen please.
from steambot.
from steambot.
Did you try to write Item in console and check it? I mean are you sure that it's correct?
from steambot.
I think it's because i didn't set accessToken. In other bot (it is not working now because of steam update) i see the code:
offers.makeOffer ({
partnerSteamId: row[i].userid,
itemsFromMe: item,
accessToken: row[i].token,
itemsFromThem: [],
message: 'Your winning on site '+sitename+' in game #'+gamenum
}, function(err, response){
if (err) {
return;
}
console.log('Trade offer for queue '+gamenum+' sent!');
});
but i cannot imagine how the code should look in your bot.
Edit:
Yes! I found a solution.
The code:
manager.loadInventory("730", "2", true, function(err,inventory, currencies){
if (err) console.log(err);
var Item;
inventory.forEach(function(item,i,arr){
if (item.market_hash_name == "Chroma 2 Case") Item = item;
});
var offer = manager.createOffer("xxxxxxxx"); //Put here stemdId
offer.addMyItem(Item);
offer.send("Hello!", "token", function(err,status){
if (err) console.log(err);
else console.log(status);
});
});
from steambot.
Related Issues (20)
- manager.setCookies HOT 1
- Error accepting offer HOT 1
- About the error 2 HOT 5
- Items Now Unavailable For Trade HOT 1
- How to get the authcode HOT 6
- Error: socket hang up
- Error: There have been too many login failures from your network HOT 6
- Can I use this for a jackpot website? HOT 5
- help Error HOT 1
- Error 2 HOT 5
- new help Error HOT 1
- Sentry File HOT 1
- add escrow to mongodb HOT 3
- Using the bot for a jackpot site. [CAN PAY FOR IT MAX 10$] HOT 1
- [Error: Access Denied]
- How much?
- Error after connected HOT 1
- Nothing Happens
- help me please HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steambot.