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 ?
about logout_time
- Administrator
- Site Admin
- Posts: 5330
- Joined: Sat Jan 05, 2008 4:21 pm
Re: about logout_time
Edit rom/functions.lua. Go to (CTRL+G) line 350. You'll see this:
Remove it. Save.
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
Who is online
Users browsing this forum: No registered users and 0 guests