Re: rock5's "fastLogin Revisited"
Posted: Mon Jun 02, 2014 8:28 am
Lol what a terrible mistake. I added the missing line. New version attached.
MicroMacro home
https://www.solarstrike.net/phpBB3/
Code: Select all
local CustomLogin = {
Account9 = { UserName = "", Password = "", Label ="Euro Server" },
Account10 = { UserName = "####", Password = "########", Server="Siochain", Label = "" },
Account11 = { UserName = "####", Password = "########", Server="Siochain", Label = "" },
Account12 = { UserName = "####", Password = "########", Server="Siochain", Label = "" },
Account13 = { UserName = "####", Password = "########", Server="Siochain", Label = "" },
Account14 = { UserName = "####", Password = "########", Server="Siochain", Label = "" },
Account44 = { UserName = "", Password = "", Label = "Aussie Server" },
Account45 = { UserName = "####", Password = "########", Server="Thalia", Label = "" },
Account46 = { UserName = "####", Password = "########", Server="Thalia", Label = "" },
Account47 = { UserName = "####", Password = "########", Server="Thalia", Label = "" },
Account48 = { UserName = "####", Password = "########", Server="Thalia", Label = "" },
Account49 = { UserName = "####", Password = "########", Server="Thalia", Label = "" },
}
Code: Select all
local CustomLogin = {
ENEU={
Account9 = { UserName = "", Password = "", Label ="ENEU" },
Account10 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Siochain", Label = "" },
Account11 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Siochain", Label = "" },
Account12 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Siochain", Label = "" },
Account13 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Siochain", Label = "" },
Account14 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Siochain", Label = "" },
Account15 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Smacht", Label = "" },
Account16 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Smacht", Label = "" },
},
AUS = {
Account9 = { UserName = "", Password = "", Label = "AUS" },
Account10 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Thalia", Label = "" },
Account11 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Thalia", Label = "" },
Account12 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Thalia", Label = "" },
Account13 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Thalia", Label = "" },
Account14 = { UserName = "xxxx", Password = "xxxxxxxx", Server="Thalia", Label = "" },
},
}
Code: Select all
--[[ Example
-- Single client list
SetCharList({
{account=1, chars= {1,2,6}},
{account=2, chars= {1,3}},
{account=4, chars= {}},
})
-- Or groups of accounts for multiple clients
SetCharList({
{ -- Client 1
{account=1, chars= {1,2,6}},
{account=2, chars= {1,3}},
},
{ -- Client 2
{account=4, chars= {}},
},
})
-- Or for multiple regions
SetCharList({
ENEU = { -- List to use when on EU region
{account=1, chars= {1,2,6}},
{account=2, chars= {1,3}},
{account=4, chars= {}},
},
AUS = { -- List to use when on AUS region
{ -- Client 1
{account=1, chars= {1,2,6}},
{account=2, chars= {1,3}},
},
{ -- Client 2
{account=4, chars= {}},
},
},
})
--]]
Code: Select all
local CharacterCreateDefaultNames = {
Account1 = {"Alphaone","Betatwo","Capathree"},
Account2 = {"Tom","Dick","Harry"},
}
Thank you very much!rock5 wrote:To use specific names at the character creation screen use CharacterCreateDefaultNames. It's just below the account information in accountlogin.lua.
Example;Code: Select all
local CharacterCreateDefaultNames = { Account1 = {"Alphaone","Betatwo","Capathree"}, Account2 = {"Tom","Dick","Harry"}, }
Code: Select all
- >>>>> Choose whether to confirm the creation of the character <<<<<<
fastLoginFastCharacterCreate = true
Code: Select all
-- Auto generate character name
CharacterCreateNameEdit:SetText(GenerateName());
CharacterCreateOkayButton:Enable();
Code: Select all
CharacterCreate_Okay()
Hurrah works Thank yourock5 wrote:There is not such option. Just adding it wont make it work. If you want it to automatically click ok after entering the character creation screen, try this.
In charactercreate.lua search forTry adding just after thatCode: Select all
-- Auto generate character name CharacterCreateNameEdit:SetText(GenerateName()); CharacterCreateOkayButton:Enable();
That might work.Code: Select all
CharacterCreate_Okay()
Code: Select all
CreateCharacter(GenerateName())