SRL Archive - News and General

ray ray = dev!


the scar noob

2007-11-22 15:01:58

Yes, mastaraymond is an SRL developer now!
Congratulations, my friend, you deserve it!

I've seen you making incredible functions and plugins (remember the floodfill :p), things that are really advanced.

Keep it up and congratz again!!

Regards,

-Stijn.

Killerdou

2007-11-22 15:02:32

yeah he also told me;) all hail mastah!!!

the scar noob

2007-11-22 15:03:21

From: Killerdou
yeah he also told me;) all hail mastah!!!


Bet his p inball solver is going to be added now:rolleyes:

-Stijn.

n3ss3s

2007-11-22 15:04:10

omg congratz ray!!!

/party @vent

Pentti

2007-11-22 15:07:21

Developer cup went to the guy who really deserved that.
Congratulations man!

Dumpin

2007-11-22 15:09:06

Gratz w00t :) MastaMario ftw =D

Rikje

2007-11-22 15:09:18

you deserved it! gratz. :)

HyperSecret

2007-11-22 15:09:52

congratz ray, definitely deserved gj keep up the good work

King of Knives

2007-11-22 15:10:49

GRATS x 10!!

Deserved + now we get a pinball solver that works extraordinarily good!

CHEERS Masta! Enjoy it :D

-Knives

mastaraymond

2007-11-22 15:25:00

Wow thank you guys! *thinks clear* Oh gosh, now i've got to do some work! Oh noez ^,^

RudeBoiAlex

2007-11-22 15:27:55

WOOOW congratz man and loving the mario game :p

Dark_Sniper

2007-11-22 15:53:23

I saw this comming :p

Markus

2007-11-22 15:55:28

Congratz Ray :D

Hugolord

2007-11-22 15:59:19

congratz Ray =D

:D

u deserve this title very much

Janilabo

2007-11-22 16:21:11

From: Pentti
Developer cup went to the guy who really deserved that.
Congratulations man!
I so agree.

Congratulations, Raymond!

mastaraymond

2007-11-22 16:52:54

Script for you guys ^,^

program New;
Function GetTPABounds(TPA: TPointArray): TBox;
var
I,L : Integer;
begin;
L := High(TPA);
if L < 0 then exit;
Result.x1 := TPA[0].x;
Result.y1 := TPA[0].y;
For I:= 0 to L do
begin;
if TPA[i].x > Result.x2 then
Result.x2 := TPA[i].x
else if TPA[i].x < Result.x1 then
Result.x1 := TPA[i].x;
if TPA[i].y > Result.y2 then
Result.y2 := TPA[i].y
else if TPA[i].y < Result.y1 then
Result.y1 := TPA[i].y;
end;
end;


procedure DrawTPA(TPA : TPointArray); //Put in a TPA, and it returns you a debug image with the found points :-)
var
TempBitmap,I,LengthA : integer;
Size : TBox;
begin;
Size := GetTPABounds(TPA);
TempBitmap := BitmapFromString(Size.x2-Size.x1+1,Size.y2-Size.y1+1,'');
// CopyClientToBitmap(TempBitmap,Size.x1,Size.y1,Size.x2,Size.y2);
LengthA := High(TPA);
For I:= 0 to LengthA do
FastSetPixel(TempBitmap,TPA[I].x-Size.x1,TPA[I].y-Size.y1,clred);
DisplayDebugImgWindow(Size.x2-Size.x1+1,Size.y2-Size.y1+1);
SafeDrawBitmap(TempBitmap,GetDebugCanvas,0,0);
FreeBitmap(TempBitmap);
end;

Function GetRosePoints(MaxSize,K : integer;CurveOffset,StepSize : extended): TPointArray;
var
I : Extended;
Len : integer;
begin
SetLength(Result,Round(Maxsize / Stepsize) + 1);
Repeat
I := I + Stepsize
Result[Len].x := Round(Cos(i) * sin(K * i) * CurveOffset); //Round(Pow(Abs( cos(I) * I * CurveOffset),1.2));
Result[Len].y := Round(Sin(i) * sin(K * I) * CurveOffset);//Round(Pow(Abs(sin(I) * I * CurveOffset),1.2));
Len := Len + 1;
Until I >= maxsize
SetLength(result,len);
end;
var
Arr : TPointArray;
begin
Arr := GetRosePoints(900,10,400,0.05);
DrawTPA(Arr);
end.

the scar noob

2007-11-22 16:57:45

From: mastaraymond
Script for you guys ^,^

program New;
Function GetTPABounds(TPA: TPointArray): TBox;
var
I,L : Integer;
begin;
L := High(TPA);
if L < 0 then exit;
Result.x1 := TPA[0].x;
Result.y1 := TPA[0].y;
For I:= 0 to L do
begin;
if TPA[i].x > Result.x2 then
Result.x2 := TPA[i].x
else if TPA[i].x < Result.x1 then
Result.x1 := TPA[i].x;
if TPA[i].y > Result.y2 then
Result.y2 := TPA[i].y
else if TPA[i].y < Result.y1 then
Result.y1 := TPA[i].y;
end;
end;


procedure DrawTPA(TPA : TPointArray); //Put in a TPA, and it returns you a debug image with the found points :-)
var
TempBitmap,I,LengthA : integer;
Size : TBox;
begin;
Size := GetTPABounds(TPA);
TempBitmap := BitmapFromString(Size.x2-Size.x1+1,Size.y2-Size.y1+1,'');
// CopyClientToBitmap(TempBitmap,Size.x1,Size.y1,Size.x2,Size.y2);
LengthA := High(TPA);
For I:= 0 to LengthA do
FastSetPixel(TempBitmap,TPA[I].x-Size.x1,TPA[I].y-Size.y1,clred);
DisplayDebugImgWindow(Size.x2-Size.x1+1,Size.y2-Size.y1+1);
SafeDrawBitmap(TempBitmap,GetDebugCanvas,0,0);
FreeBitmap(TempBitmap);
end;

Function GetRosePoints(MaxSize,K : integer;CurveOffset,StepSize : extended): TPointArray;
var
I : Extended;
Len : integer;
begin
SetLength(Result,Round(Maxsize / Stepsize) + 1);
Repeat
I := I + Stepsize
Result[Len].x := Round(Cos(i) * sin(K * i) * CurveOffset); //Round(Pow(Abs( cos(I) * I * CurveOffset),1.2));
Result[Len].y := Round(Sin(i) * sin(K * I) * CurveOffset);//Round(Pow(Abs(sin(I) * I * CurveOffset),1.2));
Len := Len + 1;
Until I >= maxsize
SetLength(result,len);
end;
var
Arr : TPointArray;
begin
Arr := GetRosePoints(900,10,400,0.05);
DrawTPA(Arr);
end.


Haha, nice one!
It's beatifull! I also want to know how to make that, but I never did something with forms, nor canvases:p

Everybody, run it!

-Tsn.

mastaraymond

2007-11-22 16:59:51

From: the scar noob
Haha, nice one!
It's beatifull! I also want to know how to make that, but I never did something with forms, nor canvases:p

Everybody, run it!

-Tsn.



The source ^.^:
http://en.wikipedia.org/wiki/Rose_%28mathematics%29

Santa_Clause

2007-11-22 17:29:57

Congratulations! You deserved this a long time ago!

t3hl33tn00b

2007-11-22 17:36:03

yay netherlands!!! lol gratz ray

[-jesus-]

2007-11-22 17:54:24

Grats! You left vent like 5 mins before I got back tho >.<

Harry

2007-11-22 19:03:38

Gj nub =D You deserve it.

solarwind

2007-11-22 19:04:46

Congrats ray.

bullzeye95

2007-11-22 19:42:00

Congratulations! Extremely well deserved :D

But you know… that means you should be able to pwn me… You need some practice nub :p

Smartzkid

2007-11-22 21:38:37

Gratz!

I expect all randoms to be solved by the end of this week. :p

Sp0rky

2007-11-22 21:43:32

Grats! =D

Had to change you from an srl member to a dev on vent >_<"

You deserve it.

XcanadamanX

2007-11-22 21:53:05

congrats!

BobboHobbo

2007-11-22 23:55:28

Congratz man, you derserve it alot :)

JuKKa

2007-11-23 00:12:46

Gj

Narcle

2007-11-23 01:31:11

From: mastaraymond
Script for you guys ^,^

program New;
Function GetTPABounds(TPA: TPointArray): TBox;
var
I,L : Integer;
begin;
L := High(TPA);
if L < 0 then exit;
Result.x1 := TPA[0].x;
Result.y1 := TPA[0].y;
For I:= 0 to L do
begin;
if TPA[i].x > Result.x2 then
Result.x2 := TPA[i].x
else if TPA[i].x < Result.x1 then
Result.x1 := TPA[i].x;
if TPA[i].y > Result.y2 then
Result.y2 := TPA[i].y
else if TPA[i].y < Result.y1 then
Result.y1 := TPA[i].y;
end;
end;


procedure DrawTPA(TPA : TPointArray); //Put in a TPA, and it returns you a debug image with the found points :-)
var
TempBitmap,I,LengthA : integer;
Size : TBox;
begin;
Size := GetTPABounds(TPA);
TempBitmap := BitmapFromString(Size.x2-Size.x1+1,Size.y2-Size.y1+1,'');
// CopyClientToBitmap(TempBitmap,Size.x1,Size.y1,Size.x2,Size.y2);
LengthA := High(TPA);
For I:= 0 to LengthA do
FastSetPixel(TempBitmap,TPA[I].x-Size.x1,TPA[I].y-Size.y1,clred);
DisplayDebugImgWindow(Size.x2-Size.x1+1,Size.y2-Size.y1+1);
SafeDrawBitmap(TempBitmap,GetDebugCanvas,0,0);
FreeBitmap(TempBitmap);
end;

Function GetRosePoints(MaxSize,K : integer;CurveOffset,StepSize : extended): TPointArray;
var
I : Extended;
Len : integer;
begin
SetLength(Result,Round(Maxsize / Stepsize) + 1);
Repeat
I := I + Stepsize
Result[Len].x := Round(Cos(i) * sin(K * i) * CurveOffset); //Round(Pow(Abs( cos(I) * I * CurveOffset),1.2));
Result[Len].y := Round(Sin(i) * sin(K * I) * CurveOffset);//Round(Pow(Abs(sin(I) * I * CurveOffset),1.2));
Len := Len + 1;
Until I >= maxsize
SetLength(result,len);
end;
var
Arr : TPointArray;
begin
Arr := GetRosePoints(900,10,400,0.05);
DrawTPA(Arr);
end.


Awww I wanted a cookie!

Wait we are congratulating you. Grats man!

mastaraymond

2007-11-23 04:46:32

From: bullzeye95
Congratulations! Extremely well deserved :D

But you know… that means you should be able to pwn me… You need some practice nub :p

Shit, now I've got to redo all your work in the competition ;)

n3ss3s

2007-11-23 05:45:28

Gj with the function!

TPAs are taking over the world! Bwuahahaha , BWUAHAHAHAAAA!

Santa_Clause

2007-11-23 05:47:50

Haha…I just remembered, it seems like Fawki was lying to n3ss3s when he said that no more developers were needed :p

n3ss3s

2007-11-23 05:49:35

Yes… True.

But I understand :)

EDIT: But he should've use some more time thinking, since Rs monkey got dev within a week :p

Santa_Clause

2007-11-23 05:53:56

Hmm…do you have to be an SSRL to become a developer…? If so, then I guess we can predict the future developers.

Negaal

2007-11-23 06:55:41

From: RudeBoiAlex
WOOOW congratz man and loving the mario game :p


yeah, congratz, I'm in highscore in mario w/o cheats

Miitchyy

2007-11-23 07:02:09

xD
I cheated and made my mario always big :P

Gratz on Dev Ray

mastaraymond

2007-11-23 08:03:29

From: Kevin Wolf
xD
I cheated and made my mario always big :P

Gratz on Dev Ray

I can always put it in a plugin :rolleyes:.

Dan Cardin

2007-11-23 09:04:26

congratulations!

well deserved

Wizzup?

2007-11-23 09:17:03

From: Santa_Clause
Hmm…do you have to be an SSRL to become a developer…? If so, then I guess we can predict the future developers.


No don't have to…

n3ss3s

2007-11-23 09:27:49

Yup, don't have to, and plus that, Santy how'd ya know who are *cough*:s since its prohibited to tell?

R0b0t1

2007-11-23 11:22:32

PARTY BOY!!!


Unce unce unce unce unce unce unce unce unce unce!!!


And remember: "In Soviet SRL-Forums, scripts develop YOU!!!"

Santa_Clause

2007-11-23 16:59:09

From: n3ss3s
Yup, don't have to, and plus that, Santy how'd ya know who are *cough*:s since its prohibited to tell?


Pwnaz0r and The-UnNamed, since they posted in the SMART tutorial thread…

R0b0t1

2007-11-23 18:04:10

Good work Sherlock, I was about to deduce the same….

The Claw

2007-11-23 18:15:38

That doesn't necessarily mean they're SSRL…

Santa_Clause

2007-11-23 18:24:14

The Claw…Nielsie's already said it, so no need to try cover it up anymore :)

From: R0b0t1
Good work Sherlock, I was about to deduce the same….


Enough sarcasm, n3ss3s asked a question and I answered it :p

Bobarkinator

2007-11-23 23:11:30

Gratz man, you have made some truly amazing scripts. MastaMario was a work of art.

Bam Bam

2007-11-24 09:09:57

Congratulations mastaraymond!