Wednesday 17 March 2010

Scanner project from Clive Pro


Clive Pro is about to run his HE project on our OpenSim. Below you will find a copy of the assignment scenario and requirement for the HE group, we actually ran a similar project last year, but then it was in Second life!
Scenario

You are working for a Web development company. A colleague, who has just left the organisation, was working on an avatar scanner system to interface one or more scanner objects in either of the MUVEs, Second Life or OpenSim, with scripts and a database on an external Web server. Your supervisor has asked you to take up the project and complete it.

Requirement

An avatar scanning system is required for the Multi User Virtual Environment, OpenSim . You are to undertake development on a standalone simulator called bromsim. The system is to consist of two parts, a scanner object that can be rezzed on any land in-world where the owner has create rights and a LAMP Environment where scanner data is held in a database on an external Web server. Multiple scanner objects can be rezzed at different locations in-world, but these all report back to the same central external Web server.

When a scanner object is rezzed, or reset, it is to automatically report back its communications channel id, object id, region and exact co-ordinates to the Web server, which is to store this data in the database. If there is already data for this particular scanner object in the database, this existing data is to be erased before the new data is stored. At regular intervals the scanner object is to automatically scan its environment for avatars and temporarily store their names and the total number of avatar’s detected.

An administration Web page allows the user to list the active scanner objects in the database and contact individual scanner objects. The user can then choose either to ask the scanner object for the names and total numbers of avatars detected during most recent scan, or instruct the scanner object to self-destruct, in which case its details are also to be removed from the database.

You have access to the following uncommented scripts that your
ex-colleague developed:

i) scanner - written in Linden Scripting Language and designed to run
within a scanner object in-world.
ii) register.php - Designed to run on the external Web server
ii) scanner.php - Designed to run on the external Web server
iv) scan.php – Designed to run on the external Web server

We shall be posting feedback on this project so please stay in touch for that.

regards Vega