- SetRestartClientSettings(8, rom)
- SetRestartClientSettings(8, "rom")
Otherwise I can't see anything else wrong with it.
Code: Select all
Account21 = { UserName = "", Password = "", Server = "", },
Are to talking about when the game restarts? Are you saying, if the game restarts and the character it is loading is character 1, then it works? But if the first character it loads, after a restart, is 2-8 then it doesn't?Notorious wrote:after reset game if next char is on position 1 script works good
Yes, when script restart game and character to load is character 1 then it works. If character to load is on position 2-8 its not work.Are you saying, if the game restarts and the character it is loading is character 1, then it works? But if the first character it loads, after a restart, is 2-8 then it doesn't?
It not stop with the server selection. It log to account, server correct, but when script try select character from position 2-8 it back to server selection.Are you 100% sure? Because if I change the server so it's wrong, I can log in to a character but when I try to change character with the bot, it stop with the server selection. Exactly like what was happening to you.
Code: Select all
SetCharList({
{account=1,chars={2,3,4,5,6}},
{account=2,chars={2,4}},
})
if IsLastChar() then
ChangeChar(1,2) -- Char 1, Acc 2 - First char in daily2 list.
loadProfile()
loadPaths("daily2")
else
LoginNextChar()
end
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="31953" z="3272" y="22"> player:target_NPC("Gamunhan");
AcceptQuestByName("getting to know yourself")
player:target_NPC("Gamunhan");
end
</waypoint>
<!-- # 2 --><waypoint x="31987" z="3368" y="6"> </waypoint>
<!-- # 3 --><waypoint x="32061" z="3391" y="5"> </waypoint>
<!-- # 4 --><waypoint x="32212" z="3354" y="28"> </waypoint>
<!-- # 5 --><waypoint x="32288" z="3346" y="28">
player:target_NPC("Daily Quest Manager");
AcceptQuestByName()
player:target_NPC("Daily Quest Manager");
CompleteQuestByName()
</waypoint>
<!-- # 6 --><waypoint x="32264" z="3338" y="28"> </waypoint>
<!-- # 7 --><waypoint x="32157" z="3403" y="12"> </waypoint>
<!-- # 8 --><waypoint x="31897" z="3886" y="12"> </waypoint>
<!-- # 9 --><waypoint x="31842" z="4150" y="32"> </waypoint>
<!-- # 10 --><waypoint x="31847" z="4230" y="37"> </waypoint>
<!-- # 11 --><waypoint x="31939" z="4360" y="33"> </waypoint>
<!-- # 12 --><waypoint x="31966" z="4437" y="15"> </waypoint>
<!-- # 13 --><waypoint x="31921" z="4517" y="6"> </waypoint>
<!-- # 14 --><waypoint x="31847" z="4592" tag ="Main">
player:target_NPC("Blinsik");
player:target_NPC("Blinsik");
queststate = getQuestStatus("Helping them Grow");
if queststate == "complete" then
player:target_NPC("Blinsik");
CompleteQuestByName("helping them grow")
end
local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
if 10 == dailyQuestCount then
if inventory:itemTotalCount(202434) > 0 then
inventory:useItem(202434)
end
end
if RoMScript("Daily_count()") == 10 then -- Done 10 dailies
SetCharList({ -- example character list
{account=5, chars= {1,2,4,5,6,7,8}}, <!-- xxx -->
{account=6, chars= {2,3,4,5,6,7,8}}, <!-- xxx-->
{account=8, chars= {2,3,4,5,6,7,8}}, <!-- xxx-->
{account=1, chars= {}}, <!-- xxx-->
})
SetChannelForLogin(1)
LoginNextChar()
else
AcceptQuestByName("Helping them Grow")
end
</waypoint>
<!-- # 2 --><waypoint x="31847" z="4600"> player:target_NPC("Blinsik"); </waypoint>
<!-- # 2 --><waypoint x="31812" z="4849"> </waypoint>
<!-- # 3 --><waypoint x="31415" z="5720" tag = "Item">
queststate = getQuestStatus("Helping them Grow")
if queststate == "incomplete" then
player:target_Object(112976,500);
yrest(3000);
__WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
end
</waypoint>
<!-- # 4 --><waypoint x="31878" z="4692"> </waypoint>
<!-- # 5 --><waypoint x="31843" z="4593"> __WPL:setWaypointIndex(__WPL:findWaypointTag("Main")); </waypoint>
</waypoints>
Code: Select all
SetCharList({
{account=4, chars= {2,3}},
{account=1, chars= {2}},
})
if IsLastChar() then
ChangeChar(2,1) -- Char 1, Acc 2 - First char in daily2 list.
loadProfile()
loadPaths("daily2")
else
LoginNextChar()
end
end
Code: Select all
SetCharList({
{account=4, chars= {2,3}},
})
if IsLastChar() then
ChangeChar(2,1) -- Char , Acc - First char in daily2 list.
loadProfile()
loadPaths("daily2")
else
LoginNextChar()
end
end
Users browsing this forum: Bing [Bot] and 3 guests