Code: Select all
RoMScript("}fastLoginRegSel=math.random(3) a={");
Code: Select all
RoMScript("}fastLoginRegSel=math.random(3) a={");
Code: Select all
function LogNextToon()
local MAX_ACC = 20; -- How many farm accounts do you have?
local CurrentAccNumber = tonumber(RoMScript("LogID;"));
local CurrentCharNumber = tonumber(RoMScript("CHARACTER_SELECT.selectedIndex;"));
local CurrentNumChars = tonumber(RoMScript("fastLoginNumChars;"));
if ((CurrentAccNumber == MAX_ACC) and (CurrentCharNumber == CurrentNumChars)) then
cprintf(cli.yellow,"Last farm account completed successfully.");
player:logout();
return;
end
if (CurrentNumChars >= CurrentCharNumber) then
ChangeChar(CurrentCharNumber + 1,CurrentAccNumber);
else
ChangeChar(1,CurrentAccNumber + 1);
end
waitForLoadingScreen();
end
You can do that with the way it is now. If you want to itterate through all characters in a list of accounts just useMiesterMan wrote:That charlist is sweet but I still like to just iterate cause it's easier to keep track of.
Code: Select all
SetCharList({
{account=2 , chars= {}},
{account=6 , chars= {}},
{account=5 , chars= {}},
})
Code: Select all
ChangeChar(nil,nil,math.random(3));
Code: Select all
RoMScript("}fastLoginRegSel=math.random(3) a={");
Code: Select all
RoMScript("}fastLoginRegSel=math.random(2) a={");
Code: Select all
LoginNextChar()
Code: Select all
RoMScript("}fastLoginRegSel=1 a={");
LoginNextChar()
Code: Select all
RoMScript("}fastLoginRegSel=2 a={");
LoginNextChar()
Does that mean you didn't edit the files like the installation instructions says? It wont work unless you edit the files. Follow the instructions on the first post.rompl wrote:I installed the addon loginhml and nothing changed in accountlogin.lua, characterselect.lua and logindialog.lua
rock5 wrote:Does that mean you didn't edit the files like the installation instructions says? It wont work unless you edit the files. Follow the instructions on the first post.rompl wrote:I installed the addon loginhml and nothing changed in accountlogin.lua, characterselect.lua and logindialog.lua
I want to run the first character manually and i have only 7 characters.rock5 wrote:So does it automatically log in the first time? Do you have an 8th character in your account?
And when you say it doesn't work, what exactly happens? Does the character just stand there and do nothing? Does the character run back to the first waypoint? Does it log off to the character selection screen but not log back in? etc.
And what does it show in the micro macro window?
The only setting that looks different to me isrompl wrote:fastLoginChrSel=7
I never use that because I have more than one account. Try disabling this and logging in by pressing the button and see if that changes anything.rompl wrote:fastLoginAutoLogin=true
rock5 wrote:Why is everything white? Have you replaced the texture files?
If you want to play the first character first then why do you have it automatically log into the 7th character?The only setting that looks different to me isrompl wrote:fastLoginChrSel=7I never use that because I have more than one account. Try disabling this and logging in by pressing the button and see if that changes anything.rompl wrote:fastLoginAutoLogin=true
Yes, i replaced=)rock5 wrote:Why is everything white? Have you replaced the texture files?
Code: Select all
RoMScript("ChangeChar()")
waitForLoadingScreen ();
Code: Select all
ChangeChar()
waitForLoadingScreen ();
Code: Select all
1:21am - scripts\rom\bot.lua:465: onLoad error: D:\e\micromacro\lib\lib.lua:472:
stack overflow
Code: Select all
<onload>
SetCharList({
{account=1, chars= {1,2,3,4,5,6,7,8}},
{account=2, chars= {1,3}},
{account=4, chars= {}},
});
</onload>
Users browsing this forum: No registered users and 2 guests