trydis / FIFA-Ultimate-Team-Toolkit

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

What's not working? #1

Closed trydis closed 9 years ago

trydis commented 10 years ago

Please report it here, only made the changes needed to make the login work + the URL's.

rlddev commented 10 years ago

I have the same issue, I keep getting "Permission Denied". Someone above suggested that you'd have to search for the card like a real person in order to be able to bid on it. Has anyone checked on this? If it works for you, please explain your approach. I can't get rid of that exception!

rlddev commented 10 years ago

UPDATE: I tried to place the bid exactly when I get the card in the response and it works now.

ulrickpsp commented 10 years ago

How could I sell all purchased items? This is my code:

      private async void button4_Click(object sender, EventArgs e)
        {
           try
            {

            var purchasedItemsResponse = await client.GetPurchasedItemsAsync();

            foreach (var item in purchasedItemsResponse.ItemData)
            {

                Console.WriteLine("{0}", item.Id);
                /*HERE GOES THE CODE FOR DISCARDING*/

            }

        }
        catch (FutException ex)
        {
            Console.WriteLine("No se puede vender");
        }
    }
BenAUK commented 10 years ago

Just recourse through and quick sell all items?

BenAUK commented 10 years ago

If i try to search players by ResourceID = 33800365059 i dont get any results. tried a few different id's but getting nothing back. what am i doing wrong?

artielange commented 10 years ago

Wrong resourceid or it just isn't possible to search by resourceid..

Its not possible on the webapp so if it is via the request you're kinda raising a red flag to ea saying "look at Me I'm doing stuff you don't allow on your web app"

BenAUK commented 10 years ago

good heads up! cheers

artielange commented 10 years ago

Is it possible though? Cause IIRC, it wasn't in FUT14 (kept getting empty results like you do)

But I do might have had the wrong resourceID... so I dunno anymore lol.

Hows everyone doing on Xbox this morning? Webapp back up, market looks like the wild west

BenAUK commented 10 years ago

yeh i was using the assetId and passing that as a resourceId -- DOH!. You can search by resource id. I think they do the same on the web app. You search for a player by name and then they use that players resource id.

artielange commented 10 years ago

well when u search for a player by name.. it should return his asset id, Cause you get his regular card mixed with IF in the search results

now might not be the best moment to test this cause IIRC some IF don't have regular cards ATM...

BenAUK commented 10 years ago

whats IIRC?

artielange commented 10 years ago

If I recall correctly

BenAUK commented 10 years ago

super. really could do with that csv of all players, got a link?

artielange commented 10 years ago

@pradella was a gentleman and posted the full json already...

https://fifa15.content.easports.com/fifa/fltOnlineAssets/8D941B48-51BB-4B87-960A-06A61A62EBC0/2015/fut/items/web/players.json

BenAUK commented 10 years ago

cheers mate!

artielange commented 10 years ago

Would be nice to have a place where we could discuss using @trydis toolkit. AFAIK, everything in his code works brilliantly, so the issues we are experiencing are all usage issues... not code issues.

I dunno I just don't wanna pollute @trydis repo... seems like it was a lot quieter last year and the year before

trydis commented 10 years ago

I don't really mind, whatever you wanna do is fine with me. I just added a new label, "Discussion", if you want to create "issues" that are related to usage discussions. So if people tag their threads it might be easier to keep things separated.

I also think this thread should be closed now, since it has turned into a catch-all thread?

jaimem commented 10 years ago

Question about captcha exceptions (apologies if this has been covered previously, I could not find a solution in the issues thread).

I built a basic tool that does a market pricing check it runs through a series of rapid requests to pull market data for a player. It works for a bit but invariably triggers a captcha exception after a few queries.

Can anyone recommend a good solution for managing RPMs to avoid triggering captchas? I'd imagine anyone building an autobuyer would run into this problem with 2015, so just wanted to know how others have solved the issue.

Thanks.

-J

geedeezet commented 10 years ago

In C#, I use a simple counter and stopwatch.I believe now 10 searches are allowed in 60 seconds.

Question from My site, I got session expired after a few rounds. What do you guys do? Simple login again or do You maybe know why This happens?

jaimem commented 10 years ago

Thank you both. The datetime/list method seems like a smart way to govern RPM. I'll give that a shot. Thx again.

geedeezet -- re: session expired - I have not seen that recently, but I have previously solved that problem by catching session expiry exceptions and re-logging in

geedeezet commented 10 years ago

Seems like a difficult way to make sure You do x rpunds a minute? Why not a Simple counter that starts the same Time as your stopwatch and after x rounds just wait until the stopwatch is > 6000 and after that restart over again?

jaimen ok that is what I am doing also thanks

artielange commented 10 years ago

The reason you keep an RPM is not to get kicked off the servers.. So whether you make the majority of your requests within the first 30 seconds of the minute or the last 30 seconds of the minute... whats the difference? My simple mind can't grasp the difference...

polsksm commented 10 years ago

I think the difference is your clock might not start at the same time as theirs. I measure requests per second to be on the safe side, but I still got kicked out - I'm guessing it's not just "requests" per minute but some other specific transaction, like searches, or maybe bids, or some combination.

svickers commented 10 years ago

I've had the most success limiting requests to one every two seconds when possible as opposed to 30 in a minute.

geedeezet commented 10 years ago

Hmm, still getting lot of session expired errors and when I call the login I still get a session expired at the GetMainPageAsync... Any ideas? Also why I get these?

jaimem commented 10 years ago

Just want to report back that after implementing envy789's recommendation, my app has been rock solid -- no captcha exceptions, etc.

That said, I do get quite alot of session expired exceptions...

is anyone else seeing them, or have a technique to mitigate them?

trydis commented 9 years ago

Closing this now, new stuff should go into separate issues.

Carsalinas commented 7 years ago

@v4ssilij Can you please help me to enter into the FutWebapp I had the following error while login {\"debug\":\"\",\"string\":\"\",\"code\":\"500\",\"reason\":\"\"}