Sign in to follow this  
Followers 0
para

Need help with accounts/password functions

4 posts in this topic

I am attempting to make a program that will automatically change the password for a game.

I have everything done, the only problem is time.

I can easily just make...

$ActiveAccount1 = IniRead ( $SettingsFile, 'Account', 'AccountName1', "ERROR" )

$ActivePassword1 = IniRead ( $SettingsFile, 'Account', 'Password1', "ERROR" )

$ActiveAccount2 = IniRead ( $SettingsFile, 'Account', 'AccountName2', "ERROR" )

$ActivePassword2 = IniRead ( $SettingsFile, 'Account', 'Password2', "ERROR" )

And the INI say...

AccountName1=

Password1=

AccountName2=

Password2=

That would take alot of time to enter all the accounts especially if they are in bulk, which is of course why I am writing this.

I want to know how to make it so I can enter a list that is in this format...

account1:password1

account2:password2

account3:password3

so it would be like...

para:gemer

lota:god

pigment:poop

So that list is the list of accounts and there current password.

I already have the function for the password they all will be changed to.

How would I make it so I could enter a format like that (refer to para:gemer part) into the ini so its fast and simple. I need to know what to put in the source...

Thanks alot for anyone who can help me, please ask if you need anymore details, thanks!


Share this post


Link to post
Share on other sites



FileReadLine() + StringSplit() + a little knowledge about arrays.

Share this post


Link to post
Share on other sites

FileReadLine() + StringSplit() + a little knowledge about arrays.

<{POST_SNAPBACK}>

so?? what do i do? lol... =[

Share this post


Link to post
Share on other sites

I'm not really understandig how this will save time.

Just write a simple script in another language (I say that because AutoIt isn't exactly the best language for it.) that will print out a list of

Account0=

Password0=

Account1=

Password1=

...

It's about a 3 line program if you write it in Python, or another relatively simple language.

It just seems like the simpler option in my opinion. But I guess you feel differently...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0