Get an Epic Experience with Premium


Miscellaneous Login to Add Favorites
  • Runes of Magic
  • 168 Monthly Downloads
  • Supports: 5.0.9
  • 23,979 Total Downloads
  • Updated 06/28/2015
  • Created 03/12/2011
  • 18 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: MIT License
  • Newest File: v2.11
Support development! **

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.


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')


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


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.


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


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"},},


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


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" (
  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!

- fixed camp command for channel change (ex: /camp 2)
- keep secondary password

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

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

- Server selection
- a 'sort' Option
- "/camp" command now supports account switching

- another Account switching fix

- fixed Account switching (RoM-Bug workaround)

- added channel selection (thx to jrmstuff)

- fixed possible security hole

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

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

Initial release


First Previous Page 1 of 3 Next Last
  • #49

    Is it possible to get the drop down for characters to only show 8 at a time and have a scroll bar. bossibly write the drop down function with a new lua function that allows scrolling?

    The problem is that after the merger i now have 24 characters on one server. i was hoping to use them for storage and would preffer to keep the extra characters. after the merger i will be left with 40 storrage characters on on serevr. I would like to use this addon to flag the storrage toons with what they store. The limit of the drop down makes this useless for that function beyond the 16 character in the list as it is off the bottom of the screen and not vissible.

  • #46

    Hi McBen!

    Excellent addon! :D

    Is there a way to show more than 20 accounts? After adding more only the first 20 are shown in the dropdown.

    If I change the order in the config file the new first 20 are shown so it does not seem to be a syntax problem. If I add "LoginDropDownList:SetHeight(600)" after the setWidth(300) then the popup rectangle becomes longer but there is still only 20 account names and the rest is trunctated (there is empty space bellow the 20th account but 21st is not shown). If I add "ULO_ShowError("acc: "..tostring(k))" after "AULO_accounts[k] = v" then for 21 accounts in the config there is a red error string "acc: 21" behind the AutoLogin version, so it seems that all 21 are loaded.

    It seems as if it was some display problem. Is there some sort of max "inner" height which means that 21st button is added bellow the lowest edge of the popup?

    Any workaround would be welcome. I can experiment with both lua and xml if you hint me in a right direction...

  • #47

    the dropdown list is limited to 20 items. So it  requiers modification or redesign of the control itself.

    It is defined in "logindropdownmenu.lua" + "logindropdownmenu.xml" (not touched by AutoLogin)

    Last edited by McBen on 9/5/2015 2:34:57 AM
  • #44

    still work?

  • #45

    (tested with 6.3)

    Last edited by McBen on 5/23/2015 12:18:12 PM
  • #41

    oh wait was miss reading text instruction  sry  will retry  ty


  • #40

    need help here can you be more clean on where to edit the file i cant seem to get it to work   thank you

  • #35


    last update needs a further "enter" key to autologin, can you show me how/where to add this "enter" key editing file or can you update your awesome addon? tyvm!

  • #36

    use AutoLogin v2.9  - 14 Feb 2012 ;)


  • #39

    Autologin requires a special directory (usually addons are stored in "addon" dir) so using 'curse client'  isn't recommend and is untested.

    ps: grml ..I'm unable to put this post as reply of your last

    Last edited by McBen on 2/16/2012 2:12:14 PM
  • #37
    Quote from McBen »

    use AutoLogin v2.9  - 14 Feb 2012 ;)


    omg, i was using curse client but only now i see it wasn't on the installed addon's list...

    now i use install via curse client and it's correctly on the list! ;)

    tyvm and gz!

  • #32

    Is there a way to turn off the auto password entry for in-game purchases? I can't seem to find any user accessible way to do this.




  • #33

    AutoLogin doesn't influence in-game password requests. In fact all user-data is cleared after login.

    So I believe you discovered a bug which I'm still unable to reproduce.

    Maybe you can give me more details (here, pm or mail)

    Last edited by McBen on 2/15/2012 11:07:02 AM
  • #34

    After the patches for 4.0.8 applied I saw the update for AutoLogon2 (which is an excellent add-on by the way ;) ) and all was good after a bit of editing, etc.

    Went to the new Magic Wardrobe thingy on the character display and stumbling about pushed the button to purchase a new page...

    Actually does this even ask for the password? Damn... Don't want to spend another 89 dias to find out :(

    My bad... Looks like it doesn't actually ask for the password... Wonder if I'll get my dias back...

  • #30

    First of all, this nerve-saving addon is great. But, what if i have two characters with their own separate secondary passwords under one user account? It appears that if i leave two identical accounts with same first pass, only the last one listed is shown.

    As in:
    ["Myaccountname"] = {"pass123",  "secondpass456" ,   {"player1"} },
    ["Myaccountname"] = {"pass123",  "secondpass789" ,   {"player2"} }

    Only the latter account with player2 is shown.

    If there's no workaround, can i edit secondary password of player2 to be the same as in player1?

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

Alienware X51 (R3) Giveaway