Really need help on score submission

Discussion in 'How Can I...?' started by sysads, Oct 26, 2015.

  1. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    I have tried to find a solution to this issue but no luck. I have a game already submitted on google Play but noticed that scores are not been submitted to leaderboard.

    - I have the correct LB id and GS ID setup on BB
    - On game over scene, I have a text set to coin amount. If I try to use "Coins best session" or "Coins per session", all are showing 0

    upload_2015-10-27_4-55-17.png

    So my question is what tells BB when you see a GS and/or LB values, then save xxxx values to leaderboard?
    Do I need to drop some other text somewhere?
    Under Actions, i have points set to action type - coins with reward set to 1
     
    quanpn82 likes this.
  2. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    Hi,

    If you want to share the Score to the leaderboard and submit the coins to leaderboard, then you need to select the score type from the project settings.

    If you want to submit the coins value to leaderboard then coins best session will submitted to leaderboard, If you want to submit score value to leaderboard then best score amount will be submitted.
     

    Attached Files:

  3. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Ok thanks but this is the challenge I have been having. When i set it to score amount, on BB preview screen the score shows but when i run it on my android device, the score stays 0 :(
    so it does not make any sense why on preview it shows but on actual device is stays 0
     
  4. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    That very strange issue how it that possibleo_O
     
  5. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Well this is my predicament. I decided to another android phone, this time it reporting something like "Google Play Services: App misconfigured" and crashed with following errors:

    10-27 07:31:26.715: E/AndroidRuntime(27703): FATAL EXCEPTION: main
    10-27 07:31:26.715: E/AndroidRuntime(27703): Process: com.twodgamearena.cuberush, PID: 27703
    10-27 07:31:26.715: E/AndroidRuntime(27703): java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.ads.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.ads.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.twodgamearena.cuberush-1/base.apk"],nativeLibraryDirectories=[/data/app/com.twodgamearena.cuberush-1/lib/arm, /vendor/lib, /system/lib]]
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2926)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.app.ActivityThread.access$1800(ActivityThread.java:172)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.os.Handler.dispatchMessage(Handler.java:102)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.os.Looper.loop(Looper.java:145)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.app.ActivityThread.main(ActivityThread.java:5832)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.reflect.Method.invoke(Native Method)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.reflect.Method.invoke(Method.java:372)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    10-27 07:31:26.715: E/AndroidRuntime(27703): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.ads.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.twodgamearena.cuberush-1/base.apk"],nativeLibraryDirectories=[/data/app/com.twodgamearena.cuberush-1/lib/arm, /vendor/lib, /system/lib]]
    10-27 07:31:26.715: E/AndroidRuntime(27703): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2921)
    10-27 07:31:26.715: E/AndroidRuntime(27703): ... 9 more
    10-27 07:31:26.715: E/AndroidRuntime(27703): Suppressed: java.lang.ClassNotFoundException: com.heyzap.sdk.ads.PackageAddedReceiver
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.Class.classForName(Native Method)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
    10-27 07:31:26.715: E/AndroidRuntime(27703): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
    10-27 07:31:26.715: E/AndroidRuntime(27703): ... 11 more
    10-27 07:31:26.715: E/AndroidRuntime(27703): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
     
  6. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    On another android device, i am getting a lot of leaks:

    E/DataBuffer( 1103): Internal data leak within a DataBuffer object detected! Be
    sure to explicitly call release() on all DataBuffer extending objects when you
    are done with them. (internal object: com.google.android.gms.common.data.DataHol
    der@13b3a88c)
    E/DataBuffer( 1103): Internal data leak within a DataBuffer object detected! Be
    sure to explicitly call release() on all DataBuffer extending objects when you
    are done with them. (internal object: com.google.android.gms.common.data.DataHol
    der@9219bd5)
    E/DataBuffer( 1103): Internal data leak within a DataBuffer object detected! Be
    sure to explicitly call release() on all DataBuffer extending objects when you
    are done with them. (internal object: com.google.android.gms.common.data.DataHol
    der@3c886fea)
    E/DataBuffer( 1103): Internal data leak within a DataBuffer object detected! Be
    sure to explicitly call release() on all DataBuffer extending objects when you
    are done with them. (internal object: com.google.android.gms.common.data.DataHol
    der@112d22db)
    D/ChimeraCfgMgr( 1428): Loading module com.google.android.gms.games from APK com
    .google.android.play.games
    D/ChimeraModuleLdr( 1428): Module APK com.google.android.play.games already load
    ed
    V/BaseAuthAsyncOperation( 1428): access token request successful
    D/ChimeraCfgMgr( 1428): Loading module com.google.android.gms.games from APK com
    .google.android.play.games
    D/ChimeraModuleLdr( 1428): Module APK com.google.android.play.games already load
    ed
    V/BaseAuthAsyncOperation( 1428): access token request successful
    I/art ( 554): Explicit concurrent mark sweep GC freed 24625(906KB) AllocSpa
    ce objects, 1(576KB) LOS objects, 33% free, 24MB/36MB, paused 1.739ms total 148.
    847ms
    D/ChimeraCfgMgr( 1428): Loading module com.google.android.gms.games from APK com
    .google.android.play.games
    D/ChimeraModuleLdr( 1428): Module APK com.google.android.play.games already load
    ed
     
  7. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    I placed multiple text to point to each preset scores and this is result on preview and device

    Preview:
    upload_2015-10-27_8-28-12.png

    Device
    upload_2015-10-27_8-28-29.png

    So I am confused if it me that is doing something wrong :(
     

    Attached Files:

  8. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    is these all values are score or coins?
     
  9. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    This is how it is:

    upload_2015-10-27_9-53-3.png
     
  10. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    it is very strange issue i think you need to mail BB support team.
     
  11. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    I have already done that. The only thing left for me now is to use the settings that works but then delete the leaderboard and create a new one on my Google dev account
     
  12. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    So there is no technical explanation why scores showing on preview isn't showing on actual device? This is android, haven't tried iphone
     
  13. quanpn82

    quanpn82 Boxer

    Joined:
    Oct 24, 2015
    Messages:
    6
    Likes Received:
    0
    Hi Sysads
    I am facing the same issue, did you find any solution for this, please share me
    Thank you
     
  14. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    I think did you guys made the changes in scoring logics in BB 1.3.5?
     
  15. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    What do you mean by scoring logics?
     
  16. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    means have change the score type in 1.3.5?
    eg:
    You start making game in 1.3.4 in that you had set the score type: distance base. and after update didi you change the score type in to coin?
     
  17. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Oh yes its always been coins :)

    I used v1.3.5 and then tried v1.3.4 but no luck. I think I now know the issue but trying to figure out what happened :(

    I may be wrong but i think since the game was built on v1.3.4 and then moving it to v1.3.5 might have messed up the score logic. Like I said I may be wrong
     
  18. dhawal_tamakuwala

    dhawal_tamakuwala Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    120
    Likes Received:
    46
    i think these happen because of the BB version change.
     
  19. quanpn82

    quanpn82 Boxer

    Joined:
    Oct 24, 2015
    Messages:
    6
    Likes Received:
    0
    Hi
    I am not sure what version making game, but i am using BB 1.3.5. I also changed from Distance to Coins because I not see score submit when using Distance
    So please please advice what I should do now
     
  20. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    I will continue sometime today but even BB support team could not figure out what the issue is :(
     

Share This Page