User Tag List

Results 1 to 6 of 6

Thread: Force to Sign in.

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    555
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Force to Sign in.

    Hi,
    How force player to Sign in.
    I use this action:
    Start at frame--> Games Services-->>Sign in line 0.
    Screen appear with sign in,but player can press B button to cancel.

    I put this action
    Game Services, X (negatif)is Player Sign in ?-- >>Sign in line 0

    It don't work.I see some game that it work,how it to do?

    Here is the MFA.
    http://ed6.free.fr/sign.mfa

    Taken from Danny sources(Thank)

    Sloxone

  2. #2
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleXNA Export Module
    nathansmit's Avatar
    Join Date
    Jan 2013
    Location
    NYC
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, so from what I've gathered the only important thing is assigning player 1 to whatever gamepad they are on at start and open the storage selector in the same spot. Doesn't matter if they are signed in or not, you dont need them to be to play, only for save/load data and buying demo.

    After that, don't access any INI or high scores unless they have a valid signed in profile, it will crash. i basically send anyone to a blank high score if the len gamertag < 0 or their name ends in ")" (guest accounts), I check those right before choosing to go to the real high score or a blank one.

    I went to the lenghts of accessing the ini and high score objects in a quick inbetween frame and store the data to global variables, but I work with a guy who's evil about finding crashes (& now I have the evil powers as well)

    or just don't use any INI or high score or storage.

    Otherwise, not vital but good to have a second show marketplace behavior for people who can't purchase, like a buzzer and a little text saying them to sign in to a valid live account

    I need to hack you all a better MFA example from what ive learned.. soon, my first game I made for a company was really poorly done because I didn't know much of what I was doing, and im waiting to see if I can get my first personal game on XBLIG

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    555
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    Thanks for response.
    I want this,but when player connect without sign in.Highscore crash.
    if I can not find solution,i delete High Score and put simple Score,but it's not saved to any storage.

    Sloxone

  4. #4
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleXNA Export Module
    colej_uk's Avatar
    Join Date
    Nov 2006
    Location
    UK
    Posts
    739
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You could make sure the player is signed in before switching to the frame with the high score by using len(gamertag) > 0 or as Nathan said if it doesn't end in ")" for guest accounts

    Make sure to do the same when the high score data is written.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    555
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Colej_Uk,i try what you wrote.But it's not work.Can you complete this MFA for me.
    http://ed6.free.fr/sign.mfa

    Thanks

  6. #6
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleXNA Export Module
    nathansmit's Avatar
    Join Date
    Jan 2013
    Location
    NYC
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The crash comes when no account is signed in or if a guest is signed in and data is accessed (an INI or high score)

    Also though, to be honest you can probably also make it crash if you have the INI or high score open on a frame and have the game storage on a flash drive and pull it out (evil checklist)

    For the high score I had an inbetween frame that accessed the INI and high score set to global variables and the high score was actually all just alterable strings I set from the global variables. It wasn't pretty but nothing about getting that game finished was.

    If either of these are true don't access an INI or high score. (Its been a couple months but I believe my Global Value AA was system player index)

    Right$(Alias$( "Gamer Services", Global Value AA), 1) = ")"
    Len(Alias$( "Gamer Services", Global Value AA)) =< 0

    Not sure if it was vital but I then had the other line that did go to a frame with the ini and high score where the Right$ was <> and Len was >


    If this is creating more trouble than it's worth consider not using INI or high score and stick with global variables that go away after you close the game.

Similar Threads

  1. sign up
    By TheCrimsonTaco in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 8th June 2012, 01:15 AM
  2. Sign-in Here Please
    By Novabrain in forum Extension Developers Lobby
    Replies: 60
    Last Post: 31st August 2011, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •