Page 1 of 2 12 LastLast
Results 1 to 25 of 28

Thread: SCAR 3.20 issues

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

    Default SCAR 3.20 issues

    Hi,

    I've kinda growing tired of people posting about issues with SCAR 3.20 and such... In fact, at the moment there are no bugs in SCAR 3.20b's color or bitmap routines known to me.

    First off, if you have SCAR 3.20, ditch it, get 3.20b, 3.20 has a problem with the HSL tolerance comparison mode for several functions.

    Issues:

    I've found that people find it easy to blame their own stupidity on SCAR, if you write a mistake in your code and it results in a function not working properly, it's not a bug in SCAR.

    SCAR 3.20 has a fundamental difference with the 3.1x and previous versions. FindBitmap, FindBitmapIn, FindBitmapTolerance and FindBitmapToleranceIn no longer skip black pixels on the bitmap you're trying to find. Instead 2 new functions have been added which allow you to find a bitmap and skip the pixels of a predefined color. FindTransparentBitmap and FindTransparentBitmapTolerance.

    Now if you do actually find a bug, please post it on my forums so I'll actually know about it. http://freddy1990.com/forums/index.php?board=82.0

  2. #2
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Oh sweet. Never knew SCAR 3.20B was out, Thanks!

  3. #3
    Join Date
    Feb 2006
    Location
    Helsinki, Finland
    Posts
    1,395
    Mentioned
    30 Post(s)
    Quoted
    107 Post(s)

    Default

    Great post, Freddy! Worth a sticky, IMHO.

    Now if everyone just could notice this...

  4. #4
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Same, I'm not having troubles with 3.20b either.

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

    Default

    Spread the news!
    ~Hermen

  6. #6
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Nice.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  7. #7
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    Awsome our headline (marquee) should say Download Scar 3.20b for a while :P

    just a suggestion, GJ Freddyadooo lol

  8. #8
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great job freddy .

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

    Default

    Everyone should read this!
    Sticky!
    ~Hermen

  10. #10
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol as i've mentioned in a few other threads...

    SCAR 3.20+ = TH3 B0MB!

    I've currently abused almost all of your new functions too, GJ! Definetly worth a sticky!

  11. #11
    Join Date
    Dec 2006
    Location
    SC
    Posts
    692
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for posting. So glad I read this, as I didn't know about the new bitmap transparency functions. Was wondering why bitmaps weren't working like they used to .

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

    Default

    Quote Originally Posted by Nadeem View Post
    lol as i've mentioned in a few other threads...

    SCAR 3.20+ = TH3 B0MB!

    I've currently abused almost all of your new functions too, GJ! Definetly worth a sticky!
    SCAR 3.21 Alpha 1 is available on my forums, it's basically SCAR 3.20b with some small fixes and the addition of TransparentBitmap functions for multiple bitmaps like FindBitmaps

    EDIT: I've found that the FindTransparentBitmap functions have a fundamental flaw which will basically render them useless as they'll only be working on rare occasions... However, I've already fixed them and I'll be fixing the new ones I added for 3.21 and then release 3.20c. Here's a little something to show you the progress that this new SCAR brings though, even though it's getting a rough start http://freddy1990.com/devblog/?p=45
    Last edited by Freddy1990; 05-06-2009 at 06:25 AM.

  13. #13
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha awesome! dling now! I've just finished abusing your GetDebugParams; feature in my re-coded agil trainer last night its awesome! hope to see more friendly features as such. But sticking more to topic, I really haven't noticed any problems except for small annoying issues such as, ctrl + spacebar sometimes gives a SCAR runtime error while coding, but does not close SCAR. Also when copy and pasting a piece of code, the top few lines go white/blank until i highlight them.

  14. #14
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The second bug Nadeem mentioned I also get.

  15. #15
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Hey Freddy, did the script engine get updated between 3.20 and 3.15?
    Interested in C# and Electrical Engineering? This might interest you.

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

    Default

    Quote Originally Posted by Smartzkid View Post
    Hey Freddy, did the script engine get updated between 3.20 and 3.15?
    Of course. I hope to have fixed the bugs in all transparentbitmap functions today, then I'll release 3.20c which also has a new version of the script engine with 2 more bugs fixed.

    EDIT: SCAR 3.20c has been released:
    Code:
    SCAR Divi 3.20c:
    ----------------
    
    Bugfixes:
     - BitmapMaskFromText and CreateBitmapFromText didn't recycle bitmap indexes
     - Memory leak in the script editor component
     - FindTransparentBitmap functions didn't work properly for transparent bitmaps
     
    Improvements:
     - The DTM system now recycles the DTM array
    
    Additions:
     - function FindTransparentBitmaps(Bitmap: Integer; var Points: TPointArray; TranspCol, xs, ys, xe, ye: Integer): Boolean;
     - function FindTransparentBitmapsTolerance(Bitmap: Integer; var Points: TPointArray; TranspCol, xs, ys, xe, ye, Tol: Integer): Boolean;
     - function CountTransparentBitmap(Bitmap: Integer; TranspCol, xs, ys, xe, ye: Integer): Integer;
     - function CountTransparentBitmapTolerance(Bitmap: Integer; TranspCol, xs, ys, xe, ye, Tol: Integer): Integer;
    Last edited by Freddy1990; 05-07-2009 at 06:23 AM.

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

    Default

    I'm not able to download includes on 3.20d....

    Thought it was unnecessary to make a new topic so I'll ask here.

  18. #18
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dr D. Dervish View Post
    I'm not able to download includes on 3.20d....

    Thought it was unnecessary to make a new topic so I'll ask here.
    Then just download the includes with 3.20c and then install 3.20d on top of 3.20c and would work



    ~NS

  19. #19
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    So 3.20d is in full working order?
    Jus' Lurkin'

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

    Default

    Quote Originally Posted by Torrent of Flame View Post
    So 3.20d is in full working order?
    Apparently. I switched two days ago.
    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

  21. #21
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    A side question partly related. Will scar be able to run with more operating systems in the future? MAC?

  22. #22
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  23. #23
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    alright, thanks for the conformation

  24. #24
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by mrpickle View Post
    alright, thanks for the conformation
    While SCAR is Windows only, one of Freddy's future projects is called Leviathon, which aims to be a cross-platform version of SCAR. However, I don't think it's very high on his to-do list, so it might be a very long time coming.

  25. #25
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not future, discontinued (so I was told, when I mentioned that).

Page 1 of 2 12 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
  •