Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Gaming plugin loadScores() plugin bugs — Gideros Forum

Gaming plugin loadScores() plugin bugs

In file:GameGamekit.m file line 235 change range.location = 0; to range.location = 1;

Otherwise you get this error: Leaderboard range {0,25} must have a location >= 1 and a range <= 100

In file:GameClass.mm - On line 186 - add another ,"" in this list
Score gscores = {"", "", "", "", 0}; change to Score gscores = {"", "", "", "", "", 0};

Otherwise you get Thread 1: signal SIGABRT error.

typedef struct Score
{
std::string rank;
std::string score;
std::string name;
std::string playerId;
std::string pic;
int timestamp;
} Score;

Likes: MoKaLux

+1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.