Mardaneus86 / futwebapp-tampermonkey

TamperMonkey scripts to enhance the FUT 21 Web App - Discontinued
MIT License
192 stars 103 forks source link

Stopped working #252

Closed Roshinante59 closed 3 years ago

Roshinante59 commented 3 years ago

Hello, the script doesn't work anymore since like 2 hours it gives this message in the browser console image

Boublond commented 3 years ago

Hello, Yes I have the same bug actually. I don't know what happened.

FuJisPT commented 3 years ago

All scripts FUT WEB stop worked...

cnbrkc commented 3 years ago

Same error. Please update :)

Mardaneus86 commented 3 years ago

EA has renamed some variables. Not sure how intrusive their changes will be. Don't have an account to try it out, so I reached out on Gitter to get access to one

services.Authentication._oAuthentication has been renamed to services.Authentication.oAuthentication for example..

horotec commented 3 years ago

thanks..hope to get an update soon!

robertinho77 commented 3 years ago

It's only the oAuthentication variable. If you renamed it to services.Authentication.oAuthentication your script is working again

Mardaneus86 commented 3 years ago

Had to add a delay as well around the authentication check, since the service is no longer added immediately. Build is queued so update should be available soon! Travis CI seems to have some queue delay with the build.

Boublond commented 3 years ago

I updated the script on my side but it doesn't work. Are you sure that it's the only update that we need to do ?

Mardaneus86 commented 3 years ago

Travis seems to be exceptionally slow today. Taking way longer than expected.

By the way: please be more specific than "it doesn't work". What did you update/test/see?

Boublond commented 3 years ago

Hi, I changed the following line : " services.Authentication._oAuthentication.observe(undefined, function () {" by : "services.Authentication.oAuthentication.observe(undefined, function () {" I always have the same error : "ERROR: Execution of script 'FUT Enhancer' failed! Cannot read property 'oAuthentication' of undefined".

I also tried to replaced enums.PIN.EVENT.PAGE_VIEW by PINEventType.PAGE_VIEW But the result is always the same.

Thanks in advance.

Mardaneus86 commented 3 years ago

Take a look at the referenced commit instead: https://github.com/Mardaneus86/futwebapp-tampermonkey/commit/aa964de5b589a1842a8f1c4981390a7f189c19fa The timeout is important (might be better solutions but this works right now). Will be available soon as an update if Travis wants to work.

Boublond commented 3 years ago

Thanks a lot it works perfectly now !

cnbrkc commented 3 years ago

I still can't run it. I don't really understand this code work and I think https://openuserjs.org/install/Mardaneus86/FUT_Enhancer.user.js is not updated. When can you update? I still can't run :(

Mardaneus86 commented 3 years ago

Build finally completed, updated the script on openuserjs as well. Release 2.0.3 is available. Everything before this version will no longer work because of the changes EA made.

artvidal91 commented 3 years ago

how do i update 2.0.3?