Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Controlling my relay

Champie Jack
Registered User
Join date: 6 Dec 2003
Posts: 1,156
07-03-2004 20:25
It is my recollection that others have stated email can sometimes be delayed for reasons outside of SL. My question to Eggy is, is this correct, and if so, can email be reliable to get the job done every time?

My personal limited exerience with email is that it is plenty quick. However, since I have never deployed an email dependent script, I cannot attest to its reliability.

Champie
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
07-03-2004 23:22
From: someone
Originally posted by Eggy Lippmann
Why are people still using complicated relay systems instead of llEmail?


My current version of the race system does just that, with a bank of four dedicated "send email" scripts to reduce the impact of the 20-second delay. The disadvantage of this system is that it's harder to set up, since you need to know the elevator's key, and program that into each call button. Further, if you delete and re-rez the elevator, you need to re-program the buttons. With a relay, you just put the relays in and forget about it.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
07-04-2004 05:22
From: someone
Originally posted by Champie Jack
It is my recollection that others have stated email can sometimes be delayed for reasons outside of SL. My question to Eggy is, is this correct, and if so, can email be reliable to get the job done every time?

My personal limited exerience with email is that it is plenty quick. However, since I have never deployed an email dependent script, I cannot attest to its reliability.

Champie

I haven't had any problems with llEmail *shrugs*
Email in general CAN be unreliable, I've had RL emails delayed over 24 hours, but if you're using it for object to object communication, then it shouldn't even leave LL's colo... so I dont see what the problem is.
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
07-04-2004 05:30
From: someone
Originally posted by Champie Jack
My personal limited exerience with email is that it is plenty quick. However, since I have never deployed an email dependent script, I cannot attest to its reliability.


Networking people call email a store-and-forward service. Basically, it doesn't get much more reliable than that on the Internet.

Your mileage may vary with spam-traps, though.
_____________________
--
~If you lived here, you would be home by now~
Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
07-04-2004 16:37
Thanks for the input on llEmail everyone. I tested a script today that sent out a series of emails from different objects and 10% of the emails never made it to their destination. >>shrug<<

Christopher, the elevator script you posted is stuck in a loop bringing the elevator to the top floor, and my attempts to correct it only break it completely. :( I'm a dunce.
Champie Jack
Registered User
Join date: 6 Dec 2003
Posts: 1,156
07-04-2004 22:16
oh, of course, I had my mind focused on outbound and inbound email, but wasnt thinking straight object to object email. Kinda silly of me.

thanks Eggy and Francis,

Champie
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
07-04-2004 23:25
From: someone
Originally posted by Aaron Levy
Thanks for the input on llEmail everyone. I tested a script today that sent out a series of emails from different objects and 10% of the emails never made it to their destination. >>shrug<<

Christopher, the elevator script you posted is stuck in a loop bringing the elevator to the top floor, and my attempts to correct it only break it completely. :( I'm a dunce.


Thats odd... contact me when we're both online and I'll take a look at it.
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
07-05-2004 00:07
Outbound email occasionally (<0.05%) hit's a delay of up to a minute, however it comes through in the end. I've been using email as the primary source for all my extra-lsl applications, and it's been remarkably reliable.

Been more reliable now I have got a dedicated mailserver for dealing with SL traffic. (Not a single missed email I have found.)

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer
Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
07-05-2004 13:52
Ok, Christopher when I get back to my SL computer I'll see if you're online.

---

The tests I ran with llEmail were to the outside world. I read that some people have better luck when they use a private mailserver, so I set up one specifically for my SL traffic, and I was pleased to see that most made it to their desitnation in a couple of seconds.

I have not experimented with llEmail object to object.

Is there any public domain code I can look at for sending and receiving emails object to object?
Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
07-05-2004 20:27
I swear I can't get anything to work in LSL. I just spent the last several hours trying to get llKey to give me to key for an object so I can send it an email.

I think what the Wiki is missing is sample code. I remember the old Basic and C books, for every single command, function, etc..., there was sample code to go with it. I picked up programming very quickly with those, but something's just not "clicking" with me and LSL.

How do I get an object's key? (I've tried every use of llKey I could possibly come up with and I just get syntax errors.

Once I get an email off to an object, how does the receiving object parse it to just get the "message" part.

Thanks a billion,
Aaron Levy
aaronlevy(AT)gmail(DOT)com
Champie Jack
Registered User
Join date: 6 Dec 2003
Posts: 1,156
07-05-2004 20:31
from the wiki:

From: someone
key llGetKey();

Get the key for the object containing this script.

Compare with llGetOwnerKey and llGetOwner.


so, you could do womething like this to have the key sent to the chat

llSay(0, (string)llGetkey() );
1 2