Page 1 of 3 123 LastLast
Results 1 to 25 of 56

Thread: SCAR 3.20 released

  1. #1
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default SCAR 3.20 released

    Boreas Edit: 3.21 is out http://www.villavu.com/forum/showthread.php?t=48056



    SCAR 3.20 has been released, this is the largest update in SCAR Divi history. It features a whole load of bugfixes, GUI changes, improvements, ...

    The codehints received an overhaul, making coding with large includes like SRL go much more smoothly.

    A more important change, tolerance comparison has been improved, the default comparison is the most affected and runs at 200% efficiency with all of kaitnieks' functions. With the ones I wrote 100% myself it runs at 400% efficiency. Functions like FindColorTolerance execute 4 times as fast as before.

    Get it here: http://freddy1990.com/?page=product&name=scar

    Changelog:
    Code:
    Bugfixes:
     - FindColorsTolerance always returned false when using Tolerance 0
     - Bad Char: SmallChars #55
     - Capitalize errored for an empty string
     - ReplaceRegex malfunctioned when replacing a matched string with a string that could be matched
     - The String To Picture tool didn't work for the newest bitmapstrings
     - [#4] Minimized windowsizes weren't saved when SCAR was closed maximized
     - [#17] Mousebutton functions were off a pixel on each axis
     - [#5, #7] Code proposal wasn't shown for local variables in functions
     - [#1, #12] There were some bugs in the functionlist parser
     - [#18] Code proposal didn't show a type for variables in records, declared as dynamic or static array
     - [#8] Code hints didn't work properly for class properties
     - Scriptsettings were not saved and loaded correctly by the portable version
     - A bug in the portable version prevented the help wizard from loading saving settings form the settings file, it tired ot use the registry instead
     - [#11] The splitter in between the report box and debug box was malfunctioning
     - SCAR displayed a socket error when it wasn't able to contact the SRL repository to check for updates
     - The "Client Always On Top" button remained checked after changing to a window that wasn't on top
     - "No Transparancy" moved the window to the left side of the screen
     - Bug in debugging system
     - Bug in the SRL downloader which caused errors on certain occasions
     - The function list button wasn't toggled off when closing it using the cross button on the list itself
     - [#40] Functions resulting in arrays weren't shown in the functionlist
     - [#39] Files with non-lowercase extensions weren't opened when dragged onto SCAR
     - [#6, #25] Including was not possible when there was something behind the include statement on the same line
     - [#36] The TReplaceDialog component was missing ReplaceText and OnReplace properties
     - [#27] Hints for the toolbaritems to run, stop and pause a script always showed the default shortkeys
     - After reverting, a script still showed as modified
     - [#47] Colorpicker only supported main screen
     - [#48] The Show Report button on the toolbar didn't show the state of the reportbox properly
     - Bad Char: NPCChars #88
     - [#66] On some computers files didn't open when not entering the extension in the opendialog
     - [#73] FindColorCircle was broken
     - Memory leak in the initial character loading
     - [#87] FindColorComp didn't work for ccLum
    
    Improvements:
     - Tweaked FindColor, FindColorTolerance (speed increased)
     - Tweaked FindColorsTolerance (speed increased)
     - Tweaked CountColor, CountColorTolerance (speed increased)
     - New tabsystem (from SCAR 4.0), takes care of all old tab bugs
     - When moving the splitter between the debug box and report box, the splitter moves while dragging now instead of after dragging
     - The plugin system now allows overriding standard SCAR functions for real, append '>' to the start of the function defenition string to override the function
     - Added a boolean result to FindColorsSpiralTolerance
     - Toolbar icon for the report box now stays pressed when it's open
     - Toolbar icon for the function list now stays pressed when it's open
     - You can now unset bookmark by pressing the toggle button for a bookmark with the cursor on the line where it's placed
     - SRL download moved to freddy1990.com for speed increasement and more frequent updates
     - New TestPlugin
     - New tabs for the script editor
     - Revamped the "Update to Revision" dialog for the SRL SVN
     - Revamped the Function List
     - PosEx now uses the Delphi default function
     - Revamped the options dialog
     - WriteLn now accepts every basic datatype
     - Rewrote the codehints engine to work a lot more efficient
     - A TBitmap's TransparentColor property is now also writeable
     - CodeHints now display for functions with no params as well when a bracklet is opened
     - TimeOut system was rewritten to be more accurate
     - SetTimeOut now uses ms rather than seconds
     - PlaySound now returns true if succeeded
     - ReplaceRegex now supports subexpressions
     - Debugbox now allows for the user of different colors, fontstyles and fonts
     - The "SRL Download" function now prompts to download or not when SRL is already installed
     - Rewrote FindColorCircle to double the speed
     - Doubled the speed of the standard tolerance comparison
     - Greatly improved the speed of InTriangle
     - Increased speed of FindColorTriangle by 60% (not including the InTriangle speed increase [including, the speed has more than doubled])
     - New FindBitmap function, speed doubled
     - New FindColorComp function with increased efficiency and speed
    
    Additions:
     - function GetTargetDC: HDC;
     - function TPAInTPA(TPA1, TPA2: TPointArray): Boolean;
     - function GetTPABounds(TPA: TPointArray): TBox;
     - function MiddleTPA(TPA: TPointArray): TPoint;
     - function MiddleTPAEx(TPA: TPointArray; var x, y: Integer): Boolean;
     - function DeleteSetting(Section, Setting: string): Boolean;
     - FriendChars
     - T2DStringArray (= array of TStringArray)
     - procedure AddSSLHandler(Connection: Integer; HTTP: Boolean);
     - Added an SSL handler to GetPage
     - You can now "permanently" enable API calls in the options, you can still enable it until scar closes in the script menu when it's not enabled entirely
     - Added a "SCAR Always On Top" button to the View menu
     - procedure GetColorspeed2Modifiers(var huemodifier, saturationmodifier: Extended);
     - procedure GetColorspeed3Modifiers(var Sensitivity: Integer);
     - procedure SetProxyDetails(Connection: Integer; IP: string; Port: Integer);
     - function Format(s: string; data: array of const): string;
     - Added a -tray parameter to move SCAR to the systemtray from commandline
     - Opening scripts will now open a new tab rather than a new SCAR window, you can revert to the old method using multiple windows by changing the setting in the options
     - When SCAR is closing it will now call the "SCARClosing" procedure in every plugin that exports it
     - When a script is terminated, SCAR will now call the "ScriptTerminate" procedure in every plugin that exports it
     - When a script is paused, SCAR will now call the "ScriptPause" procedure in every plugin that exports it
     - When a script is resumed, SCAR will now call the "ScriptResume" procedure in every plugin that exports it
     - Alert popups
     - procedure Alert(s: string);
     - function Implode(Glue: string; Pieces: TStringArray): string;
     - function Explode(Separator, s: string): TStringArray;
     - function ExplodeEx(Separator, s: string; Limit: Integer): TStringArray;
     - function TBitmapFromBmp(Bitmap: TBitmap; Bmp: Integer): Boolean;
     - Berg NextSuite Editors have been added to the script engine for usage on forms (TNxEdit, TNxButtonEdit, TNxNumberEdit, ...)
     - TBitmap now also has the Transparent and TransparentMode properties
     - Added Transparent and Flat properties to TSpeedButton along with the Click method
     - Added the Click method to the TBitBtn
     - Added the Anchors property to TGroupBox
     - Added the OwnerDraw, OnDrawTab and OnGetImageIndex properties to TPageControl
     - If external functions are defined and api calls are enabled the codehints will show both the internal and external function in case that a function with that name is already present internaly in SCAR (See DllTest.scar [FindWindow])
     - Support for the online manual (Ctrl+F1), will take you to the page of the function ur caret is placed on if it exists
     - function CreateMusicPlayer: TMusic;
     - TMusic class: Allows you to play wav, mp3, ogg, flac, mp1, mp2, midi and aiff files with volume control
     - TDebugParams
     - function GetDebugParams: TDebugParams;
     - procedure SetDebugParams(Params: TDebugParams);
     - function FindBitmapTolerance(Bitmap: Integer; var x, y: Integer; Tol: Integer): Boolean;
     - TBooleanArray (= array of Boolean)
     - function FindTransparentBitmap(Bitmap: Integer; var x, y: Integer; TranspCol, xs, ys, xe, ye: Integer): Boolean;
     - function FindTransparentBitmapTolerance(Bitmap: Integer; var x, y: Integer; TranspCol, xs, ys, xe, ye, Tol: Integer): Boolean;
     - function Average(Values: TExtendedArray): Extended;
     - function FindColors(var Points: TPointArray; Color, xs, ys, xe, ye: Integer): Boolean;
     - function FindBitmaps(Bitmap: Integer; var Points: TPointArray; xs, ys, xe, ye: Integer): Boolean;
     - function FindBitmapsTolerance(Bitmap: Integer; var Points: TPointArray; xs, ys, xe, ye, Tol: Integer): Boolean;
     - function CountBitmap(Bitmap: Integer; xs, ys, xe, ye: Integer): Integer;
     - function CountBitmapTolerance(Bitmap: Integer; xs, ys, xe, ye, Tol: Integer): Integer;
     - function GetFolders(Path: string): TStringArray;
     - procedure FreeMusicPlayer(Player: TMusic);
    
    Removed:
     - procedure rs_DeleteUID;
     - function rs_DeleteUIDEx(Folder: string): Boolean;
     - function rs_OnMinimap(x, y: Integer): Boolean;
     - function rs_FindMMColors(Color: Integer): TIntegerArray;
     - function RearrangeTPA(thearray: TPointArray; startpt, endpt: Integer; dox, up: Boolean): TPointArray;
     - Coordinate normalization (if xs > xe, then swap and same for y coords), this caused an unneeded slowdown and it's up to the user to use the functions properly
     - Script encryption has been removed, will be re-evaluated for SCAR 4.0
    Last edited by Boreas; 07-24-2009 at 06:58 AM.

  2. #2
    Join Date
    Jun 2007
    Location
    south park
    Posts
    1,160
    Mentioned
    0 Post(s)
    Quoted
    62 Post(s)

    Default

    oh great work man!
    http://www.youtube.com/user/YoHoJoSRL
    Good scripting guides on youtube
    Formerly known as (djcheater)

  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Hip Hip hurrayy for freddy!!!

    Now I can use different music types!!

  4. #4
    Join Date
    Oct 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    This man goes out of the way for us. Bless him.

  5. #5
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    nice Freddy
    :P

  6. #6
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Does anyone else get problems when dl'ing includes ? :S

  7. #7
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    But did you get a girlfriend? :P

    Good job, might just stick with 3.15b for now though.

    Although, could you elaborate on the FindTransparentBitmap?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  8. #8
    Join Date
    Nov 2008
    Location
    Belgium
    Posts
    254
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I must say, it looks great!!! The only thing that is weird, is that some scripts work with 3.15b but not with 3.20(especially the DTM's)

    (The script I'm currently using is Wizzup? Edgeville Fisher, which works on 3.15b but not on 3.20)

    EDIT: Just to say, don't worry, the other scripts I tryed are working fine
    Last edited by impiwimpi; 04-19-2009 at 04:54 AM.

  9. #9
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Dr D. Dervish View Post
    Does anyone else get problems when dl'ing includes ? :S
    Includes downloading didn't work for 3.15 either because kaitnieks' server is messed up, same thing happened to the news, SCAR 3.20 can download includes from my server, but I have yet to set up the scripts for it.

    Quote Originally Posted by Nava2 View Post
    But did you get a girlfriend? :P

    Good job, might just stick with 3.15b for now though.

    Although, could you elaborate on the FindTransparentBitmap?
    Gf... Don't get me started... No...
    Anyway, the new FindBitmapIn function works different than the original, it's a small detail, this one is more correct, it finds the exact bitmap, kaitnieks' let it match any color for a black pixel on the bitmap you were trying to find. FindTransparentBitmap allows you to do the same, it finds a bitmap and matches any color for the pixels with the transparent color on the bitmap you're trying to find. So if you entered black as color, it'll work exactly like kait's original function.

    Quote Originally Posted by impiwimpi View Post
    I must say, it looks great!!! The only thing that is weird, is that some scripts work with 3.15b but not with 3.20(especially the DTM's)

    (The script I'm currently using is Wizzup? Edgeville Fisher, which works on 3.15b but not on 3.20)
    That's odd, the DTM functions weren't changed at all...
    Last edited by Freddy1990; 04-18-2009 at 09:23 PM.

  10. #10
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Amazing! I will (ab)use it as much as I can!
    ~Hermen

  11. #11
    Join Date
    Jan 2009
    Location
    Somewhere
    Posts
    240
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I've got a problem. Scar 20 doesnt even open for me. Error 0xc0000005

    Reinstalled tons of times

  12. #12
    Join Date
    Apr 2009
    Location
    California!
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Omg nice job freddy!

    ~Penguin

  13. #13
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Woot, I needed a faster scar
    I do visit every 2-6 months

  14. #14
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I looked at the change log
    What are Regex Functions? I know that Regex was the guy to make Aryan, but nothing else.
    What is (procedure SetProxyDetails(Connection: Integer; IP: string; Port: Integer) for? Would it be used for something like SMART?
    And I laughed at 'Bug in debugging system'

    Edit: I see no Scroll bar on the function list, when it excedes the length =\
    Last edited by noidea; 04-19-2009 at 03:17 AM.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  15. #15
    Join Date
    May 2008
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Speed improvements! Good Job Freddy! (;

  16. #16
    Join Date
    Oct 2008
    Location
    Illinois
    Posts
    131
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Great job Freddy!
    -Rasta-

  17. #17
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Edit: I see no Scroll bar on the function list, when it excedes the length =\
    click on a function/procedure, and use the scroll bar on mouse or arrow keys
    I do visit every 2-6 months

  18. #18
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Colluci View Post
    I've got a problem. Scar 20 doesnt even open for me. Error 0xc0000005

    Reinstalled tons of times

    Could
    be vista, run as admin?
    ~Hermen

  19. #19
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Dr D. Dervish View Post
    Does anyone else get problems when dl'ing includes ? :S
    I tryed copying over old SRL rev 32 to the same spot and i get an error in math.scar now..

  20. #20
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Colluci View Post
    I've got a problem. Scar 20 doesnt even open for me. Error 0xc0000005

    Reinstalled tons of times
    i think i had the same thing as you, but then i tried running it again, and it worked fine. (at least this is the case for 3.20 RC4)
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  21. #21
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm getting the same error, first it had problems with BASS.dll, then it always has Error 0xc0000142


  22. #22
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Excellent Job Freddy! Havent used it yet but it looks nice

  23. #23
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Freddy1990
    Gf... Don't get me started... No...
    Anyway, the new FindBitmapIn function works different than the original, it's a small detail, this one is more correct, it finds the exact bitmap, kaitnieks' let it match any color for a black pixel on the bitmap you were trying to find. FindTransparentBitmap allows you to do the same, it finds a bitmap and matches any color for the pixels with the transparent color on the bitmap you're trying to find. So if you entered black as color, it'll work exactly like kait's original function.
    So, the old one already ignored any black pixels?

    Or is that the new one... Sorry, didn't follow what you meant.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  24. #24
    Join Date
    Nov 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  25. #25
    Join Date
    Apr 2009
    Location
    California!
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Omg <3 <3!!! TYVM!!

    ~Penguin

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •