Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

In-world bug report from March 13

Apotheus Silverman
I write code.
Join date: 17 Nov 2003
Posts: 416
03-16-2004 06:16
LL, you can disregard a bug report I submitted on saturday (I deleted the email to reply to...). I didn't test thoroughly enough before submitting it.

The problem did not have to do with llGiveInventory(), but rather with the dataserver event. When I called llRequestAgentData(), the key parameter was not populated in the dataserver event. I'm not sure if this is a bug or intended behavior since the related documentation is pretty sparse.
_____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com

Visit Abbotts Aerodrome for gobs of flying fun.
Darwin Appleby
I Was Beaten With Satan
Join date: 14 Mar 2003
Posts: 2,779
03-16-2004 21:34
Yeah, could we have clarification on this, please?
_____________________
Touche.
Apotheus Silverman
I write code.
Join date: 17 Nov 2003
Posts: 416
03-17-2004 05:42
I had an hourly prize give-away script where llGiveInventory() was failing, but it was not giving any error messages. I'm at work now so I can't paste the actual code.

It worked like this:
-A conditional in the timer event tells when to end the drawing and give the prize away. At this time it chooses a winner from a list of keys and calls llRequestAgentData() to get the name of the person whose key just won.
-The dataserver() event shouts who won, then gives the prize to the key that is passed into the event. This didn't work.

I fixed the problem by making the chosen winner key a global variable and used that from within the dataserver event instead of the key parameter that is supposed to be passed to the event.

So like I said, as the documentation regarding the dataserver event is pretty sparse, I don't know if the key parameter being empty is a bug or intended.


Um... unless you were asking LL for clarification. Either way, this is more detail as to exactly what I saw happening. :D
_____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com

Visit Abbotts Aerodrome for gobs of flying fun.