question

App Lover avatar image
App Lover asked

Service not ready and leader board not showing up

Hi, while submitting score to leaderboard am getting service not ready in callback. I have just started building an app with game circle in it. I am running the app from eclipse. I have published the leader board. The connection with game circle is happening. But when I submit a score to leaderboard it says service not ready. Also agsGameClient.getLeaderboardsClient().showLeaderboardsOverlay(); does not show anything. Please help. Thanks Message was edited by: App Lover
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi App Lover, Thank you for your post. Could you please let us know which device your app is running on? I mean is that Kindle 1st/2nd Gen or HD. Could you please post your OS version also?
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

App Lover avatar image
App Lover answered
Hi its working now. I had game center initialization and leader board score submission and leader board display all in one single method. When I segregated them into different methods it is working. So I guess its transaction bound. Now leader board is showing. But the score submission code is not working. It is giving UNRECOVERABLE error code Here is the log: 06-06 15:03:13.914: D/AGC_ServiceProxy(20171): binding result:true 06-06 15:03:14.102: D/AGC_ServiceProxy(20171): synchronousBinder:null serviceMessengerClient:android.os.Messenger@42a59e78 06-06 15:03:14.102: D/AGC_ServiceProxy(20171): synchronousBinder:null serviceMessengerClient:android.os.Messenger@42a59e78 06-06 15:03:14.102: D/AGC_ServiceProxy(20171): Client is bound to service 06-06 15:03:14.109: D/AGC_ServiceProxy(20171): Session Id:24ec2deb-f4db-422e-a39e-53a4c5075e44 06-06 15:03:14.211: D/dalvikvm(20171): GC_CONCURRENT freed 2271K, 11% free 34271K/38407K, paused 2ms+3ms 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): Handling authorize callback 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): authResult: AUTHORIZED 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): Client is bound to service 06-06 15:03:14.445: D/AGC_AuthenticationService(20171): Attempting to check is authenticated 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): Game received broadcast from service with opt-in status [OPTED_IN] 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): Client is bound to service 06-06 15:03:14.445: D/AGC_AuthenticationService(20171): Attempting to check is authenticated 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): Client is bound to service 06-06 15:03:14.445: D/AGC_ServiceProxy(20171): Changing Status from:INITIALIZING to: SERVICE_CONNECTED 06-06 15:03:14.703: I/AGC_AmazonGamesStatusHandler(20171): Game received status update of: SERVICE_CONNECTED 06-06 15:03:16.898: D/LB_LeaderboardsServiceProxy(20171): Submit Score 10 called Asynchronously with handle. 06-06 15:03:16.945: D/GC_BaseReplyMessengerFactory(20171): Constructing a ServiceHandleHandler for the outgoing asynchronous event 06-06 15:03:17.266: D/LB_LeaderboardsReplyMessengerFactory(20171): Processing incoming service response message of type: 8 and responseCode: 18 06-06 15:03:17.266: D/LB_LeaderboardsReplyMessengerFactory(20171): The service request was a failure with code 19, constructing failure response 06-06 15:03:17.266: D/GC_BaseReplyMessengerFactory(20171): Setting handle data with response: ResponseCode: 19 06-06 15:03:17.266: D/GC_BaseReplyMessengerFactory(20171): ErrorCode: UNRECOVERABLE 06-06 15:03:17.266: D/GC_BaseReplyMessengerFactory(20171): requestType: 8 06-06 15:03:17.266: D/GC_BaseReplyMessengerFactory(20171): Improvements: null 06-06 15:03:17.266: D/GC_BaseReplyMessengerFactory(20171): Ranks: null
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

App Lover avatar image
App Lover answered
Am using Kindle HD. Leader board display in the app shows the leader board ID which I had created. Device version is latest as "update your kindle" button is greyed out. It is 8.4.1_user_4108520
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

App Lover avatar image
App Lover answered
Submission of score is working now. I was giving name instead of ID while submitting score. Sorry for the trouble. Thanks.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

App Lover avatar image
App Lover answered
');
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Good to know that you have resolved the problem. Thanks for sharing the knowledge and experience. It would help many developers to resolve the same problem. Thanks.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pitup3 avatar image
pitup3 answered
even i faced the same problem, in my case its due to mismatch of nickname, but now its working fine
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.