(5 intermediate revisions by one other user not shown)
Line 1:
Line 1:
''by AdNovea - July 2011''<br> '''[[Q-Sims - The OpenSim metavers for QNAP|Q-Sims Homepage]]''' <br> <br> __TOC__
''by AdNovea - July 2011''<br/>'''[[Q-Sims_-_The_OpenSim_metavers_for_QNAP|Q-Sims Homepage]]'''<br/><br/>__TOC__
<br>
= Displaying Web pages on your Sims =
<blockquote>To avoid uploading images when a change occurs, to support event information dynamically, we need to be able to display web page contents on prims (''objects'') that reflects actual web page contents.<br> To do so, just place the script below into a prims, change the '''srcURL''' value to the URL value of the page to display. and the page content will be converted into an image which the texture is put on all sides. <br> <br> The example given below will display the up-to-date OSGrid map on a prims.<br> <br> [[Image:Q-Sims URL on prims.jpg|thumb|center|500px|Q-Sims URL on prims.jpg]] <pre>// Display Dynamic Web page
= Displaying Web pages on your Sims =
<blockquote>To avoid uploading images when a change occurs, to support event information dynamically, we need to be able to display web page contents on prims (''objects'') that reflects actual web page contents.<br/>To do so, just place the script below into a prims, change the '''srcURL''' value to the URL value of the page to display. and the page content will be converted into an image which the texture is put on all sides.<br/><br/>The example given below will display the up-to-date OSGrid map on a prims.<br/><br/>[[File:Q-Sims URL on prims.jpg|thumb|center|Q-Sims URL on prims.jpg]]<pre>// Display Dynamic Web page
// AdNovea - Laurent - July 30th 2011
// AdNovea - Laurent - July 30th 2011
// Create a texture from a web page
// Create a texture from a web page
Line 38:
Line 38:
}
}
}
}
</pre>
</pre>
<br>
</blockquote>
= Your Sims statistics =
</blockquote>
<blockquote>To monitor your sims statistics from an Internet browser, you must have added the following section into the '''OpenSim.ini''' file: <pre>[WebStats]
= Your Sims statistics =
<blockquote>To monitor your sims statistics from an Internet browser, you must have added the following section into the '''OpenSim.ini''' file:<pre>[WebStats]
;; Added to enable access to Web stat page
;; Added to enable access to Web stat page
;; using the URL http://<region-server-ip>:<http-port>/SStats/
;; using the URL http://<region-server-ip>:<http-port>/SStats/
enabled=true
enabled=true
</pre>
</pre>
Open the Stats page on your Internet browser using the URL: '''http ://<your_server_IP>:9005/SStats'''<br> <br> ''NOTE: These are the stats written every hour into the OpenSim.log file.''
</blockquote>
Open the Stats page on your Internet browser using the URL: '''http ://<your_server_IP>:9005/SStats'''<br/><br/>''NOTE: These are the stats written every hour into the OpenSim.log file.''
To avoid uploading images when a change occurs, to support event information dynamically, we need to be able to display web page contents on prims (objects) that reflects actual web page contents. To do so, just place the script below into a prims, change the srcURL value to the URL value of the page to display. and the page content will be converted into an image which the texture is put on all sides.
The example given below will display the up-to-date OSGrid map on a prims.