Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
|
12-09-2009 12:27
I've written a very simple script to keep track of who visits my property when I'm away.
The only part that's missing is where it would write the entries and exits to a log.
I imagined it would write lines to a notecard, but of course, that's one of the things you can't do in LSL.
I guess I could keep the lines in a list, and email the list to myself when the list gets to a certain number of items.
Is there a better solution? .
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
12-09-2009 12:35
well the email solution is great for working strictly from secondlfe.
otherwise, i've never actually worked with an outside server, so i don't have any advice on how to start one, but that's a common way of saving lots of data outside of a script
|
Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
|
12-09-2009 12:56
From: Ruthven Willenov well the email solution is great for working strictly from secondlfe.
otherwise, i've never actually worked with an outside server, so i don't have any advice on how to start one, but that's a common way of saving lots of data outside of a script Yeah, I could set up a script on my website that writes to a file, but that seems a bit overkill.
|
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
|
12-09-2009 12:57
I guess you could use a storage script - or a chain of storage scripts, or even a chain of storage prims, rezzed on demand by the main script from its prim's inventory. But even without the possibility of this being hit by possible future memory limits, in-world mass storage is always going to look like a finite and fragile option compared to your own hard disk.
|
Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
|
12-09-2009 13:33
/me nods
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-09-2009 13:51
mono storage will safely hold about 500 keys lso, about 300.... if your traffic is higher than that between checks, yeah email, or perhaps just keep pruning the list to only save the most recent ones.
_____________________
| | . "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... | - 
|
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
|
12-10-2009 03:55
yeah, the simplest way is usually email. If you own a store, lotsa traffic, a real REASON to keep data and you're going to use it for something else anyway - then it's worth it to go ahead and send the data to a web server and use a database. Otherwise you've hit it pretty much on the head with email.
|