Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Where do you do your scripting? In SL or Offline in a Editor?

Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
04-24-2009 07:17
Where does the majority of your scripting take place?

Do you sit inside SL and script or do you do it offline using an editor of some sorts?
_____________________
WooT
------------------------------

http://www.secondcitizen.net/Forum/
Maelstrom Janus
Ban Ban Lines !!!
Join date: 4 Jul 2007
Posts: 1,220
04-24-2009 07:28
I generally fiddle around with other peoples scripts, cross my fingers click my heels three times and hope what I cannibalised works in sl....

that doesnt mean to say I wouldnt have a go outside sl if I knew the first thing about this technical stuff.......

heavens getting a door to work in sl takes a masters degree in computer science :D
_____________________
The Janus Chrononauts - 'Investigate and Explore.'
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
04-24-2009 07:55
I do my scripting work almost exclusively offline, and have done so for almost two years now. I have a hard time understanding why anyone would want to do any non-trivial script work in-world, as it's so painful and non-productive compared to offline editing.

The only time I do any online scripting is when I need to quickly iterate something to test out some specific values.
_____________________
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-24-2009 08:04
Aquamacs and xlsl-mode, mostly. It's a pain to shuffle text between programs, but the built-in editor is bad enough that it's worth the trouble. The fancier IDE-type tools out there weren't as interesting in practice as they initially looked. The w-hat lint is sometimes interesting to look at but it throws up too many false positives.
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
04-24-2009 08:16
From: RobbyRacoon Olmstead
I do my scripting work almost exclusively offline, and have done so for almost two years now. I have a hard time understanding why anyone would want to do any non-trivial script work in-world, as it's so painful and non-productive compared to offline editing.

The only time I do any online scripting is when I need to quickly iterate something to test out some specific values.



This
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-24-2009 08:37
Notepad, or noteTab(when I move it over from my old Comp) then test it inword to check it compiles... yes I should just use and editor, which could check most of that... but I used notepad for everything from writing webpages/css/jscript to pre-writing code for other languages... nice small footprint, I can save my work in a single format, and don't have the distraction of tons of features I don't really use or need for the main portion of the work.

ETA: or right here on the forums, since I added all the keywords to my spellchecker =)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
04-24-2009 09:03
100% offline even when logged in. Personalized copy of Scite with auto complete and much more including ability to test the script with LSLEditor built in.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
04-24-2009 09:17
I write 99.9% offline in 'NoteTab Light'. I compile and debug inworld.:)
_____________________
From Studio Dora
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
04-24-2009 11:21
Almost exclusively in-world. The editor is pretty sad, although at this point the only thing I really miss is a split-window view. I gladly put up with that in exchange for the immediate gratification of a code-test-debug cycle measured in seconds.

(It might have been different for me if I'd found a passable lsl mode for emacs when I started out, but too late now.)
_____________________
Archived for Your Protection
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-24-2009 11:38
( As an old Forth hand, I think y'all are SPOILED by this newfangled syntax highlighting. Give me a command line editor any day. ) ok

0 edit ok
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
04-24-2009 11:40
Teco
_____________________
So many monkeys, so little Shakespeare.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-24-2009 11:48
From: Lee Ponzu
Teco
0JII never really got used to Teco.^M^J$$
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
04-24-2009 11:53
From: Argent Stonecutter
( As an old Forth hand, I think y'all are SPOILED by this newfangled syntax highlighting. Give me a command line editor any day. ) ok

0 edit ok

It's not the syntax highlighting, it's the fact that I typo and also cat'n speel worth a damn. :p
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
04-24-2009 11:56
Offline, lsleditor, final debug inworld.

/grumbles about lsleditor not being open source so we can't keep it up to date.
From: Qie Niangao
(It might have been different for me if I'd found a passable lsl mode for emacs when I started out, but too late now.)
Are you saying there IS an emacs mode for lsl???
.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
04-24-2009 11:57
From: Jesse Barnett
It's not the syntax highlighting, it's the fact that I typo and also cat'n speel worth a damn. :p
Play Scrabble with the editor of an Encyclopedia for a few years and you'll find your spelling improves amazingly. :D
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-24-2009 12:58
From: Dora Gustafson
I write 99.9% offline in 'NoteTab Light'. I compile and debug inworld.:)

I'll assume you have yours setup to higlight code and scellcheck same I? =)

damn useful program that one although annoying on the difference between regular and pro... gain some features, lose others =/
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
04-24-2009 13:53
From: RobbyRacoon Olmstead
I do my scripting work almost exclusively offline, and have done so for almost two years now. I have a hard time understanding why anyone would want to do any non-trivial script work in-world, as it's so painful and non-productive compared to offline editing.

The only time I do any online scripting is when I need to quickly iterate something to test out some specific values.


I do all of my scripting in-world for one reason mostly, instant feedback on code changes. I can try them, tweak them, and get feedback on my changes quickly.

Otherwise I would be doing this all day: Write code, log in, try it, log off, write more code, log in, try it, log off, write more code...

It's just not productive to me to code offline :)
_____________________
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
04-24-2009 14:01
From: Darien Caldwell
Otherwise I would be doing this all day: Write code, log in, try it, log off, write more code, log in, try it, log off, write more code..
Darien: lsleditor is more than an editor, it emulates SL so that you can run code in it. The emulation is not perfect, and of course you cannot see objects moving, but I find running in lsleditor catches all syntax errors (except for the newest commands), all bugs in listen/touch driven scripts (you can touch and chat in the editor's run mode), and of course all bugs in logic. It tells you when and where the script rezzes objects, etc..

It can run sets of scripts as well, so that linkmessaging can be debugged.
.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
04-24-2009 15:24
Usually offline in vi(m) for examples and help on these forums (which lately has been most of my scripting). When I'm online I probably spend about half my time in vi and half in the SL script editor (it is easier to make quick changes there to fix defects while testing). I do a lot of copy/paste between the two. Usually I don't actually persist the scripts offline, though for certain templates and important scripts sometimes I do.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
04-24-2009 17:01
From: Nika Talaj
Darien: lsleditor is more than an editor, it emulates SL so that you can run code in it. The emulation is not perfect, and of course you cannot see objects moving, but I find running in lsleditor catches all syntax errors (except for the newest commands), all bugs in listen/touch driven scripts (you can touch and chat in the editor's run mode), and of course all bugs in logic. It tells you when and where the script rezzes objects, etc..

It can run sets of scripts as well, so that linkmessaging can be debugged.
.


I didn't know it could handle sets of scripts, that i'll have to look into. But considering some of my items have 30-50 scripts that work together, I'm still not sure it's feasable. :)

As well, I deal with animation timing, and physical motion issues which I don't expect will ever be simulated offline. And don't get me started on HTTP related scripting, which is my largest focus right now. :)

I'm not faulting people who do offline, i'm just saying it's not very appealing from my perspective and for what I do.
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
04-24-2009 17:10
From: Darien Caldwell
I didn't know it could handle sets of scripts, that i'll have to look into. But considering some of my items have 30-50 scripts that work together, I'm still not sure it's feasable. :)

As well, I deal with animation timing, and physical motion issues which I don't expect will ever be simulated offline. And don't get me started on HTTP related scripting, which is my largest focus right now. :)

I'm not faulting people who do offline, i'm just saying it's not very appealing from my perspective and for what I do.

HTTP or XML-RPC can be tested. With auto suggestion, it is OMG fast to actually write the scripts.

Example: type "def" and a drop down box shows "default", click on it and it will correctly finish "default" but also correctly indent the opening and closing brackets and place the cursor for your next entry.

Keyboard combination of ctrl, shift, a, loads the script into clipboard and ready to paste in world.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
04-25-2009 01:02
eh..you guys ARE spoiled with these fancy editors lol...I do 99% of my scripting online, the editor doesn't bother me at all, if I was offline, I'd use my #1 editor, Notepad. I've just used it for so many years for so many things, and I still don't use an editor for css, php, html, xml, javascript, or anything else either, come to think of it so maybe I'm just old LOL..
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
04-25-2009 01:47
From: Void Singer
I'll assume you have yours setup to higlight code and scellcheck same I? =)
Highlight code? LOL mine is NoteTab Light v4.95. It is steam powered;)
_____________________
From Studio Dora
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
04-25-2009 02:13
From: Nika Talaj
Are you saying there IS an emacs mode for lsl???
.
Allegedly. http://lsl-mode.googlecode.com/files/xlsl-mode_1.5.4.el -- about which I know nothing, but just googled for it after reading Viktoria's post in this thread. If my emacs install were a little less dusty, I'd give it a try.
_____________________
Archived for Your Protection
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
04-25-2009 03:33
Offline scripting helper programs are nice, but I do alot of saving/checking/re-editing that offline editors can't do.
_____________________
My tutes
http://www.youtube.com/johanlaurasia
1 2