about logout_time

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
newbie2009
Posts: 12
Joined: Sun Jan 10, 2010 8:53 am

about logout_time

#1 Post by newbie2009 » Sat Jan 16, 2010 3:46 pm

i notice in couple time, bot wont logout at specific time i give order to logout_time at my profiles.

so i search the forum and read something when i pause the bot the logout time will be reset, so how i can set the logout time not reseted when i pause the bot and start it again ??

i read at rom wiki and found about

player.BotStartTime
player.BotStartTime_nr

but where and how to use it, cause i'am bad at programing and wiki not tell where to put that line ? can any1 show and tell me where to set it as i want ?

User avatar
Administrator
Site Admin
Posts: 5330
Joined: Sat Jan 05, 2008 4:21 pm

Re: about logout_time

#2 Post by Administrator » Sun Jan 17, 2010 2:29 pm

Edit rom/functions.lua. Go to (CTRL+G) line 350. You'll see this:

Code: Select all

	-- Re-set our bot start time to now
	if( player ) then
		player.BotStartTime = os.time();
		player.LastDistImprove = os.time();	-- reset unstick timer (dist improvement timer)

		if( settings.profile.options.LOGOUT_TIME > 0 ) then
			printf("Bot start time reset\n");
		end
	end
Remove it. Save.

newbie2009
Posts: 12
Joined: Sun Jan 10, 2010 8:53 am

Re: about logout_time

#3 Post by newbie2009 » Mon Jan 18, 2010 12:46 am

thx :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 0 guests