These forums are CLOSED. Please visit the new forums HERE
Consultation In The Data Base |
|
|
Moacir Heying
Registered User
Join date: 8 Dec 2006
Posts: 17
|
01-07-2007 08:17
Somebody knows some script for an object that makes a consultation in the data base in the SL?
|
|
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
|
01-07-2007 08:54
in english maybe?
_____________________
![]() tired of XStreetSL? try those! apez http://tinyurl.com/yfm9d5b metalife http://tinyurl.com/yzm3yvw metaverse exchange http://tinyurl.com/yzh7j4a slapt http://tinyurl.com/yfqah9u |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-07-2007 08:56
Somebody knows some script for an object that makes a consultation in the data base in the SL? Do you mean the dataserver? |
|
Moacir Heying
Registered User
Join date: 8 Dec 2006
Posts: 17
|
...
01-07-2007 09:37
It can be in English.
I did not understand Newgate, I do not say English to you, I translated Google but I did not understand, sorry... |
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
01-07-2007 09:47
What in the database do you wish to consult?
![]() The dataserver is an LSL event: http://www.lslwiki.com/lslwiki/wakka.php?wakka=dataserver It returns various pieces of information from the SL database. |
|
Moacir Heying
Registered User
Join date: 8 Dec 2006
Posts: 17
|
01-07-2007 10:05
where I place the data of the server in script?
key Request; default { state_entry() { Request = llRequestAgentData(llGetOwner(), DATA_BORN); // request your SL creation date } dataserver(key queryid, string data) { if(Request == queryid) llSay(0, "You were born on " + data); } } It would be for verifying given in a table in the MySQL |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-08-2007 01:50
where I place the data of the server in script? key Request; default { state_entry() { Request = llRequestAgentData(llGetOwner(), DATA_BORN); // request your SL creation date } dataserver(key queryid, string data) { if(Request == queryid) llSay(0, "You were born on " + data); } } It would be for verifying given in a table in the MySQL I think you are talking about an external database rather than the SL dataserver? take a look at the communications page in the wikki |