Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Need a networked HUD for RP

Lias Leandros
mainlander
Join date: 20 Jul 2005
Posts: 3,458
12-26-2007 08:11
Just opened a RP Sim but would like to have a HUD for all players that rewards them power points and class levels. Our Admins will do this manually from the server. Once the player wears the HUD once and registers it we should be able to update the floating text as needed.

I think I saw a variation on thsi somewhere. Does anyone have any ideas?
_____________________

http://slurl.com/secondlife/Bear/214/199/107
Join in SL open enrollment CLUB JOBS to announce new DJ and Host Jobs for free.
And on Avatar's United http://www.avatarsunited.com/groups/club-jobs
Fred Extraordinaire
Weapons Specialist
Join date: 29 Jun 2004
Posts: 134
12-26-2007 09:16
your poor admins...doing the work LSL should be doing...
_____________________
-----

<3 LL :D
Lias Leandros
mainlander
Join date: 20 Jul 2005
Posts: 3,458
12-27-2007 14:26
What's this LSL Code talk? Fred dpn't be cryptic. Please do tell.
_____________________

http://slurl.com/secondlife/Bear/214/199/107
Join in SL open enrollment CLUB JOBS to announce new DJ and Host Jobs for free.
And on Avatar's United http://www.avatarsunited.com/groups/club-jobs
Cryas Tokhes
Great Googley Moogley...
Join date: 8 Feb 2006
Posts: 124
12-27-2007 17:32
Lias,

Using SL's coding it is possible to have the HUD connect to an external server (out of SL) that can handle all of the information in regards to that specific persons points. For example, you can have a MySQL server on a hosted website that will record and maintain the data that is acquired in SL.

This can be programmed using PHP and other web based programming languages to be able to send the HUD information allowing it to reward the wearer with "power points".

For example, say you award someone points for the amount of time that they wear the HUD. You would script the HUD to have a counter that, when it reaches a specific number, will contact this external server with something stating this time increment. The PHP script will calculate this value and add it to the already stored number in this server. If the result is something that you want the result will be sent back to the HUD and the script inside the HUD will show this change.

There are many benefits that you can do with this, you have almost unlimited storage capacity on this external server (If you use an SL based server, you are limited to the 16k memory limit of that maintaining script. This will usually fill up with only 30-40 users if there is other stored data). The external servers are only limited to the amount of space that you have hosted. I currently am maintaining a server that has 100 users (and still growing) that has many stored items based off of their performance and it only uses about 20k of server memory out of the 250GB. So you see that the potential of storing the information outside of SL is very beneficial. But not only the storing of data is beneficial, but you also have the processing power of more efficient programming languages then LSL. The PHP server can potentially do all of the work for the HUD, telling the HUD what to display and when, does all of the upgrades, changes, etc. and you can maintain it without being in SL.

I hope this answers your questions, or at least points you in the direction of asking more questions. Good luck! :)
Lias Leandros
mainlander
Join date: 20 Jul 2005
Posts: 3,458
12-27-2007 21:40
Thanks so much Cryas. That was a lot of excellent information. I guess I have to find a Php guy to set this up for us. We have a server it can work on.
_____________________

http://slurl.com/secondlife/Bear/214/199/107
Join in SL open enrollment CLUB JOBS to announce new DJ and Host Jobs for free.
And on Avatar's United http://www.avatarsunited.com/groups/club-jobs
Dannoth Dagger
.
Join date: 17 Nov 2007
Posts: 141
12-30-2007 11:55
What is your sim called, and where is it located?
Lias Leandros
mainlander
Join date: 20 Jul 2005
Posts: 3,458
12-31-2007 13:11
My Sim is called Rygeon 2024. The website is http://www.rygeon.info.com
_____________________

http://slurl.com/secondlife/Bear/214/199/107
Join in SL open enrollment CLUB JOBS to announce new DJ and Host Jobs for free.
And on Avatar's United http://www.avatarsunited.com/groups/club-jobs