Get an Epic Experience with Premium

AutoLogin

Miscellaneous Login to Add Favorites
  • 5 Likes
  • Runes of Magic
  • 133 Monthly Downloads
  • Supports: 5.0.1
  • 21,379 Total Downloads
  • Updated 01/09/2013
  • Created 03/12/2011
  • 18 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: MIT License
  • Newest File: v2.10
or
Support development! **
Donate

About AutoLogin

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!

V2.10
- added option for default account: AULO_default_account
- hiding charselection for multi-server configurations without char definition
- added channel selection to /camp command addon

V2.9
- fix for "all your messages are belongs to us" dialog

V2.8
- ! DATA.LUA FORMAT CHANGED !
- Server selection
- a 'sort' Option
- "/camp" command now supports account switching

V2.7
- another Account switching fix

V2.6
- fixed Account switching (RoM-Bug workaround)

V2.5
- added channel selection (thx to jrmstuff)

V2.4
- fixed possible security hole

V2.3
- fixed using character names with non-aschii chars (ex: umlaut)
- fixed return to login screen
- removed the data-stuff in account.lua - the original way is safer
- option to auto 'log-in' after a character was selected
- if you move the folder 'AutoLogin_command' to "addons" you can use the slash command:
  "/camp mychar"  or "/logout mychar"
  to switch characters.

V2.2
- added another option for 'where' data is stored
- added error messsage to help finding typos in data.lua

V2.0
Initial release

Comments

First Previous Page 2 of 3 Next Last
  • #29

    v2.7 sollte das Problem beseitigen.
    (sorry für die Verspätung. Die automatisch Benachrichtigung funzt nicht, vondaher kommt es vor das ich Kommentar nicht oder erst spät bemerke)


    Anscheinend kommt/kam es, wenn man beim Account wechsel direkt mit einen Char einloggen wollte zu einem Timing Problem.

    Last edited by McBen on 10/16/2011 8:50:08 AM
  • #23
    Also das Addon is echt klasse! Nur das Problem ist, dass er ä, ö und ü nicht akzeptiert... Stattdessen ist ein □ zu sehen. Autoeinloggen funktioniert so dann auch nicht :-/
  • #24
    Die "data.lua" im Format "uft-8 ohne BOM" speichern.
    (das geht bei den meisten Editoren außer dem Windows Notepad)

    Alternative, aber aufwendiger, kann man die Zeichen 'escapen'.
    Das heißt anstatt 'ä' schreibt man '\195\164'.
    Eine Liste dazu gibts z.B. hier: http://www.utf8-zeichentabelle.de/unicode-utf8-table.pl?utf8=dec
  • #25
    okay, gut. also ich habs mit LuaEdit gespeichert. Aber da ich die datei davor mal mit Notepad gespeichert hab, denk ich dass es deswegen nichts gebracht hat. mit dem escapen hatte ich das (bei Version 2.5) früher mal probiert gehabt und es stand dann diese '\195\164\' dran (weiß aber nicht mehr, ob ich es damals auch probiert hab mit einloggen).

    Werde aufjedenfall dann mal so abspeichern, danke ;)
  • #26
    LuaEdit kann (soweit ich auf die schnelle sehen konnte) auch kein UTF-8.

    Meine Empfehlugen: Notepad++, Scite, UltraEdit, TextPad, EditPad, PsPad, ....
  • #21
    Same problem as justjinxed. Need to click back for it to purge previous information.
  • #20
    I have two different accounts and when I camp and hit back to select my other account, and re-enter, it always tells me I either have an incorrect secondary login password, or that the secondary blank "You must enter your secondary password" If I click back back again to the login screen and reselect my account a second time, it works. Is there something being cleared and not reset when we hit "Back" from the character select screen?
  • #22
    That's a RoM Bug.
    If you do it without autologin you'll see the same 'wrong password' message.

    added a workaround in v2.6
    (by suppressing the 'wrong password' dialog and auto re-enters password)
  • #19
    Is there no option to select different servers on the same account? I have characters on different servers, and I'd like to be able to quickly log in or switch between them regardless of which server I'm currently on. Secondary passwords vary between servers.
  • #17
    Great addon! It works perfectly for me on the U.S. servers. 90% of the time, I love how it chooses a channel for me and I don't have to pick. However, sometimes I'll crash when in a party and then auto-login to the wrong channel. Any chance you could add channel selection to your login screen?
  • #18
    +1 a channel select on the main login screen is the only thing missing from this awesome addon!
  • #16
    Ok i test addon and is great, but i have problem with char. All passwords works corectly but when i choose char from autologin list i must choose again cahr in normal window.
    Sry my english is wrong :D
  • #11
    Addon not work when press "Back" button at CharacterSelect screen (account's dropdown boxes is empty).

    http://rom-research.blogspot.com

  • #12
    will be fixed in v2.3
  • #10
    would be very great inf you could add a /camp "charname" function to change the character faster
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Absolute Lojack Giveaway!