Freddy1990
2008-10-28 15:01:37
2008-10-28 15:01:37
2008-10-28 15:14:20
2008-10-28 15:18:07
2008-10-28 15:30:30
2008-10-28 15:44:40
From: EvilChicken!
It looks awesome!
Hmm, btw - could just list a couple noteworthy new functions?
2008-10-28 16:02:41
- 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;2008-10-28 16:12:03
From: mastaraymond
Yesz!
- 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;
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
program New;
begin
writeln(integer(10.0));
end.
2008-10-28 16:15:51
2008-10-28 16:19:35
2008-10-28 16:34:52
2008-10-28 16:43:15
2008-10-28 16:53:34
From: Yakman
How much picoseconds did that save?
From: mastaraymond
Yesz!
- 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;
From: JuKKa
Found a bug…
Open 3 scripts then close the middle one (via tabs) then press File…..
2008-10-28 17:01:58
From: Freddy1990
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…
2008-10-28 17:15:07
From: Wizzup?
I don't see why you added them.
2008-10-28 17:18:18
2008-10-28 17:23:43
From: Freddy1990So true, I am one of those people. :)
It might come as a surprise to you, but not everyone uses SRL
2008-10-28 17:28:41
From: Freddy1990
It might come as a surprise to you, but not everyone uses SRL
2008-10-28 17:29:18
From: Janilabo
But like people have been pointing out already, the new tabs have a lot of problems at the moment.. Hopefully there will be fixes for em :p
From: Wizzup?
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.
From: Wizzup?
The only thing that surprises me is that you actually believe that yourself. :)
2008-10-28 17:39:07
From: Freddy1990
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.
2008-10-28 17:39:54
From: Wizzup?I don't have SRL installed.
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?
2008-10-28 17:43:38
2008-10-28 17:50:12
2008-10-28 20:24:12
2008-10-28 20:54:31
2008-10-28 21:08:13
From: Freddy1990
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?
2008-10-28 21:20:35
From: [-jesus-]
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.
2008-10-28 21:44:11
From: Freddy1990
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.
2008-10-29 05:24:22
From: nhstarter10
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.
2008-10-29 05:57:55
2008-10-29 06:54:45
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
2008-10-29 07:27:17
2008-10-30 13:41:09
2008-10-30 14:34:07
2008-10-30 15:49:12
From: tarajunky
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.
2008-10-30 15:55:48
2008-10-30 15:57:05
From: NiCbaZ
The only people who have done that is Wizzup and [-Jesus-]
:rolleyes:
2008-10-30 17:19:07
From: Mylesmadness
New writeln is hot
2008-10-30 18:06:40
program New;
procedure asm(v: variant);
begin
writeln(v);
end;
begin
asm(2.5);
asm(2);
asm('hey');
asm(true);
end.2008-10-30 18:30:27
2008-10-30 19:16:52
2008-10-30 19:26:18
2008-10-30 19:50:59
From: N1ke!
We need support for TPoints and such.. otherwise it be a function in each script to solve it :/
2008-10-30 20:12:12
From: Dan Cardin
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?![]()
2008-10-31 05:41:42
From: Wizzup?
Yea the asm was intented to be a little joke, the bolded procedure looks sort of cool… I'll explain:
It works in SCAR 2.03 and onwards, till SCAR 3.15b. (Haven't tested it in SCAR 3.20)
All the SCAR's highlight asm, but doesn't use it… Why it mocks up the rest of the highlighting, is simple. It waits for an end; but since SCAR doesn't allow you to use asm, the highlighting totally mocks up.
Add an end; after asm, you will see the highlighting it fixed but then SCAR won't interpreted your program anymore. SCAR doesn't use asm, so you can use it as an variable, procedure, function, whatever you want.
Same goes for package, by the way. And don't even try to use 'uses' or 'class', SCAR attempts to use them while the engine doesn't (fully) support the words. They are however still highlighted and some flawed attempts are made to use them. The bug that you got might also be the newly bought components, but then again, I can't tell… :)
2008-10-31 09:37:15
2008-10-31 11:56:23
From: Wizzup?
The bug that you got might also be the newly bought components, but then again, I can't tell… :)
2008-10-31 12:48:08
From: Freddy1990
Bug?
2008-11-01 19:12:52
From: Freddy1990
Bug?
2008-11-02 18:14:13
From: R0b0t1
Feature!
From: HyperSecret
Looks nice Freddy. Keep up the great work!
Use your donations for whatever you want ;). You deserve it.
2008-11-03 01:57:47
From: Wizzup?
Well, would you not call it a bug then? I'd at least say that the syntax highlighter does not work properly. In a way, you could surely call it a bug.
(Don't tell me you don't think this a bug… This is exactly what I meant in the other thread…)
2008-11-03 02:22:12
From: Freddy1990
No, I just didn't know what you were referring to… Sorry for asking…
From: Dan Cardin
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?![]()
2008-11-03 22:55:31
2008-11-04 08:25:50
2008-11-04 08:41:50
2008-11-04 09:42:01
2008-11-04 09:53:02
From: Dan Cardin
it wouldnt show the link in the news as blue if it was a TMemo, am i correct?
anyways, i meant to point out that Wizzup's script didnt work even without asm, and that asm did indeed be bolded. Though i didnt realize that it was screwing up the highlighting as well.
and Nielsie95, sometimes i wonder if you just make some of these things up (since half the time i have no idea of the things you do…in this instance "Format" :p)
2008-11-04 11:06:41
2008-11-04 12:17:04
2008-11-04 13:57:26
2008-11-04 16:34:11
begin
Alert('Love thiss featureeee!!! <3');
end.2008-11-04 18:54:11
2008-11-05 07:26:45
From: ~~Joker~~
awsome, cant wait for full version, though did this cost alot of $$$ that you needed?
2008-11-05 15:51:41
From: Freddy1990When was the last time mopar was up? I haven't seen it in for ever
The whole component set was $129 which is a really good deal, I got a serious reduction because of a special offer as well and by buying the full set I also save loads…
Btw, you can also support SCAR by purchasing VPS hosting at Serverax Ltd, you can find the topic about it here: http://www.moparisthebest.com/smf/index.php/topic,317705.0.html
2008-11-08 09:17:08
2008-11-08 18:18:21
2008-11-09 19:27:10
From: Freddy1990Did I read that right? OOP will be in scar 4.0? WOOT
The whole component set was $129 which is a really good deal, I got a serious reduction because of a special offer as well and by buying the full set I also save loads…
Btw, you can also support SCAR by purchasing VPS hosting at Serverax Ltd, you can find the topic about it here: http://www.moparisthebest.com/smf/index.php/topic,317705.0.html
2008-11-10 05:03:13
From: Mylesmadness
Did I read that right? OOP will be in scar 4.0? WOOT
2008-11-10 05:08:34
2008-11-11 16:50:57
2008-11-11 17:01:46
2008-11-12 01:56:16
From: A G E N T 83
Don't know if it would be possible because of variable typing, but a var dump function would be really handy :) [ie, without having to call XToY()]
2008-11-20 20:46:35
2008-12-24 00:33:21
2008-12-24 16:08:39
KeyDown(118);
keydown(vk_f7);
uses the mouse, not the keyboard to go to the mage tab using scar 3.20. How do i use the keyboard f-keys to select mage tab using scar 3.20?