|
Jasmin Beeks
Registered User
Join date: 20 Feb 2006
Posts: 13
|
06-08-2006 20:17
is there a line of code that ties into Lindex values? I don't want to have to connect to a php server or anything. I couldn't find one on the wiki, maybe it's hidden. Anyone know?
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
06-08-2006 20:24
Nope, nothing intrinsic. You'll have to use outside servers.
|
|
Jasmin Beeks
Registered User
Join date: 20 Feb 2006
Posts: 13
|
06-08-2006 20:25
why? lol (no answer needed).
im surprised linden hasn't built in a currency conversion script to display the linden worth compared to USD. It would make things so much easier.
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
06-08-2006 20:27
Heh, more like more depressing  Inflation and such... There isn't any pressing reason, and they don't seem to like adding functions that people request, period.
|
|
Jasmin Beeks
Registered User
Join date: 20 Feb 2006
Posts: 13
|
06-08-2006 20:32
im sure it would be fairly easy on their side to just do a request of the current average linden value for that day. llLindenValueAverage(integer LValue);
Although it might have an effect on the market once vendors started using this to set their prices in USD instead of LL. It would make things heck of a lot easier though.
|
|
Eddy Stryker
libsecondlife Developer
Join date: 6 Jun 2004
Posts: 353
|
06-09-2006 03:40
From: Jasmin Beeks im sure it would be fairly easy on their side to just do a request of the current average linden value for that day. llLindenValueAverage(integer LValue);
Although it might have an effect on the market once vendors started using this to set their prices in USD instead of LL. It would make things heck of a lot easier though. They would have to add a function to LSL and also update the network protocol. There are dozens of ways to take an average, and due to some special properties that are fairly specific to the LindeX market most simple averages/medians would be extremely biased. It would also involve two separate systems (the in-world servers and the LindeX server) establishing a communication protocol. And finally, this has already been done manually by several people using PHP/curl, so they wouldn't be adding anything "new" to the world, only making it more accessible.
|