[REL] Automatic EULA Accept/Login Instructions - 51118

Discussion in 'Mod Discussions' started by sneakyness, July 23, 2013.

  1. sneakyness

    sneakyness Member

    Messages:
    106
    Likes Received:
    5
    Updated for 51118! :mrgreen:

    Only one file to change, \media\ui\alpha\start\start_alpha.js, only 1 line changed and 2 added. Before editing the file, make sure you have sufficient permissions to edit the file.

    Before doing this, you should understand the risks of saving your unencrypted password in plaintext. Make sure this isn't a password you use anywhere else.

    On line 120:
    Code:
            self.password = ko.observable('TYPE_YOUR_PASSWORD_HERE');
    On line 745 or so, add the following two lines:
    Code:
            $("#dialog_eula").dialog("close");
            model.ubernetLoginIn();
    This should work with Steam users, but I am not a Steam user, so it is currently untested.

    If you only want to skip the EULA, the only change you need is at line 745:
    Code:
            $("#dialog_eula").dialog("close");
             model.mode(2);

    Attached Files:

    Last edited: July 24, 2013
    galaxyisos and Kikuto like this.
  2. zaphodx

    zaphodx Post Master General

    Messages:
    2,350
    Likes Received:
    2,409
    Re: [REFERENCE] Automatic EULA Accept/Login Instructions - 5

    Nice one! Could you upload them as attachments maybe? Personally I would want the dialog removal but not the unencrypted password bit.
  3. sneakyness

    sneakyness Member

    Messages:
    106
    Likes Received:
    5
    Re: [REFERENCE] Automatic EULA Accept/Login Instructions - 5

    Boom! Updated :mrgreen:

    Edit: I also included a templated version of the Auto EULA Accept/Login with a 'TYPE_YOUR_PASSWORD_HERE' placeholder.
  4. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    Re: [REFERENCE] Automatic EULA Accept/Login Instructions - 5

    thaaaaaaaaaaank yeeee
  5. sneakyness

    sneakyness Member

    Messages:
    106
    Likes Received:
    5
    Re: [REFERENCE] Automatic EULA Accept/Login Instructions - 5

    My pleasure! Be sure to grab the updated version for your fresh build :)
  6. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
  7. thetrophysystem

    thetrophysystem Post Master General

    Messages:
    7,050
    Likes Received:
    2,874
    I am trying to use this. But, I believe where I have luck with the password remember, I have none with the EULA. I get a scrambled up unuseable start screen instead.

    Is it formatted differently on the new updates past line 720?

    EDIT: or maybe me messing up my username earlier caused problems later, more likely this, oh well, you live and you learn.
  8. Kikuto

    Kikuto New Member

    Messages:
    3
    Likes Received:
    3
    In last bult, the change in line 750 should to be in after line 789.
    Thanks for this trick.
  9. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Where should I put the latter part on the new patch?
  10. Kikuto

    Kikuto New Member

    Messages:
    3
    Likes Received:
    3
    Beta Build: 56516

    • Skip EULA
    In this build you need put this code in line 852.
    Code:
     $("#dialog_eula").dialog("close");
        model.ubernetLoginIn();
        model.mode(1);
    • Automatic Login
    Change code in line 143.
    Code:
    self.password = ko.observable('your password');
    Clopse likes this.
  11. Kikuto

    Kikuto New Member

    Messages:
    3
    Likes Received:
    3
    Beta Build: 57703

    • Skip EULA
    In this build you need put this code below line 853.

    Code:
    $("#dialog_eula").dialog("close");
    model.ubernetLoginIn(); model.mode(1);
    • Automatic Login
    Change code in line 144.
    Code:
    self.password = ko.observable('your password');
    tatsujb and galaxyisos like this.
  12. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    up for visibility. :)

    it's line 145 and 855 now.

Share This Page