Page 1 of 2 12 LastLast
Results 1 to 25 of 41

Thread: [Committed]No account confirmation?

  1. #1
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default [Committed]No account confirmation?

    Maybe something like this would be worth putting in implanting in "SetupSRLStats"?

    Simba Code:
    procedure SetupSRLStats(ScriptID: integer; UserName, UserPass: string);
    begin
      stats_Timer := GetSystemTime;
      stats_ScriptID := IntToStr(ScriptID);
      stats_Username := LowerCase(UserName);
      stats_UserPass := UserPass;
      stats_RandNames := ['leo the gravedigger', 'freaky forester', 'maze',
                          'prison pete', 'evil bob''s island', 'drill demon',
                          'quiz', 'surprise exam', 'mollys evil twin', 'pinball',
                          'sandwich lady', 'bee keeper', 'pillory', 'capn arnav',
                          'abyssal teleport', 'certer', 'mime', 'frog', 'trade',
                          'mod', 'fight', 'lamp', 'bird nest', 'death'];
      SetArrayLength(stats_RandSolved, Length(stats_RandNames));
      if ((stats_Username = '') And (stats_UserPass = '')) then
        begin
          case MessageBox('No Stats account entered, would you like to set one up?','SRL Stats',mbYesNoCancel) of
            mrYes:
            begin
              OpenWebPage('http://stats.villavu.com/register');
              TerminateScript;
            end;
            mrNo: Exit;
            mrCancel: TerminateScript;
          end;
        end;
    end;



    I figure this will help promote SRL Stats ALOTby giving the option to create an account when the script starts and calls the procedure to setup your SRLStats info. Pressing 'Yes', obviously, will load a new webpage to the Stats register page and stop the script, pressing 'No' will ignore it and continue the script, pressing 'Cancel' will also stop the script (this can be changed).

    Or maybe have an in-script register form that will create an account for you given the name/pass/email (optional) that you enter through the Message's 'InputQuery'. I'm sure you could set it up to check if the username is already taken. If I had a better sense of how to use Simba's Web functions I'd make this myself but I'm still newb'ish.

    So... worth it or not?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  2. #2
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I've had the idea for about a week now, where it creates a dialog which asks a user for a name, and a pass and an optional email field. People will do things, if they are easier, and this would be a lot easier. Your idea is better than nothing, but it's still pretty good.

    I'm 'for' it!
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  3. #3
    Join Date
    Nov 2007
    Posts
    326
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great idea, this would hopefully also help alleviate the need for an "Anonymous" account like the one in place now.

    Check out my Edgeville Smelter!

  4. #4
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Make it where when they click "No" it wont show the dialog anymore.

    This is for Per-Script:

    Simba Code:
    procedure SetupSRLStats(ScriptID: integer; UserName, UserPass: string);
    begin
      stats_Timer := GetSystemTime;
      stats_ScriptID := IntToStr(ScriptID);
      stats_Username := LowerCase(UserName);
      stats_UserPass := UserPass;
      stats_RandNames := ['leo the gravedigger', 'freaky forester', 'maze',
                          'prison pete', 'evil bob''s island', 'drill demon',
                          'quiz', 'surprise exam', 'mollys evil twin', 'pinball',
                          'sandwich lady', 'bee keeper', 'pillory', 'capn arnav',
                          'abyssal teleport', 'certer', 'mime', 'frog', 'trade',
                          'mod', 'fight', 'lamp', 'bird nest', 'death'];
      SetArrayLength(stats_RandSolved, Length(stats_RandNames));

      if (((stats_UserPass = '') and (stats_UserName = '')) and (StrToBoolDef(GetSettingValueDef('StatsDialog', 'true'), True))) then
        case MessageDlg('No Stats account entered, would you like to set one up?', 'SRL Stats', mtConfirmation, [mbYes, mbNo, mbCancel]) of
          mrYes: begin
              OpenWebPage('http://stats.villavu.com/register');
              TerminateScript;
            end;
          mrNo: SetSettingValue('StatsDialog', 'false');
          mrCancel: TerminateScript;
        end;
    end;
    Last edited by Dgby714; 04-04-2011 at 02:16 AM.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  5. #5
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    Make it where when they click "No" it wont show the dialog anymore.
    Would rather have a checkbox saying don't ask me again.

  6. #6
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Good idea, but quite sure how that would put in.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  7. #7
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I've got a work around for my method, I can't find any documentation/reference so I don't think SRL/SIMBA has it. InputBox's.

    Then make a PHP script on a site (or the actual site).

    Simba Code:
    StatsNameInput = SomeFormOfInput;
    StatsPasswordInput = SomeFormOfInput;

    stats.villavu.com/register?name=StatsNameInput&?pass=StatsPasswordInput
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  8. #8
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    Would rather have a checkbox saying don't ask me again.
    We need a custom form for that....

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  9. #9
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    We need a custom form for that....
    Well then a button that says "No," and another that says "No, and don't ask me again?"

  10. #10
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    http://stats.villavu.com/user/289


    Edit: None of these profiles can be viewed. Confirmed by Ian.
    Something is fucked up..
    Last edited by Sex; 04-04-2011 at 03:00 AM.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  11. #11
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bump
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  12. #12
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    I like this idea, the total xp on SRL stats will rise dramatically if this gets implemented

  13. #13
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    I support this

  14. #14
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    I like the idea too

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  15. #15
    Join Date
    May 2011
    Location
    In an Island.
    Posts
    1,413
    Mentioned
    2 Post(s)
    Quoted
    149 Post(s)

    Default

    I like the idea! And yes, with all those users in need of a bot (color bots), SRL will dramatically increase and also the total experience on SRL stats

    SUPPORT!

  16. #16
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I like the idea, but there was once a rule that you could not force people to sign up for stats.

    This is leaning towards that.. But if we make it explicit that its OPTIONAL then I feel like the rule could be bent.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  17. #17
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    That's why's there's a "No" option that continues the script without the user being required to use/setup a Stats account. I've been using this in my scripts since... well I guess since my beginning, no foul done.

    If I might add, by the way, this is a bit old now, don'tcha think? Probably not worth putting in the include itself, but it could definitely be a good script add-on. Obviously anyone is welcome to use it. Do we have a section where small script add-ons & extras can be posted publicly? I'd be surprised if we didn't.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  18. #18
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    SRL Additions? http://villavu.com/forum/forumdisplay.php?f=210

    Utilities? http://villavu.com/forum/forumdisplay.php?f=441

    R & D Lounge? http://villavu.com/forum/forumdisplay.php?f=147

    I don't see why this couldn't go in the include..

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  19. #19
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    I'd want it in the include
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  20. #20
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    I'd want it in the include
    I would as well. It is quite nice, really.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  21. #21
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Dude this is a gravedig........
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  22. #22
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    Dude this is a gravedig........
    It is still relevant as it has not been added, and is something that can be discussed regardless of age. From what people have discussed, it seems as though there is a want for it.
    Last edited by euphemism; 10-31-2011 at 01:39 AM.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  23. #23
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    Dude this is a gravedig........
    Yes it is... And? jk...

    I think its useful
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  24. #24
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    We'll call this a good gravedig.

    I see nothing wrong with this conversation, and its something nice to have to talk about.



    p.s. 6999 FUUUUUU.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  25. #25
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    We'll call this a good gravedig.

    I see nothing wrong with this conversation, and its something nice to have to talk about.



    p.s. 6999 FUUUUUU.
    I'll get my fireworks ready.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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