Page 1 of 1

Computer Shutdown

Posted: Thu Dec 29, 2011 10:36 am
by ExeCuter
Hi,

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
Thanks for your attention

Re: Computer Shutdown

Posted: Thu Dec 29, 2011 10:45 am
by lisa
More then likely your profile option setting

Code: Select all

<option name="LOGOUT_SHUTDOWN"		value="false" />
if it is set to true it will shut down the computer.

Re: Computer Shutdown

Posted: Thu Dec 29, 2011 10:47 am
by rock5
Damn it! I type too slow. :)

Re: Computer Shutdown

Posted: Thu Dec 29, 2011 10:48 am
by lisa
rock5 wrote:Damn it! I type too slow. :)
lol =)

Re: Computer Shutdown

Posted: Thu Dec 29, 2011 7:29 pm
by ExeCuter
Thanks you 2. I'm a little bit confused, I never had this when I used Logout before.
Now it works like before :)