|
|
| Openlife map at www.fairchang.net |
|
|
UPDATED 31st March 2008
Hi
As promised here is the script to add your sim/region to the map at http://www.fairchang.net.
Simply copy the script (between then lines) and paste using Ctrl + V into a new script in your inventory. Then create a new prim and drop the script into the contents.
All being well the sim should appear in the correct place within about 20 seconds.
Any problems you can get me in the chatroom here, email me at garth@fairchang.com or IM me in SL as Garth FairChang
-------------------------------------Script below --------------------------------------
I will post the script again when given the all clear by Sakai
See his reply further down the thread
-------------------------------------Script above --------------------------------------
PLEASE NOTE: This new version does not use a timer. It sleeps then resets. This seems to work well  |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Is there a way you can show regions that don't have your script in a diff color? Or is that what NOT MONITORED is saying? |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Garth
Great idea and one I wanted to help out with. So I took the liberty of creating a pink cone (easy to spot) with this script and dropping it in 57 regions that were not already on your map today. Hope this action helps and doesnt offend anyone.
If you see the pink cone created by Bob Darwin (aka Bob Wellman) in a region you own and dont want it there please delete it or let me know and I will delete it (I have a note of where they all are) with my sincere appologies. I just wanted to help things a long so we all can see what regions are up/down in the short term. I am sure everyone will replace the pink cone in time with something more in keeping with thier region.
|
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Thanks for taking the initiative, Bob. This is an insanely cool idea, and one which SL should have offered to its users years ago.
--Ryan. |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
It would appear this system is not infallable.
This is how it works. The script in the prim in your sim sends out info.
Sim Name, Time dilation, FPS, Host name and Position on the grid.
The website receives the info. Because it gets the info it will presume the sim is up and running (If the sim was down how else would the script be running?). It adds it to the database and records the time the info was received.
When you view the webpage the data for each sim is checked and if it is over 25 seconds old (the script sends every 10 seconds) the sim is presumed to be down and is marked as that.
This works well in SL and I have been using a similar version of this script for over a year to monitor our FairChang owned sims.
I have see sims reporting up in SL but appearing to be missing inworld. This is because their network connection to the rest of the grid has failed. Most times I can TP into them and restart them and it fixes them.
In OpenLife it would appear that a green sim (on the map) is not always accessable inworld. I am not sure if this is for the same reason or some other.
I can think of one possiblity. Maybe scripts will continue to run even if a sim is down. They run on a script server?
Anyhow. This system should improve as time goes by as the scripting system will improve too.
I hope this is of some use to you all.
PS. The grey sims are those not monitored. Maybe I should add to make sims that have not sent data for a whole 24 hours as grey also. |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
hey garth, check out http://freedns.afraid.org/
it's significantly better than no-ip; you can set up web forwarding, but you can also set up a proper A record so the domain just points directly to your own webserver; no mucking about with frames. much like no-ip, there are a selection of clients available for pretty much every OS to keep your IP updated, and you have access to all the functions of a proper DNS server, including setting up MX and CNAME records, so you can use the google apps for your domain platform and have google host your email with the gmail interface and mailbox size but with your own domain. sorry, i sound like a total advertisement, but it's what i do for my projects in this vein, and i've found it to be free, robust and reliable, and the google stuff is just neat; it's includes 100mb of static webspace with unlimited transfer for FREE for chrissakes! i stick my www subdomain on there to serve all my static content and set up a server with PHP and mysql at home for dynamic stuff. can't beat the price! |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Hi All
I have edited the script to check your sim every 60 seconds instead of 10 seconds. I hope this will add to grid stability 
If you are using the old script. Please delete and use this one. |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Garth
A suggestion for your script: How about it sending back some extra data to you as follows:
1) the location (x y z) within the region of the prim that contains the script.. Then you can easily locate the prim to update the script next time.
2) the scirpt version so you know which regions have which version of the script running, so you know what still needs updating.
3) the owner of the region so you can notify them personally of an update available if their region falls behind a version (once IMs are working properly).
Hope these suggestions are helpful... Bob
|
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Great ideas.
I can add prim position and version real easy. Not sure on the sim owner. Depends on llGetLandOwnerAt and llKey2Name working on OLG.
I will work on them when llSetTimerEvent and timer is working again 
|
|
|
|
 |  |
|
 | FriSo |
| 4 posts |
| Openlife Newbie |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
btw Garth, watch that key2name function. It bugged one of my scripted items in SL pretty bad. Just keep in mind, that llKey2Name only works, if the Keyholder is online.
From the LSL wiki: " If the avatar is not in online and in the sim the script is running you must use dataserver and llRequestAgentData to get the avatars name from a key".
And even that dataserver call doenst work without flaws. So if there is no urgent need to typecast, stick to the keys
greets,
Mogon |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
I updated the script here today.
I was playing around with ideas and thought of using sleep and resetscript instead.
It works !!
I have updated the script in my original post |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
wow, true, it functions also from my little red cube at Campanella/Coffee!
thank you:) "Ciò che mi preme è comprendere. Se altri comprendono - nello stesso senso in cui io ho compreso - allora provo un senso di appagamento, come quando ci si sente a casa in un luogo" (Hannah Arendt) |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
Hi all,
Please keep this script out of the grid for the moment until further changes can be made to address issues it causes in the scripting engine.
Please note anywhere these scripts are found they will be deleted. We are looking into the issue and will advise as soon as the issues are resolved.
Kind Regards,
Sakai Openlife Sakai Openlife
Openlifegrid.com Founder
Exciting things are happenning!
http://openlifegrid.com |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
**Edit note - Just to answer curiosity, no Garth is not evil nor is the script, but this script is causing headaches in the script engine.
more info will follow in the future.
Sakai Openlife Sakai Openlife
Openlifegrid.com Founder
Exciting things are happenning!
http://openlifegrid.com |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
I have edited my original post and removed the script. I will repost once the all clear is given for it.
Will timer() event work now?
It would be usefull on other scripts |
|
|
|
 |  |
|
|
| Re: Openlife map at www.fairchang.net |
|
|
I have seen a few timer scripts running around ok atm. So I would assume so.
There's a few looping bugs in the script server that have been a pain, but it seems a few ppl have started to find the offenders so we should have some updates to fix relatively soon.
Sakai Openlife  Sakai Openlife
Openlifegrid.com Founder
Exciting things are happenning!
http://openlifegrid.com |
|
|
|