- Home /
 
 
               Question by 
               TheOtherJoJo · Oct 18, 2015 at 09:16 AM · 
                rotationscoregoogle play gameshighscoresgithub  
              
 
              Score not posting using Google Play Services from Github. Please shed some light.
My score is not posting. I have achievements working and logging in is working but for some reason I can't get the score to post. I am using the library from GitHub. Here is my code.
float fscore = moveGoal.FinalTotalGamePerct; float fscore2 = fscore * 100.00f; long lscore = (long)fscore2;
 ((PlayGamesPlatform)Social.Active).Authenticate ((bool success) => {
     if (success) 
     {
         HandleButtonClicks.isGPG_Authenticated = true;
         HandleButtonClicks.allowGPGServices = true;
         
         //final game
         ((PlayGamesPlatform)Social.Active).ReportScore (lscore, "Cgkxx_xxxxxxxxxxxxx", (bool success1) => {
             if(success1){
                 //score posted to game services
                 loggMess.text = "Score posted.";
                 //Social.ShowLeaderboardUI ();
                 ((PlayGamesPlatform)Social.Active).ShowLeaderboardUI ();
             }
             else{
                 //show couldn't post score1
                 loggMess.text = "Couldn't post score.";
             }
         });
         
     } 
     else 
     {
         HandleButtonClicks.isGPG_Authenticated = false;
         HandleButtonClicks.allowGPGServices = false;
         //show could not authenticate into game services
         loggMess.text = "Problem Authenticating.";
     }
 
              
               Comment
              
 
               
              Your answer