Freddy1990
2009-07-23 04:18:48
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