Twitter and Leaderboard Issues

Tim_ATim_A Member, PRO Posts: 60
edited March 2014 in Working with GS (Mac)
Hi all,

Very close to launching my first app game with both the Twitter Sheet and Leaderboards integrated which is ace...

However, two problems have arisen:

1. The Twitter Sheet seems to work fine and is called through a button, but I can't get it to display the highscore using the method i've shown in the image attached. I've made sure that it isn't an expression (tried it both ways) so wondered what the problem might be?

2. Secondly, I setup my first Leaderboard which was pretty straightforward, and gave it the ID 'hspider'. I've added an auto-login at the start of the game, and an auto-post of the highscore at the end of each game, plus also a direct button linking direct to theLeaderboard. The problem is that in my adhoc test on my phone, The log-in seems to work, but the auto-post and link to the Leaderboard do nothing?

DoI perhaps need to change my ID to something more taxing? Or does it not work on an adhoc test? Do i need to setup a unique development profile to get it to work?

Thanks for any help

Tim

Comments

  • BacktothisBacktothis Member, PRO Posts: 75
    "I've made sure that it isn't an expression (tried it both ways) so wondered what the problem might be?"

    It should be an expression though. And just to be sure, you had to enter it in expression form where you had to use alt+spacebar to create the spaces in the sentence right?
  • Tim_ATim_A Member, PRO Posts: 60
    Oh I read elsewhere on the forum that it shouldn't be an expression! :P

    I didn't even know about the alt+spacebar... is that the same on a mac?

    Will try now, thank you :)
  • BacktothisBacktothis Member, PRO Posts: 75
    edited March 2014
    Yes I had this same problem on my mac and entering it as an expression is what fixed it. You can't put spaces in an expression by hitting spacebar so you have to alt+spacebar to get spaces in there.

    edit - Or rather, I'm using alt+spacebar on a windows keyboard layout on a mac mini, I'm assuming it's the option/alt key for you mac keyboard fellows.
  • Tim_ATim_A Member, PRO Posts: 60
    Thanks again... out of interest, does it need the exact formating of the '..' either side of the game.highscore?
  • BacktothisBacktothis Member, PRO Posts: 75
    Yes. I imagine it's because . is already used to mean something, so .. is used instead for string concatenation. Probably some form of LL(1) parsing?
  • Tim_ATim_A Member, PRO Posts: 60
    edited March 2014
    Thanks, the Twitter problem is now fixed, however the leaderboard simply won't work?

    I can't get it to log-in now either automatically or on a button-press (nothing happens at all).

    Same goes for the button to show the leaderboard... nothing happens at all (adhoc build).

    If I run the project through the preview however, it seems to work absolutely fine (popup windows confirming login, score posting and leaderboard display).

    Any ideas?

    I've just setup a new thread for this issue: http://forums.gamesalad.com/discussion/65266/leaderboard-won-t-function-on-adhoc#latest

    Regards

    Tim
Sign In or Register to comment.