Message from @Void
Discord ID: 291623498965712897
What are you using to generate the numbers though
basically darty I take the log10 of whatever size I want
then roll a number for each space
if that number is the same as the prior it'll add +1 to how many are repeating
and then it adds the number to the front of the string
9423524859
Faggot.
> makes a bot to generate imageboard style post numbers
> numbers are completely randomized and are not actually post numbers
so you start out with say 1
then roll a 1
1 == 1 is true, so repeating is 2
and then 11 is the string
then you roll a 2
2 isn't the same as 1, so repeating is locked at 2
and then you get 211
Why not just generate a random number between 1000000 and 9999999?
the individual numbers are just (int)(Math.Random()*10)
and because then to check how many repeating I'd need to do a looot more modulus logic
same amount of work this just came into my head first
same accuracy too
int rep(int digits)
{
if(digits%10==(digits/10)%10)
{
return reps(digits/10)+1;
}
return 0;
}
that would only check 2 digits out of the list and you'd need to cut off the ones before it
its recursive.
oh woops missread
if darty(faggot)
{
stop(suck%100==(dick/69)%1488
{
return why(faggot/1488)+777
} post this;
} get
i never remember to use recursive functions outside of linked lists and trees
and the random number generation is at worst a little low on the odds
http://i.imgur.com/IYdd3vi.png I remember a DM tried to force this
made me sad
man
That's pretty great
Let me tell you one of mine that happened recently
> make an AI/robotics character in Eclipse Phase
> start hacking into a ship core on a mission
> realise the opposing AI has linked up all the access panels to the generator
> 400 volt straight to the access ports
> hack doorway, get to the control terminal and clone over AI
> leave with Mike Pence ship AI
It honestly sounded better in my mind.
hue
it's one of those "had to be there" things I guess
Yea, eclipse phase is one of those games that you really need to know to understand the humor.
current campaign had a crazy begining, was playing a random gen'd rave girl assassin in dark heresy, threw in some flavor that the scum in the party was her best friend and dealer for grinweed
well basically we fought an imaginary tiger and deer while getting high off his stash in the back of a military transport that was moving us and one other party member to meet the rest of the party, some Sisters of Battles
but for the life of me I can't tell the story on the fly
wtf triggered pence
electric type
OH
LEL
transport
TRANSport
I'ma remove trans from it