SRL Archive - Archive

Kolro - SRL Member Application


Kolro

2012-02-23 10:00:15

How Long have You Played Runescape?
6 Year(s)


Are you affilated in anyway with Jagex LTD?
No

Were you Referred to SRL?



What is your general programming knowledge?
I know basics of Pascal C++ and java.Can write simple scripts using resoures.


Are you a member of any other communities?
no


Tell us about yourself…
From: Kolro
hmm

Hey.My name is Kacper and i'm from Poland.
Im 15 years old.Im very intrested in graphic.
I'm making 3d models in programs such as Maya or 3Dmax.I also know basic of programming in Pascal C++ and java.I play on electric guitar.IMO I can use english very well (as a guy from europe)



Please show us one (or multiple) of your scripts.
hmm...i haven't done any RS - simba scripts but here are some of my scripts for school

some includes here :P

int main(void) {
char zapytanie[100];

srand(time(NULL));
puts("Program infobot");
while (1) {
//puts("Podaj wartosc:");
if (fgets(zapytanie, 100, stdin) == zapytanie) {
if (strcmp(zapytanie, "ping\n") == 0) {
if (rand()/(double)RAND_MAX < 0.8) {
printf("pong\n");
} else {
printf("forver alone?\n");
}
}
if (strcmp(zapytanie, "exit\n") == 0) {
break;
}
} else {
}
}
return 0;
}















some Svg script piece

void choinka(char nazwa[], int w, int h, int p) {
int i, ht;
FILE *plik_svg;
plik_svg = fopen(nazwa, "w");
if (plik_svg != NULL){
puts("ok");
fprintf(plik_svg, "<svg width=\"%d\" height=\"%d\" xmlns=\"http://www.w3.org/2000/svg\">\n", w, h);
//fputs("<circle cx=\"250\" cy=\"250\" r=\"50\" fill=\"red\"/>", plik_svg);
ht = (3*(h-20))/(2*p+1);
for (i = 0; i < p; i++) {
fputs("<polygon points=\"", plik_svg);
if (i > 0) {
//fprintf(plik_svg, "%d,%d ", w/2, ((h-20)/p)*i - i*((h-20)/(3*p)));
//fprintf(plik_svg, "%d,%d ", w/2 + (h-20)/(p*2), ((h-20)/p)*(i+1) - i*((h-20)/(3*p)));
//fprintf(plik_svg, "%d,%d ", w/2 - (h-20)/(p*2), ((h-20)/p)*(i+1) - i*((h-20)/(3*p)));
fprintf(plik_svg, "%d,%d ", w/2, ht*i - i*(ht/3));
fprintf(plik_svg, "%d,%d ", w/2 + (i+1)*ht/2, ht*(i+1) - i*(ht/3));
fprintf(plik_svg, "%d,%d ", w/2 - (i+1)*ht/2, ht*(i+1) - i*(ht/3));
} else {
fprintf(plik_svg, "%d,%d ", w/2, ht*i);
fprintf(plik_svg, "%d,%d ", w/2 + ht/2, ht*(i+1));
fprintf(plik_svg, "%d,%d ", w/2 - ht/2, ht*(i+1));
}
fputs("\" fill=\"green\"/>\n", plik_svg);
}
fprintf(plik_svg, "<rect x=\"%d\" y=\"%d\" width=\"%d\" height=\"%d\" fill=\"brown\"/>\n", w/2-15, h-20, 30, 20);
fputs("</svg>", plik_svg);
fclose(plik_svg);
} else {
puts("nie ok");
}
}



(some things are written in polish but ill do scripts in english for simba)


(scripts from C++)

Er1k

2012-02-23 10:02:48

You need a simba script to apply. No hard feelings.

Kolro

2012-02-23 10:03:46

ok.I'll try to make some simple script in simba.

Sin

2012-02-23 10:05:41

From: Kolro
ok.I'll try to make some simple script in simba.


Simple isn't going to cut it.

Er1k

2012-02-23 10:16:11

I am interested to know why you're applying members at all.

E: I actually think we should ask this question in new applications :P What do you guys think?

Kolro

2012-02-23 10:58:05

Ok.I just watched YoHoJo yt tuts and simba seems to be very "friendly" for writing.
yea..My wrong…I sent the this too soon. ;/
BTW. Why i want to be one of you?well… i really like to meet and play with pepole with simmilar intrestings (sorry for my english grammar :P - it easier to read and listen to ppl than write someting yourself)

Hobbit

2012-02-23 13:09:52

Welcome to the community :)

We require a simba script that uses srl for a members application. Stick around and keep reading tutorials :)

Closed