It showed that error :
Uncaught exception at <anonymous script, id=101071520>:2: TypeError: Result of expression 'accs.split' [undefined] is not a function.
2 var n=accs.split(":");
Then I added +"" when I declared the "accs" variable and it worked correctly.
Search found 5 matches
- 09 Jul 2012, 17:03
- Forum: Support
- Topic: Need some help with the file reader
- Replies: 11
- Views: 5719
- 06 Jul 2012, 17:54
- Forum: Support
- Topic: Need some help with the file reader
- Replies: 11
- Views: 5719
Re: Need some help with the file reader
Thanks!! Now I can randomize all :p I knew about the split function and I tried it before that post , but i've never write in javascript and I tried writing it like : (accounts contains one of the lines of the accounts.txt) var accs = accounts; var n=accs.split(":"); and it didn't work.The...
- 04 Jul 2012, 19:57
- Forum: Support
- Topic: Need some help with the file reader
- Replies: 11
- Views: 5719
Re: Need some help with the file reader
Hi , You solved my first question . But now, one month later I have another one and I hope you can help me to solve it. I developed my own bot and it works perfectly but right now is working with an account.txt, accountfinished.txt and password.txt. It checks the accounts one per one with the accoun...
- 25 Apr 2012, 12:14
- Forum: Support
- Topic: Need some help with the file reader
- Replies: 11
- Views: 5719
Re: Need some help with the file reader
Wow , thanks!
I just had to play a bit with your script to get how it works . Then I changed some things to fit on my script, like comparing the first line of accounts.txt to the accountsfinishd.txt , so it works all time with the one is not completed.
You have been very helpful ! Thanks!!!
I just had to play a bit with your script to get how it works . Then I changed some things to fit on my script, like comparing the first line of accounts.txt to the accountsfinishd.txt , so it works all time with the one is not completed.
You have been very helpful ! Thanks!!!
- 23 Apr 2012, 20:31
- Forum: Support
- Topic: Need some help with the file reader
- Replies: 11
- Views: 5719
Need some help with the file reader
Hi! I'm working on a bot for a game , and I need that bot to open a .txt file with some accounts , ex : Account1 Account2 Account3 ... And then use the first account to log in the game , and when the first ends use the second one , untill the list end. How can i make this happen? i mean , i think i ...