Jump to content
FHannes

SCAR Divi 3.33 RC

Recommended Posts

SCAR Divi 3.33 RC, code freeze is in place. If any more critical bugs are found, I'll patch them up before I release the final build on either Saturday or Sunday.

 

Regular: http://svn.scar-divi.com/scar/

Portable: http://svn.scar-divi.com/scar_portable/

 

Setup instructions: http://forums.scar-divi.com/showthread.php?505-Downloading-SCAR-Divi-Prerelease

 

Changelog:

Bugfixes:
- Memory leak in client system
- Bug in client system with multi-monitor setups
- FindColorSkipCoords(Tolerance) failed when a TPA with duplicate coordinates was entered
- Types were not exported correctly from plugins
- Functions updated/improved and ported to new framework:
   * FindColorSkipBox(Array)(Tolerance)
   * FindColorSpiral(Tolerance)
   * FindColorsSpiralTolerance
   * FindColorSpiral2
- ScriptFile and TimeRunning did not function correctly when used with ThreadSafeCall
- LoadDebugBitmap always returned False
- FindColorSpiral2 was off by a few pixels

Tweaks:
- Improved firewall system + now powered by SQLite3 rather than XML
- New library system
- Legacy libraries now support OnLoadLib and OnUnloadLib callbacks
- Legacy libraries once again receive all previously included functions though SetFunctions except for those removed from SCAR
- BitmapAssigned, CreateBitmap, GetBitmapSize, ResizeBitmap and FreeBitmap now export to legacy libraries

New:
- procedure SortTPAByRow(var TPA: TPointArray);
- procedure TPAExtractCircle(var TPA: TPointArray; const Center: TPoint; const Radius: Extended);
- procedure TPAFilterCircle(var TPA: TPointArray; const Center: TPoint; const Radius: Extended);
- Firewall rules editor
- function CreateBitmap(const Width, Height, Color: Integer): Integer;
- function FindColorsSpiral(const X, Y: Integer; out Points: TPointArray; const Color, XS, YS, XE, YE: Integer): Boolean;
- function TPACenter(const TPA: TPointArray): TPoint;

Removed:
- FindColorComp
- TColorComp
- MakeScreenPath
- BitmapFromMem

 

Happy testing! :)

 

~Freddy

Link to comment
Share on other sites

SCAR 3.33 is sexy because Appa works, and Freddy's scar is now in triple 3 edition. Freddy made the firewall look really good, and some other useful things.

 

- Legacy libraries now support OnLoadLib and OnUnloadLib callbacks

Freddy does this mean we can do {$L Library.dll} then like {$Unload Library.dll} or {$U}

 

Nice library in ur sig Janilabo, very useful. When did you make that?

Edited by LordJashin
Link to comment
Share on other sites

Freddy does this mean we can do {$L Library.dll} then like {$Unload Library.dll} or {$U}

 

No, that would mean the library is unloaded before the script runs, because compiler directives are processed before the script runs. OnUnloadLib gets called when SCAR unloads the library, which makes it possible for you to free resources that might still be loaded in the memory.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...