SRL Archive - General

SCAR Divi 3.20 Beta 7


Freddy1990

2008-10-28 15:01:37

The first open-beta version of SCAR has been released, you can find it here: http://freddy1990.com/forums/index.php?topic=2924.0

EvilChicken!

2008-10-28 15:14:20

It looks awesome!



Hmm, btw - could just list a couple noteworthy new functions?

The_Shermanator

2008-10-28 15:18:07

Ooooo I'll check it out and be back to ya.

-Shermanator

Bad Processor

2008-10-28 15:30:30

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)

Freddy1990

2008-10-28 15:44:40

From: EvilChicken!
It looks awesome!



Hmm, btw - could just list a couple noteworthy new functions?


Check the changelog, it's not at all done though

mastaraymond

2008-10-28 16:02:41

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;



I badly hope the plugin overwrites them.

Yakman

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;


So… Let's figure out how to replace functions.

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


How much picoseconds did that save?

program New;
begin
writeln(integer(10.0));
end.

JuKKa

2008-10-28 16:15:51

Found a bug…

Open 3 scripts then close the middle one (via tabs) then press File…..

TravisV10

2008-10-28 16:19:35

Very nice! Changes are noticed right as the program starts up!

noidea

2008-10-28 16:34:52

Yaya Freddy! Looks c3xy!

Nava2

2008-10-28 16:43:15

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.

Freddy1990

2008-10-28 16:53:34

From: Yakman

How much picoseconds did that save?


So negative?

Quite a few actually…


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;


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…

From: JuKKa
Found a bug…

Open 3 scripts then close the middle one (via tabs) then press File…..

Thanks, I'll have a look at that.

Nava, I'll also check out your bug

Wizzup?

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…


I don't see why you added them.

Freddy1990

2008-10-28 17:15:07

From: Wizzup?
I don't see why you added them.


It might come as a surprise to you, but not everyone uses SRL

bullzeye95

2008-10-28 17:18:18

But you didn't need to include SRL to use them =/

EDIT: Oh, those functions are not in a plugin. I thought they were.

Janilabo

2008-10-28 17:23:43

From: Freddy1990
It might come as a surprise to you, but not everyone uses SRL
So true, I am one of those people. :)

Thanks for the great work Freddy, "mucho appreciateeed"!

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

Wizzup?

2008-10-28 17:28:41

From: Freddy1990
It might come as a surprise to you, but not everyone uses SRL


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?

Freddy1990

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


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

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.


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…

From: Wizzup?
The only thing that surprises me is that you actually believe that yourself. :)

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.

Wizzup?

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.


I am not provoking you. ;) I am just stating what I stated when you first told me about it.
I'll quit about it, but to be honest, you are never in the mood for discussion. ;)

Janilabo

2008-10-28 17:39:54

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.
The only thing that surprises me is that you actually believe that yourself. :)

@Janilabo, do you not have SRL installed?
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…

Freddy1990

2008-10-28 17:43:38

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.

Shuttleu

2008-10-28 17:50:12

yay my bit is in there :D

well done on release

~shut

[-jesus-]

2008-10-28 20:24:12

The new GUI is totally useless, please explain what is so much better & worth buying over free software?

I mean, really…:

Freddy1990

2008-10-28 20:54:31

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?

[-jesus-]

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?


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.

Freddy1990

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.


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.

nhstarter10

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.


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.

Bonfield

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.


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

Shuttleu

2008-10-29 05:57:55

just a question
what are the changes?
could you make a list for us please?

~shut

Dan Cardin

2008-10-29 06:54:45

its in the installation…

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


omg! no more need to change datatypes in WriteLn!

bobng

2008-10-29 07:27:17

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.

Bad Processor

2008-10-30 13:41:09

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

tarajunky

2008-10-30 14:34:07

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.

NiCbaZ

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.


The only people who have done that is Wizzup and [-Jesus-]
:rolleyes:

Anyway, Freddy I love it so much the new look is awesome.

MylesMadness

2008-10-30 15:55:48

New writeln is hot

tarajunky

2008-10-30 15:57:05

From: NiCbaZ
The only people who have done that is Wizzup and [-Jesus-]
:rolleyes:


Then you've got nothing to worry about, do you? :)

Dan Cardin

2008-10-30 17:19:07

From: Mylesmadness
New writeln is hot


i know! i was like "Woah!" and then Freddy was like "Yup!" and then i was like ":)!". No more need to convert stuff when i write my lines makes me want to mas….errmmm….cry for joy!

Wizzup?

2008-10-30 18:06:40

Dan Cardin: You could have done this in any other version of SCAR:

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

Freddy1990

2008-10-30 18:30:27

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

Dan Cardin

2008-10-30 19:16:52

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?

Naike

2008-10-30 19:26:18

We need support for TPoints and such.. otherwise it be a function in each script to solve it :/

Freddy1990

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 :/


It's not that I don't want to add those, it's just not that easy to do, but I'll do what I can

Wizzup?

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?


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… :)

Freddy1990

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… :)


Bug?

HyperSecret

2008-10-31 09:37:15

Looks nice Freddy. Keep up the great work!

Use your donations for whatever you want ;). You deserve it.

GoF

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… :)


That asm thing is ancient. I noticed it ages ago, just thought it was meant to be like that or something.

Wizzup?

2008-10-31 12:48:08

From: Freddy1990
Bug?


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…)

R0b0t1

2008-11-01 19:12:52

From: Freddy1990
Bug?


Feature!

EvilChicken!

2008-11-02 18:14:13

From: R0b0t1
Feature!


Sorry for just adding more spam, but that was a genious post, r0b0t1!

..

x3


E: FINE, FINE;

From: HyperSecret
Looks nice Freddy. Keep up the great work!

Use your donations for whatever you want ;). You deserve it.


QFT, my exact opinion.

Freddy1990

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…)

No, I just didn't know what you were referring to… Sorry for asking…

Wizzup?

2008-11-03 02:22:12

From: Freddy1990
No, I just didn't know what you were referring to… Sorry for asking…


Misunderstanding there then…. :)
I replied to this:
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?

R0b0t1

2008-11-03 22:55:31

God damn it, I told you people, it is a feature!

Nava2

2008-11-04 08:25:50

So, how would you call the new WriteLn if you want to use different things in it?

Like: Writeln('HAI, I am the Number' + 12);

Like that?

Also, you should add colors to the writeln ;) Just switch up the debug box for a TRichEdit instead of a TMemo. :D

nielsie95

2008-11-04 08:41:50

WriteLn(Format('Hello %s, this is test #%d', ['Nielsie95', 3]))

Also, I don't think the debug box is a TMemo ;)

Dan Cardin

2008-11-04 09:42:01

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)

mastaraymond

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)


http://www.delphibasics.co.uk/RTL.asp?Name=Format

Dan Cardin

2008-11-04 11:06:41

i know i looked right after i read his post :p

mixster

2008-11-04 12:17:04

I don't think the WriteLn Wizzup posted works with SCAR 3.20 as it is altered (I tried with 3.15b and worked fine). I do love having format instead though, as escaping and adjoining loads of messages is very annoying, so just doing the %d etc. makes it much nicer, like with printf in C :)

vikrant60

2008-11-04 13:57:26

Hey Freddy Nice Job Done Mate :)

When i was reading through this thread i was like wow you guy are like little kids complaining about such small things that could help you out in the future, you should be so great full that Freddy released a new version of Scar.
Freddy deserves some Respect.
Its just that we should be thanking not complaining.

Good Day Everyone :)

Timer

2008-11-04 16:34:11

Haha! I love it!

begin
Alert('Love thiss featureeee!!! <3');
end.

Thx for the release freddy!

P1nky

2008-11-04 18:54:11

awsome, cant wait for full version, though did this cost alot of $$$ that you needed?

Freddy1990

2008-11-05 07:26:45

From: ~~Joker~~
awsome, cant wait for full version, though did this cost alot of $$$ that you needed?


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

MylesMadness

2008-11-05 15:51:41

From: Freddy1990
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
When was the last time mopar was up? I haven't seen it in for ever

Gavril

2008-11-08 09:17:08

A few things to consider for SCAR

More/better-support-for "general" functions. Some examples:
- ArrayPush/ArrayPop, ArrayMerge (both + and |)
- Debug/writeln (there seriously needs to be a debug-like function that can simply spit out the value of a variable, including type records and arrays).
- Allowing the declaration of `const` variables inside of procedures and functions (local constants).
- Procedure and function order shouldn't matter. Top down coding is cool and all, but its outdated by now =D

Increased stability and accuracy.
- Ive noticed that sometimes when RS and SCAR run for an extended period of time, SCAR seems to `lose` the ability work properly (getting chatlines results in gibberish, etc).

Janilabo

2008-11-08 18:18:21

Beta 8 of SCAR Divi 3.20 is out, YAY! :D

MylesMadness

2008-11-09 19:27:10

From: Freddy1990
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
Did I read that right? OOP will be in scar 4.0? WOOT

Freddy1990

2008-11-10 05:03:13

From: Mylesmadness
Did I read that right? OOP will be in scar 4.0? WOOT


Yes, Phoenix will feature full support for user-defined classes and such

Iron Man

2008-11-10 05:08:34

Hmm, with Beta 8 so far the only bug is that when copying+pasting sometimes takes a while to show that you copied+pasted, but maybe that's just my computer. Looks nice though freddy. :)

Freddy1990

2008-11-11 16:50:57

Already fixed 2 reported bugs, next version will be RC1

A G E N T

2008-11-11 17:01:46

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()]

Freddy1990

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()]


Well, writeln can now take about every base-type, but a real vardump function is rather difficult…

A G E N T

2008-11-20 20:46:35

OK, well if Writeln can handle any variable then I guess that's pretty good in of itself :) [I'm assuming this doesn't mean arrays as well. An array printing function would be nice too, if it can be done :)]

Nava2

2008-12-24 00:33:21

An Add Element and Remove element would be a useful addition to the newest Scar, where the Inputted array can be ANY type.

nhstarter10

2008-12-24 16:08:39

Using both of these

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?