rock5's "fastLogin Revisited"
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: rock5's "fastLogin Revisited"
Well I wouldn't use unsecured passwords. Counldn't you have done something in logindialog.lua? Maybe in the "DELETE_CHARACTER" dialog itself?
Also is there anyway to detect the a moded client.exe? If so you could have it default to fast delete if regular client and non fast delete for safety with moded client.
Also is there anyway to detect the a moded client.exe? If so you could have it default to fast delete if regular client and non fast delete for safety with moded client.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
In new version i add CustomSecondaryPass in "characterselect.lua" and now all passwords secured.rock5 wrote:Well I wouldn't use unsecured passwords. Counldn't you have done something in logindialog.lua? Maybe in the "DELETE_CHARACTER" dialog itself?
Also is there anyway to detect the a moded client.exe? If so you could have it default to fast delete if regular client and non fast delete for safety with moded client.
I think non fast delete version need if many people used computer.
Re: rock5's "fastLogin Revisited"
Problem with that is duplication. I'll probably do it differently if I implement it.
Had a thought about the quick delete. I think I should be able to make it delete quickly by just hooking into GetCharacterInfo(index). The beauty of this is you can also set how long you want the wait time to be. Eg. you could set it to delete after 5 minutes which would give you ample time to undelete if you delete it by mistake. Then after 5 minutes it vanishes. It also means you don't have to use a patched client.exe, which I personally would never do. I'm still testing it though.
I'm also looking to see if I can finally add multiserver support for the reloging functions.
Had a thought about the quick delete. I think I should be able to make it delete quickly by just hooking into GetCharacterInfo(index). The beauty of this is you can also set how long you want the wait time to be. Eg. you could set it to delete after 5 minutes which would give you ample time to undelete if you delete it by mistake. Then after 5 minutes it vanishes. It also means you don't have to use a patched client.exe, which I personally would never do. I'm still testing it though.
I'm also looking to see if I can finally add multiserver support for the reloging functions.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
Looks like that idea doesn't work. The button doesn't disappear.rock5 wrote:Had a thought about the quick delete. I think I should be able to make it delete quickly by just hooking into GetCharacterInfo(index). The beauty of this is you can also set how long you want the wait time to be. Eg. you could set it to delete after 5 minutes which would give you ample time to undelete if you delete it by mistake. Then after 5 minutes it vanishes. It also means you don't have to use a patched client.exe, which I personally would never do. I'm still testing it though.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
Little modified version fastLogin addon.
Based on fastLogin Revisited v2.24 by rock5
1. Added fast character create with Auto generated random character name. You can manually change Name or Race.
Edit "charactercreate.lua" and set number of Race for auto generated character: 1-HUMAN, 2-ELF, 3-DWARF.
Edit "charactercreate.lua" and set number of Class for auto generated character: from 1 to 6.
2. Added Fast Character Delete function. Edit "logindialog.lua" and add the corresponding secondary passwords for Fast Character Delete. Make sure they match up with the account numbers in accountlogin.lua.
3. Added 4 buttons for account select.
p.s. For security reason you can disable Fast Character Delete function. For disable edit "logindialog.lua" and set
Based on fastLogin Revisited v2.24 by rock5
1. Added fast character create with Auto generated random character name. You can manually change Name or Race.
Edit "charactercreate.lua" and set number of Race for auto generated character: 1-HUMAN, 2-ELF, 3-DWARF.
Code: Select all
AUTO_SET_RACE = nil; -- 1-HUMAN, 2-ELF, 3-DWARF or nil for random Race.
Code: Select all
AUTO_SET_CLASS = nil; -- From 1 to 6 or nil for random Class.
3. Added 4 buttons for account select.
Code: Select all
--===============================================================================
-- Here is a button map to help with button placement.
--
-- Account1 Account16
-- Account2 Account17
-- Account3 Account18
-- Account4 Account19
-- Account5 Account8 Log In Account13 Account20
-- Account6 Account9 Account11 Account14 Account21
-- Account7 Account10 Account12 Account15 Account22
--===============================================================================
Code: Select all
FAST_CHARACTER_DELETE = false;
- Attachments
-
- loginxml[2.24]_mod.zip
- (19.16 KiB) Downloaded 161 times
Re: rock5's "fastLogin Revisited"
Ok, I've finished updating the addon using the 5.0.0 version original files. I've changed the setup now, well for lua files anyway. Variables are added at the top and original function are not changed but overwritten by copies at the end of the file. That will make it easier to update in the future as it will be easier to see changes. I've added Bot_romka changes (which I was happy with btw), went a bit crazy and made it 65 buttons and now I'm just thinking about adding multiserver support.
I'm just trying to think of how it should work so it doesn't get too messy. First step I guess is to add it to ChangChar. I think the logical order of the args should be,So 'channel' will go from 3rd to 4th arg. I should be able to make it backward compatible so it can still accept 'channel' as the 3rd arg.
Then I guess people will want to be able to specify the server when using 'LoginNextChar()'. Let me see, something likeI guess if no server is specified then it just doesn't change server.
Hm... Or maybe I should make the server an extra bit of info in the accounts table at the top on the accountlogin.lua file. Eg,I think I like this idea much better. That way if a particular account is associated with a particular server, it will always log in to that server when choosing that account. Also that means ChangeChar and LoginNextChar will still work the same but will be able to change server when necessary.
What do you think?
I'm just trying to think of how it should work so it doesn't get too messy. First step I guess is to add it to ChangChar. I think the logical order of the args should be,
Code: Select all
ChangeChar(toontoload, acctoload, servertoload, channel)
Then I guess people will want to be able to specify the server when using 'LoginNextChar()'. Let me see, something like
Code: Select all
SetCharList({
{account=1, chars= {1,2,6}, server="Siochain"},
{account=2, chars= {1,3}, server="Smacht"},
{account=4, chars= {}, server="Isiltir"},
})
Hm... Or maybe I should make the server an extra bit of info in the accounts table at the top on the accountlogin.lua file. Eg,
Code: Select all
local CustomLogin = {
Account1 = { UserName = "username1", Password = "pass1", Server = "Smacht"},
Account2 = { UserName = "username2", Password = "pass2", Server = "Siochain"},
Account3 = { UserName = "", Password = "", },
What do you think?
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
that is exactly what i was asking for when i had asked the question above...because i had the autologin add on before yours and it had places to put which server.. so this will be perfect... i hope i was easy for you to do and works great for all...
Re: rock5's "fastLogin Revisited"
Ok so I been thinking if we have each server represented by a 1 button then you could end up with multiple buttons with the same username and password but different server. Which is ok especially with the 65 buttons I'll be adding, but at the moment they will all look the same because the buttons just show the username.
So I was thinking we have to add the server name to the button so you can tell which is which. I'm happy to just add the server name to the username eg. "Jackblack/Smacht" but I'm worried some users might like having really long names so the server name might not fit. I guess I could truncate the name to make sure at least some of the server name is visible eg. "Jackbl/Smac".
Does that sound ok?
Edit: Just discovered that the buttons have an inbuild feature that truncates the text automatically and creates a tooltip with the full text. That's handy but I'll still have to truncate the name to about 10 characters because otherwise if you have really long names you have to hover the mouse over all the buttons looking for the server you are after. I'd prefer that you be able to see what you are looking for at a glance.
So I was thinking we have to add the server name to the button so you can tell which is which. I'm happy to just add the server name to the username eg. "Jackblack/Smacht" but I'm worried some users might like having really long names so the server name might not fit. I guess I could truncate the name to make sure at least some of the server name is visible eg. "Jackbl/Smac".
Does that sound ok?
Edit: Just discovered that the buttons have an inbuild feature that truncates the text automatically and creates a tooltip with the full text. That's handy but I'll still have to truncate the name to about 10 characters because otherwise if you have really long names you have to hover the mouse over all the buttons looking for the server you are after. I'd prefer that you be able to see what you are looking for at a glance.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
Can you change what is displayed as "name" by button clicks or is it hard coded when the game is booted up?
Ideally I would go with a button that changes the server setting and also changes name to represent the server that is currently chosen.
I do however live in a fantasy world
Ideally I would go with a button that changes the server setting and also changes name to represent the server that is currently chosen.
I do however live in a fantasy world

Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: rock5's "fastLogin Revisited"
I don't know what you mean. What do you mean by "change by button click"?lisa wrote:Can you change what is displayed as "name" by button clicks or is it hard coded when the game is booted up?
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
Ok so the name is currently displayed on the buttons, like account name
Account1 = { UserName = "username1", Password = "pass1", Server = "Smacht"},
So username1 would be on the actual button?
Is it possible to click a button on screen that will change the text that is written?
Or is the text loaded when game is loaded and doesn't change unless client is restarted.
Account1 = { UserName = "username1", Password = "pass1", Server = "Smacht"},
So username1 would be on the actual button?
Is it possible to click a button on screen that will change the text that is written?
Or is the text loaded when game is loaded and doesn't change unless client is restarted.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: rock5's "fastLogin Revisited"
Ah, so you mean an extra button that toggles the display between the name and server name. So if you switch to server mode you end up with just server names showing. So if you have multiple accounts on one server you will have multiple buttons with the same server name. So you have to toggle back and forth to find the account name and server you are looking for.
Would you actually prefer that to having combined names and being able to see everything on one screen?
Would you actually prefer that to having combined names and being able to see everything on one screen?
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
The way I got it working at the moment is if the combined account name and server name is more than 15 characters then it truncates the name to 10 characters and the server to 5, although if the account name is short it will show more characters of the server name.
But... if it does truncate, then the tooltip will show the complete account and server names.
But... if it does truncate, then the tooltip will show the complete account and server names.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
The next version is pretty much ready to go but I was thinking a bit about what you wanted Lisa.
Although I preferred my idea with the truncated names, I've had an idea to maybe have the best of 2 worlds. What if we have the button display switch between account name, server name and account/server names? Would you like that?
While thinking of a place to put the button to change the button display, I decided I didn't like any place. But I had an idea. How about if you change the display using right-click on the current buttons? I'm already modifying the template they use so can easily add a right-click event.
Although I preferred my idea with the truncated names, I've had an idea to maybe have the best of 2 worlds. What if we have the button display switch between account name, server name and account/server names? Would you like that?
While thinking of a place to put the button to change the button display, I decided I didn't like any place. But I had an idea. How about if you change the display using right-click on the current buttons? I'm already modifying the template they use so can easily add a right-click event.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
Sounds good =)
Few reasons I like it.
1. If you only ever play 1 server then you can set it to just names and not have server names on every button
2. If you do play multiple servers you can set it up how you like it.
3. Pie, doesn't matter the question, Pie is the answer =)
Few reasons I like it.
1. If you only ever play 1 server then you can set it to just names and not have server names on every button
2. If you do play multiple servers you can set it up how you like it.
3. Pie, doesn't matter the question, Pie is the answer =)
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: rock5's "fastLogin Revisited"
Ok added it. Added an option to specify which display you would prefer to start with. Right click wouldn't work for some reason so went with shift click.
I'll just do a bit of testing and see about releasing it a bit later tonight.
I'll just do a bit of testing and see about releasing it a bit later tonight.
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
As I'm reviewing the changes I saw the name generator. I think I'll try creating better names. I think that's what Bot_romka was trying to do with a previous version of his.
Ok my first attempt produces name like this.
Actually the longer the names, the more rediculous they seem. Lets try 6-8.
Ok my first attempt produces name like this.
- eoliokeehe
evoakethi
ycoucoohi
steezu
aleoro
mignoskeov
aphekineo
iedievoo
pougie
chechoo
ooweobuvysm
oovopeosm
shospootheo
oosoud
ynyloa
leephy
eegnoo
uteohini
iozasnoaree
disispie
Actually the longer the names, the more rediculous they seem. Lets try 6-8.
- oajevoo
oasiostou
ukiehie
gnysteo
foupup
niebyska
meosha
oopiekie
stooshy
eethavee
sneokeosh
skeces
gnufiosm
eespeesa
udoody
giopio
oolagnee
skagosmoo
poofolie
ilochesk
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
I think 2 mode for generate character name is good idea.
If you need generate full random character name edit "charactercreate.lua" and set
Spesial for people who worry about accidentally delete character on accaunt
Now you can disable Fast Character Delete function for each accaunt.
Edit "logindialog.lua"and set FastCharacterDelete to false
_Sory for my bad english
If you need generate full random character name edit "charactercreate.lua" and set
Code: Select all
GENERATE_FULL_RANDOM_CHARACTER_NAME = true;
Now you can disable Fast Character Delete function for each accaunt.
Edit "logindialog.lua"and set FastCharacterDelete to false
Code: Select all
Account1 = { ID = 1, SecondaryPassword = "EgSecondaryPassword", FastCharacterDelete = false },
_Sory for my bad english
- Attachments
-
- loginxml[2.24]_mod_v0.2.zip
- (19.44 KiB) Downloaded 136 times
Re: rock5's "fastLogin Revisited"
I decided this morning the name generator needed to be a little bit more complex. What I was doing before was have 2 lists, one for vowel combinations and one for consonant combinations. Then I just alternate between the 2 lists to make the name. Because the consonants might be used at the begining or end of the name I had to omit a lot of good consonant combinations eg. cl, pr, rd, ct, etc. I decided I could get better and more varied names if I used 2 consonant lists, beginning and ending consonants. Here is a example list of names I ended up with.
- Slaest
Heartho
Skairpei
Drosku
Blerking
Phrook
Glaque
Breerei
Quesyrn
Grealtee
Splend
Glernoi
Swessi
Ghearst
Kraekoolk
Cighacyrp
Snaiwo
Ghuchai
aeneerdo
Wunteang
Hm... I'm not sure about that because you might have main characters and temp characters in the same account. I know I do. I try to have only one main character per account so if I want to play any of them in a party, I can. The the rest are alts (although I don't delete them).Bot_romka wrote:Now you can disable Fast Character Delete function for each accaunt.
Edit "logindialog.lua"and set FastCharacterDelete to false
- 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.”
- Ronald Reagan
Re: rock5's "fastLogin Revisited"
Just to keep you guys updated, I just added a button on the character create page to generate the new names.
- 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.”
- Ronald Reagan
Who is online
Users browsing this forum: No registered users and 2 guests