FIFA13-Ultimate-Team-Search icon indicating copy to clipboard operation
FIFA13-Ultimate-Team-Search copied to clipboard

Incorrect Machine Type

Open mousey opened this issue 12 years ago • 2 comments

It would seem that currently my code only works if you have an xbox. This is down to line 98 on connector:

$machine = $d->shardInfo[0]->customdata1[0];

if you are PC it should be "card-pc" if you are Xbox it should be "card-360" if you are PS3 it should be "card-ps3"

just change line 98 to be the correct one while I work on this: $machine = "card-360";

mousey avatar Oct 13 '12 00:10 mousey

Tampered around a bit with this and found that you need to change the 1 and 0 to get the other consoles.

PS3 = $machine = $d->shardInfo[1]->customdata1[1];

So I guess PC should be 0-1 or 1-0 but it is easy to check by echoing the $machine.

Tuuttuut avatar Oct 13 '12 22:10 Tuuttuut

Check this issue for a more elaborate explaination: https://github.com/mousey/FIFA13-Ultimate-Team-Search/pull/4

Tuuttuut avatar Oct 15 '12 14:10 Tuuttuut