I have a problem, after finishing the daily waypointscript the bot shuts down and the character logs out.
So far, so good - but when the bot shuts down, my comuter also want to shutdown - I get the message (I'm German so ity to translate)
"Windows will shutdown in few minutes". This happens after every 10 daily (It's not the normal message if you have to restart windows for new updates)
I always have to break this process with "shutdown -a", because there is no option to stop it.
I think there is a problem with the logoutscript
Code: Select all
local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
if 10 == dailyQuestCount then
printf ("Done "..dailyQuestCount.." of " .. dailyQuestsPerDay .. " Quests. STOP.");
--error("Bot ending.", 0); -- ends the script.
player:logout()
else
printf("Done "..dailyQuestCount.." of " .. dailyQuestsPerDay .. " Left " .. dailyQuestsPerDay - dailyQuestCount .. " Quests.");
end