MyTeams workaround

Discussion in 'Blog' started by walesy, Apr 2, 2019.

By walesy on Apr 2, 2019 at 11:02 PM
  1. walesy

    walesy Administrator Staff Member

    Joined:
    Nov 30, 2015
    Messages:
    3,872
    Likes Received:
    2,564
    Ok guys, it's ugly, but not awful.

    Ok, slightly awful, but it works.

    You do however, get to feel like a total hacker, so that's fun.

    I'm gunna need some people to test this out before bringing the MyTeams link back, so until then, hit it up with this link.

    http://tooserious.net/forum/myteam.php

    Creating the team is same as always. Getting your team in however, requires first, going to the supercoach site and logging in.

    (Using Chrome)

    Step 1: Press F12, and move to the Network Tab

    upload_2019-4-2_21-32-50.png

    Step 2: Press F5 and then look for the file called statsPlayers?round=

    It helps if you sort all the files by name.

    upload_2019-4-2_21-37-13.png

    NOTE: Ensure that you're looking at the Response Tab, otherwise click on the Response tab

    Grab the contents of the Response Tab (Highlight some of it, then press Ctrl-A, Ctrl-C) - If you paste it into notepad or something, it should look like this:

    Code:
    {"stats":[{"round":3,"salarycap":137500,"points":0,"total_points":4277,"position":0,"last_position":26949,"round_position":0,"raw_position":0,"raw_round_position":0,"raw_price_position":0,"price":0,"price_change":0,"total_price_change":0,"rounds_played":0,"formation_id":0,"best_total_points":0,"changes":0,"total_changes":1,"league_wins":0,"league_draws":8,"league_losses":0,"user_team_id":7276}],"players":[{"player_id":39,"round":3,"picked":"true","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":220,"round":3,"picked":"true","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":326,"round":3,"picked":"emerg","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":409,"round":3,"picked":"true","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":410,"round":3,"picked":"true","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":468,"round":3,"picked":"false","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":585,"round":3,"picked":"true","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":701,"round":3,"picked":"true","position":"DEF","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Defender","position_sort":1},{"player_id":94,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":133,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":328,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":416,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":485,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":528,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":552,"round":3,"picked":"false","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":558,"round":3,"picked":"false","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":584,"round":3,"picked":"vice","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":744,"round":3,"picked":"true","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":816,"round":3,"picked":"false","position":"MID","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Midfielder","position_sort":2},{"player_id":153,"round":3,"picked":"emerg","position":"RUC","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Ruck","position_sort":3},{"player_id":334,"round":3,"picked":"capt","position":"RUC","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Ruck","position_sort":3},{"player_id":464,"round":3,"picked":"true","position":"RUC","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Ruck","position_sort":3},{"player_id":127,"round":3,"picked":"true","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":164,"round":3,"picked":"true","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":278,"round":3,"picked":"false","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":331,"round":3,"picked":"true","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":455,"round":3,"picked":"true","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":557,"round":3,"picked":"emerg","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":695,"round":3,"picked":"true","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4},{"player_id":734,"round":3,"picked":"true","position":"FWD","updated":"2019-03-31T07:02:27+1100","user_team_id":7276,"position_long":"Forward","position_sort":4}]}
    
    Anyways, grab that data and paste it into this field in TS here:

    upload_2019-4-2_22-53-0.png

    Then press Upload Data.

    With any luck, your team will be uploaded.

    Should work for Supercoach and Dreamteam. I don't have Fantasy working yet.
     
    Last edited: Apr 3, 2019
    • Like Like x 2
    • Option 5 Option 5 x 1

Comments

Discussion in 'Blog' started by walesy, Apr 2, 2019.

    1. walesy
      walesy
      Slightly better pic here of it being pasted.

      upload_2019-4-2_23-4-52.png
    2. walesy
      walesy
      Let me know if the process works. If things don't make sense or whatever. Wanna get these instructions clear for anyone doing it.

      Even the most computer illiterate (Yes, I'm talking to you)
    3. Robert
      Robert
      Worked perfectly for me. You are Champion
      • Like Like x 1
    4. anthak
      anthak
      Hey mate, good work with this.

      When I go to the network tab and click F5, the only option to select is "settings" and theres a new "ping?heraldsun..." every so often.
      So no StatsPlayers to choose

      Im trying in Chrome on my MacBook Air OS 10.13.4
    5. walesy
      walesy
      F5 refreshes the browser. Not sure if it does that on an apple. Apple + R maybe?
    6. anthak
      anthak
      Oh yeah....
      I actually worked out how to fix it anyway. I had to actually click into the "my team" page on the SC site, and then a whole heap came up in the network tab list, including StatsPlayers...
      • Like Like x 1
    7. anthak
      anthak
      But now I cant find which parts to copy. On my Mac, it comes up with two options in the preview panel: Players and Stats, and both open up to show more options too. Ive tried copying and pasting in various ways but none of them work. TS keeps coming up with an error saying "Your data was funky"

      I might just use this workaround on a windows computer just to get the team uploaded, and then myteams could hopefully be used on Mac after that.
    8. walesy
      walesy
      sounds like it's prettying up the json to make it easier to read (as the two sections that come in that file are Players and Stats). Kinda need the whole thing, cause it's expecting both.

      Can you put up a screenie so I can check what it looks like? (Don't have an apple to test on)
    9. anthak
      anthak

      Attached Files:

    10. anthak
      anthak
      This is what happens when you open up the players bit

      Attached Files:

    11. Owen
      Owen
      Hey Walesy, you're right I did feel a bit like a hacker, I knew there was someway to get to that data. I'm more of an old school excel copy and paster, then have formulas do the rest of the stuff. Anyway, I'm guessing it's not meant to show trades remaining or cash on hand just yet?
      • Like Like x 1
    12. choppers
      choppers
      well I'm still living in the 20th century so its all "double dutch" to me.....but I'm sure it'll come good asap....:):)
    13. walesy
      walesy
      Tell you what, they make it tough! :D

      Yeah, trades and cash aren't in that data, but if you want to, you can update that manually on the Trade Plan screen.
      • Like Like x 1
    14. walesy
      walesy
      Ah awesome, flick over to the Response tab, instead of the Preview tab. It should have it in text format over there.
      • Like Like x 1
    15. walesy
      walesy
      hahaha, yeah, you're not alone there! I hate that it has to be this convoluted, but if we can get the instructions easy enough to follow- with notes on any pitfalls we run into, then we'll all be better for it :D
    16. stripey
      stripey
      My data is apparently funky..... and not in a good way!
      • Like Like x 1
    17. walesy
      walesy
      dang it. um, wanna post in for me?

      Chuck it between a code tag so that it's not huge
    18. stowie
      stowie
      Worked a treat, thanks for your tireless work @walesy
      • Like Like x 1
    19. Len
      Len
      Same here, thanks @walesy :)
      • Like Like x 1

Share This Page