SRL Archive - Help and Support

Editting Functions of SCAR


Rambozin

2007-09-30 13:13:07

How do I edit functions of SCAR? (not SRL)

Thanks for your time!
~ Ramb.

Bourdou!

2007-09-30 13:43:31

You can't I am pretty sure.

Wizzup?

2007-09-30 13:45:17

You can over write them but not edit. :)

Wanted

2007-09-30 13:45:19

You can't edit functions in SCAR, however, you can add functions by making your own plugin.

Edit:
From: Wizzup?
You can over write them but not edit. :)


How?

Bourdou!

2007-09-30 13:46:54

I am so confused about plugins. Why not just have them as includes?

Rambozin

2007-09-30 13:49:34

Aww man ..

The function GetTextAtEx doesn't work for me :( I put everything correct, but the only number it returns is 8 >.<

When I want to check tr_Digits, by Writeln(IntToStr(tr_Digits)); it only writes the number 8 .. Wtf?

bullzeye95

2007-09-30 13:49:40

From: IceFire908
You can't edit functions in SCAR, however, you can add functions by making your own plugin.

Edit:

How?


program New;
var
x, y: Integer;

function FindColor(var x, y: Integer; color, xs, ys, xe, ye: Integer): Boolean;
begin
writeln('n00b');
end;

begin
if(FindColor(x, y, 0, 0, 0, 500, 500))then
writeln('w00t');
end.

Wanted

2007-09-30 13:50:33

From: Bourdou!
I am so confused about plugins. Why not just have them as includes?


Because plugins can be written in Delphi or C++ or other real programming languages. Also, you don't need {.Include …} in your script, you just need the plugin in your plugins folder.

bullzeye95

2007-09-30 13:51:30

And the reason we have plugins is because they are ub3r fast.

Rambozin

2007-09-30 14:03:23

Btw, can I view the functions of SCAR ?

King of Knives

2007-09-30 14:26:16

f1 while SCAR is open… Gogo SCAR-manual :D

-Knives

Smartzkid

2007-09-30 14:35:28

From: Rambozin
Btw, can I view the functions of SCAR ?


Nope.

Sumilion

2007-09-30 14:39:48

You can see what functions there are but not how they work. (Indeed F1 for function list).

R0b0t1

2007-09-30 15:06:34

I w1ll have to ask t3h freddy to tell me how findcolor works! then.

Harry

2007-09-30 15:08:29

I wish SCAR was open-source.. :rolleyes:

R0b0t1

2007-09-30 15:11:43

I don't want the whole code, just the FindColor part. I'm still pretty sure he's not going to give it to me, though.

Bobarkinator

2007-09-30 15:16:39

From: R0b0t1
I don't want the whole code, just the FindColor part. I'm still pretty sure he's not going to give it to me, though.


He released it at his site I think

Wanted

2007-09-30 15:52:16

From: R0b0t1
I w1ll have to ask t3h freddy to tell me how findcolor works! then.


http://www.freddy1990.com/forums/index.php?topic=8.0