hi,
when automatically restarting, after changing chars several times, the client restarts but logs in to the wrong account.
i installed:
login.lua v3.1 in scripts\rom folder
userfunction_LoginNextChar v1.5 in scripts\rom\userfunctions folder
userfunction_login v3.4 in scripts\rom\userfunctions folder
fastLogin v3.4
heres the code i use:
Code: Select all
SetCharList({
{
{account=1 , chars= {}},
},{
{account=2 , chars= {}},
{account=3 , chars= {}},
},
})
SetRestartClientSettings(1, "rom")
LoginNextChar()
loadProfile()
in my case it was changing from account 1, char 3 to account 8, char 4. but account 8 is not in the setcharlist.
trying it on another account i figured out it always adds +7 to the account it should use, 1->8, 2->9 ...
this also happens when using this from the mm window
this logs in to account 10
i am using this the first time, so can not compare it to a working situation.
next thing is, that i cant get the autostart of the game client to work from a batch file.
i use
Code: Select all
FOR /F "tokens=1 delims=" %%A in ('cd') do SET folder=%%A
START ../../micromacro.exe "%folder%/login.lua" acc:3 char:3 client:rom path:xxx
which closes the mm window automatically, after showing the message:
Code: Select all
Starting client rom ...
Waiting for another bot to release the active windows.
there is no other bot/mm/client running.
not realy a problem, but i just want to report, that i have to include the "NoCheckVersion" to the game link in the rom folder, otherwise it would start the normal update and start box of the game.
Can someone help me with some of these probs?
Ric