• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Im not getting the google play services working need help ASAP

L

Limzee

Guest
Im not getting the achievements to show, this is my code.
persistent Object.
Game Start:
Code:
achievement_login();

global.Score = 0;
global.OurName = "";
global.OurId = "";
global.numfriends = 0;
global.numentries = 0;
Social in the same object:
Code:
var ident = ds_map_find_value(async_load, "id");
 if ident == achievement_our_info
    {
    var name = ds_map_find_value(async_load, "name" );
    var playerid = ds_map_find_value(async_load, "playerid" );
    global.OurName = name;
    global.OurId = playerid;
    if os_type == os_android
       {
       achievement_load_leaderboard("LeaderboardID", 1, 100, achievement_filter_friends_only);
       }
    else
       {
       achievement_load_leaderboard("leaderboard1id", 1, 100, achievement_filter_friends_only);
       }
    achievement_get_challenges();
    achievement_load_friends();
    achievement_load_progress();
    }
 
    else if ident == achievement_leaderboard_info
    {
    var lbid = ds_map_find_value(async_load,"leaderboardid");
    if lbid == "LeaderBoardID" || lbid == "leaderboard1id"
       {
       global.numentries = ds_map_find_value(async_load,"numentries");
       for(var i = 0; i < numentries; i++;)
          {
          global.playername = ds_map_find_value(async_load, "Player" + string(i));
          global.playerid = ds_map_find_value(async_load, "Playerid" + string(i));
          global.playerrank = ds_map_find_value(async_load, "Rank" + string(i));
          global.playerscore = ds_map_find_value(async_load, "Score" + string(i));
          achievement_get_pic(global.playerid);
          }
       }
    }
 
else if ident == achievement_achievement_info
    {
    var numentries = ds_map_find_value(async_load, "numentries");
    for(var i = 0; i < numentries; i++;)
       {
       ach_id = ds_map_find_value(async_load, "Ach" + string(i));
       comp = ds_map_find_value(async_load, "AchComp" + string(i));
       }
    }
ShowAchievementsButton

Left_mouse_released:
Code:
achievement_show_achievements();
I have entered the appid.
I would appreciate help in skype or discord.
 
Top