[Fixed] PSN API Broken

Joe

Groose
Senior Member
Nov 10, 2003
8,719
Yours looks right...mine's still wrong. Haven't played Guilty Gear or...whatever the one in 3rd is
 

Tarvis

Yeah, that's right.
Administrator
Nov 10, 2003
8,866
ARE YOU SURE? Maybe you are so drunk nowadays, you forget what game you've played!

Nah I'll look into it. Very weird, since my little manual tester thing returns the right 3 games. (Far Cry 4, Dragon Age, Resogun), but for some reason you got those 3 in the database. TIME TO SNOOP!
 
Last edited:

Tarvis

Yeah, that's right.
Administrator
Nov 10, 2003
8,866
Fricken weird man. I ran the script again to update database just for you and it returns right information. What's going on?!

Found out that in the loop for PSN users, that the array that builds the game information wasn't resetting after the first user, so everyone after the first user in that part of the loop was getting their games added to the end of array, creating a long array of everyone's games, but the code only picks first 3 games listed so thats why it was showing weird games - but not if you only did one user at a time.

Made changes to the code to unset($array) and it seems to be working good now.
 
Last edited:
Top