Post: Need help! {will pay}
09-16-2015, 11:57 PM #1
SpencerMods
I am error
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU

Hey NGU, Dan here and today im seeking help!

Whats im trying to do is work out how I can pick a random line from a FTP.txt file. This is for an account gen.


So I want to pick a random line from a ftp text file!
If you can help please leave it below along with your paypal email and Ill pay you!

THANKS!
(adsbygoogle = window.adsbygoogle || []).push({});
09-17-2015, 02:04 AM #2
Default Avatar
Oneup
Guest
Originally posted by DanModsHD View Post
Hello NGU

Hey NGU, Dan here and today im seeking help!

Whats im trying to do is work out how I can pick a random line from a FTP.txt file. This is for an account gen.


So I want to pick a random line from a ftp text file!
If you can help please leave it below along with your paypal email and Ill pay you!

THANKS!

Well for starters that's not a generator. You are just pulling a random account from a known list.

In any case:
1.Load the file into an array. Each line being an element
2.Create a random number
3.Use that number as the index for the array when you want to display something.
09-17-2015, 02:36 AM #3
jagex
Gym leader
This is one way. Remember to add exception handling if you use this.
    
string[] users = File.ReadAllLines(usernames);
Random rand = new Random();
string randomUser = users[rand.Next(users.Length)];
09-17-2015, 07:41 AM #4
SpencerMods
I am error
Originally posted by 1UP View Post
Well for starters that's not a generator. You are just pulling a random account from a known list.

In any case:
1.Load the file into an array. Each line being an element
2.Create a random number
3.Use that number as the index for the array when you want to display something.


Well for one, That is a generator.

Ahahahaha
09-17-2015, 07:55 AM #5
Default Avatar
Oneup
Guest
Originally posted by DanModsHD View Post
Well for one, That is a generator.

Ahahahaha


No a generator would mean you are creating something. You aren't creating anything. You are just reading a file and throwing RNG at it.
09-19-2015, 12:12 AM #6
SpencerMods
I am error
Originally posted by 1UP View Post
No a generator would mean you are creating something. You aren't creating anything. You are just reading a file and throwing RNG at it.


No im not, Im getting a text line from database that is a netflix account. So in other words it is. it "Generats" a random number from 1-100 depending on what number = whats line from the .txt is pcikeed. I can edit this .txt file via ftp. So once again it is a generator!
09-19-2015, 12:26 AM #7
Default Avatar
Oneup
Guest
Originally posted by DanModsHD View Post
No im not, Im getting a text line from database that is a netflix account. So in other words it is. it "Generats" a random number from 1-100 depending on what number = whats line from the .txt is pcikeed. I can edit this .txt file via ftp. So once again it is a generator!


It really isn't. You aren't creating these accounts. Creating a random number and reading in a random stolen netflix account doesn't make it a generator.
09-19-2015, 03:26 AM #8
Specter
Pro Memer
Sorry m8 but 1UP is right on this one, a generator by definition is something that generates something, you're not creating new netflix accounts, you're just choosing a random account from a list and spitting it out. An example of a generator would be something like a lottery number picker, where an algorithm is used to attempt to determine more probable numbers for a winning set, you're generating numbers to use, not choosing a random number from a list.

On a constructive note, unless you only have a few accounts, I'd advise adding some sort of check that way you don't spit out the same account too many times.

The following 3 users say thank you to Specter for this useful post:

Mango_Knife, Passion, SpencerMods
09-24-2015, 12:25 PM #9
Hash847
Purple God
If you still need help with this I can do it for free. Assuming you've got the FTP server covered

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo