S
S
swcalc2015-08-08 23:23:11
PHP
swcalc, 2015-08-08 23:23:11

How to send a trade offer request and accept it on Steam?

I know the APIs don't provide for this, but how do I create a trade offer and accept those sent to me, mimic the real process?
Digging the console, dug up the addresses.
https://steamcommunity.com/tradeoffer/new/send
https://steamcommunity.com/tradeoffer/629445123/accept
09-08
////notepad.cc/rorafe92

var offers = new SteamTradeOffers();
currentGameOffers = [];

................................................. ...................
// Принимаем трейд
helper.msg('Next function is acceptOffer! - ' + offer.steamid_other + ' - ' + offer.tradeofferid);
if (g_Pause) {
offers.declineOffer({tradeOfferId: offer.tradeofferid}, function() {
currentGameOffers.splice(currentGameOffers.indexOf(offer.tradeofferid), 1);
}); 
return;
}

I can't catch the moment when the magic of taking a trade happens..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vladimir percov, 2015-08-09
@swcalc

You need to consider ssfn (to bypass the 7 day lock). However, here is an example of a bot in NodeJS, translating to PHP will not be a big problem:
The bot itself:
notepad.cc/rorafe92
Its config:
notepad.cc/jizbictu10
This is from the cs:go stuff lottery.

N
Nikita Kamenev, 2015-08-09
@NickStone

Emulate a browser, I don’t know for php, but for python there is selenium and ghost.py, look for analogues

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question