@ar2rsawseen I must be doing something wrong. I'm able to get googles sample project "Type a number" to work but I keep getting "Unknown Error" popping up when I try sign in with my own project or your test project.
@larf yes, basically it means you have not provided your appId in android manifest. you need to put your appID in res/values/ids.xml And then you need to put: <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id" /> in your AndroidManifest
Strange. I'm able to get it to work when I export a signed apk but if I try using the eclipse debug fingerprint it doesn't work. @ar2rsawseen have you been able to test using the eclipse fingerprint before?
I hope there will be a way to test game services with gideros player sometime soon. This exporting to test things is gonna be a pain in the ***!
Nevermind. Now I'm able to get it to work with the eclipse debug fingerprint too. Not sure what I did wrong before, but I deleted everything and tried it all again from scratch and now it works
@larf for your pain issue I recommend @Atilim's solution part2, which was mentioned last by me to recall this an old thread but excellent part of work improvements under Android: http://www.giderosmobile.com/forum/discussion/comment/25369#Comment_25369 simply before p.4 add your all plugins as for regular apk, sign & export your new Android Gideros Player and enjoy! @ar2rsawseen maybe Atilim's solution should be finally in section about deploying and FAQ as well
@ar2rsawseen Is there a method to reset achievements. I've been messing around with googleplay:reportAchievement() but I can't find a way to reset them.
@larf for now it seems that there is no way to reset achievements apart from deleting and readding your test account.
Actually I just borrowed a second phone to test multiplayer and well, it's kind of not working. Setting automatching, does not work, although both users logged in in the same app. And inviting players does not work, it does not even bring up the required UI. As far as I know, I've done everything right on my part and that it is possible that trouble is actually on GooglePlay Service. There are lots of things reported that are not working, so maybe theses are one of not working features yet.
So does any one know any game with already implemented Google Play Service Multiplayer? So I could at least check how it works visually?
@ar2rsawseen I haven't seen a way of reseting the achievements in any of the other google play services games I've played either I guess google play services is still pretty new though. I suspect google will be polishing it and adding more features soon.
Check out "Super Stickman Golf 2". It has turn based and realtime multiplayer. It's been working pretty well from me. The UI for match making comes up and seems to work just fine.
@fxone Thanks for that! Sorry I already edited that post because I figured it out too.
@ar2rsawseen Good Luck! Can't wait to mess around with some multiplayer stuff
I didn't realize until just now but the iOS version of SSG2 also supports the same multiplayer featrures but through Games Center. Does the current gamekit plugin for Gideros have any multiplayer features?
@larf I think no, it does not. It was developed even before I joined the team, so I completely forgot about that, thank you for reminding, maybe I should better start there? :-?
@ar2rsawseen maybe the iOS multiplayer stuff has been around longer so it should be more stable? I'm not sure. It's up to you.
I won't be able to implement any kind of multiplayer into my game for a couple months anyways, so achievements and leaderboards are all I need for now. Though, I am excited for it.
@ar2rsawseen calling googleplay:loadAchievements() is causing my app to crash. Sometimes it doesn't crash calling it just once but it will usually crash by the second call. Are you experiencing this too?
@ar2rsawseen thank you! The Achievements and scores work in my game. However, the application crashes sometimes while beginning. Please find the attached file.
Also, could you add a method to get only the current player's point from a specific point table? I checked GamesClient class but I'm not sure that loadPlayerCenteredScores can help me.
@hasanalperen it seemed that you are calling functions before login process was complete, is it true? As in you should first login and then do any other action after LoginComplete was executed.
I can also put internal check to ignore calls before that. I doubt that I can delay them, though
@ar2rsawseen I checked the functions I used now. I call the funtions after first login. The problem is that if you press the back button when the application logins to Google Play Services, the application crashes.
Also, what do you think about my second question? "Could you add a method to get only the current player's point from a specific point table? I checked GamesClient class but I'm not sure that loadPlayerCenteredScores can help me."
Hello guys can't really reproduce both errors (with achievements and with back button), can you guys provide some simple example codes or screencasts, etc.
BTW implemented loadPlayerScores method through same loadPlayerCenteredScores, seems to be working for now
@ar2rsawseen I just tried it again with your GooglePlayTest project you included with the plugin and it's still crashes for me. All I did was uncomment the line googleplay:loadAchievements() in the Event.LOGIN_COMPLETE listener. If i leave that line commented out it will load and login no problem.
Comments
Likes: larf
I'm able to get googles sample project "Type a number" to work but I keep getting "Unknown Error" popping up when I try sign in with my own project or your test project.
Have you exerienced this "Unknown Error" popup?
you need to put your appID in res/values/ids.xml
And then you need to put:
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="@string/app_id" />
in your AndroidManifest
And by the way I've added isAvailable method
I'm still getting that "unknown error" popup
I made sure that is in my AndroidManifest and I've added my app_id to ids.xml.
I'll try to figure it out.
unexpected http response code 403 for https://www.googleapis.com/games/v1/players/some numbers
I'm looking online for it now.
I'm able to get it to work when I export a signed apk but if I try using the eclipse debug fingerprint it doesn't work.
@ar2rsawseen have you been able to test using the eclipse fingerprint before?
I hope there will be a way to test game services with gideros player sometime soon. This exporting to test things is gonna be a pain in the ***!
http://www.giderosmobile.com/forum/discussion/comment/25369#Comment_25369
simply before p.4 add your all plugins as for regular apk, sign & export your new Android Gideros Player and enjoy!
@ar2rsawseen maybe Atilim's solution should be finally in section about deploying and FAQ as well
Likes: larf
https://play.google.com/store/apps/developer?id=My+name+is+Originality
I'm gonna try it out right now
Thanks for the suggestion!
I'll let you know how it goes.
Got my own android player with googleplay support. WooHoo!
Likes: fxone
https://play.google.com/store/apps/developer?id=My+name+is+Originality
Actually I just borrowed a second phone to test multiplayer and well, it's kind of not working.
Setting automatching, does not work, although both users logged in in the same app.
And inviting players does not work, it does not even bring up the required UI.
As far as I know, I've done everything right on my part and that it is possible that trouble is actually on GooglePlay Service. There are lots of things reported that are not working, so maybe theses are one of not working features yet.
So does any one know any game with already implemented Google Play Service Multiplayer? So I could at least check how it works visually?
Likes: fxone
Check out "Super Stickman Golf 2". It has turn based and realtime multiplayer. It's been working pretty well from me. The UI for match making comes up and seems to work just fine.
@fxone Thanks for that! Sorry I already edited that post because I figured it out too.
Well then I'm probably doing something wrong. Time to dig deeper.
I didn't realize until just now but the iOS version of SSG2 also supports the same multiplayer featrures but through Games Center. Does the current gamekit plugin for Gideros have any multiplayer features?
I won't be able to implement any kind of multiplayer into my game for a couple months anyways, so achievements and leaderboards are all I need for now. Though, I am excited for it.
However, the application crashes sometimes while beginning. Please find the attached file.
Also, could you add a method to get only the current player's point from a specific point table?
I checked GamesClient class but I'm not sure that loadPlayerCenteredScores can help me.
As in you should first login and then do any other action after LoginComplete was executed.
I can also put internal check to ignore calls before that. I doubt that I can delay them, though
Likes: fxone
The problem is that if you press the back button when the application logins to Google Play Services, the application crashes.
Also, what do you think about my second question?
"Could you add a method to get only the current player's point from a specific point table? I checked GamesClient class but I'm not sure that loadPlayerCenteredScores can help me."
can't really reproduce both errors (with achievements and with back button), can you guys provide some simple example codes or screencasts, etc.
BTW implemented loadPlayerScores method through same loadPlayerCenteredScores, seems to be working for now