Hi, I'm having some trouble with Game Center.
So far I have 2 buttons, one launches the Leaderboards UI, and one for Achievments UI, and are both working fine, I can see the Leaderboard with No Scores, and can see all the Unlocked Achivements that I already have setup in iTunesConnect.
Problem is I cant seem to update the leaderboards, or Unlock Achievements.
I'm using the ChikenCoup code to unlock an achivement:
myAchievement_ID is an integer with values from (1-10) depending on the achivement I want unlocked.
if (OnlineSub != none && OnlineSub.PlayerInterface != none)
Not sure where the problem is here.
and to post my leaderboard score:
I think the problem is in if (PlayerReplicationInfo.UniqueId != zeroID) ,its never true
if (PlayerReplicationInfo.UniqueId != zeroID)
WorldInfo.Game.Broadcast(self, "Saving Stat");
OnlineSub.StatsInterface.WriteOnlineStats('Game', PlayerReplicationInfo.UniqueId, leaderboardWrite);
any help would be appreciated.