trydis / FIFA-Ultimate-Team-Toolkit

FIFA Ultimate Team Toolkit
MIT License
233 stars 110 forks source link

Error when I try to login: Code: CaptchaTriggered, String: Captcha Triggered #57

Closed khha closed 9 years ago

khha commented 9 years ago

I am building an auto buyer. I just started and login alot because I try and error. Now I cannot login anymore and got this error:

{"Code: CaptchaTriggered, String: Captcha Triggered"}

How can I fix this? Is there some captcha picture I can load and show and set some captcha value to confirm I am a human?

svickers commented 9 years ago

Log in through the web app to solve the captcha.

On Tue, Oct 28, 2014 at 2:50 PM, khha notifications@github.com wrote:

I am building an auto buyer. I just started and login alot because I try and error. Now I cannot login anymore and got this error:

{"Code: CaptchaTriggered, String: Captcha Triggered"}

How can I fix this? Is there some captcha picture I can load and show and set some captcha value to confirm I am a human?

— Reply to this email directly or view it on GitHub https://github.com/trydis/FIFA-Ultimate-Team-2015-Toolkit/issues/57.

khha commented 9 years ago

Thanks, It works now. Maybe some nice to have to automate this proces in this toolkit. I found this page with a nice procedure

1) his exception should return image id/url so we can manage it 2) add new method to solve captcha (sends string) 3) new method/plugin(?) that uses some kind of captcha resolver (deathbycaptcha.com)

source: https://github.com/oczkers/fut/issues/74

artielange commented 9 years ago

Although this could be a potentially interesting addon, a better approach would be NOT to trigger captchas. Keep in mind that the accounts flagged with captchas must have a counter that goes along with that flag. EA can always decide to use that data to perma ban abusers.

An incentive to run your bot in a "responsible" manner would be simply remembering how EA removed the webapp entirely last year, rendering this toolkit useless. That wasn't really fun. So I think that if we can try to control the excess stress put on the servers by the bots, we might enjoy a longer season of botting :)

My two cents. I know no one cares really but yknow

Kuzuto commented 9 years ago

I agree! Let's keep the RPM down so the EA servers can handle it. I'm running down at 20 RPM to prevent captchas. Much nicer to keep the AB running then to be banned ;)

Den 28/10/2014 kl. 23.17 skrev artielange notifications@github.com:

Although this could be a potentially interesting addon, a better approach would be NOT to trigger captchas. Keep in mind that the accounts flagged with captchas must have a counter that goes along with that flag. EA can always decide to use that data to perma ban abusers.

An incentive to run your bot in a "responsible" manner would be simply remembering how EA removed the webapp entirely last year, rendering this toolkit useless. That wasn't really fun. So I think that if we can try to control the excess stress put on the servers by the bots, we might enjoy a longer season of botting :)

My two cents. I know no one cares really but yknow

— Reply to this email directly or view it on GitHub.

khha commented 9 years ago

I read alot about max 20 RPM (request per minute right?) to prevent the captcha validation. How did you implement it with this toolkit? Can I find somewhere an example?

The reason why I got the captcha is because I was looping the search function and increase the page number unlimited :) I found this code example with a while loop and increasing pagenumber: http://stackoverflow.com/questions/16885731/update-variable-on-each-loop

My target is to search and loop into all pages to find some interest auctions I am looking for.

gaminghc commented 9 years ago

I am interested in a way to fetch the captcha image for automated processing too, just because it would be a really interesting project. Any knowledge share would be very nice!

Kuzuto commented 9 years ago

Please keep questions to problems on the toolkit and not about making a program. The toolkit is used to make the calls and get a respond. You need to find a way to handle the data in your own program. A hint on RPM is to keep track on how many requests you make in every minute. I made a Class that I add 1 for every request and then I can call my class with "connect2EA" to return a bool. A timer is used to tell my Class how many seconds I've been logged in.

Den 28/10/2014 kl. 23.40 skrev khha notifications@github.com:

I read alot about 20 RPM (request per minute right?). How did you implement it with this toolkit? Can I find somewhere an example?

The reason why I got the captcha is because I was looping the search function and increase the page number :) I found this code example with a while loop and increasing pagenumber: http://stackoverflow.com/questions/16885731/update-variable-on-each-loop

My target is to search and loop into all pages to find some interest auctions I am looking for.

— Reply to this email directly or view it on GitHub.

Spettacolo83 commented 9 years ago

Is there a way to automate the captcha check, but you need someone to implement it! I fount this information through Fiddler:

After you login in web-app with this url POST https://www.easports.com/iframe/fut15/p/ut/auth ... If your account is locked with captcha, the web-app response with GET https://www.easports.com/iframe/fut15/p/ut/game/fifa15/phishing/question?_=1415873123969 HTTP/1.1 Your id after question in this case is 1415873123969 After this you receive the same ID+1 and a token id into url GET https://www.easports.com/iframe/fut15/p/ut/captcha/img?token=AAAA&_=1415873123970 HTTP/1.1 and a decoded picture represented your captcha image.

The result of my captcha operation was 13. The url response of captcha check is POST https://www.easports.com/iframe/fut15/p/ut/captcha/validate HTTP/1.1 and the json of response contains token and captcha response: {"token":"AAAA","answer":"13"}

This is for get response with id+2: GET https://www.easports.com/iframe/fut15/p/ut/game/fifa15/phishing/question?_=1415873123971 HTTP/1.1 The json response is {"debug":"Already answered question.","string":"Already answered question","reason":"Already answered question.","token":"1493300233722427931","code":"483"}

I hope I was helpful to those who will implement this feature.