dank / tarkov

A Rust library for the Escape from Tarkov API
MIT License
133 stars 20 forks source link

Possibility of a ban? #11

Open thatdood12 opened 4 years ago

thatdood12 commented 4 years ago

How "safe" would you assume this is, I know BSG hates people doing stuff that they don't enjoy. Would it be considered moderately safe if you're of course so spamming the buy and sell on ragfair?

dank commented 4 years ago

I can't answer this question with certainty, best way to find out is to test the limits until you get banned. Frankly, I haven't done that for the same reason you probably don't want to.

I will say that I have used my library extensively for the past week testing and developing it without worrying about a potential ban.

dank commented 4 years ago

I'll reopen this issue for further discussions, maybe other people can answer this question better.

thatdood12 commented 4 years ago

Hm okay, I really only want to use this for checking prices via ragfair, I have no plans on buying / selling so maybe this is less "risky"

ahmetabdi commented 4 years ago

high chance of ban they monitor the requests that are being sent, you will be banned.

https://github.com/Kurt212/TarkovTradeBot/blob/master/README.md

dank commented 4 years ago

@ahmetabdi that repo is missing a lot of headers, doesn't surprise me they got banned. I've been doing the same thing described in the README and I haven't been banned so far.

Crossy101 commented 4 years ago

As long as you keep the requests at a suitable rate/humanlike then you should be okay. I believe 5-6 requests per second should be okay/max. As that's what most people do.

They do track how many requests you do and if it exceeds a certain amount or your account gains a huge amount of trading points or money in a short amount of time you will be banned.

garrettjoecox commented 4 years ago

5 requests per second would not look human IMO...

I've got a random sleep anywhere from 3 to 15 seconds between each of my requests. Takes longer to do things but less risk...

dank commented 4 years ago

@garrettjoecox it doesn’t matter, it takes a random time to get past their load balancer, network, etc (rtt is almost never the same). Your request will never be exactly n seconds apart especially if you’re using thread::sleep.

garrettjoecox commented 4 years ago

Earned myself an account, HWID, and IP ban. Beware, I was hitting it once every 3-5 seconds :)

Gonna open source my lib as well in case anyone wants to give it a go.

Crossy101 commented 4 years ago

@garrettjoecox This was using this Rust library right? How do you know your HWID banned? Did you confirm this?

garrettjoecox commented 4 years ago

@garrettjoecox same here. They must have done a sweep. Not sure about HWID and IP ban but my account is banned. I don't plan on buying a new copy to see if everything is banned. I imagine if you really want to find a way around these you can (change mac address, hard reset of cable modem, etc.) I was doing 3-5 seconds as well with no concurrent requests. I was buying stuff from the flea market at prices lower than what the vendor would pay, then turning around and selling to the computer vendors (Therapist, Skier, Jaeger).

Oh well, this was a fun learning experience. My trader program was my first Rust program ever. Very interesting language. Also, I made like 16 million rubles in a few days so I ran wild with equipment :)

Nice, yep was literally doing the same exact thing, worked alright :)

https://github.com/garrettjoecox/tarkov-scripts

Crossy101 commented 4 years ago

Well I haven't been banned for over 3 months and have over 100m+ and I do 2-3 requests a second. So I have no clue why or how you got banned. I don't think it was your bot tbh.

ps. I earn over 30mil+ in 12 hours.

Although I do not run the bot 24/7 I turn my Web Service off in the day.

garrettjoecox commented 4 years ago

I shared my bot with two friends and they were both banned as well, and they hardly used it. I think the most recent update left in a little honeypot but who knows

dank commented 4 years ago

Did you guys update the game and launcher version whenever there was an update? Master is always up to date but I haven’t been able to publish a new version because I’m on vacation.

On Wed, Feb 12, 2020 at 9:15 AM Garrett Cox notifications@github.com wrote:

I shared my bot with two friends and they were both banned as well, and they hardly used it. I think the most recent update left in a little honeypot but who knows

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dank/tarkov/issues/11?email_source=notifications&email_token=AAMC7TJJKSBSHOXEVRH76XTRCQAAVA5CNFSM4KI5Q27KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQ5GAI#issuecomment-585224961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMC7TMFJ36GZ22LBQYSKKDRCQAAVANCNFSM4KI5Q27A .

Crossy101 commented 4 years ago

Lmfao they probably didn't that's what I'm thinking actually. There was both a game version and launcher update and I instantly changed the version numbers.

garrettjoecox commented 4 years ago

I did actually, and both times they were updated my bot was offline, so I never made a request with the wrong version

Crossy101 commented 4 years ago

Then I have no clue why you got banned, both your friends and I didn't. I guess I got super lucky with it.

garrettjoecox commented 4 years ago

I didn't thoroughly look through the decompiled latest patch, but if I had to guess, they might have updated one of these tm values in the requests, I was always sketched out by that random hardcoded value

Crossy101 commented 4 years ago

Btw I didn't run my bot yesterday much but when I did it came back with an error on the Profile Request saying it doesn't match and I updated the new class so they might have updated the API and you guys were just sending bad requests.

rezicG commented 4 years ago

I have my bot running a request to get all items, its vendor prices and a request per item to get each of their market listings. That's over 2000 requests in a span of 3-5 minutes, up to 10 times a day (once every 4 hours, plus manual runs when I'm testing), and I'm fine so far, though I've only had it up for a couple of days.

Could it be they are simply monitoring unusual activity on the market? I don't use mine to buy or sell, just gather prices. Maybe I should move the bot to an external server and get a separate account or it just to be safe.

garrettjoecox commented 4 years ago

Thought it was a HWID or IP ban cause all the launcher requests were failing, but I just re-installed and it’s fine, so just an account ban, might be back in business 😅

Crossy101 commented 4 years ago

I thought they wouldn't HWID ban you for a bot they gotta make money some how! 👍

garrettjoecox commented 4 years ago

I've got another report of a user being banned for selling items back to the trader, so I would advise against that, seems to be a common denominator.

Crossy101 commented 4 years ago

I don't think they would ban for just selling items back to a trader. That would be a quite a bad way of knowing if people are botting to be honest.

lflare commented 4 years ago

Would just like to add-on that I was just buying flea market items and selling it back to the NPC traders and I got banned on two accounts :).

It probably isn't just banned for selling items back to a trader, but the volume of trade involved in a specific window of time :).