Facebook easy to fix bug "HiscoreUserID"

  • Problem Description

    Insanely huge number can't be Int so it must be Float or somthing. So basically every time "Facebook.HiscoreUserID" is invoked it triggers error.

    And (as expected) "Facebook.UserID" keeps returning the logged in player , so is no use as workaround.

    Attach a Capx

    I'm sorry for being lazy, but I know you can see there is no need for this. If you really need me to do this, then I'll do it.

    Steps to Reproduce Bug

    • Do Facebook things
    • Action : "Request hi-score board"
    • "On hi-score" call expression "Facebook.HiscoreUserID"
    • ???
    • Profit

    Observed Result

    Alert("Assertion failure: Calling expvalue.set_int without number type")

    Expected Result

    Just the ID thank you, sorry to bother you, sir

    Construct 2 Version ID

    Release 233 (64-bit)

    Thanks for reading, hope you have a nice day : )

  • I've made the requested change, but not tested it since there is no .capx, so hopefully that fixes it...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Muchisimas gracias, as soon as the next beta comes up, I'll inform you the results

  • The bug is gone, sorry for the delay on my confirmation

    and thank you very much.

    ¡Saludos!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)