Jump to content

backpack.tf automatic help thread


Brad Pitt

Recommended Posts

Logs are stored in the same folder as the bot as <username>.log

 

There are actually 2 log files, <username>.log which logs everything and <username>.trade.log which (you guessed it) only logs trades. So if you're right you ought to be able to find it in both (just search for 76561198078497685)

I know about those logs but it only shows trades, so I thought I was missing something.

I didn't trade with them though, I declined it manually once I checked for myself.

Link to comment
Share on other sites

21:36:49 - info: [240229962] Asked: 2.11 refined (The Marxman). Offered: 2.11 re
fined.
21:36:52 - debug: offers: accepting offer: 500
21:36:52 - error: [240229962] Error 28 while accepting - refreshing web cookies.
..
21:36:52 - info: Connecting to Steam Web...
21:36:53 - debug: steam: web authentication 403, retrying
21:36:55 - info: Offer handling ready.
21:36:56 - debug: Heartbeat sent to backpack.tf
21:36:58 - debug: offers: 1 pending, 0 new received.
21:37:00 - verbose: [240229962] Verifying...
21:37:14 - info: steam: 0 trade offers pending.
21:37:14 - trade: [240229962] Accepted offer.
21:37:59 - debug: offers: 0 pending, 0 new received.

That's the problem. This problem, when the price of 2.11. First, an error, and then accepts.

 

Link to comment
Share on other sites

 

@Carnage: only trades? you might want to check your settings and start logging everything (verbose level)...

Ok, I was just being dumb there. Here it is.

 
15:08:49 - debug: offers: 0 pending, 0 new received.
15:09:50 - debug: offers: 0 pending, 0 new received.
15:10:37 - info: steam: 1 trade offer pending.
15:10:38 - info: [236225694] Checking offer from 76561198078497685...
15:10:38 - warn: [236225694] Session expired, refreshing...
15:10:38 - info: Connecting to Steam Web...
15:10:39 - debug: steam: web authentication 403, retrying
15:10:39 - info: Offer handling ready.
15:10:40 - debug: Heartbeat sent to backpack.tf
15:10:40 - debug: offers: 1 pending, 1 new received.
15:10:46 - info: [236225694] Asked: 16 keys (Strange Professional Killstreak Australium Blutsauger). Offered: 1 earbud 3 keys.
15:10:46 - info: [236225694] Skipping: This offer does not match any backpack.tf listing.
15:11:40 - debug: offers: 1 pending, 0 new received.
15:12:40 - debug: offers: 1 pending, 0 new received.
15:12:49 - info: steam: 0 trade offers pending.   Manually declined here.
15:15:01 - debug: offers: 0 pending, 0 new received.
15:15:40 - debug: Heartbeat sent to backpack.tf
15:15:40 - debug: offers: 0 pending, 0 new received.
15:16:40 - debug: offers: 0 pending, 0 new received.
15:17:40 - debug: offers: 0 pending, 0 new received.
Link to comment
Share on other sites

@Roby: Nothing... it's working fine.

 

@Don Martin: Yep, Steam is being shit. These errors will pop up often.

 

No it does not. Doesn't accept / decline anything, all the messages I get after that are Error occourred contacting backpack.tf etc.

Link to comment
Share on other sites

The problem was unclear from the image you provided. Last line says "Heartbeat sent..." so it must have worked in the end.

 

You should be seeing this type of message in the console:

15:17:40 - debug: offers: 0 pending, 0 new received.

 

Also, after you receive an offer, this type of message should appear:

15:10:37 - info: steam: 1 trade offer pending.

Link to comment
Share on other sites

wgyryzC.png

 

Sorry if my screen was misleading, this is actually what happens after some time automatic is left on. It doesn't do anything, of course. Weirdly enough it doesn't even ask me for my Family View PIN.

Link to comment
Share on other sites

wgyryzC.png

 

Sorry if my screen was misleading, this is actually what happens after some time automatic is left on. It doesn't do anything, of course. Weirdly enough it doesn't even ask me for my Family View PIN.

 

Steam is having its daily share of issues, not Automatic's fault.

Link to comment
Share on other sites

This is weird. I'm sure you have already restarted your bot. Since you mentioned Family PIN, it might be related. That thing adds lots of obstacles to trade offers. Also Valve *might* have changed something.

 

@cares: not a Steam error though, at least according to the 403 status code

Link to comment
Share on other sites

This is weird. I'm sure you have already restarted your bot. Since you mentioned Family PIN, it might be related. That thing adds lots of obstacles to trade offers. Also Valve *might* have changed something.

 

Yeah, I changed nothing at all. It just stopped working yesterday

Link to comment
Share on other sites

@cares: not a Steam error though, at least according to the 403 status code

 

Steam is really messed up, sometimes I've seen Forbidden being returned on perfectly normal urls with me logged in.

Link to comment
Share on other sites

I am just wondering if there is a way to pull items from a different inventory (steam trading cards) and accept them as currency. I found this part:

    theiritems.forEach(function (item) {
        // we don't want non-craftable items, unless it's a key, gg valf
        if ((item.market_name != "Mann Co. Supply Crate Key") && (item.craftable === false)) {
            isValid = false;
        }

        // these are the only items we accept
        if (item.app_data.quality === ItemQualities.Unique) {
            if (item.market_name === "Mann Co. Supply Crate Key") {
                keys++;
            } else if (item.market_name === "Refined Metal") {
                refined += 1;
            } else if (item.market_name === "Reclaimed Metal") {
                refined += 1 / 3;
            } else if (item.market_name === "Scrap Metal") {
                refined += 1 / 9;
            } else if (item.market_name === "Earbuds") {
                // we don't want gifted earbuds
                if (item.gifted === true) {
                    isValid = false;
                }

                earbuds += 1;
            } else if (item.craftable === true) {
                // we'll also take random weapons at half a scrap
                item.tags.forEach(function (tag) {
                    if (tag.category === "Type" && ["secondary", "primary", "pda2", "building", "melee"].indexOf(tag.internal_name) !== -1) {
                        isValid = true;
                        refined += 1 / 18;
                    }
                });
            /*else if (item.market_name === "Trading Cards") {
                // Replace trading cards as currency
                refined += 1 / 9;
            }*/
            } else {
                isValid = false;
            }
        } else {
            isValid = false;
        }
    });

I commented out the part I added b/c I am pretty sure that it's a little more complicated than that.

tested it out with my friend, doesn't work says its an unsupported item

Link to comment
Share on other sites

 

 

Ok, I was just being dumb there. Here it is.

 
15:08:49 - debug: offers: 0 pending, 0 new received.
15:09:50 - debug: offers: 0 pending, 0 new received.
15:10:37 - info: steam: 1 trade offer pending.
15:10:38 - info: [236225694] Checking offer from 76561198078497685...
15:10:38 - warn: [236225694] Session expired, refreshing...
15:10:38 - info: Connecting to Steam Web...
15:10:39 - debug: steam: web authentication 403, retrying
15:10:39 - info: Offer handling ready.
15:10:40 - debug: Heartbeat sent to backpack.tf
15:10:40 - debug: offers: 1 pending, 1 new received.
15:10:46 - info: [236225694] Asked: 16 keys (Strange Professional Killstreak Australium Blutsauger). Offered: 1 earbud 3 keys.
15:10:46 - info: [236225694] Skipping: This offer does not match any backpack.tf listing.
15:11:40 - debug: offers: 1 pending, 0 new received.
15:12:40 - debug: offers: 1 pending, 0 new received.
15:12:49 - info: steam: 0 trade offers pending.   Manually declined here.
15:15:01 - debug: offers: 0 pending, 0 new received.
15:15:40 - debug: Heartbeat sent to backpack.tf
15:15:40 - debug: offers: 0 pending, 0 new received.
15:16:40 - debug: offers: 0 pending, 0 new received.
15:17:40 - debug: offers: 0 pending, 0 new received.

 

 

that is normal behavior at this time, it only does the decline stuff if the trade offer would've been accepted in the first place.

Link to comment
Share on other sites

that is normal behavior at this time, it only does the decline stuff if the trade offer would've been accepted in the first place.

Alright thanks, I was just confused about that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...