Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Fatal crash on loading leaderboard scores. Is plugin dead even for legacy app?
Started by evgen Dec 06 2019 06:36 AM

2 replies to this topic
amazon plugin gamecircle
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 12 posts
  • Corona SDK

How that was:

local gamecircle= require("plugin.gamecircle")

gamecircle.Init(true, true, false)


than waited for a time to check

gamecircle.IsReady() -> true

gamecircle.IsPlayerSignedIn() -> true


and than …

gamecircle.Leaderboard.GetScores( “towerstournament”, “GLOBAL_ALL_TIME”, function(e) … end)


Dec 06 02:59:54.204 KFARWI: FATAL EXCEP

Dec 06 02:59:54.204 TION: main

                    KFARWI: Process: com.xiart.fb.towers, PID: 3327

                    KFARWI: com.naef.jnlua.LuaRuntimeException: attempt to compare string with number

                    KFARWI: at com.naef.jnlua.LuaState.lua_pcall(Native Method)

                    KFARWI: at com.naef.jnlua.LuaState.call(LuaState.java:564)

                    KFARWI: at plugin.gamecircle.Lu

Dec 06 02:59:54.205 aLoader$6.onComplete(LuaLoader.java:1086)

                    KFARWI: at plugin.gamecircle.LuaLoader$6.onComplete(LuaLoader.java:1062)

                    KFARWI: at com.amazon.ags.client.AGResponseHandleImpl.callCallback(AGResponseHandleImpl.java:72)

                    KFARWI: at com.amazon.ags.client.AGResponseHandleImpl.setRe

Dec 06 02:59:54.227 sponse(AGResponseHandleImpl.java:57)

                    KFARWI: at com.amazon.ags.client.ClientBase$AsyncTaskWrapper.setResponse(ClientBase.java:149)

                    KFARWI: at com.amazon.ags.html5.service.AsynchronousReplyMessenger$2.run(AsynchronousReplyMessenger.java:114)

                    KFARWI: at android.os.Handler.handleCallback(Handler.java:739)

                    KFARWI: at android.os.Handler.dispatc

Dec 06 02:59:54.228 hMessage(Handler.java:95)

                    KFARWI: at android.os.Looper.loop(Looper.java:135)

                    KFARWI: at android.app.ActivityThread.main(ActivityThread.java:5491)

                    KFARWI: at java.lang.reflect.Method.invoke(Native Method)

                    KFARWI: at java.lang.reflect.Method.invoke(Method.java:372)

                    KFARWI: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:984)

                    KFARWI: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

Dec 06 02:59:54.311 KFARWI:   Force finishing activity 1 com.xiart.fb.towers/com.ansca.corona.CoronaActivity


Is there any way to workaround?

Help wanted! ;)



App is old one and still have the GameCircle support.

api_key.txt also here

Amazon device:

Fire HD 6 (2014) 
Fire OS 
Android 5.1.1 Lollipop (API level 22)

[TOPIC: post.html]

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,103 posts
  • Corona SDK

If that is Amazon GameCircle, it was discontinued over a year ago by Amazon.

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 12 posts
  • Corona SDK

I know about this. 

But, the point is that new apps was not accepted with GameCircle.

Old ones keep supported.

The problem is plugin doesn't work even for old ones.


Also tagged with one or more of these keywords: amazon, plugin, gamecircle