This program will find you all valid discord invites (Discodes).
And will either save them localy with the Solo Method.
Or
You may search in a Pool.
Which will mean you might be able to view codes, at the pools hosts discression.
For help getting started go Here.
To describe crudely
We iterate thorugh every possible Discode,
Starting at "aaaaaa" and finishing at "999999".
Each time we iterate through we use the discord API to check its validity
If it is valid we store it.
We have tried our best to make the process as fast as possible.
To Do This We Have Added:
The program will cull all inactive threads while there are more than 1000 threads.
We reuse as much data as possible (ie Global Variables) to ensure as little ram is used as possible.
On Pool Finder there is a thread with above normal priority,
which listens for any server messages.
On both Solo and Pool each code check gets its own thread which will be auto culled,
as soon as it is finished.
Each client connected to the pool will have a equal propotrion of all possible Discodes.
The splitting structure follows this sequence:
1 : 1/1
2 : 1/2
3+4 : 1/4
5+6+7+8 : 1/8
n : 1/(next power of 2 >= n)
The Character set is 62
And the discord invite is 6 charcters.
Hence 62^6 = 56,800,235,584.
From my testing on an I5-4570s, i average 10,000 Codes/sec and Robo gets around 5,000.
Therfore it would take me ~65 Days and Robo ~132 Days.
So To approximate the number of days is (57 * 10^9) / (Codes/Sec)*86000.
This is why solo isnt such a good idea!
As we will have a list of loads of valid invites we will have access to some servers
that people wanted to keep private,
Or as we found out Group DM's, which is strange as we cant get invites for adding friends.
Being able to join these may seem intrusive to some of the server/group members.
Hence discretion is adivised but will fall onto the person in possession of the link.