Auto ReLogin?
Auto ReLogin?
I get disconnected sometimes, and I was wondering if it would be possible to create a auto login.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Auto ReLogin?
It is possible, but it will be an unsupported function of the bot. Mostly, to protect the user (and I don't want to hear anybody claiming I'm trying to steal their accounts -- I have enough of my own to worry about). There are addons on curse.com that do exactly this. I cannot remember the names of the addons that support this feature at the moment, though.
Edit: found one: http://forum.runesofmagic.com/showthread.php?t=44199
Edit: found one: http://forum.runesofmagic.com/showthread.php?t=44199
Re: Auto ReLogin?
That is a cool addon but the author could never get it relogin, so if I am already logged in and I get logged off it does not log back in, could you point in the right direction to correct that?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Auto ReLogin?
I would think all you'd have to do is add
Into AccountLogin_OnLoad(). It just seems to be that the returning to the log in screen isn't triggering the AccountLogin:Show() function.
Code: Select all
AccountLogin_Login();
Re: Auto ReLogin?
Code: Select all
function AccountLogin_OnLoad()
local file = "Interface\\Login\\Logo\\"..GetImageLocation().."\\RA_LOGO";
AccountLogin.update = nil;
AccountLoginVersion:SetText(GetVersion());
AccountLoginLogo:SetTexture(file);
AccountLogin_Login();
end
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Auto ReLogin?
Lua. If that didn't work, I don't know what to tell you. Look for what event is fired when the login screen is brought up. When that event is fired, call that function to log in. That is, if there even is an event.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests