Difference between revisions of "User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {| width="100%" |- |valign="top"| <FONT size="+2"><B>DETAILED REQUIREMENTS</B></FONT><BR/> <div id="box"> ==Help Island/Welcome Area Occupancy Counter System - Overview== <div style="paddi...)
 
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-
|-
|valign="top"|
|valign="top"|
<FONT size="+2"><B>DETAILED REQUIREMENTS</B></FONT><BR/>
__NOTOC__
<div id="box">
<div style="padding:3px 0px 3px 0px; border: 1px solid darkgray; -moz-border-radius: 20px; border-radius: 20px; background-color: #FEFEFF; width: 100%; text-align: center; padding: 0.5em;">
==Help Island/Welcome Area Occupancy Counter System - Overview==
==Help Island/Welcome Area Occupancy Counter System - Overview==
<div style="padding: 0.5em">
<div style="padding: 0.5em; text-align: left; background-color: #FFFFFF;">
===Background===
===Background===
This is a system of scripts, sensors and servers designed to sense, collect, report and disseminate information on the occupancy levels of Orientation Islands, Help Islands, Welcome Areas and Infohubs.
This is a system of scripts, sensors and servers designed to sense, collect, report and disseminate information on the occupancy levels of Orientation Islands, Help Islands, Welcome Areas and Infohubs. What it boils down to is a single prim HUD attachment on a Second Life Mentor's display. 


===Statement of Business Need===
When a Mentor clicks the HUD and requests an update from the server to display, there are a lot of things that happen in the background.  Hopefully this documentation will illustrate what goes on behind the scenes, and how big this system actually is.
The information described above, when extended to discerning Second Life Mentors from New Residents, can be useful in determining effectiveness of Second Life Mentoring and Greeter programs as well as helping Mentors decide where to go to help New Residents.


===Project Scope===
This following list indicates the new functionality included as part of the enhancement package included in the HI-WA Occupancy Counter System:
# Design, architect and build a system that will detect, count and tally the occupancy levels certain areas within Second Life.
# The areas for consideration include, but are not limited to: Orientation Islands (all), Help Islands (all) and Welcome Areas / Infohubs.
# Allow for a number of clients which can poll for this information and utilize it in various ways.  Some such methods include, but are not limited to, Text Displays, HUDs, Database/Warehousing Server, other Occupancy Counter Systems.


===Project Out Of Scope===
===Discussion===
The following is a list of items that are specifically excluded from this enhancement:
I need to discuss each part in sections.
# Real-time info.
 
# Resident names and personal metrics.
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Business Requirements|Business Requirements Document]]
# Data warehousing capabilities although external systems (under a separate project) can interface to it to gather limited info.
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/System Architecture|System Architecture]]
</div></div>
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Collection Server|Collection Server]]
<div id="box">
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Relay Servers|Relay Servers]]
==User Characteristics==
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Sensors|Sensors]]
<div style="padding: 0.5em">
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Endpoint Devices|Endpoint Devices]]
The Second Life Mentor group has several thousand members whose focus is on locating areas where New Residents require basic helpThe Mentors are at least 6 months old (by the calendar from their rez-date), and possess a certain level know knowledge of the intricacies of Second Life, the usage of certain basic tools and widgets available to them, to complete their business tasks.  The Second Life Mentor group also have a number of Linden Lab employees (for example: VTeam) whose focus is on the effectiveness of the Second Life Mentor Program and the retention of New Residents as they enter Second LifeUsers generally do not have extensive technical expertise.  Nonetheless, Users are knowledgeable regarding their business tasks.  Consequently, the pool of Users overall is considered to be sophisticated.
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Distribution System|Distribution System]]
</div></div>
* [[User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Documentation|Documentation]]
<div id="box">
 
==Specific Requirements==
 
<div style="padding: 0.5em">
===Links to Code===
# Design, architect and build a system that will detect, count and tally the occupancy levels certain areas within Second Life.
Scripters might be interested in the listing to my codeYes, you can balk at it and criticize it and say that you can come up with something better.  Please do; but it is not easy to come up with something from nothing and do it right the very first time.  The fact is, that I have picked a convention and an architecture and stuck with it as I built the systemEvery element of within the system conforms to the Requirements Documentation - which spells out what the system must do.
# The areas for consideration include, but are not limited to: Orientation Islands (all), Help Islands (all) and Welcome Areas / Infohubs.
 
# Allow for a number of clients which can poll for this information and utilize it in various waysSome such methods include, but are not limited to, Text Displays, HUDs, Database/Warehousing Server, other Occupancy Counter Systems.
The programming that I have done is a culmination of everything I've learned and taught myself in the past 1.5 yearsI've scripted my very own line of Networked Vendors which use email and use notecards for configurations.  I've created temp-rezzers for my displays which prove useful in rezzing sensorsI've worked with rotations and translations through creating temp-rezzing pendulums for grandfather clocks, which prove useful in pointing and focusing a sensor to a particular area in a simI've created a typing keyboard which works in no-script regions -- useful for making HUDS work in no script regions too!  Many techniques I use also come from my Second Life Trivia page where I've personally observed certain things and documented them.
# The system must be able to operate entirely in-world and not be dependent on any external systems for information/message routing, configurations.   
 
# The system must continue to be operable and maintainable beyond the creator's lifespan.
Here are the direct links to the LSL code.
# The system must be able to perform under potentially hostile conditionsFor example: Parcels/Sims with '''No Script,''' '''No Build,''' '''No Object Entry,''' '''2 minute auto-return,''' etc.
* Script 1
# The system must provide a basic mechanism for utilizing the collected information at a "personal" levelFor example: a personal HUD that will receive information, parse and display it in a manner meaningful to the end-user.
* Script 2
# The system must be scalable to handle requests from potentially several thousand Users.
...
# The system must provide a mechanism to alert the User if an update is available, and where possible to automatically deliver such updates to the Users.
* Script n
# The system must be easy to maintain.
# The system must be well-documented.
# The system must operate autonomously.
# The system must be easy to use by the User base (as described in the previous section).
</div></div>
</div></div>
[[User:Lum Pfohl|Lum Pfohl]] 13:58, 30 August 2008 (PST)
[[User:Lum Pfohl|Lum Pfohl]] 18:31, 1 September 2008 (PDT)
|valign="top" width="200 px"|
|valign="top" width="200 px"|
{{Lum's Quick Links}}
{{Lum's Quick Links}}
|}
|}

Latest revision as of 19:31, 2 September 2008

Help Island/Welcome Area Occupancy Counter System - Overview

Background

This is a system of scripts, sensors and servers designed to sense, collect, report and disseminate information on the occupancy levels of Orientation Islands, Help Islands, Welcome Areas and Infohubs. What it boils down to is a single prim HUD attachment on a Second Life Mentor's display.

When a Mentor clicks the HUD and requests an update from the server to display, there are a lot of things that happen in the background. Hopefully this documentation will illustrate what goes on behind the scenes, and how big this system actually is.


Discussion

I need to discuss each part in sections.


Links to Code

Scripters might be interested in the listing to my code. Yes, you can balk at it and criticize it and say that you can come up with something better. Please do; but it is not easy to come up with something from nothing and do it right the very first time. The fact is, that I have picked a convention and an architecture and stuck with it as I built the system. Every element of within the system conforms to the Requirements Documentation - which spells out what the system must do.

The programming that I have done is a culmination of everything I've learned and taught myself in the past 1.5 years. I've scripted my very own line of Networked Vendors which use email and use notecards for configurations. I've created temp-rezzers for my displays which prove useful in rezzing sensors. I've worked with rotations and translations through creating temp-rezzing pendulums for grandfather clocks, which prove useful in pointing and focusing a sensor to a particular area in a sim. I've created a typing keyboard which works in no-script regions -- useful for making HUDS work in no script regions too! Many techniques I use also come from my Second Life Trivia page where I've personally observed certain things and documented them.

Here are the direct links to the LSL code.

  • Script 1
  • Script 2

...

  • Script n

Lum Pfohl 18:31, 1 September 2008 (PDT)

Lum's Quick Links
LumSelfPortrait.jpg
Click to Enlarge


Related topics

edit