Jump to content
Brad Pitt

backpack.tf automatic help thread

Recommended Posts

« SɱokEy »    1
« SɱokEy »
7 hours ago, JRichi said:

The Cloudflare message happens because you provided a wrong token once and now it keep saying that. Try my code and it should ask you to enter a new token.

Nope I gave the right token 
The bp.tf automatic works fine ( bugged out version where it has no lightning bolt and dosnt accept trades ) 
This cloudflare error pops up when I make changes as you guys said 
Tried yours and cashew's ! both give the cloudflare error 

Share this post


Link to post
Share on other sites
JRichi    4
JRichi
1 hour ago, « SɱokEy » said:

Nope I gave the right token 
The bp.tf automatic works fine ( bugged out version where it has no lightning bolt and dosnt accept trades ) 
This cloudflare error pops up when I make changes as you guys said 
Tried yours and cashew's ! both give the cloudflare error 

That's weird, try logging out by deleting the file accounts.json

Share this post


Link to post
Share on other sites
zol    1
zol
3 hours ago, « SɱokEy » said:

Nope I gave the right token 
The bp.tf automatic works fine ( bugged out version where it has no lightning bolt and dosnt accept trades ) 
This cloudflare error pops up when I make changes as you guys said 
Tried yours and cashew's ! both give the cloudflare error 

 return axios.post() instead of axios.get(). and it will work

Share this post


Link to post
Share on other sites
Ant    0
Ant

When I can find information about "automatic/v1/pulse" API? In particularly what methods and parameters it's supports.

I've changed the code but I still get "Invalid backpack.tf token".

I've tried every token that I can find, a token from https://backpack.tf/connections, short and long tokens from developer center and each of them give me the error.

Share this post


Link to post
Share on other sites
A Delicious Cashew    1351
A Delicious Cashew
40 minutes ago, Ant said:

When I can find information about "automatic/v1/pulse" API? In particularly what methods and parameters it's supports.

I've changed the code but I still get "Invalid backpack.tf token".

I've tried every token that I can find, a token from https://backpack.tf/connections, short and long tokens from developer center and each of them give me the error.

It's undocumented. The only way to really figure out what works is to try out different things.

 

Delete accounts.json and see if that fixes it.

Share this post


Link to post
Share on other sites
Bank Bot Bob trade.tf    11
Bank Bot Bob  trade.tf
13 hours ago, JRichi said:

The Cloudflare message happens because you provided a wrong token once and now it keep saying that. Try my code and it should ask you to enter a new token.

I redownloaded backpack.tf automatic from here:

https://bitbucket.org/jessecar/backpack.tf-automatic/downloads/

 

Then modified the code, as cashew explained and it works. 

6 hours ago, « SɱokEy » said:

I am getting this same error as well !!

Try the same ^^

Share this post


Link to post
Share on other sites
« SɱokEy »    1
« SɱokEy »

@ Jrichi
Totally my bad I made mistake in the code GOT it fixed its working 

Share this post


Link to post
Share on other sites
Mr. Sympathy    0
Mr. Sympathy

Can someone tell me how to set a stock limit for the items and how to make it create sell orders automaticly ? Thanks in advance guys. 

Share this post


Link to post
Share on other sites
LAZy    0
LAZy

Getting this error after i changed my password, any help? (cooldown is over btw)

error.thumb.PNG.b620341d9c753f1934bfa75d3cf5dc81.PNG

Share this post


Link to post
Share on other sites
Slavyanin    0
Slavyanin
2 hours ago, LAZy said:

Getting this error after i changed my password, any help? (cooldown is over btw)

error.thumb.PNG.b620341d9c753f1934bfa75d3cf5dc81.PNG

1. Change code like JRichi sayed on page 79

2. Delete accounts.json (thx to A Delicious Cashewfile and log in 

 

I have done this steps by myself and all works

Share this post


Link to post
Share on other sites
LAZy    0
LAZy
2 hours ago, Slavyanin said:

1. Change code like JRichi sayed on page 79

2. Delete accounts.json (thx to A Delicious Cashewfile and log in 

 

I have done this steps by myself and all works

Thanks, works fine now!

Share this post


Link to post
Share on other sites
Ptitzken    0
Ptitzken

Uh guys, do you have X.1, X.2, X.32, X.42, X.54, X.64, X.76, and X.87 values fix, like one in automatic-offer.js?
It's terrible when two 0.66 ref items recognizes like 1.32 ref

image.png

Share this post


Link to post
Share on other sites
Julia    884
Julia
4 hours ago, Ptitzken said:

Uh guys, do you have X.1, X.2, X.32, X.42, X.54, X.64, X.76, and X.87 values fix, like one in automatic-offer.js?
It's terrible when two 0.66 ref items recognizes like 1.32 ref

image.png

Math.floor(Math.round(cur.metal * 9) / 9 * 100) / 100;

Share this post


Link to post
Share on other sites
Ptitzken    0
Ptitzken
5 hours ago, Julia said:

Math.floor(Math.round(cur.metal * 9) / 9 * 100) / 100;

It doesn't work correctly

image.png.d5434e565b0f481a31d8fe40ad817066.png

image.png.995f4bc41572ffee50f6b31aa1f55329.png

Share this post


Link to post
Share on other sites
Julia    884
Julia
8 hours ago, Ptitzken said:

It doesn't work correctly

image.png.d5434e565b0f481a31d8fe40ad817066.png

image.png.995f4bc41572ffee50f6b31aa1f55329.png

Rounds to the nearest scrap value.

 

nv4HPWR.png

Share this post


Link to post
Share on other sites
Train Brauma    0
Train Brauma

How do I add the POST field that the command prompt asks for? What's the formatting for it?

Share this post


Link to post
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.

×