Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Dynamically editing scripts

Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
05-03-2003 15:10
I think something that would definately be a nice feature is the ability to dynamically edit scripts with a friend.

(the script Im talking about is in an object)

For example: Im having trouble with a script. I ask Friend A for a little help. Currently, its a bit difficult to see the changes Friend A made to the script, when I open it it just shows the script how it was before because Friend A is still making changes and hasnt saved the script yet. Lets say Friend A has the script open at the same time as me. He makes a change, then saves. Then after a few seconds, I make a change (still having the old version onscreen) and click save. The sim writes over friend A's version of the script with my version of the script, thereby erasing any changes that Friend A made.

Instead (like when modifying prims with a friend) we should see what changes are made dynamically. like when Friend A types something in the script, and I have that script open, I would see the changes as they happen.

Just a little suggestion :)
_____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
Phil Metalhead
Game Foundry Leaɗer
Join date: 11 Mar 2003
Posts: 291
05-04-2003 03:34
this ranges from somewhere between "very hard" and "damn near impossible" to implement. the way script editing currently works is, you edit the object, go to its contents, and when you open the script, the server sends a copy of the script to your client. while you're editing it, all of the changes are reflected ONLY ON THE CLIENT. you then have to save and compile the script before your updated version makes it back to the server.

to allow dynamic editing would be extremely network-intensive for the servers, and could possibly increase lag exponentially... it would require every keystroke you make to be sent to the server and saved to the copy of the script stored on the server, and then retransmitted to anyone else who has the script open. every time anyone who has the script open makes a keystroke, this would happen again.

it's a wonderful idea, and i would love to see it, but unfortunately, technical issues get in the way once again :(

if one of the lindens can magically engineer a way for this to work without lagging the sims to hell i would positively flip out and dance for joy :) (well actually, i'd flip out and dance for joy if the loading contents bug were fixed -- i'll still dance a little happy jig if this is implemented though ;))
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
05-04-2003 12:04
It can be done without lagging the sims to hell, but it creates a security vulnerability (sorta).

Do direct connect, the server just sets up the connection between the two computers and the information is sent back and forth there. Network load would be minimal because its only text.

However this would give your IP to anyone you opened a doc with....how much of a concern is that? I mean you give your IP to every web page you visit.

<shrug> It's possible.
Jake Cellardoor
CHM builder
Join date: 27 Mar 2003
Posts: 528
05-04-2003 15:02
On my list of "features I'd like to see added to SL," support for collaborative script editing probably ranks about 50th.

Sure, it'd be cool. But I'd say it's by no means a priority.