xeroz333 Posted April 3, 2024 Report Posted April 3, 2024 (edited) I thought my code is broken, but when I received cs2 item trade offer manager can't find the trade offer to show (other stuff like tf2, rust is working fine) the code I use : manager.getOffers(1, (err, sent, received) => { if (err) { console.log('Get offers error: ', err); return; } if (received.length > 0) { for (const offer of received) { if (offer.itemsToGive.length === 0 && offer.itemsToReceive.length > 0) { offer.accept((err, status) => { if (err)return; }); } } } Edited April 3, 2024 by xeroz333 Quote
xeroz333 Posted April 3, 2024 Author Report Posted April 3, 2024 is there any endpoint to check cs2 trade offers ? Quote
Dr. McKay Posted April 3, 2024 Report Posted April 3, 2024 Not that I'm aware of. I've heard, but not personally confirmed, that if you use an access token you still receive CS2 offers as normal. xeroz333 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.