Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LSL-Editor

Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
07-28-2007 05:03
Just uploaded a beta of LSL-Editor, experimenting on sound support.

enjoy your weekend.

-A.
Pavcules Superior
Registered User
Join date: 30 Oct 2006
Posts: 69
07-28-2007 09:32
Hi Alphons,

I'm wondering if you can go further with your LSL Editor. Do you know about Microsoft XNA Framework?

Although XNA is designed for creating 2D / 3D games easily, you could create a 3D world showing a Prim. Then when the LSL code is ran, the effects are also shown in the 3D world.

I don't know if you come across this SL tool, but "AvPainter" does use XNA.
http://www.slexchange.com/modules.php?name=Marketplace&file=item&ItemID=158462

For more information about XNA, you can visit the website here:
http://msdn2.microsoft.com/en-us/xna/default.aspx

Worth a thought!
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
07-28-2007 16:14
Hello Pavcules Superior,

Thanks for pointing me at XNA. As far as I can tell, it is an development API for XBox (and Windows), for creating games. I have some experience with Managed Direct-X. If we want some graphical functionality build into LSL-Editor, maybe MDX is a better solution. Don't want to rebuild (or copy) the complete Second Life environment dough :eek: .... But maybe some rotating cubes are nice :D

have fun.

-A.
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
07-28-2007 16:18
From: Alphons Jano
Hello Pavcules Superior,

Thanks for pointing me at XNA. As far as I can tell, it is an development API for XBox (and Windows), for creating games. I have some experience with Managed Direct-X. If we want some graphical functionality build into LSL-Editor, maybe MDX is a better solution. Don't want to rebuild (or copy) the complete Second Life environment dough :eek: .... But maybe some rotating cubes are nice :D

have fun.

-A.


XNA is basically MDX, and is where MDX is headed. You'll probably not notice any real significant difference, or at least not more than you'd usually notice between releases of MDX <smirk/>

.
_____________________
Lobo Faulkner
Registered User
Join date: 13 Jan 2006
Posts: 24
Want to Say thanks for this tool
07-29-2007 11:14
I am New to scripting and this tool has made the job of learning scripting that much easier and informative so wanted to say thanks for creating a tool that even a novice with minimal experince can try his hand at scripting

Thanks


Lobo Faulkner
Bobby Dayton
Test Pilot for Airfix
Join date: 15 Nov 2003
Posts: 206
08-01-2007 05:23
Thank's. This utility is very much appreciated.

I had hoped to use it at lunchtimes in work as ithe editor doesnt need installing. However our machines dont have the required .net installed, and we are not allowed to install any software on them. It's a shame it cant be built into the application.

Is the .net framework available for Pocket PC's? If it is then could the editor be ported over to it.

Bobby
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
release 2.11 of LSL-Editor
08-01-2007 10:47
As of today release 2.11 of LSL-Editor can be downloaded.

LSL-Editor: is a standalone Windows "Editor / Compiler / Debugger / Syntax checker / Runtime environment" for Second Life scripts, based on .NET framework. Because it does not need Second Life grid nor viewer, it is very useful when the grid is down for maintenance, or when you are not connected to it. It can compile and execute many LSL scripts, but also the code completion, features make it a "must have".

This is just a minor update.

http://www.lsleditor.org/

Regards.
-Alphons.
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
As of today release 2.12 of LSL-Editor can be downloaded
08-10-2007 05:43
As of today release 2.12 of LSL-Editor can be downloaded.

LSL-Editor: is a standalone Windows "Editor / Compiler / Debugger / Syntax checker / Runtime environment" for Second Life scripts, based on .NET framework. Because it does not need Second Life grid nor viewer, it is very useful when the grid is down for maintenance, or when you are not connected to it. It can compile and execute many LSL scripts, but also the code completion, features make it a "must have".

Again, this is just a minor update. Thanks for sending in bug-reports. Fixing bugs goes at a small pace at this moment due to my outdoor activities ;-) However some bugs are considered as 'known issues'. Some of them are listed on this page http://www.lsleditor.org/Todo/


This release contains an Offline Wiki option.
Go to menu Tools->Editor Properties->Help
When Okaying the properties screen, it should ask for downloading the LSLEditorHelp.chm file. It is downloaded and stored in the same directory as LSLEditor and is used every time you hit F1.


If you want, for some reason, download the LSLEditorHelp.chm file yourself, please visit and read instructions on this page: http://www.lsleditor.org/LSLEditorHelp/
The file is hosted at SendSpace (about 3.3 MB).

The LSLEditorHelp.chm file is compiled from a snapshot taken at 7-7-2007 (thanks to Osgeld Barmy) from www.lslwiki.net This is the first release of this file. If you are a contributor to www.lslwiki.net your name should be in it ;-)

http://www.lsleditor.org/

The best thing, it is for free and updated on regular intervals, don't forget to donate if you find my work useful. Also in world donations to my Second Life "Alphons Jano" are appreciated.

Have fun.
-Alphons.
Dnali Anabuki
Still Crazy
Join date: 17 Oct 2006
Posts: 1,633
08-10-2007 07:53
Thank you from someone new to scripting. This is really helpful especially now with SL spiking so much.

I have donated via Paypal.
Seiren Martinek
Registered User
Join date: 4 Aug 2007
Posts: 1
Bug reports
08-10-2007 11:43
Hello all,

me and a friend we had a play with the editor. Please find below, two issues that need to be looked at. We were quite pleased with the environment of LSL but still, there is quite some way to go when it come to writing huge bulks of code or code-at-once. Keep up the good work everyone!

version 2.11.2769.33614 (downloaded from website).

Issue 1.
===========================
llParseString2List generates output much different than the in world scripting engine.
example:

myList = llParseString2List("Parsethisnow! i dare:you to.",["this","!"," "],[":"]);
llSay(0,"the list is now: " + llList2CSV(myList));

LSL-editor will output:

Object2: the list is now: Parse, now, i, dare, you, to.

and SL in-world will generate:

Object: the list is now: Parse, now, i, dare, :, you, to.



Issue 2.
===========================
string tmpString;

tmpString = "123";
tmpString = llInsertString(tmpString,"abc",2);
llSay(0, tmpString);

LSL-editor will output:
Object2:

and SL in-world will generate:

Object: 12abc3
Anthony Reisman
Registered User
Join date: 17 May 2006
Posts: 16
SVN or combining with ByronStar Eclipse project
08-10-2007 14:02
I was curious if the developers were planning to incorporate any CVS or SVN capabilities into the editor if they had seen Byron Star's project at http://byronstar-sl.sourceforge.net/ which is an Eclipse plugin.

Eclipse already has plugins available for handling SVN and CVS projects as part of the program.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
08-11-2007 03:10
From: RobbyRacoon Olmstead
XNA is basically MDX, and is where MDX is headed. You'll probably not notice any real significant difference, or at least not more than you'd usually notice between releases of MDX <smirk/>

.


I have heard that Microsoft is looking to discontinue MDX with XNA to replace it.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Animations Pfeffer
Registered User
Join date: 29 Jul 2007
Posts: 99
08-11-2007 08:27
This editor es VERY GOOD and VERY helpfull since you can run and test your scripts.
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
08-15-2007 05:27
Just updated the program. This is just a minor update release of LSL-Editor.
Thanks for all the support.

Seiren Martinek, the spacers are on the TODO list and llInsertString is not implemented on current release, it goes into the next release. For testing, you can check the beta release already.

Anthony Reisman, CVS is also on the TODO list, having some issues on using the .NET library for it.

Dnali Anabuki, thanks!!

have fun.

-Alphons.
Kiki Vansant
Registered User
Join date: 26 Jan 2007
Posts: 6
LSLEditor is Awesome! Thanks!
08-15-2007 19:58
I'm really loving this program...but I updated today and can't get the new verision (2.12) to run on XP. It gives me a minimized window in the toolbar, but the program itself never comes up. Any ideas?
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
08-16-2007 02:18
Hello Kiki Vansant,

There are some people reporting this problem. I can not reproduce this behaviour, so fixing it is really difficult.

Three possible solutions for this error (try only one of them ;-):

1) Start the program using /reset argument, e.g.:
LSLEditor.exe /reset

2) Try to maximise the window from within the toolbar. If this works, go to menu Tools -> Editor Properties -> Reset All

3) Try to locate the user properties file (or files) and delete it.
It is located somewhere like this path:

C:\Documents and Settings\SomeUserName\Local Settings\Application Data\Van_der_Heijden_Holding_B

You have to change "SomeUserName" and maybe C: drive depending on you personal system configuration

Hope this will help.

-Alphons.

ps. Try the beta release, position and size of the window are only restored when in the workingarea of primary screen.
Anthony Reisman
Registered User
Join date: 17 May 2006
Posts: 16
08-16-2007 09:53
From: Alphons Jano
Anthony Reisman, CVS is also on the TODO list, having some issues on using the .NET library for it.[/QUOTE


If we get to vote, I would vote for SVN personally. I like it better and it has some interesting collaborative features.

So I take it, that's a no on getting incorporated as part of Eclipse (your using .NET and it is Java based I think).
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
08-16-2007 10:15
From: Anthony Reisman

If we get to vote, I would vote for SVN personally. I like it better and it has some interesting collaborative features.

So I take it, that's a no on getting incorporated as part of Eclipse (your using .NET and it is Java based I think).


Eclipse is Java you are correct. I like SVN over CVS, the web interface does a nicer change log and creates archives on demand.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
hiro Voss
Registered User
Join date: 6 Oct 2006
Posts: 57
Anyone having problems with the redraw...
08-17-2007 12:29
I made a pretty drastic upgrade from an older version of LSL-Editor to the current recently and have found what seems like the constant format loop it runs through hurts performance pretty severely.

It is constantly redrawing the text (in what I assume is the check for format updates [i.e. text color, indention, etc.) but causes text editing to be quite painful. I find that typing in lines of code can sometimes be: type, app buffers key strokes, single letter appears, screen redraws, second letter appears, screen takes another pass, third letter appears, etc.

I turned auto indent off to see if that helped (very painful because I love auto indent) but didn't seem to help.

Anyone have any ideas for me? I love this tool but I just can't use it like this.
hiro Voss
Registered User
Join date: 6 Oct 2006
Posts: 57
Feature Vote...
08-17-2007 12:31
Custom function and variable names show up in the autocomplete. Even just variable names would be really great to cut down on the painful disease I seem to suffer from called "Fat Finger" disease.

Anyway, my humble request....

k.
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
08-18-2007 03:23
Hello Hiro Voss,

Drawing of the colored text area of LSLEditor is a bit slow on some computers. It is on the TODO list to get fixed.
Core Taurog
Registered User
Join date: 2 May 2007
Posts: 17
08-19-2007 04:33
Hi,

I've been playing with your editor a bit, and like it very much; thanks for the great work.

A couple of issues; I'm afraid that I've not read through this entire thread, so please forgive me if these have already been covered:

1. some of the sculpted prim constants aren't known by the editor:
PRIM_TYPE_SCULPT, PRIM_SCULPT_TYPE_SPHERE (for example)

2. I have a method like:
CODE
startup()
{
if (!initialised)
{
state init;
}
}


(with a state called init, obviously), but the Syntax checker tells me:
'state(string)' is a 'method' but it is used like a 'type'.

I'll let you know anything else I find,

regards,

Core
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
08-20-2007 12:34
Hello Core Taurog,

The error you've got is somewhat cryptic, sorry for that.
But as it is stated in the LSLWiki:

Q: Can I switch states within a user-defined function?
A: For all intents and purposes, no.

Thats all to it. The LSLEditor parser does not "translate" the state keyword in the global definitions part. Therefore an ugly error is reported :-)

-A.
Core Taurog
Registered User
Join date: 2 May 2007
Posts: 17
08-20-2007 13:07
Fair enough :)

That method did have a lot more stuff in it, and the state switch there was more appropriate. given that it's rather short now, I should probably just move the code to where it's called from :)

Core
hiro Voss
Registered User
Join date: 6 Oct 2006
Posts: 57
08-21-2007 23:16
From: Alphons Jano
Hello Hiro Voss,

Drawing of the colored text area of LSLEditor is a bit slow on some computers. It is on the TODO list to get fixed.


Great, thanks Alphons, I look forward too it.

Killer editor by the way.
1 2 3 4 5 6 7 8 9 10 ... 13