Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Logging out of SL Using LSL?

Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
08-31-2008 11:44
Is it possible to log out of SL using LSL?

Now, before anyone suggests just clicking the small X in the top corner of the screen, or using the Menu, or any of the keyboard shortcuts to log out, there is a very good reason for wanting to do this via a script (non-griefing).

Thoughts welcome

Rock
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
08-31-2008 12:14
having seen most of the wiki, i think the answer would be "no" unless using a bot that listens to the !quit command? :p
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
08-31-2008 12:31
A nasty person just suggested in my ear that you could find a way to crash the sim or client via script. He has a gun at my head and is making me write this post.

Somebody please help me!



http://www.c-ville.com/Image/2007_WEB/watr%20pistol.jpg
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
08-31-2008 14:48
CODE

default
{
touch_start(integer numdetected)
{
llShout(0, "LOG OFF NOW!");
}
}

_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
08-31-2008 15:15
From: Winter Ventura
CODE

default
{
touch_start(integer numdetected)
{
llShout(0, "LOG OFF NOW!");
}
}


OMG These horrible flashbacks of !quit just crossed my mind.:(
_____________________
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
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
NewAge Age Verifyer
09-01-2008 13:10
if(("Missing Image" || "!quit";) == 404) llOwnerSay("Resident is battle hardend";);
Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
09-01-2008 13:31
I see a trend starting here. I ask a question or two in the Scripting Tips forum, I get little or no sensible suggestions in the forum itself, but very useful tips and suggestions inworld via an IM or notecard.

Have people stopped answering in the forum anymore?

Just wondering,

Rock

PS It can be accomplished using an HTML call and a simple VB script.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-01-2008 14:41
From: Rock Vacirca
I see a trend starting here. I ask a question or two in the Scripting Tips forum, I get little or no sensible suggestions in the forum itself, but very useful tips and suggestions inworld via an IM or notecard.

Have people stopped answering in the forum anymore?

Just wondering,

Rock

PS It can be accomplished using an HTML call and a simple VB script.

It can be done using many different languages. I can do it myself with C# or autoit. But you have to realize that a great many users here just barely know LSL and that would be way above thier level. Your question was if it could be done with LSL and the correct answer was given in post #2; no

And forgot to mention that this is also a long weekend in the US. Traffic in the Scripting forum is always slow on the weekends with many of the contributors busy actually scripting and creating.
_____________________
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
Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
09-02-2008 01:24
From: Jesse Barnett
It can be done using many different languages. I can do it myself with C# or autoit. But you have to realize that a great many users here just barely know LSL and that would be way above thier level. Your question was if it could be done with LSL and the correct answer was given in post #2; no

And forgot to mention that this is also a long weekend in the US. Traffic in the Scripting forum is always slow on the weekends with many of the contributors busy actually scripting and creating.


Hi Jesse,

The point was that I DID receive very helpful suggestions, but inworld rather than in the forum. Just wondered why that was, as the last two questions I have asked here were answered inworld rather than in the forum.

As to general question of whether x-y-z can be achieved using LSL, the answer in the forum is often 'no', whereas 'yes, indirectly' would probably be more accurate, in other words the objective can be achieved outside of SL, using VB, C# etc directly on your PC, but the script/prog/app being triggered via html from a small script in SL.

In the last case, a simple VB script can close any running application (including SL), and it can be triggered via html from a clickable object in SL. Sometimes, LSL needs help from its cousins :)

I have used this approach before, enabling my SL scripts (that require database storage)to enjoy almost limitless amounts of storage space, by getting the results of LSL scripts simply spoken in Chat, I then have a small VB script that extracts all the info I want from my SL Chat.log and places it in my database. Terrain copying was a very successful project that used this method.

Rock
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
09-02-2008 03:02
Personally, if I were going to make an external tool for logging out of SL, I'd build it as a chat/IM response in either the viewer itself or SLProxy.
_____________________
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
Just wondering.
09-02-2008 08:27
What do I need to block, turn off or disallow, to prevent you from terminating my running application?
I really don't like the idea that clicking an object can log me off unless it clearly states this.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-02-2008 08:34
From: Ron Khondji
What do I need to block, turn off or disallow, to prevent you from terminating my running application?
I really don't like the idea that clicking an object can log me off unless it clearly states this.

You would have to have the VB script running on your own computer for that to happen.

In other words, Rock is looking to log his own self & or bots out of SL, not anyone else.
_____________________
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
Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
09-04-2008 01:07
From: Jesse Barnett
You would have to have the VB script running on your own computer for that to happen.

In other words, Rock is looking to log his own self & or bots out of SL, not anyone else.


Correct, unless you have agreed to have the script on your PC you cannot be logged out this way.

Basically what I am doing is providing a temporary (spoofed) teleport system between the SL grid and any OpenSim, either standalone or connected to another grid.

Basically the avi in SL clicks a teleporter, which then logs them out of SL, then logs them in to the OpenSim, but with a screen that hides this and shows a teleport Progress bar and a message saying 'Please be patient while we teleport you to the OpenSim you requested'..

It is not a 'real' teleport, simply spoofed to give the appearance of a teleport. My friends who wish to teleport to my OpenSim from SL, and back again, would receive from me the VB script to interact with the touched prim in SL.

It's all magic, really ;-)

Rock