The first open-beta version of SCAR has been released, you can find it here: http://freddy1990.com/forums/index.php?topic=2924.0
Printable View
The first open-beta version of SCAR has been released, you can find it here: http://freddy1990.com/forums/index.php?topic=2924.0
It looks awesome!
Hmm, btw - could just list a couple noteworthy new functions?
Ooooo I'll check it out and be back to ya.
-Shermanator
Worth looking at.
PS. The tabs were an awesome addition to SCAR. Cant remember the version I used to use that was far from useful (2.03 i think, true, its good for private servers :D)
Yesz!
SCAR Code:- 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;
I badly hope the plugin overwrites them.
So... Let's figure out how to replace functions.
How much picoseconds did that save?Quote:
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
SCAR Code:program New;
begin
writeln(integer(10.0));
end.
Found a bug...
Open 3 scripts then close the middle one (via tabs) then press File.....
Very nice! Changes are noticed right as the program starts up!
Yaya Freddy! Looks c3xy!
Looks good, there is a bug with opening a new tab if the first tab has not been edited.
Wasn't there to be a bigger update to the function list?
I like how it attempts to open all scripts selected if you open multiple. It keeps missing one though.
So negative?
Quite a few actually...
I'll be adding more, and no the plugin doesn't override them. The improved plugin system allows for overriding, but it doesn't override by default. Examples are in testplugin. However, I don't see why you'd want the plugin to override them...
Thanks, I'll have a look at that.
Nava, I'll also check out your bug
But you didn't need to include SRL to use them =/
EDIT: Oh, those functions are not in a plugin. I thought they were.
Why does SCAR offer to auto download it and move the plugins? Everyone who installs SCAR automatically gets SRL. I know very few people who would click on 'no'. In fact, I don't think someone uses SCAR without having SRL in his /includes/ folder.
The only thing that surprises me is that you actually believe that yourself. :)
@Janilabo, do you not have SRL installed?
It's not the new tabs actually, it's the underlying code which I already put in there before the new tab components, I'd written it for SCAR 4, it's not exactly... compatible, so it needs a lot of work
SCAR offers to download SRL because Fakawi requested it to be added when SCAR Divi was first created. And why does it bug you so bad? The functions do the same and they do it as fast, if not faster than the ones in WizzyPlugin, I don't see a problem, and if you want, you can use the plugin system to override them... Only requires minor changes to WizzyPlugin...
If you're trying to provoke me, you're doing a really lousy job, so please, just don't try because I'm not in the mood for a discussion and certainly not in this topic. I know plenty of people who don't use SRL and/or don't even use SCAR for Runescape.
I don't have SRL installed.
I don't use it, so why would I need it? Waste of space.
-I haven't been playing RuneScape since summer 2004, not even macroing. The RS2 simply just sucks in my opinion (you maybe know what I mean, if you ever got to play the real deal - RSC, before it was ruined by bots). I used SCAR for RuneScape classic, but now that the public version of RSC is pretty much closed, I have stayed away from RuneScape.com.. August 2001 - december 2003 legit playing, 2004 macroing with SCAR <3
Nowadays I use SCAR for small tasks (script to one other [M]MORPG, whenever I feel like it, but rarely nowadays)... Mostly 'building' my exerciseLogger with it :) But there's been other small utilities I have been working on, too...
It appears that FindColorsTolerance is broken, I've fixed it and I'll release a new Beta version as soon as I get the other bugs fixed.
yay my bit is in there :D
well done on release
~shut
The new GUI is totally useless, please explain what is so much better & worth buying over free software?
I mean, really...:
http://i178.photobucket.com/albums/w...y_P45/Scar.jpg
Aside from the fact that you're not even showing a quarter of the changes thanks to the new components, they were never intended for SCAR 3.x, they were intended for SCAR 4. And if you have nothing better than destructive criticism... Then just don't post at all?
Well, aside from the improvements you did make.. I was focusing on the GUI which you bought & since you had made the thread about Wizzup telling people not to donate, I'd like to see if there was any real upgrade that was spent with donations, beside an unnecessary upgrade of graphics.
Alerts and the new components made available to the script engine. And besides, it's not your place to tell me I'm spending my donations poorly, first of all, you didn't donate so you don't lose anything from me buying these components. And second, if you think I spend donations that bad, then please do tell me, what do you suggest I spend them on?
And finally, I don't have to work on SCAR, it's something I do voluntarily, so I don't have to take crap from you or anyone else either.
I got your back Freddy... no worries. To be honest I am ALWAYS using scar only and not srl. I may not be the most respected or even well-known on these forums because I don't post much and tbh I dont bring much to the table, however I do come on very regularly just to see whats going on and for anybody to argue or say anything negative about Freddy's work is ridiculous and should not be tolerated. Last time I checked he is one of the main contributors to why this forum is even up and working right now. All he did was post his work which looks really cool and all you guys say is fix this and change that... stfu and do it yourself if you think you could do so much better.
All he has to do is make everything private and what would we do then... I just can't believe respected members of this forum are talking to a person of the highest power like this.
haha definately no need for this, whats the point of trying to provoke a fight???
pretty sure wizzup and freddy have known each other for a long time and do not see each other as one being lower than the other
back on topic good job releasing a beta version it should allow you a lot more time coding scar not looking for bugs
just a question
what are the changes?
could you make a list for us please?
~shut
its in the installation...
omg! no more need to change datatypes in WriteLn!Quote:
SCAR Divi 3.20:
---------------
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
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 pretty much 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
- PlaySound now supports mp3
- GetSoundDuration now supports mp3
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 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])
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
I just want to point out to all you people in the thread who have criticised Freddy for whatever reason, that he did this for free out of his own time. If you don't like it, then don't use it. Its not your place nor your right to criticize someone who is getting nothing from doing everything for you.
Found 2 bugs:
Cant open new tab (using rightclick-open new tab) if current tab has new script in (Untitled) and there are no other tabs open
The toolbar for opening tabs has disappeared.
-- BadProcessor
This thread is solely for beta testing and giving constructive feedback on this version of SCAR. Off topic criticisms and concerns of a personal nature are not appropriate here, and should be handled via private messaging.
Any further such behavior will result in temp bans.
New writeln is hot
Dan Cardin: You could have done this in any other version of SCAR:
SCAR Code:program New;
procedure asm(v: variant);
begin
writeln(v);
end;
begin
asm(2.5);
asm(2);
asm('hey');
asm(true);
end.
You can ofcourse rename the 'asm' procedure to anything you want... package? (or just wWriteLn) :)
Such a hassle for four lines of code... :)
Anyway, BenLand100 pointed it out quite awhile ago...
http://www.villavu.com/forum/showthread.php?t=11787
and
http://www.villavu.com/forum/showthread.php?t=8453
Well, now you don't need any extra code, writeln doesn't support types such as tpoint and such yet though, i might add that, but I'm not sure yet
Wizzup: theres no way i could be bothered to do that! i mean really!!
i'd rather just write it out the regular way, because having a whole nother 4 lines would bother me :(
though your lil' script brings up two interesting things
1. for some reason SCAR 3.20 highlights "asm" :p
2. (also in SCAR 3.20) your script doesnt actually do anything, lol
and 3.!...wtf?http://i33.tinypic.com/73o6yt.jpg