D
DJ2334
Guest
I can't seem to properly log in to google play when using achievement_login. I get the prompt to login at start up, but afterwards it just loads forever and doesn't log me in. Is this a bug or something on my end?
*Persistent Object*
-Create-
global.PlayerName = "Anon";
global.PlayerID = -1;
if (!achievement_login_status()){
achievement_login();
}
-Async - Social-
if ds_map_exists(async_load, "id")
{
switch(async_load[? "id"])
{
case achievement_our_info:
global.PlayerName = async_load[? "name"];
global.PlayerID = async_load[? "playerid"];
show_debug_message("GOOGLE SERVICES: User " + global.PlayerName + " with ID " + string(global.PlayerID) + " has logged in");
break;
}
}
*Persistent Object*
-Create-
global.PlayerName = "Anon";
global.PlayerID = -1;
if (!achievement_login_status()){
achievement_login();
}
-Async - Social-
if ds_map_exists(async_load, "id")
{
switch(async_load[? "id"])
{
case achievement_our_info:
global.PlayerName = async_load[? "name"];
global.PlayerID = async_load[? "playerid"];
show_debug_message("GOOGLE SERVICES: User " + global.PlayerName + " with ID " + string(global.PlayerID) + " has logged in");
break;
}
}