PSN How To Take Stats

Discussion in 'LGHL Official League News Archive' started by Tris10, Oct 7, 2016.

  1. Tris10

    Tris10 Site Founder

    Joined:
    Jun 5, 2003
    Messages:
    22,700
    Trophy Points:
    871
    Location:
    Toronto
    Ratings:
    +16,274 / 81 / -125
    How To Take States Using the New LG Stats API

    Exciting news, we finally have the single biggest feature we've all been waiting for, a direct API to EA Sports for stats. This means no fumbling with screen shots, OCR, twitter or your phone to prove stats. This also means managers no longer will need to correct stats or spend hours fixing and managing their organisations stats.

    This API is for both Xbox One and PS4, and we'll support it for every LG NHL league Team league we do including

    • LGHL/LGAHL/LGCHL
    • Pro Series
    • CanAm
    • Friday Night Puck
    • IHL & LGWJ
    • And any other supported LG League
    This is the killer LG Feature we've all been waiting for.

    There is still some manual input as this API doesn't give us everything we have today, Rather then losing these stats we decided to make those stats manual, So manual stat input is this

    • Team Time on Attack
    • Team Power Play Goals & Attempts
    • Goals by Period
    Everything else we get from the API.

    How it works is simple, the user selects the LG Game, then types in the "EA Sports Club" their LG game was played on, That brings up a list of the last 5 games that EA Sports Club played. The user simply needs to select which EA Sports Game is connected to the LG Game.

    Here is a full demo


    There are a few things to consider though

    • We can only get stats from Club Challenge, Not the match making PIN System
    • It takes roughly 30-50 minutes after the game to show up on the API
    • We can only see a teams last 5 games right now, meaning if they play all night in club challenge we might not be able to get stats for that game
    Here is a list of the benefits
    • Makes being a manager in LG much easier, less work
    • IF we remove the OCR input, we could move all stat entry away from managers so that only BOG could manage stats and we never have to worry about stats being padded
    • 100% accuracy
    • We could do things like team records, season achieves now, now that players wont accidentally be given 1000 goals for a single game by accident ect.
    We will still support the OCR going forward while we test out the API but going forward this should really help our community and grow LG to new levels,

    Enjoy everyone
    --------------------------------------------------------------------------------------------

    How To Take Stats Using the OCR

    1. Prerequisite & Setup
    Before your game, these are things to make sure are working
    1. Make sure your Leaguegaming "Xbox GamerTag" is linked to the correct gamertag (under external accounts) you played your LG game with. This is the account we look for xbox screen shots and game clips
    2. Make sure all your Xbox Privacy settings are set to everyone for "See your game clips".
    3. Make sure you are either signed up for the LG game (either unconfirmed or confirmed) using the signup system.

    2. After Game


    (If your game is disconnected, follow the instructions of 2b. listed down below)

    Once a game is over a member from the winning team is required to take 4 screen shots from their xbox one, those screen shots are

    1. Team Stats - Example.
    2. Period Stats - Example.

    For Player stats, we use the new NHL 17 player stats screen that has gamertags and all 12 players on a single screen shot. We require 2 images here to get all stats.

    3. Player stats (scroll so PIM is highlighted) - Example.
    4. Player stats (scroll FO% is highlighted) - Example.

    Tips for taking screen shots - Do not take a screen shot with any screen overlays over any part of the stats, ie notification popups. If there is any blockage of the stats table the OCR will not be able to find where to start , or what stats are for what columns.
    3. Using the OCR (optical character recognition) on Leaguegaming.com

    Now that the game is over a member from the winning team (or team manager) can use the OCR to do stats, to do so goto

    1. The League the game is for (LGHL or LGAHL, or LGCHL or LGECHL)
    2. Hover "My LG" > Input Score > Select the game
    Once in the "OCR", follow the steps outlined.

    First step is to search all screen shots from players in the game.

    The 2nd step is for the old player name system, if your screen shots are from the new NHL 17 stat system, skip this step.

    The 3rd step is to search for images, select them by clicking on them and selecting the type of image its for (Team Stats, or Period Stats or User Stats ect).

    Last step is submit and save the game stats.
    4. Manual Stats Corrections by Team Managers

    If for whatever reason the OCR does not include a player, or adds an extra digit or does an 8 instead of a zero for example, its up to the managers to manually edit and correct game stats. They can do so by viewing the game, and there is a link at the bottom of the game to edit stats.

    2b. If a game is disconnected

    If a game requires any type of restart, simply take the 4 screen shots to capture the state of the game at that point. Then when the game is over after the restart, take the other 4 screen shots. In the OCR you can create a partition where you simply select which set of screen shots or for what periods played.


    Examples
    Here is a video of how to use the OCR from NHL 16, the process is basically exactly the same except we use the new NHL 17 menu for screen shots.


    If you have any questions, please post below and we'll update this document.

    Thank you
     
    Last edited by a moderator: Oct 13, 2018
    • Informative Informative x 2
    • Like Like x 1
    • Useful Useful x 1
  2. Perkosaurus13

    Perkosaurus13 Well-Known Member

    Joined:
    Jan 27, 2016
    Messages:
    133
    Trophy Points:
    441
    Location:
    Rochester, NY
    Ratings:
    +115 / 7 / -10
    Sometimes when the games end the stat page wont come up indicating and it means that the game didn't count, happens a lot in club. what happens in those situations?
     
    Offline
    PerkinsPancakeHouse
  3. Tris10

    Tris10 Site Founder

    Joined:
    Jun 5, 2003
    Messages:
    22,700
    Trophy Points:
    871
    Location:
    Toronto
    Ratings:
    +16,274 / 81 / -125
    If that's true we need to report that to ea. But you would do 2b and do stats the nhl 16 way with player names.
     
  4. iKoniK_Krane

    iKoniK_Krane Well-Known Member

    Joined:
    Mar 15, 2016
    Messages:
    141
    Trophy Points:
    141
    Location:
    California
    Ratings:
    +58 / 2 / -1
    • Useful Useful x 1
    Offline
    ikonik_krane
  5. Electronic_J

    Electronic_J Stay At Home LD

    Joined:
    Jan 2, 2016
    Messages:
    110
    Trophy Points:
    141
    Location:
    Barrie Ontario
    Ratings:
    +75 / 1 / -0
    Offline
    electronic_j
  6. VET1MARINE5JUL10

    VET1MARINE5JUL10 Just some Motivated Devil Dog.

    Joined:
    May 28, 2016
    Messages:
    55
    Trophy Points:
    91
    Location:
    Oregon, Troutdale
    Ratings:
    +35 / 1 / -3
    Offline
    themastiffman
  7. N_A_G_55

    N_A_G_55 Syracuse crunch

    Joined:
    Jan 21, 2016
    Messages:
    128
    Trophy Points:
    441
    Location:
    Windsor ontario
    Ratings:
    +71 / 5 / -21
    • Useful Useful x 1
    No Streaming Account
  8. itchycoochy

    itchycoochy Member

    Joined:
    Sep 27, 2016
    Messages:
    4
    Trophy Points:
    11
    Location:
    montreal
    Ratings:
    +14 / 0 / -2
    I reported this issue to EA within the first week. I have a case number.
    The only resolution I was offered was to be provided with a link to the web forum to publicly discuss the issue.
    Meaning they are aware and don't seem to care about the issue, from my standpoint at least.
     
    • Useful Useful x 1
    Offline
    itchycoochy
  9. MpLs Anderson

    MpLs Anderson Well-Known Member

    Joined:
    Aug 3, 2013
    Messages:
    471
    Trophy Points:
    6,531
    Ratings:
    +631 / 11 / -19
    @Tris10 the # thing hasn't been working for pro series lately for some reason
     
    Offline
    MpLsAnDeRsOn
  10. Malkinsidconx871

    Malkinsidconx871 Member

    Joined:
    Sep 11, 2016
    Messages:
    1
    Trophy Points:
    10
    Location:
    Siesta key florida
    Ratings:
    +0 / 0 / -0
    True. It drives me crazy
     
    No Streaming Account
  11. Tris10

    Tris10 Site Founder

    Joined:
    Jun 5, 2003
    Messages:
    22,700
    Trophy Points:
    871
    Location:
    Toronto
    Ratings:
    +16,274 / 81 / -125
    It's because you are playing early. I look for tweets after the scheduled game time
     
  12. MpLs Anderson

    MpLs Anderson Well-Known Member

    Joined:
    Aug 3, 2013
    Messages:
    471
    Trophy Points:
    6,531
    Ratings:
    +631 / 11 / -19
    We started like everyone of our games last week 5min after scheduled start time and it still didn't work
     
    Offline
    MpLsAnDeRsOn
  13. Tris10

    Tris10 Site Founder

    Joined:
    Jun 5, 2003
    Messages:
    22,700
    Trophy Points:
    871
    Location:
    Toronto
    Ratings:
    +16,274 / 81 / -125
    in a pm, link me to the lg game and link me to all the tweets
     
  14. Wm_Ta_Fn

    Wm_Ta_Fn Member

    Joined:
    Oct 5, 2016
    Messages:
    1
    Trophy Points:
    10
    Location:
    Nashville
    Ratings:
    +0 / 0 / -1
    Having trouble with the app for the phone. Go to sign in and nothing happens. What can we do to fix it
     
    • Dumb Dumb x 1
    No Streaming Account
  15. WateryDolphin77

    WateryDolphin77 I make stuff spin and do spin-o-rama's

    Joined:
    Mar 4, 2016
    Messages:
    349
    Discord:
    Dakota/Dolphin#8103
    Trophy Points:
    391
    Location:
    Niagara falls
    Ratings:
    +463 / 38 / -40
    @Apperation, i suggest reading it. Its a good read :)
     
    Offline
    WDolphin77
  16. Stav 98

    Stav 98 Greatest Never

    Joined:
    May 7, 2016
    Messages:
    457
    Trophy Points:
    801
    Location:
    Canada
    Ratings:
    +461 / 116 / -136
    Offline
    Stavio_98
  17. Agger23

    Agger23 The People's BOG

    Joined:
    Sep 11, 2016
    Messages:
    297
    Discord:
    Agger23#8125
    Trophy Points:
    3,041
    Location:
    Florida
    Ratings:
    +318 / 38 / -50
    Offline
    Agger_23
  18. Moranaconda

    Moranaconda #sensSZN

    Joined:
    Dec 20, 2015
    Messages:
    596
    Trophy Points:
    2,291
    Location:
    Lima, NY
    Ratings:
    +1,585 / 17 / -153
    @Tris10 So what do we do with the shots? I noticed as today was the first time I tried to enter stats mainly because teams aren't playing preseason.. But the new player stats page shows "Shots" as every attempted shot by any given player in a game whether it is on net or not. And the team stats page ONLY registers shot on goal. What do we do in this situation as I am getting the error "Shots do not add up between teams"? Do we adjust the overall shots in the game? as there is no way to distinguish who's shots didn't actually go on net...
     
    • Like Like x 2
    Offline
    Moranaconda
  19. radicalapex

    radicalapex LGPSN Sharks Owner

    Joined:
    Dec 3, 2015
    Messages:
    309
    Discord:
    radapex#2090
    Trophy Points:
    1,591
    Location:
    New Brunswick, Canada
    Ratings:
    +482 / 4 / -13
    That's not always the case. We had guys showing 5 and 3 shots in the player summary page last night, when they actually recorded 7 and 5 shots (respectively).

    What I ended up doing last night was grabbing a screenshot of our team stats section, attaching it to the game, and adjusting the numbers manually.
     
    Offline
    radapex
  20. AMogilny_89

    AMogilny_89 Well-Known Member

    Joined:
    Sep 22, 2016
    Messages:
    91
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +51 / 8 / -4
    I don't have twitterI will just take the necessary stats with pictures on my phone, and then manually put them in immediately after the game.
     
    No Streaming Account