Jump to content

Experience keys crippled by lacking functionality


You are about to reply to a thread that has been inactive for 3149 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Am I missing something, or is there no way to see if an Experience works on the land without asking the user for permissions, and waiting to see if it fails? This is a huge oversight, especially for transporters that need the user to remain in the touch() event until permissions are confirmed.

Before you ask, the function llAgentInExperience() does not solve this problem. It's broken badly, as it returns FALSE if the user hasn't granted permissions. The whole point is to see if the LAND has granted permissions, before we waste time bothering a customer.

See https://jira.secondlife.com/browse/BUG-10195 and https://jira.secondlife.com/browse/BUG-6912 regarding this issue.

Link to comment
Share on other sites

The easiest thing to do is create a keyvalue you know will exist later:

llCreateKeyValue("ExperienceTest", "Ping!");

Then, whenever you you want to check if your experience is going to work, you could attempt to read the value:

llReadKeyValue("ExperienceTest");

If you get your "Ping!" string back, you know your experience is working.

Otherwise, you'll get back a return value that represents an error, most likely XP_ERROR_NOT_PERMITTED_LAND.

Link to comment
Share on other sites

  • 1 month later...
You are about to reply to a thread that has been inactive for 3149 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...