AutoLogin

Login-Screen

AutoLogin allows to store password and enter the world in one screen.

The main login screen is enhanced by dropdown lists for account,server and character selection.
If passwords are set (including the second password) they will be filled in automatically.

Installation

Do NOT use the curse client!
Download and extract folder to "interface/" subdirectory
(resulting in a "interface/loginxml/" directory NOT interface/addons !)

Optional: Move the Sub-Folder "AutoLogin_command" to "interface/addons/" (see 'camp command')

Setup

Edit the "data.lua" in "interface/loginxml/" with a text-editor of your choice.

Basics

At file start are some comments and options which are discussed later. Everything after a '- -' is a comment and ignored (till line end).

The 'accounts' block needs to be filled with your privte data.
For each account you need a block like:

{   name="account", password="password", sec_password="sec_pass",  characters={"Char1","char2","char3"},  },

Feel free to use linebreaks,spaces or tabs as you like. (example: account3)

Text after the first space in a charname is only displayed in the login menu.

Umlauts

Make sure to select Format 'UTF-8 without BOM' when saving the "data.lua".
Most editors are supporting this (Notepad+ +, Scite, UltraEdit, TextPad,....)

Or use escape chars like "\195\164" for a 'รค' (see http://www.utf8-zeichentabelle.de/unicode-utf8-table.pl?utf8=dec)

Servers

For multiple servers you need a more complicated setup (example: account4)

Instead of 'sec_password' and 'characters' you need an extra "servers" table. Like:

{   name="account4", password="password",
        servers = {
            {   name="Muinin", sec_password="sec_pass", characters={"Char6","Char7"},},
            {   name="Laoch", sec_password="sec_pass", characters={"Char8","Char9"},},
        },
    },

Options

  • AULO_use_channel = 1
    This is the preselected channel.
  • AULO_login_after_charselect = true
    If true you'll automatical login after character selection
  • AULO_sort_accountlist = true and AULO_sort_characterlist = false
    If true the account/character dropdown lists are sorted
  • AULO_auto_login_character={"char1","server"}
    Instead of letting you choose a account/character this will fully login in this character.
  • AULO_store_last_account = true
    if you don't won't to preselect last account set this to false:

Security

Safety Tip

You should move the "data.lua" to a safe directory (ex: user-documents, usb-stick,...).
Atleast you should rename it.
If you do so you'll have to edit 'accountlogin.lua' and change the first line to point to the correct directory.
example: local account_file="e:/rom/data.lua"
(note: use slash instead of backslash to prevent errors)

Safety Tip 2

Some people asked for an encrypted 'data.lua' file.
Here is a possible way:

  1. add following line to the beginning of the data.lua file:
    local temp = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"}
    
  2. write all passwords and/or texts letter by letter seperated by '..': "p".."a".."s".."s".."w".."o".."r".."d"
  3. compile this file with "luac" (http:www.lua.org)
  4. rename file to something wired and change "account_file" variable in "accountlogin.lua" to use that file Note: it doesn't increase security. It just makes the file unreadable in text-editors.

Camp Command

Move or copy the 'AutoLogin_command' to the standard "addons" folder.
Now you can use "/camp charname" or "/logout charname" or "/camp charname server"
to switch to another character.
This includes account changes!

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of McBen McBen Mar 14, 2011 at 18:27 UTC - 0 likes

    I know..password stuff is very sensible.
    I started this addon 2years ago 'cause I was to lazy to type passwords over and over again.

    So here somethings to think about:
    - it's lua .. you've got the full code
    - it's the same as saving the password in a text-file and using copy/paste
    - you can use strong password which you'll usually can't remember (ex:gb'/Gtf3)
    - if someone has access to your system (direct or via trojan) ..you've lost anyway

  • Avatar of Infernus1 Infernus1 Mar 14, 2011 at 14:47 UTC - 0 likes

    Sounds a bit dangerous ^^

  • 2 comments

Facts

Date created
Mar 12, 2011
Category
Last update
Jun 28, 2015
Development stage
Release
Language
  • deDE
  • enUS
  • esES
  • frFR
  • jaJP
  • koKR
  • plPL
  • ruRU
  • zhCN
  • zhTW
License
MIT License
Curse link
AutoLogin
Downloads
26,214
Recent files
  • R: v2.11 for 5.0.9 Jun 28, 2015
  • R: v2.10 for 5.0.1 Jan 09, 2013
  • R: v2.9 for 4.0.2.2440 Feb 14, 2012
  • R: v2.8 for 4.0.2.2440 Nov 13, 2011
  • R: v2.7 for 4.0.2.2440 Oct 16, 2011

Authors