SRL Archive - News and General

SCAR 3.21 Final Released!


Freddy1990

2009-07-23 04:18:48

I've released the final version of SCAR 3.21, you can get it here: http://freddy1990.com/scar.php

Changelog:
SCAR Divi 3.21:
---------------

Improvements:
- Re-did the window selector
- WriteINI returns False if it wasn't able to access the file
- Distance now takes even larger values
- Optimized HSLtoRGB
- Rewrote SendKeys
- Rewrote KeyUp and KeyDown
- New StatChars font

Bugfixes:
- Updated the font for rs_GetUpText
- Updated SRL-Forums link
- Updated SCAR forums link
- CountBitmap now returns Integer
- Updated UpChars
- Updated SmallChars
- Rightclicking and closing a tab showed different behavior than the toolbar button
- Resources were not freed as they are when a script finishes when terminating a script by force
- The TMusic component could only be created once every time SCAR ran, after that it generated an error with code 14
- Bug in HSL tolerance comparison algorithm
- ReadInterSCARInteger raised an error when retrieved data wasn't an integer value
- ReadInterSCARBoolean raised an error when retrieved data wasn't an boolean
- ReadInterSCARExtended raised an error when retrieved data wasn't an floating point number
- ReadInterSCARInt64 raised an error when retrieved data wasn't an 64-bit integer value
- Firewall rules weren't saved in the firewall rules window
- Issue with code completion and includes
- MD5FromFile always returned an empty string
- RBoolEx didn't do what it was supposed to

Additions:
- Compiler define "SCAR321_UP" (Will remain in all next versions)
- function Factorial(i: Int64): Int64; (Kept "Fract" for compatibility)
- function CallProc(ProcName: string; var V: TVariantArray): Variant;
- Added chars to the rs_GetUpText function
- Added every remaining available char to the SmallChars font
- Added new RS font LoginChars
- fixscar.exe, it will try to fix SCAR when it won't start
- function GetTolerance(Col1, Col2: Integer): Integer;
- function GetClosestColor(Color: Integer; Colors: TIntegerArray): Integer;
- procedure TypeKeys(s: string);
- function IsNumpadEnabled: Boolean;
- function IsCapsLockEnabled: Boolean;
- Added autoloading for FriendChars and LoginChars
- procedure MoveWindMouseEx(x, y, rx, ry, MouseSpeed: Integer);
- procedure MoveWindMouse(x, y, rx, ry: Integer);
- procedure ClickWindMouse(x, y, rx, ry: Integer; Left: Boolean);
- function GetFileSize(FileName: string): Int64;
- Added error reporting
- Added new RS font BigChars
- procedure DisguiseClient(Caption: string);
- function GetCursorType: TCursor;
- Added an automated updater for the fonts

Removed:
- 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);
- Obsolete characterset CharsTrade

Home

2009-07-23 04:22:57

Yay! And once again me is Super first poster!
Good job Freddy and thanks for all work that you have done!
(Big Cookie For You!)

~Home

Brain

2009-07-23 04:24:46

great job, thanks for the updates fred

Freddy1990

2009-07-23 04:26:01

Heh, I especially like my font updater :) If you remove some characters from a character set and start SCAR, you can see it in action :)

D1zl3

2009-07-23 04:26:28

thanks alot freddeh

EvilChicken!

2009-07-23 04:29:03

Freddy, oh Freddy.
Where would we have been without you?

mormonman

2009-07-23 04:33:58

So will there be any more updates on your svn? or should we just get this and wait for scar 4?

Wanted

2009-07-23 04:51:43

Damnit I just finished setting up Alpha…

Nice work yet again Freddy.

guyver

2009-07-23 04:53:58

Great job Freddy. Great to see this update. Thanks for all your efforts!!!:D

D1zl3

2009-07-23 04:55:57

i hate to be the first guy to post a problem, but my fonts dont work again :P. I tried putting ym old fonts folder in, but then keep keeping changed cause of the new feature haha

Freddy1990

2009-07-23 05:00:57

From: D1zl3
i hate to be the first guy to post a problem, but my fonts dont work again :P. I tried putting ym old fonts folder in, but then keep keeping changed cause of the new feature haha


Works fine for me…

D1zl3

2009-07-23 05:06:17

From: Freddy1990
Works fine for me…

download
file -> checkout
file - > download includes
tools -> options -> move plugins

missing anything?:confused:

Freddy1990

2009-07-23 05:10:18

From: D1zl3
download
file -> checkout
file - > download includes
tools -> options -> move plugins

missing anything?:confused:


???

D1zl3

2009-07-23 05:16:42

arent those the steps?

Freddy1990

2009-07-23 05:18:22

From: D1zl3
arent those the steps?


I have no idea what you're trying to tell me…

D1zl3

2009-07-23 05:19:26

nevermind

ahotcougar

2009-07-23 05:23:30

Hey, i think there is a problem with 3.12, or whatever version is the latest, because when i go to run a script it says certain files are missing such as : Include file C:\Program Files\SCAR 3.15\includes\SRL\SRL\skill\woodcutting.scar does not exist. but if i go look for them in the files it says its not, they are there, please help.

Freddy1990

2009-07-23 05:28:43

From: ahotcougar
Hey, i think there is a problem with 3.12, or whatever version is the latest, because when i go to run a script it says certain files are missing such as : Include file C:\Program Files\SCAR 3.15\includes\SRL\SRL\skill\woodcutting.scar does not exist. but if i go look for them in the files it says its not, they are there, please help.

File => Download SRL

And that's far from the latest version.

ahotcougar

2009-07-23 05:34:32

From: Freddy1990
File => Download SRL

And that's far from the latest version.



yeh sry, lol, i have SCAR Divi 3.21 not 3.12 and when i go to FILE, the only thing that has srl in it is FILE> Update SRL SVN and when i click that a black screen comes up, sits there, and then says Updated SRL SVN to head revision and i did it 3 times in a row, and it still didn't fix anything, could you private msg me a script you use that works, and i can try that, to make sure its not just the script im using? thanks for helping btw.

Freddy1990

2009-07-23 05:47:54

From: ahotcougar
yeh sry, lol, i have SCAR Divi 3.21 not 3.12 and when i go to FILE, the only thing that has srl in it is FILE> Update SRL SVN and when i click that a black screen comes up, sits there, and then says Updated SRL SVN to head revision and i did it 3 times in a row, and it still didn't fix anything, could you private msg me a script you use that works, and i can try that, to make sure its not just the script im using? thanks for helping btw.


I don't use scripts… And the black window doesn't show anything because you're probably on the latest revision. Not sure about your problem, SRL compiled fine for me, though be sure to use the developer svn until #36 is released…

ahotcougar

2009-07-23 05:53:09

From: Freddy1990
I don't use scripts… And the black window doesn't show anything because you're probably on the latest revision. Not sure about your problem, SRL compiled fine for me, though be sure to use the developer svn until #36 is released…


could you possibly go on team viewer 4 (computer share, overlook program like thing) and look at it for me, and make sure i have everything right?

TRiLeZ

2009-07-23 05:53:31

Good job Freddy!
Well done.

Freddy1990

2009-07-23 05:59:25

From: ahotcougar
could you possibly go on team viewer 4 (computer share, overlook program like thing) and look at it for me, and make sure i have everything right?


Maybe tomorrow, I need sleep now

Nava2

2009-07-23 06:08:30

pft, not even a thank you.

Nice job.

Now, recompile the pascalscript for 3.15b NAO.

:)

NCDS

2009-07-23 06:27:13

Nice job.

Some nice new additions I'm looking forward to using :rolleyes:

Feroc1ty

2009-07-23 06:27:23

Thanks, but majority of voters chose a complete rework of scar, are you planning on working on that, or were those false hopes.

NCDS

2009-07-23 06:31:45

He already claimed in a previous thread that he was going to work on Scar4 after this update.

Nava2

2009-07-23 07:22:14

By the way, I put a "(" in and SCAR crashes ;)

noidea

2009-07-23 07:48:49

This is more stable than 3.2 amirite?
Nice Freddy :)

Naum

2009-07-23 14:51:14

Well done freddy!! :D
Have you found out whats causing the 'cant open another SCAR whilst one is running' bug?

samm

2009-07-23 15:01:36

Awesome work Freddy! Thanks!
I look forward to using this..

Just saw the Font updater in action, awesome work :)
Thanks again!

:D

Freddy1990

2009-07-23 15:05:56

From: Nava2
pft, not even a thank you.

Nice job.

Now, recompile the pascalscript for 3.15b NAO.

:)


Hmm, I already did that days ago…

From: NaumanAkhlaQ
Well done freddy!! :D
Have you found out whats causing the 'cant open another SCAR whilst one is running' bug?


-_-" Hmm, you disabled the "Single Window" option?

From: Nava2
By the way, I put a "(" in and SCAR crashes ;)

I got an error report about that, trying to figure out what the problem it, though the bug doesn't really make sense…

From: Feroc1ty
Thanks, but majority of voters chose a complete rework of scar, are you planning on working on that, or were those false hopes.

I'm making preparations to start working on SCAR 4, however, some stuff has happened in the meanwhile, before I start working on SCAR 4, I'll have to finish SCAR 3.22 which will feature a brand new OCR which I originally wrote for SCAR 4 but never finished. It however can do about as much as the current one does, but faster and better. This was voted for in favor by the developers team, 3.21 was released to give them the time to integrate the new OCR into SRL once it's available in the pre-release repository.

NiCbaZ

2009-07-23 15:47:21

Ocr??

Freddy1990

2009-07-23 15:49:50

From: NiCbaZ
Ocr??


Optical Character Recognition

EDIT: It reads text, like GetTextAt and such…

NiCbaZ

2009-07-23 15:58:28

From: Freddy1990
Optical Character Recognition

EDIT: It reads text, like GetTextAt and such…


OK thanks.

Crazydictator

2009-07-23 18:01:19

Thanks freddy, nice work as always.

Laur€ns

2009-07-29 17:43:25

From: EvilChicken!
Freddy, oh Freddy.
Where would we have been without you?


SCAR 2.03 :p


Ontopic: Good job Freddy :) (Font updater rules! ;))

Bubix

2009-07-29 20:04:43

super, thanks

Dan Cardin

2009-07-30 02:14:17

did you happen to change the behavior of SCAR opening? I seem to remember being able to open scripts from outside of SCAR and having them open in the first window, but still being able to manually open another SCAR from scar.exe and it would be in a seperate window. I may be hallucinating, but i think not.

Janilabo

2009-07-30 16:11:10

From: Dan Cardin
did you happen to change the behavior of SCAR opening? I seem to remember being able to open scripts from outside of SCAR and having them open in the first window, but still being able to manually open another SCAR from scar.exe and it would be in a seperate window. I may be hallucinating, but i think not.
Close ALL open SCAR 3.21's => Open new SCAR 3.21 => Go to Tools => Go to Options => Go to Instances => Go to Use a single window => and now uncheck the checkbox (from True to False). => Close the SCAR 3.21 (so the change will be saved - just to make sure it will) => Try now!

Dan Cardin

2009-07-30 22:21:53

yes, but opening a script from somewhere such as windows explorer will open a new instance instead of being in the same one.

Janilabo

2009-07-30 22:27:38

From: Dan Cardin
yes, but opening a script from somewhere such as windows explorer will open a new instance instead of being in the same one.
Ahh damn… I am sorry mate, I misunderstood!
Now I see what you mean. :o

rawsilk

2009-10-19 01:31:53

I think there is a bug that needs fixing. When I use TypeKeys or SendKeys it sends numbers as their symbols eg. I say TypeKeys('a1234') it does 'a!@#$'

[-jesus-]

2009-10-19 03:51:09

From: rawsilk
I think there is a bug that needs fixing. When I use TypeKeys or SendKeys it sends numbers as their symbols eg. I say TypeKeys('a1234') it does 'a!@#$'


Yeah I have this problem also, although it's called sendkeys ;).
Windows 7, 32bit

Wanted

2009-10-19 10:29:01

From: rawsilk
I think there is a bug that needs fixing. When I use TypeKeys or SendKeys it sends numbers as their symbols eg. I say TypeKeys('a1234') it does 'a!@#$'


3 month grave dig bro

Bobarkinator

2009-10-19 11:53:00

From: IceFire908
3 month grave dig bro


It's relevant information.

Perhaps you could try using the prerelease of SCAR. You can follow this [www.villavu.com] tutorial

Freddy1990

2009-10-25 06:57:46

From: Bobarkinator
It's relevant information.

Perhaps you could try using the prerelease of SCAR. You can follow this [www.villavu.com] tutorial


Hmm, relevant yes, but like a ton of people have already reported that bug, it only occurs for some keyboard layouts and it was already fixed ages ago in 3.22 beta

Dervish

2009-10-25 07:14:58

From: Freddy1990
Hmm, relevant yes, but like a ton of people have already reported that bug, it only occurs for some keyboard layouts and it was already fixed ages ago in 3.22 beta


Still does it for me… :rolleyes:

Freddy1990

2009-10-30 04:42:30

From: Dr D. Dervish
Still does it for me… :rolleyes:


Hmm, thanks for letting me know then?… :duh: Erm, what's your local keyboard layout?

sandsrules

2009-10-30 13:29:17

Hoorah!