Jump to content
McKay Development

spootis

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by spootis

  1. Is there a full example of a bot that sends trade offers and then confirms using startconfirmationchecker as i always get this error once the method is called. Am i just missing something?

     

    https://gyazo.com/a59aa36fed4a641325a926e41ccb890f

    steamClient.on('logOnResponse', function(logonResp) {
        if (logonResp.eresult === Steam.EResult.OK) {
            console.log('Logged in');
            steamFriends.setPersonaState(Steam.EPersonaState.Online);
    
            steamWebLogOn.webLogOn(function(sessionID, newCookie) {
                getSteamAPIKey({
                    sessionID: sessionID,
                    webCookie: newCookie
                }, function(err, APIKey) {
                    offers.setup({
                        sessionID: sessionID,
                        webCookie: newCookie,
                        APIKey: APIKey
                    });
                    fetchtradeurl();
                    offerItems();
                    community.startConfirmationChecker(10000, identity_secret);
                });
            });
        }
    });
    
×
×
  • Create New...