Force to Sign in.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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.
    Please login to see this link.

    Taken from Danny sources(Thank)

    Sloxone

  • 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

    My first game The Chickening is available on XBLIG. B-gawk.

  • 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.

    Creator of Please login to see this link. & Please login to see this link.. Always working on some exciting game development projects! Check out the latest at : Please login to see this link.

    Follow me on twitter Please login to see this link.

  • 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.

    My first game The Chickening is available on XBLIG. B-gawk.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!