My autologin was only intended for changing characters, not relogging into the account. MiesterMan has had some success switching accounts. It looks a bit confusing to me but have a read.poper wrote:1. Can I use this to logon multiple accounts? I have 5 accounts, do I have to change the name in the accountlogin.lua every time I want to change accounts? (with auto login on)
http://www.solarstrike.net/phpBB3/viewt ... =21&t=1398
For this I think you need to do 2 things.poper wrote:2. This is a little more complicated and I am having problems. What I want to do is when my character gets "stuck" and is auto logged out, I want RomBot to wait 30-40 seconds (while I am being auto logged back in) And then run my waypoint file again… Is this possible?
1. Stop Logout() from stopping the script. So delete this line which should be line 2264 of player.lua
Code: Select all
error("Exiting: Auto-logout", 0); -- Not really an error, but it will drop us back to shell.
Code: Select all
if( settings.profile.options.LOGOUT_WHEN_STUCK ) then
player:logout();
else
Code: Select all
if( settings.profile.options.LOGOUT_WHEN_STUCK ) then
player:logout(); -- includes 30s wait
yrest(30000)
player.Unstick_counter = 0
else
See how that goes.