SRL Archive - General

Official SCAR Divi CDE 3.0 Release


Freddy1990

2007-04-10 12:41:34

Well, after some time it's finally here, the release of SCAR Divi… I hope my work can satisfy everyone… However, before you all go downloading SCAR Divi and overload my monthly bandwidth limit ;) I'd like to say a few things… This is the official release of SCAR Divi CDE 3.0, however, as everyone knows, SCAR 2.0 also took several versions to get to 2.03… What I'm trying to say is, that you can't expect SCAR Divi to be flawless, though it is as far as me and the great testing team can tell, stable. That doesn't mean there aren't any bugs… However, I will try to fix as many reported bugs as possible to achieve an even better and more stable version. If you find a bug, please report it on my forums in the bugs section at http://forums.freddy1990.com/. Besides all that I do have a very important thing to say, as most of you know, SCAR Divi contains a download SRL feature, currently this download an unofficial, modified release of SRL3.6, I modified this because it's the latest version of course, I can't guarantee that it works 100%, though it should, it fully compiles… But the official SRL for divi will be released later.

Well, that's about everything I've got to say :)
I would like to thank my testing team (WT-Fakawi, Wizzup?, Dankness, Flyboy, Benland100, Starblaster100, Sumilion, Tarajunky, Yakman and Lorax) for their help in finding as many bugs as possible.

That leaves me with 1 last thing:
Download Here!

Janilabo

2007-04-10 12:44:52

Finally it is HERE! ..and I am sure it worth the time it took.

OMFG!! Thank you FREDDYYYYY and TESTING team!! :) Thanks Kaitnieks about letting Freddy work for SCAR!

w000000000000t :D

Pentti

2007-04-10 12:55:15

Great!!! I have waited this for so long! :D

THANKS!!!

USMC

2007-04-10 13:09:02

Nice work freddy!

tarajunky

2007-04-10 13:18:23

Congrats on the release Freddy! You've put a ton of work into this project, and I salute you.

Secet

2007-04-10 13:24:57

I like the right click menu and how it install SRL! :)
gj

SKy Scripter

2007-04-10 13:25:37

omg Sweet!!!!!!
this is so exciting, man you are so amazing, thank you Freddy, testers and kaitnieks. i have been waiting for ever…….

script dump ur m0m

2007-04-10 13:25:46

Gj

endr1x

2007-04-10 13:32:35

amazing well done ! THanks Freddy :D

~Endr1x

c0de

2007-04-10 15:01:56

Very nice, but still my screenshoot function isn't there :'(

Ruroken

2007-04-10 15:03:14

Hell yes!!!

Freddy is the best :)

We all love you for this Freddy!

JuKKa

2007-04-10 15:22:35

FREDDY FREDDY FREDDY! Our HERO!

edit: had to copy all the old chars folders to the new divi folder, not a big problem though, just so people know ..

Good job freddy, srl compiles in 15 ms before 350ms <
now im gonna run my edge yew cutter to see if its MUCH faster, and i hope it is

da_professa

2007-04-10 15:47:08

Nice Job Freddy.. Really worth the wait.. :)

bullzeye95

2007-04-10 15:48:49

Omfg! Nice! Gotta Check This Out Right Away! (and Turn Off Caps Lock)


EDIT: Is it just me, or is this version slower?

moparisthebest

2007-04-10 15:56:31

Sweet, this better run under WINE. :)


Happens whenever I try to access a menu, SCAR doesn't crash, this just keeps popping up. Could be a WINE problem. :(

Boreas

2007-04-10 16:00:55

Successfully executed
Successfully compiled
Line 162: [Hint] (178:1): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 3.0\includes\srl\srl\core\Globals.scar
SRL Compiled in 16msec.
Successfully executed

And it opened globals.scar to show me where the hint was coming from! So then I added newline:=''; to setupsrl in srl.scar and it went away!

Successfully compiled
SRL Compiled in 15msec.
Successfully executed

JuKKa

2007-04-10 16:20:55


[Runtime Error] : Could not call proc in line 234 in script C:\Program Files\SCAR 3.0\includes\srl\srl\misc\GlobalStats.scar

after 14 minutes of runtime.

Bebe

2007-04-10 16:20:58

Nice work Freddy :)

<3

Freddy1990

2007-04-10 16:45:58

From: JuKKa

[Runtime Error] : Could not call proc in line 234 in script C:\Program Files\SCAR 3.0\includes\srl\srl\misc\GlobalStats.scar

after 14 minutes of runtime.


As I said, the srl could have some unstability as it was not made for divi, i just made it compile

XcanadamanX

2007-04-10 16:49:49

wow….just amased!
SRL Compiled in 7661msec.

usual
SRL Compiled in 60msec.

now.
sooo happy thanks!

Freddy1990

2007-04-10 17:11:06

SRL compiles in 30ms for me

Infantry001

2007-04-10 17:27:06

wow Freddy. Great job on releasing! Im sure me, along with everyone who will ever use SCAR, really appreciate all the time and effort you have put into this project. COngrats, and thanks!

lordsaturn

2007-04-10 17:29:34

YESS! Thank you Freddy! And all Divi testers!

Smartzkid

2007-04-10 17:31:30

:p I'm amazed!

:( 'cept I can't test it now…I'm at an apple store using a mac….

Now I wanna get home really quick!

Yakman

2007-04-10 17:36:27

hey well done freddy, it was a pleasure to work with you
now lets all get wasted and maybe get laid down at Soho

now i have to replace the older scar on all my computers…

Gwallunit

2007-04-10 17:47:21

Successfully compiled
SRL Compiled in 31msec.
Successfully executed

Sexy Freddy thanks for all the time you spent

<3 u mate

The Thief Lord

2007-04-10 17:47:24

Nice job! This is amazing, I can't wait for the new SRL release. Works like a charm.

ShawnjohnSJ

2007-04-10 17:48:36

Yay
Finalllllllly here :]]
Thanks to all that helped make it ^_^

~alex~

2007-04-10 18:01:19

w00t Freddy rocks the cock :D

SRL Compiled in 3578msec.

scartch that, it must only be the first time you compile it takes a while, compiling in like 16 ms now :D.

badandymitch

2007-04-10 18:04:01

Is the download not working for anyone else? it wont work for me.

Freddy1990

2007-04-10 18:19:26

From: badandymitch
Is the download not working for anyone else? it wont work for me.


The download should work fine (for now, lol, at this rate my bandwidth will be exceeded in days, propably going to have to upgrade my hosting package soon)

bullzeye95

2007-04-10 18:28:56

Nice job and all, but I wanna kill you for taking out GetSelf and GetApplicantion! :p

Bob Smith

2007-04-10 18:34:15

Awesome work Freddy and Cakemix of course.

Opal Tasty

2007-04-10 18:50:45

Awesome, great job Freddy!

I Karma I

2007-04-10 19:14:32

Gratz on the release; thanks to all the testers, and of course, the creator.

legendaryhero90

2007-04-10 19:20:50

ok i got and im going to test it with every script i got!

xxchronic2007xx

2007-04-10 19:37:37

wow srl compiles alot faster sweet!

WT-Fakawi

2007-04-10 19:39:55

Freddy, you did it! You actually did it! It looks very stable, it ported SRL like a charm. Finally everybody can see what we have seen during these past months. Can you believe I have actually 7 SCAR icons in my Taskbar? :) Gonna trash them all and make way for this new beast!

All hail Freddy1990!

BTW:I will make a subforum dedicated to DIVI.

Mr.Klean

2007-04-10 19:46:01

Yay! I love the auto SRL download, no more newbs wondering how to install it.

Great job Freddy!

Jason2gs

2007-04-10 19:47:32

Sweeet!

I'll test it out ;)

Thanks, mate!

whales

2007-04-10 20:04:13

Good Job Freddy and Test team can't wait to get to work!

TABS :D

Buppa Zuppa

2007-04-10 20:10:41

wow nice!!!

lolpie

2007-04-10 20:16:12

Wait, if it automatically downloads SRL, then wont this forum be totally useless because the scripts will start coming up on other forums like sythe, etc?? Don't want that to happen :(

~alex~

2007-04-10 20:27:17

Runtime errors connecting to SRL Stats I think :|

Boreas

2007-04-10 20:53:11

From: lolpie
Wait, if it automatically downloads SRL, then wont this forum be totally useless because the scripts will start coming up on other forums like sythe, etc?? Don't want that to happen :(


Actually that means leechers that just want SRL and scripts won't be here, and only people that want to write their own scripts will be here. Which isn't a bad thing IMO.

whales

2007-04-10 21:04:29

Yea, your right Boreas. Could turn out to a good thing, a cleanser ;)

Dunceiam

2007-04-10 21:16:24

Hehe, sorry to be the noob here guys. But what exactly does Divi do? This is the first time I've heard of it, and I'm kinda lost…? :confused:

-Dunceiam

JAD

2007-04-10 21:24:25

From: Dunceiam
Hehe, sorry to be the noob here guys. But what exactly does Divi do? This is the first time I've heard of it, and I'm kinda lost…? :confused:

-Dunceiam


Its the new SCAR! New version, new functions, new features, and a lot more! :)

Back on topic, Freddy, this is AWESOME! Thanks so much for making this/releasing it. I love how you can open scripts in new tabs :) I thought I'd tell you though, in some things of it, theres still a link that attempts to go to kaitnieks forums which doesn't exist any more as you may know lol :p
Oh, and are you going to make a new release to Divi once SRL 4.0 comes out? because the Download SRL feature will be kind of useless otherwise. again, thanks again freddy! Your awesome! :D

danrox2004

2007-04-10 22:22:51

VERY nice work!!! <3 FindColorSkipBoxArrayTolerance =)

Smartzkid

2007-04-10 23:19:14

*gasp*

SRL Compiled in 16msec.

I think I'm in love….


PS: I know you're probably pretty busy, Freddy, but if you get a chance, could you post a list of all divi's new functions?

EDIT: nvm, found it

Boreas

2007-04-10 23:22:23

In a text file in SCAR 3.0 folder

Hobbit

2007-04-10 23:34:41

As the guy in the evil bob random (balloon one) says "Your my friend FOREVER!!!"

THANKS FREDDY!..i love the download srl option you put in there ;) :)

hacker

2007-04-11 01:09:21

Thanks to all who helped create this new scar! I will test it out now with some scripts and post back. I really appreciate all the work all you scripters do!

eddie

2007-04-11 01:16:49

Good God! This is t3h ub3r sex! <3 Freddy!

Freddy1990

2007-04-11 03:41:00

From: JAD
Its the new SCAR! New version, new functions, new features, and a lot more! :)

Back on topic, Freddy, this is AWESOME! Thanks so much for making this/releasing it. I love how you can open scripts in new tabs :) I thought I'd tell you though, in some things of it, theres still a link that attempts to go to kaitnieks forums which doesn't exist any more as you may know lol :p
Oh, and are you going to make a new release to Divi once SRL 4.0 comes out? because the Download SRL feature will be kind of useless otherwise. again, thanks again freddy! Your awesome! :D


Erm, SCAR checks my server for SRL updates…


Well, I removed the procedureparams list from SCAR, but I guess if anyone wants it:
procedure rs_FixMouse(var x,y: integer; slot: Integer);
procedure rs_FixMouseEx(var x,y: integer; slot, maxshift, squaresx, squaresy, squaresize: Integer; minaccuracy: Extended);
function rs_GetUpText: string;
function rs_GetCompassAngleDegrees: Extended;
function rs_GetCompassAngleRadians: Extended;
function rs_ScanMiniMap(iFrom, iTo, Distance, Color: Integer): Integer;
function rs_OnMinimap(x, y: Integer): Boolean;
function rs_FindMMColors(Color: Integer): TIntegerArray;
procedure rs_DeleteUID;
function rs_DeleteUIDEx(Folder: string): Boolean;
function rs_GetInvSlot(xx, yy: Integer): Integer;
procedure rs_GetInvRC(xx, yy: Integer; var Row, Col: Integer);
function rs_GetShopSlot(xx, yy: Integer): Integer;
function rs_GetShopRC(xx, yy: Integer): Integer;
function rs_ShopScreen: Boolean;
function rs_FindShopColorSlot(var Slot: Integer; Color, Tolerance: Integer): Boolean;
function rs_FindShopBitmapSlot(var Slot: Integer; Bitmap, Tolerance: Integer): Boolean;
function rs_FindShopDTMSlot(var Slot: Integer; DTM: Integer): Boolean;
function rs_FindShopColorRC(var Row, Col: Integer; Color, Tolerance: Integer): Boolean;
function rs_FindShopBitmapRC(var Row, Col: Integer; Bitmap, Tolerance: Integer): Boolean;
function rs_FindShopDTMRC(var Row, Col: Integer; DTM: Integer): Boolean;
function rs_GetCurrentTab: Integer;
function rs_FindInvColorSlot(var Slot: Integer; Color, Tolerance: Integer): Boolean;
function rs_FindInvBitmapSlot(var Slot: Integer; Bitmap, Tolerance: Integer): Boolean;
function rs_FindInvDTMSlot(var Slot: Integer; DTM: Integer): Boolean;
function rs_FindInvColorRC(var Row, Col: Integer; Color, Tolerance: Integer): Boolean;
function rs_FindInvBitmapRC(var Row, Col: Integer; Bitmap, Tolerance: Integer): Boolean;
function rs_FindInvDTMRC(var Row, Col: Integer; DTM: Integer): Boolean;
procedure GetMousePos(var x, y: Integer);
procedure MoveMouse(x, y: Integer);
procedure MoveMouseSmooth(x, y: Integer);
procedure MoveMouseSmoothEx(x, y: Integer; minsleeptime, maxsleeptime, maxdistance, gravity, forces: Integer);
procedure MoveMouseSmoothFrom(x1, y1, x2, y2: Integer);
procedure MoveMouseSmoothFromEx(x1, y1, x2, y2: Integer; minsleeptime, maxsleeptime, maxdistance, gravity, forces: Integer);
procedure ClickMouse(x, y: Integer; Left: Boolean);
procedure HoldMouse(x, y: Integer; Left: Boolean);
procedure ReleaseMouse(x, y: Integer; Left: Boolean);
procedure ClickMouseMid(x, y: Integer);
procedure HoldMouseMid(x, y: Integer);
procedure ReleaseMouseMid(x, y: Integer);
procedure SetMouseMode(Silent: Boolean);
procedure MoveMouseSpline(x, y, rx, ry: Integer);
procedure MoveMouseSplineEx(x, y, rx, ry, mouseSpeed, ctrlSpacing, ctrlVariance: Integer);
procedure MoveMouseSplineFrom(sx, sy, ex, ey, rx, ry: Integer);
procedure MoveMouseSplineFromEx(sx, sy, ex, ey, rx, ry, mouseSpeed, ctrlSpacing, ctrlVariance: Integer);
procedure ClickMouseSpline(x, y, rx, ry: Integer; left: Boolean);
procedure MouseBox(x1, y1, x2, y2: Integer);
procedure ClickMouseBox(x1, y1, x2, y2: Integer; left: Boolean);
function SendInterSCARMessage(id, message: string): Boolean;
function ReadInterSCARMessage(id: string): string;
procedure SendInterSCARInteger(id: String; Int: Integer);
function ReadInterSCARInteger(id: String): Integer;
procedure SendInterSCARBoolean(id: String; Bool: Boolean);
function ReadInterSCARBoolean(id: String): Boolean;
procedure SendInterSCARExtended(id: String; Numb: Extended);
function ReadInterSCARExtended(id: String): Extended;
function ReadInterSCARInt64(id: String): Int64;
procedure SendInterSCARInt64(id: String; Numb: Int64);
function WriteFileByte(FileNum: Integer; b: Byte): Boolean;
function WriteFileInt(FileNum: Integer; i: Integer): Boolean;
function WriteFileString(FileNum: Integer; s: string): Boolean;
function ReadFileByte(FileNum: Integer; var b: Byte): Boolean;
function ReadFileInt(FileNum: Integer; var i: Integer): Boolean;
function ReadFileString(FileNum: Integer; var s: string; Length: Integer): Boolean;
procedure CloseFile(FileNum: Integer);
function EndOfFile(FileNum: Integer): Boolean;
function FileSize(FileNum: Integer): LongInt;
function OpenFile(Path: string; Shared: Boolean): Integer;
function RewriteFile(Path: string; Shared: Boolean): Integer;
procedure WriteINI(Section, KeyName, NewString, FileName: string);
function ReadINI(Section, KeyName, FileName: string): string;
function DirectoryExists(Directory: string): Boolean;
function FileExists(FileName: string): Boolean;
function ExtractFileName(FileName: string): string;
function ExtractFilePath(FileName: string): string;
function ExtractFileExt(FileName: string): string;
function ExtractFileDrive(FileName: string): string;
function GetFiles(Path, Ext: string): TStringArray;
procedure SaveToFile(Sender: TObject; FileName: string);
procedure LoadFromFile(Sender: TObject; FileName: string);
function GetSystemTime: Integer;
function GetTickCount: Integer;
function GetTimeRunning: Integer;
procedure ConvertTime(Ms: Integer; var H, M, S: Integer);
function Left(Text: string; Count: Integer): string;
function Right(Text: string; Count: Integer): string;
function Replace(Text, FindStr, ReplaceStr: string): string;
function GetNumbers(Text: string): string;
function GetLetters(Text: string): string;
function GetOthers(Text: string): string;
function TrimNumbers(Text: string): string;
function TrimLetters(Text: string): string;
function TrimOthers(Text: string): string;
function Capitalize(S: string): string;
function InStrArr(Str: string; Arr: TStringArray; CaseSensitive: Boolean): Boolean;
function Pow(Base, Exponent: Extended): Extended;
function IntPow(Base: Extended; Exponent: Integer): Extended;
function Max(a, b: Integer): Integer;
function MaxE(a, b: Extended): Extended;
function Min(a, b: Integer): Integer;
function MinE(a, b: Extended): Extended;
function SameValue(A, B: Extended): Boolean;
function Degrees(Radians: Extended): Extended;
function Radians(Degrees: Extended): Extended;
function ArcCos(X: Extended): Extended;
function ArcTan2(Y, X: Extended): Extended;
function Tan(X: Extended): Extended;
function ArcTan(X: Extended): Extended;
function ArcSin(X: Extended): Extended;
function Cotan(X: Extended): Extended;
function Secant(X: Extended): Extended;
function Cosecant(X: Extended): Extended;
function Hypot(X, Y: Extended): Extended;
function Cot(X: Extended): Extended;
function Sec(X: Extended): Extended;
function Csc(X: Extended): Extended;
function Cosh(X: Extended): Extended;
function Sinh(X: Extended): Extended;
function Tanh(X: Extended): Extended;
function CotH(X: Extended): Extended;
function SecH(X: Extended): Extended;
function CscH(X: Extended): Extended;
function ArcCot(X: Extended): Extended;
function ArcSec(X: Extended): Extended;
function ArcCsc(X: Extended): Extended;
function ArcCosh(X: Extended): Extended;
function ArcSinh(X: Extended): Extended;
function ArcTanh(X: Extended): Extended;
function ArcCotH(X: Extended): Extended;
function ArcSecH(X: Extended): Extended;
function ArcCscH(X: Extended): Extended;
function LnXP1(X: Extended): Extended;
function Log10(X: Extended): Extended;
function Log2(X: Extended): Extended;
function LogN(Base, X: Extended): Extended;
function Fract(number: Int64): Int64;
function BinCoe(a, b: LongInt): Extended;
function InRange(Value, Min, Max: Integer): Boolean;
function Distance(x1, y1, x2, y2: Integer): Integer;
function Sqr(X: Extended): Extended;
function Exp(Number: Extended): Extended;
function Rand: Extended;
function Inversus(E: Extended): Extended;
function Ceil(X: Extended): Integer;
function Floor(X: Extended): Integer;
function DecRet(E: Extended): Extended;
function InCircle(x, y, mx, my, r: Integer): Boolean;
procedure Inc(var Number: Integer);
procedure IncEx(var Number: Integer; nInc: Integer);
procedure Writeln(s: string);
procedure ClearDebug;
procedure DeleteDebugLine(Line: Integer);
function GetDebugLineCount: Integer;
function GetDebugText: String;
procedure Status(s: string);
function GetStatus: string;
function Readln(question: string): string;
function GetTextAtEx(x, y: Integer; Tolerance: Integer; Chars: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer; TextLength: Integer; Strict: Boolean; Range: TCharRange): string;
function IsTextAtEx(x, y: Integer; S: String; Tolerance: Integer; Chars: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer): Boolean;
function IsTextInAreaEx(x1, y1, x2, y2: Integer; var x, y: Integer; S: String; Tolerance: Integer; Chars: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer): Boolean;
procedure PlaySound(s: string);
procedure SaveScreenshot(s: string);
function AppPath: string;
function ScriptPath: string;
function Random(Range: Integer): Integer;
function RandomRange(aFrom, aTo: Integer): Integer;
function RBool: Boolean;
function RBoolEx(Chance: Integer): Boolean;
function GetColor(x,y: Integer): Integer;
function FindColor(var x,y: Integer; color, xs, ys, xe, ye: Integer): Boolean;
function FindColorSpiral(var x,y: Integer; color, xs, ys, xe, ye: Integer): Boolean;
function FindColorSpiral2(var x,y: Integer; color, xs, ys, xe, ye: Integer): Boolean;
function FindColorTolerance(var x,y: Integer; color, xs, ys, xe, ye: Integer; Tolerance: Integer): Boolean;
function FindColorSpiralTolerance(var x,y: Integer; color, xs, ys, xe, ye: Integer; Tolerance: Integer): Boolean;
function FindColoredAreaTolerance(var x,y: Integer; color, xs, ys, xe, ye: Integer; MinArea, Tolerance: Integer): Boolean;
procedure FindColorsTolerance(var Points: TPointArray; color, xs, ys, xe, ye: Integer; Tolerance: Integer);
procedure ColorToleranceSpeed(x: integer);
function SimilarColors(col1, col2, tolerance: integer): Boolean;
procedure FindColorsSpiralTolerance(x, y: Integer; var Points: TPointArray; color, xs, ys, xe, ye: Integer; Tolerance: Integer);
function FastGetPixel(bitmap: Integer; x, y: Integer): TColor;
procedure FastSetPixel(bitmap: Integer; x, y: Integer; c : TColor);
procedure SetColorspeed2Modifiers(huemodifier, saturationmodifier: Extended);
procedure PickColor(var Color: TColor; var X, Y: Integer);
function FindColorSkipBox(var x, y: Integer; color, x1, y1, x2, y2: Integer; SkipBox: TBox): Boolean;
function FindColorSkipBoxTolerance(var x, y: Integer; color, x1, y1, x2, y2, Tolerance: Integer; SkipBox: TBox): Boolean;
function FindColorSkipBoxArray(var x, y: Integer; color, x1, y1, x2, y2: Integer; SkipBoxes: TBoxArray): Boolean;
function FindColorSkipBoxArrayTolerance(var x, y: Integer; color, x1, y1, x2, y2, Tolerance: Integer; SkipBoxes: TBoxArray): Boolean;
function FindHue(var x, y: Integer; Hue: Extended; x1, y1, x2, y2: Integer): Boolean;
function FindHueTolerance(var x, y: Integer; Hue: Extended; x1, y1, x2, y2: Integer; Tolerance: Extended): Boolean;
function FindSaturation(var x, y: Integer; Sat: Extended; x1, y1, x2, y2: Integer): Boolean;
function FindSaturationTolerance(var x, y: Integer; Sat: Extended; x1, y1, x2, y2: Integer; Tolerance: Extended): Boolean;
function FindLuminance(var x, y: Integer; Lum: Extended; x1, y1, x2, y2: Integer): Boolean;
function FindLuminanceTolerance(var x, y: Integer; Lum: Extended; x1, y1, x2, y2: Integer; Tolerance: Extended): Boolean;
function CountColor(Color, x1, y1, x2, y2: Integer): Integer;
function CountColorTolerance(Color, x1, y1, x2, y2, Tolerance: Integer): Integer;
function FindColorSkipCoords(var x, y: Integer; color, x1, y1, x2, y2: Integer; const SkipCoords: TPointArray): Boolean;
function FindColorSkipCoordsTolerance(var x, y: Integer; color, x1, y1, x2, y2, Tolerance: Integer; const SkipCoords: TPointArray): Boolean;
function FindColorCircle(var x, y: Integer; color, mx, my, r: Integer): Boolean;
function FindColorCircleTolerance(var x, y: Integer; color, mx, my, r, Tolerance: Integer): Boolean;
procedure ColortoHSL(C: TColor; var H, S, L: Extended);
function HSLtoColor(H, S, L: Extended): TColor;
procedure RGBtoHSL(R, G, B: Integer; var H, S, L: Extended);
procedure HSLtoRGB(H, S, L: Extended; var R, G, B: Integer);
function RGBtoColor(R, G, B: Integer): TColor;
procedure ColortoRGB(Color: TColor; var R, G, B: Integer);
procedure RGBtoXYZ(R, G, B: Integer; var X, Y, Z: Extended);
procedure XYZtoRGB(X, Y, Z: Extended; var R, G, B: Integer);
procedure ColortoXYZ(Color: TColor; var X, Y, Z: Extended);
function XYZtoColor(X, Y, Z: Extended): TColor;
procedure HSLtoXYZ(H, S, L: Extended; var X, Y, Z: Extended);
procedure XYZtoHSL(X, Y, Z: Extended; var H, S, L: Extended);
procedure Wait(ms: Integer);
procedure Sleep(ms: Integer);
function SetTimeout(secs: Cardinal; procname: string): Integer;
procedure ClearTimeouts;
procedure ClearTimeout(s: string);
procedure SendKeys(S: string);
procedure SendKeysVB(S: string; Wait: Boolean);
procedure KeyDown(Key: Byte);
procedure KeyUp(Key: Byte);
procedure KeyDownSilent(Key: Byte);
procedure KeyUpSilent(Key: Byte);
function GetKeyCode(Key: Char): Byte;
procedure SendKeysSilent(S: string);
procedure SendArrowSilent(a: Byte);
procedure SendArrowSilentWait(a: Byte; WaitTime: Integer);
function IsMouseButtonDown(LeftButton: Boolean): Boolean;
function IsFunctionKeyDown(Key: Byte): Boolean;
function IsFKeyDown(Num: Byte): Boolean;
function IsArrowDown(Num: Byte): Boolean;
function IsKeyDown(C: Char): Boolean;
procedure SendKeysWait(Text: String; tWait, tRandom: Integer);
procedure SendArrow(Key: Byte);
procedure SendArrowWait(Key: Byte; WaitTime: Integer);
function FindWindow(Title: string): Boolean;
function FindWindowTitlePart(Title: string; CaseSensitive: Boolean): Boolean;
function FindWindowBySize(Width, Height: Integer): Boolean;
procedure ActivateClient;
function GetClientWindowHandle: Integer;
procedure SetClientWindowHandle(H: Integer);
function LoadBitmap(path: string): Integer;
function CreateBitmapMaskFromText(Text: string; Chars: Integer): Integer;
procedure LoadDebugBitmap(path: string);
function BitmapFromString(Width, Height: Integer; str: string): Integer;
procedure SaveBitmap(bitmap: Integer; path: string);
procedure FreeBitmap(bitmap: Integer);
function GetBitmapCanvas(bitmap: Integer): TCanvas;
function FindBitmap(bitmap: Integer; var x, y: Integer): Boolean;
function FindBitmapIn(bitmap: Integer; var x, y: Integer; x1, y1, x2, y2: Integer): Boolean;
function FindBitmapToleranceIn(bitmap: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; tolerance: Integer): Boolean;
function FindDeformedBitmapToleranceIn(bitmap: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; tolerance: Integer; Range: Integer; AllowPartialAccuracy: Boolean; var accuracy: Extended): Boolean;
function FindDeformedBitmapToleranceRotationIn(bitmap: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; tolerance: Integer; Range: Integer; var accuracy: Extended; AngleIntervals: Extended; StartAngle, MaxAngle: Extended; var angle: Extended): Boolean;
function RotateBitmap(bitmap: Integer; angle: Extended): Integer;
function FindBitmapSpiral(bitmap: Integer; var x, y: Integer; x1, y1, x2, y2: Integer): Boolean;
function FindBitmapSpiralTolerance(bitmap: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; Tolerance: Integer): Boolean;
function FindBitmapMaskTolerance(mask: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; Tolerance, ContourTolerance: Integer): Boolean;
procedure CopyCanvas(Source, Dest: TCanvas; sxs, sys, sxe, sye, dxs, dys, dxe, dye: Integer);
procedure SafeCopyCanvas(Source, Dest: TCanvas; sx1, sy1, sx2, sy2, dx1, dy1, dx2, dy2: Integer);
function CreateMirroredBitmap(bitmap: Integer): Integer;
function FindBitmapRotated(bitmap: Integer; var x, y, Angle: Integer; x1, y1, x2, y2: Integer): Boolean;
function GetClientCanvas: TCanvas;
function GetDebugCanvas: TCanvas;
procedure SaveSetting(section, setting, value: string);
function LoadSetting(section, setting : string) : string;
procedure ClearReport;
procedure AddToReport(s: string);
procedure DisplayDebugImgWindow(Width, Height: Integer);
procedure HideDebugImgWindow;
function LoadChars2(path: string): Integer;
function LoadCharsFromFont2(fontname: string; fontsize: Integer; fontbold, fontitalic, fontunderline, fontstrike: Boolean): Integer;
procedure FreeChars2(i: Integer);
function LoadDTM(FileName: string): Integer;
function DTMFromString(s: string): Integer;
procedure FreeDTM(DTM: Integer);
function FindDTM(DTM: Integer; var x, y: Integer; x1, y1, x2, y2: Integer): Boolean;
function FindDTMRotated(DTM: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; StartAngle, EndAngle, AngleStep: Extended; var Angle: Extended): Boolean;
function AddDTM(DTM: TDTM): Integer;
function CreateForm: TForm;
procedure FreeForm(Form: TForm);
procedure TabSheetCaption(Tab: TTabSheet; Caption: String);
function GetSCARVersion: Integer;
procedure TerminateScript;
function IsFontSmoothingEnabled: Boolean;
procedure SetFontSmoothing(Enable: Boolean);
function ThreadSafeCall(ProcName: string; var V: TVariantArray): Variant;
procedure SetTargetBitmap(bitmap: Integer);
procedure GetClientDimensions(var Width, Height: Integer);
procedure CopyClientToBitmap(bitmap: Integer; xs, ys, xe, ye: Integer);
procedure ChangeReportWidth(Width: Integer);
procedure SetBitmapFastDrawTarget(bitmap: Integer);
procedure SetTransparentColor(bitmap, color: Integer);
procedure SetTransparencyFromBitmap(Bitmap, AlphaMaskBitmap: Integer);
procedure SetSCARWindow(WindowState: TWindowState);
procedure Disguise(Caption: string);
procedure MoveToTray;
procedure SetClientPos(OnTop: Boolean);
function MessageBox(Text, Caption: string; uType: Integer): Integer;
function GetSCARHandle: Integer;
procedure FastDrawTransparent(x, y: Integer; SourceBitmap, TargetBitmap: Integer);
procedure FastDrawSizeTransparent(x1, y1, x2, y2: Integer; sourcebitmap, targetbitmap: Integer);
procedure FastDrawClear(bitmap: Integer; Color: TColor);
procedure SafeDrawBitmap(Source: Integer; Dest: TCanvas; x, y: Integer);
function GetPage(URL: string): string;
procedure OpenWebPage(URL: string);
function InitializeHTTPClient(HandleCookies, HandleRedirects: Boolean): Integer;
procedure FreeHTTPClient(i: Integer);
function GetHTTPPage(Client: Integer; URL: string): string;
procedure SetHTTPUserAgent(Client: Integer; Agent: string);
function PostHTTPPage(Client: Integer; Url: string; PostData: string): string;
function Between(s1, s2, s: string): string;
function PostHTTPPageEx(Client: Integer; Url: string): string;
procedure ClearPostData(Client: Integer);
procedure AddPostVariable(Client: Integer; VarName, VarValue: string);
function GetRawHeaders(Client: Integer): string;
function OpenConnection(Host: string; Port, TimeOut: Integer): Integer;
function ReadConnectionData(Connection: Integer; var s: string): Boolean;
function SendConnectionData(Connection: Integer; s: string): Boolean;
procedure FreeConnection(i: Integer);
function IsConnectionOpen(Connection: Integer): Boolean;
function IntToPoint(x, y: Integer): TPoint;
function Point(x, y: Integer): TPoint;
function BoolToStr(Bool: Boolean): String;
function StrToBool(Str: String): Boolean;
function PointToBox(p1, p2: TPoint): TBox;
function IntToBox(x1, y1, x2, y2: Integer): TBox;

Secet

2007-04-11 05:38:07

For some reason, it doesn't run any SRL scripts. :|

Janilabo

2007-04-11 05:41:34

Wait for new version of SRL :p

Freddy1990

2007-04-11 05:52:24

From: Secet
For some reason, it doesn't run any SRL scripts. :|


New versions mean change, though most compatibility changed, lately many peope use for example GetSelf and GetApplication in their scripts, and since they have been removed, most scripts might need a few modifications

ronny.m.p

2007-04-11 06:50:36

I'm happy just to be on the third page..this is insane!

Freddy1990

2007-04-11 07:41:00

Lol, your telling me… Divi has been downloaded about 550 times from my site so far…

stuckman

2007-04-11 08:22:13

From: Boreas
In a text file in SCAR 3.0 folder


ty very much for that

oh and freedy this is amazing
thanks for this
oh and with the srl download does it mean we don't have to do includes or do we still have to put them in? (i presume so)

GoF

2007-04-11 09:20:04

Wow.. Must try this :D So.. Is this a working one or some type of a beta? Meaning can u use SRL scripts with this yet or..?

Pentti

2007-04-11 09:27:25

From: GoF
Wow.. Must try this :D So.. Is this a working one or some type of a beta? Meaning can u use SRL scripts with this yet or..?

This is not beta. :D It will work with SRL if you download SRL from Scar Divi. But sometime it gives errors.

Freddy1990

2007-04-11 12:17:26

Heh, here's a patched GlobalStats include, hope that helps :) Shouldn't error anymore, just overwrite the old one with this one

n3ss3s

2007-04-11 12:55:17

Its sooooo beaaauuuutiiiiifuuuuul!!!! Freddy is was,is and is our master to be!!!
Tyvm!!!
Worth the time!!!!
Awesome functions!!!!
Yaaaahoooooooooooooo!!!!!!!!:spot:

eddie

2007-04-11 14:15:07

From: n3ss3s

Yaaaahoooooooooooooo!!!!!!!!:spot:

Is a Search Engine :)

Secet, Use the download SRL button on file, it then downloads a version that works for Divi

Infantry001

2007-04-11 17:33:47

So, Freddy, the now getcompassangle means we will have a constant perfect north now, right?

Freddy1990

2007-04-11 18:51:07

From: Infintry001
So, Freddy, the now getcompassangle means we will have a constant perfect north now, right?


Erm, it just calculates the current compass angle

lil_man777

2007-04-11 18:59:33

where can i get includes????

xxchronic2007xx

2007-04-11 19:13:51

I overwrote the the script globals in the core folder with this one and then i ran a script that uses global stats and it gives me this error…
Line 92: [Error] (119:32): Unkown indentifier 'Banks' in script c:\Program Files\SCAR 3.0\includes\srl\srl\core\Globals.scar (i renamed script globals)
And in line 92 it says… LastScriptReport.Banked := Banks;



EDIT: Did i put it in wrong folder or something if i did w/e i reinstalled scar 3.0….
EDIT 2: After i reinstalled it no errors ? If you updated install then great ;)

dagger5678

2007-04-11 19:41:13

Wow, SCAR 3.0 is great, but I'm gonna use 2.03 until all the bugs have been found. Hope SRL 4.0 comes out soon though.

stilfly

2007-04-12 11:19:26

So should I just go ahead and delete my old SCAR program? I haven't been scripting lately because everything was running cruddy. But I am interested in checking out your work. :)

Pure

2007-04-12 16:31:46

This is just great! thanks for all the time you put into this project without even getting paid:p

~alex~

2007-04-12 16:45:29

why was getself and getapplication removed freddy?

fat mustard

2007-04-12 18:50:05

thanks freddy :)

SubiN

2007-04-13 05:26:47

wow i cant believe its finally here !! yay !!

Uzzi

2007-04-13 08:10:41

Well I was pleased to see that the SRL was able to be downloaded and installed with the click of a mouse, but, most of my favorite scripts don't work with it. I would definitely not call this a stable version. Maybe you should make a list of compatible scripts that work without error in DIVI.

Freddy1990

2007-04-13 10:02:06

From: Uzzi
Well I was pleased to see that the SRL was able to be downloaded and installed with the click of a mouse, but, most of my favorite scripts don't work with it. I would definitely not call this a stable version. Maybe you should make a list of compatible scripts that work without error in DIVI.


Your favorite scripts aren't working because divi has depreciated functions, getself and getapplication removed, not because it's unstable…

And SCAR 3.01 has been released, you can get it at my site

Spky

2007-04-13 12:37:34

Finally :rolleyes: :)

mikev

2007-04-13 14:33:11

Very nice. Thanks! A nice shiny tool for the grueling job ahead. :)

SRL Compiled in 15msec.
<3

ronny.m.p

2007-04-13 15:10:14

I couldn't help but notice that function built into the old scar like FindColorCircleD and FindDTMRotated arn't there anymore..

Boreas

2007-04-13 15:23:11

type finddtmr and press ctrl+space
type findcolorcir and press crtl + space

ronny.m.p

2007-04-13 15:27:45

FindColorCircleD isnt there and you need that to make FindColorCircleTolerance work!

bullzeye95

2007-04-13 15:39:54

Yes it is there. Just copy the plugins folder from the SCAR 2.03 folder to the Scar 3.0 folder.

Boreas

2007-04-13 15:55:38

From: ronny.m.p
FindColorCircleD isnt there and you need that to make FindColorCircleTolerance work!


FindColorCircleTolerance is there.

You can wait for SRL for Divi, or change FindColorCircleD to FindColorCircle for now. FindColorCircleD was in a plugin.

Freddy1990

2007-04-13 17:54:56

FindColorCircleD and such were all functions build into my plugin, they were never in SCAR

Boreas

2007-04-13 18:12:34

Told ya :p

Freddy1990

2007-04-13 18:26:18

Heh, and it wasen't even supposed to be used, the intention was that people'd use the entry points in SRL

Ejjman

2007-04-13 18:43:01

Yay.
Well.
I must say it.


I love (<3) the new InterSCAR stuff. Thank you.

Wanted

2007-04-13 19:24:02

Great job with the new divi, I'm having some problems using the canvas maybe you just changed how it worked.

Maybe you could post a tutorial on how to add form pictures the background of the form.



again Awesome job,

-Ice

Freddy1990

2007-04-13 19:44:03

Didn't change anything about canvasses and stuff…

burnout

2007-04-14 12:38:39

hey ive only tried it for a couple hours and its way less laggy i mean rs client doesnt lag as much so great job on that but i cannot get my hotkeys to work like ctrl + alt + p to pick color and the ctrl alt s for stop are the ones that i try and dont work but maybe its just me idk let me know if you have this problem as well

Spky

2007-04-14 15:59:52

Why don't a functions parameters show when the opening parenthesis is typed?

Boreas

2007-04-14 16:01:18

Tools > use code hints

It was lagging for some people so it's now an option.

lardmaster

2007-04-14 16:02:15

freddy, under wine, it tries to call an unimplemented function while installing :( is there any way you could compile this for linux? helpfullness +=%100

Spky

2007-04-14 17:09:53

From: Boreas
Tools > use code hints

It was lagging for some people so it's now an option.


;)

Freddy1990

2007-04-15 05:46:29

From: lardmaster
freddy, under wine, it tries to call an unimplemented function while installing :( is there any way you could compile this for linux? helpfullness +=%100


If there was a way, I would've done it by now don't you think? ;)

lardmaster

2007-04-16 14:19:10

well, i figured it just slipped your mind, considering you are doing so much other hard work.

have you looked at this?

http://crosskylix.untergrund.net/

Freddy1990

2007-04-17 15:17:32

No, I'll have a look at it, looks promising

lardmaster

2007-04-18 13:49:57

sounds good :D

Freddy1990

2007-04-19 17:20:36

I check it out and there's no way that this is going to be able to compile scar for linux…
However, it might just help me create a new linuxversion…

EDIT: SCAR Divi 3.03 has been released ;)
GetSelf and GetApplication are (somewhat) back ;)

duncanp

2007-04-28 09:18:17

thanks very much :D it looks way cool :D

lardmaster

2007-05-06 15:54:37

well thanks for trying anyways :)

btw, can anyone get it to run under wine on linux?