futapi / fut

fut is a simple library for managing Fifa 19 Ultimate Team.
GNU General Public License v3.0
317 stars 138 forks source link

FIFA 15 AB new rules #75

Closed fasme closed 9 years ago

fasme commented 10 years ago

http://www.easports.com/fifa/news/2014/fifa-ultimate-team-coin-selling-and-buying-bans

would be the end for autobuyer? ?

oczkers commented 10 years ago

However, our data shows that these bots generate four times as many Transfer Market searches than all human FUT players combined.

loool

Autobuyer just has to be as human as possible and it should be fine :-) They probably gonna add captcha for spammers (lots of requests in short time) and detect weird activity (_our emulate feature is high risk_).

KmanProdz commented 10 years ago

Do you have the new mobile login urls?

Innursery commented 10 years ago

'https://pas.mob.v4.easfc.ea.com:8095/pow/auth?timestamp=' 'https://pas.mob.v5.easfc.ea.com:8095/pow/auth?timestamp='

KmanProdz commented 10 years ago

private $MainPageURL = "https://signin.ea.com/p/mobile/login?execution=e1228011414s1&initref=https%3A%2F%2Faccounts.ea.com%3A443%2Fconnect%2Fauth%3Fscope%3Dbasic.identity%2Boffline%2Bsignin%26locale%3Den%26display%3Dmobile%252Flogin%26response_type%3Dcode%26client_id%3DFIFA-MOBILE-COMPANION%26prompt%3Dlogin"; private $NucleusIdURL = "http://www.easports.com/iframe/fut/?locale=en_GB&baseShowoffUrl=http%3A%2F%2Fwww.easports.com%2Fuk%2Ffifa%2Ffootball-club%2Fultimate-team%2Fshow-off&guest_app_uri=http%3A%2F%2Fwww.easports.com%2Fuk%2Ffifa%2Ffootball-club%2Fultimate-team"; private $ShardsURL = "https://utas.mob.v5.fut.ea.com/ut/shards"; private $UserAccountsURL = "https://utas.s2.fut.ea.com/ut/game/fifa14/user/accountinfo?_="; private $SessionIdURL = "https://pas.mob.v5.easfc.ea.com:8095/pow/auth"; private $ValidateURL = "https://utas.s2.fut.ea.com/ut/game/fifa14/phishing/validate?answer=%s&timestamp="; private $PhishingURL = "https://utas.s2.fut.ea.com/ut/game/fifa14/phishing/question?_=";

are them urls good? I am writing in PHP, code was working before they changed the logins now when I try logging in I get this error: Fatal error: Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response [status code] 403 [reason phrase] Forbidden [url] https://pas.mob.v5.easfc.ea.com:8095/pow/auth' in phar:///home/thefutbucks/public_html/files/classes/FUT/Guzzle/guzzle.phar/src/Guzzle/Http/Exception/BadResponseException.php:44 Stack trace: #0 phar:///home/thefutbucks/public_html/files/classes/FUT/Guzzle/guzzle.phar/src/Guzzle/Http/Message/Request.php(145): Guzzle\Http\Exception\BadResponseException::factory(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Message\Response)) #1 [internal function]: Guzzle\Http\Message\Request::onRequestError(Object(Guzzle\Common\Event)) #2 phar:///home/thefutbucks/public_html/files/classes/FUT/Guzzle/guzzle.phar/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func(Array, Object(Guzzle\Common\Event)) #3 phar:///home/thefutbucks/public_html/files/classes/FUT/Guzzle/guzzle.phar/vendor/symfony/event in phar:///home/thefutbucks/public_html/files/classes/FUT/Guzzle/guzzle.phar/src/Guzzle/Http/Exception/BadResponseException.php on line 44

I took out the timestamp part but still same issue

Innursery commented 10 years ago

try with the standard url and increase the client version number.

KmanProdz commented 10 years ago

what is the standard url?

fasme commented 10 years ago

only change this... clientVersion = 8 for this ... clientVersion = 9

in core.py

KmanProdz commented 10 years ago

I am developing in PHP so I change my connector.php file, it's currently not working since they changed the URLS etc should I post my whole connector.php file here?

Innursery commented 10 years ago

They probably gonna add captcha for spammers (lots of requests in short time) and detect weird activity (our emulate feature is high risk).

Hi @oczkers I think we need to separate mobile and web app with 2 different login method, I'm trying to make the mobile login but my python knowledge is not big so it will take time...

KmanProdz commented 10 years ago

I am able to get URLS via Fiddler for Mobile App Android if you like?

mvillarejo commented 10 years ago

@KmanProdz that'll be brilliant and if you have a link to a 'how-to' do that, that would help as well! cheers

oczkers commented 10 years ago

Ok, i've change clientVersion in core for and/ios, is it working now?

Please beware that emulate feature is high risk, personally i would wait for webapp restoration after release of fifa 15.

MikeJones1 commented 10 years ago

http://www.telerik.com/download/fiddler http://www.telerik.com/fiddler/web-debugging

KmanProdz commented 10 years ago

^ That's right and I found some URLS up in previous comment :)

oczkers commented 10 years ago

Just to claryfie, all our feature are currently working (v0.0.16)?

Innursery commented 10 years ago

For me no Error 500 on Bid Has you, I'm thinking that it's high risk to use emulate in this time. I'm working on a full mobile login.

KmanProdz commented 10 years ago

Web app is working now change to client version 9 xD

oczkers commented 10 years ago

@KmanProdz Client version for emulate (and/ios) is already changed https://github.com/oczkers/fut14/commit/26c2a512f0892a90d4c4cf263951afe06031c11c

@Innursery They reactivated trading, is it working now?

KmanProdz commented 10 years ago

Yeah I know @oczkers I am not using your coding I am using a framework in PHP but was just contributing here.

Innursery commented 10 years ago

Yes It's working

oczkers commented 10 years ago

it's no more possible to use webapp for fifa14, right?

mvillarejo commented 10 years ago

belive so

robinpapa commented 10 years ago

Just a heads-up, most URL structures have '15' added to them. For example in FUT14 it was: 'fut_validate': 'http://www.easports.com/iframe/fut/p/ut/game/fifa14/phishing/validate', but now it is 'fut_validate': 'http://www.easports.com/iframe/fut15/p/ut/game/fifa15/phishing/validate',

Could be something to be overlooked when adapting this code to FUT15.

oczkers commented 10 years ago

It should work with fifa15 now, please test :-)

robinpapa commented 10 years ago

Hmm, I have no idea how to bypass the Origin verification (a six digit code that's being emailed instantly) using cookies. It can't get it to work.

Does anyone have a suggestion?

MikeJones1 commented 10 years ago

Same

ricklhp7 commented 10 years ago

Today webapp isn't working 100% for xbox platform, there are some features disabled, like searching for auctions, listing, etc...

So I created a new account and I will test loging through ios. I'll post if I get banned.

Client version 9 is not working anymore for ios, but I changed to 11 and thats fine. I don't know for Android.

I didn't know this script until last week, I hope to contribute with something. I'll try to learn something and work in a full login emulating ios. If I get something, I'll share.

arthurnn commented 10 years ago

@ricklhp7 ios and android have also those feature disabled..

ricklhp7 commented 10 years ago

Oczkers, Android got clientVersion updated to 11 too, I already checked.

Arthurnn: Indeed. But it was working fine until saturday, even when the webapp was already down.

Btw, its only for xbox platform, for PS its fine yet. IDN about PC, but I believe its working too.

ricklhp7 commented 10 years ago

I didn't get banned, but its not working again. I can't connect through android now. only without emulate.

oczkers commented 10 years ago

I didn't get banned, but its not working again. I can't connect through android now. only without emulate.

Why would you like to connect with emulate enabled when webapp is working?

I've just tested android emulate and it's working for me, could You post error log?