Mardaneus86 / futwebapp-tampermonkey

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

Object services #236

Closed totti240282 closed 4 years ago

totti240282 commented 4 years ago

I have a curiosity because using the services object of the webapp I get encrypted results?

Mardaneus86 commented 4 years ago

Can you show us a screenshot or something? Does it also happen if you disable the Tampermonkey script?

totti240282 commented 4 years ago

if I use the command from the console the result is encrypted with your script no

Mardaneus86 commented 4 years ago

Which command do you execute from the console? Please be more clear, or better yet show a screenshot.

totti240282 commented 4 years ago

Example:

var searchCriteria = getAppMain().getRootViewController().getPresentedViewController().getCurrentViewController().getCurrentController()._viewmodel.searchCriteria;

    searchCriteria.maxBid =10000000; 
    services.Item.clearTransferMarketCache();

    services.Item.searchTransferMarket(searchCriteria, 1)
Mardaneus86 commented 4 years ago

Well that's because services.Item.searchTransferMarket returns an observable. You can take a look at how the FUT web app checks that observable itself.

However this isn't actually an issue but more help with coding, I'll have to refer to Gitter. These issues are meant for bugs or feature requests.

totti240282 commented 4 years ago

ok sorry, where can I post these question ?