HeY gUyS!!! Check out my ONe Three Three Seven C code which makes rand0m scores for sLaughters score sender for j000!, pls +rep me, kthxbai
#include <stdio.h>#include <stdlib.h>int started=0;int intLength(int in){ in = abs(in); if (in == 0) return 1; int ret,i; ret = 0; i = 1; while (in > i) { ret += 1; i *= 10; } if (in < 0) ret ++; return ret;}char *score(int gameID,int lowerScore,int higherScore, int lowerTime, int higherTime, int mod){ int memLen,random1,random2; memLen = 0; random1 = 0; random2 = 0; random1 = rand()%(higherScore-lowerScore)+lowerScore; /* Rounds random score to nearest number with mod as a factor*/ random1 = floor((double)random1/(double)mod+0.5); random1 *= mod; //Calculates random time random2 = rand()%(higherTime-lowerTime)+lowerTime; /* Gets length of buffer */ memLen = intLength(gameID)+intLength(random1)+intLength(random2)+25; char *output; output = (char*)malloc(memLen); //Allocates memory sprintf(output,"Game ID: %d Score: %d Time: %d\0",gameID,random1,random2); return output;}void writeScore(char *str,FILE *fp){ if (started==1) { printf("\r\n"); fprintf(fp,"\r\n"); } printf(str); fprintf(fp,str); started = 1; free(str); // Frees memory str = NULL;}void randomize(){ srand(time(0));}int main(int argc, char *argv[]){ randomize(); FILE *fp; fp = fopen("list.txt","w"); writeScore(score(32,20,60,100,200,1),fp); writeScore(score(32,20,60,100,200,8),fp); writeScore(score(32,20,60,100,200,7),fp); writeScore(score(200,300,700,1000,2500,5),fp); fclose(fp); printf("\r\n"); system("PAUSE"); return 0;}
That compiles in any gcc C compiler (not C++)
In all seriousness, now that I have made essentially the exact same program as you in around 20 minutes, I can bag the shit out of you.
You come here and say you are a much better programmer than us, but your own arguments have proved that you know next to nothing about programming or how the internet works.
For a start you are a java programmer, which almost says enough. Your getLineSeparator function is next to stupid. Any good programmer knows that a newline can be invoked with a simple \r\n (CRLF), especially when using TEXT FILES! Using a function to call every single time you want a linebreak is inefficient coding and use of CPU.
And your stuff about 'mouse listeners'. Scoresenders already connect to the internet, as do flash games. If TNT were to program in 'mouse listeners' which then sent that information to the neopets servers, there is no logical reason why a programmer of a score sender could not program his program to send this information to neopets servers too. Mouse Listeners don't just let a company know if someone has used their mouse or not. It needs to be communicated to them via the internet, and all connections on the internet can be faked.
The fact you think your program is top sh*t is a joke, it's just a random number generator, and a tbh, a rather bad one.
If you think your programming abilities are greater than that of neocodex programmers, then make your own neopets programs to prove your point.
Little late to the party bro.