Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
-
momostar
- Posts: 4
- Joined: Fri Jan 14, 2011 5:56 am
#41
Post
by momostar » Mon Feb 07, 2011 3:51 am
rock5 wrote:I've been able to narrow it down to something in the logindialog files because if I delete those, it works (after entering the secondary password manually).
aaa i can not log in wold after secpass
plz fix it ;-(
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#42
Post
by swietlowka » Mon Feb 07, 2011 5:36 am
as i said ill fix it, will try asap xD
EDIT it seems like the original fastlogin v5 doesnt work at all... or im missing smt...
-
momostar
- Posts: 4
- Joined: Fri Jan 14, 2011 5:56 am
#43
Post
by momostar » Mon Feb 07, 2011 9:08 am
thx i sink the code from character select and logindialog handel up together
and can you put the Secondary password to the accountlogin file?
Account1 = { UserName = "xyz", Password = "xyz", SecPassword="xyz", },
or so
sorry bu i hav no ++ telents
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#44
Post
by swietlowka » Mon Feb 07, 2011 11:45 am
functions from logindialog are not workind correct imho... i still have some issues with this, if u'll come up with some code share it, ill upload asap my will work correctly
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#45
Post
by rock5 » Tue Feb 08, 2011 1:33 am
I found the problem
In logindialog.lua this
Code: Select all
function CheckSecondaryPass()
for i = 1, 18 do
if CustomSecondaryPass["Account"..i].ID = LogID then return CustomSecondaryPass["Account"..i].SecondaryPassword end
return 0
end
end
Is supposed to be
Code: Select all
function CheckSecondaryPass()
for i = 1, 18 do
if CustomSecondaryPass["Account"..i].ID = LogID then return CustomSecondaryPass["Account"..i].SecondaryPassword end
end
return 0
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
heinzk
- Posts: 12
- Joined: Sun Jan 09, 2011 5:51 pm
#46
Post
by heinzk » Tue Feb 08, 2011 5:55 am
you still cant enter the world
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#47
Post
by rock5 » Tue Feb 08, 2011 6:24 am
The above fix worked for me. Did you add your secondary passwords to logindialog.lua?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#48
Post
by swietlowka » Tue Feb 08, 2011 6:26 am
imho logindialog doesnt work at all, i added a onshow function to the character.lua and it works, but i cannot add confrim pass and ofc the function u just metnioned wasnt working either, ill try to make it work tonight
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#49
Post
by swietlowka » Tue Feb 08, 2011 6:36 am
lol it really worked? strange, i tried to use it without anything else (the original one) and it wasnt working for me...
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#50
Post
by rock5 » Tue Feb 08, 2011 6:41 am
I may have spoken too soon. It did work but now it's not. I discovered another bug but it still doesn't work after I fixed it. In that function a '=' is used where it's supposed to be '=='. So it should be.
Code: Select all
function CheckSecondaryPass()
for i = 1, 18 do
if CustomSecondaryPass["Account"..i].ID == LogID then return CustomSecondaryPass["Account"..i].SecondaryPassword end
end
return 0
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#51
Post
by rock5 » Tue Feb 08, 2011 7:46 am
It took me awhile but I found the problem that was screwing up the login. There is a missing 'then' around line 217.
But it still doesn't always work. Sometimes it will work and sometimes it will ask for the secondary password. I'm still trying to figure it out.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#52
Post
by rock5 » Tue Feb 08, 2011 8:04 am
Ok I've got it working. I made a few changes, I don't remember what they all were so here is the file.
-
Attachments
-
- logindialog.lua
- (14.01 KiB) Downloaded 195 times
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
heinzk
- Posts: 12
- Joined: Sun Jan 09, 2011 5:51 pm
#53
Post
by heinzk » Tue Feb 08, 2011 9:12 am
still no win for me
and yes i added secpw :>
without logindialog.lua it works fine but i have to write secpw, i use german client
-
Giram
- Posts: 191
- Joined: Thu Aug 26, 2010 3:34 pm
- Location: Finland
#54
Post
by Giram » Tue Feb 08, 2011 11:17 am
For me it's not filling the first password. Account name comes. But if i write password there it didn't ask for secondary password. I used rock5 file. I am using english client. And then i cannot enter world with any character.
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#55
Post
by swietlowka » Tue Feb 08, 2011 3:39 pm
rock5 u sure that this function should work? cause i alwyas get a nil value...
i have it like this:
Code: Select all
function LoginDialog_OnShow()
local CustomSecondaryPass = CheckSecondaryPass()
LoginDialogEditBox:SetText(CustomSecondaryPass);
end
local function CheckSecondaryPass()
for i = 1, 18 do
if CustomSecondaryPass["Account"..i].ID == LogID then return CustomSecondaryPass["Account"..i].SecondaryPassword end
end
return 0
end
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#56
Post
by rock5 » Tue Feb 08, 2011 8:19 pm
Just to let you guys know, I'm still working on it.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#57
Post
by rock5 » Wed Feb 09, 2011 1:28 am
I had to start from scratch but I'm a 100 % sure it works properly now, well maybe 99%.
So try it out.
-
Attachments
-
- logindialog.lua
- (14.37 KiB) Downloaded 179 times
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#59
Post
by swietlowka » Wed Feb 09, 2011 5:05 am
ok now last thing
Code: Select all
function ToonChange(toontoload, acctoload)
local AutoLoginAccount = acctoload
local AutoLoginCharacter = toontoload
Logout();
if ( AutoLoginAccount == LogID ) then
CHARACTER_SELECT.selectedIndex = AutoLoginCharacter
CharacterSelect_EnterWorld();
else
CharacterSelect_Exit();
CustomLoginButton_OnClick("..AutoLoginAccount..");
CHARACTER_SELECT.selectedIndex = AutoLoginCharacter
CharacterSelect_EnterWorld();
end
end
this code is still not working, it logouts but doesnt login in after, i think i should add some wait for login screen or smt, u guys have some ideas?
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#60
Post
by rock5 » Wed Feb 09, 2011 5:35 am
I was messing around with that function too when I was fixing logindialog.lua but I couldn't get it to work.
What you have to realize is when it logs off, a whole lot of automatic things start happening. The onshow event happens and all the code that was there before for autoreloging is there. Values get changed and it interferes with what you intend to do.
The only way I could get it to log back in was to set "fastLoginRelog = true" but it didn't change character and of course it wouldn't work for changing account anyway.
I think it's going to be very hard to implement this on top of the code that's already there that's why I was going to start from scratch if I did it. Your best bet I think is to figure out how the "LoginNextToon=true" option works because it still does, and try to use it or modify it to do what you want.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
Who is online
Users browsing this forum: Google [Bot] and 0 guests