BlackMagi Darkwatch Posted July 17, 2014 Share Posted July 17, 2014 Am finally testing experiences now that Le Tigre is updated :) and have stumbled across the following;I clicked No on the experience request and recieved a reason of 3 hence I was trying to capture it but the reason is actually 4 (Suspended by Customer Support) Is there a definate way of capturing No? Text output[11:02] Object: 4[11:02] Object: We didn't receive permissions from BlackMagi Darkwatchoperation not permitted experience_permissions_denied(key agent_id, integer reason ){ llOwnerSay((string)reason); llOwnerSay("We didn't receive permissions from "+llKey2Name(agent_id) + "\n"+llGetExperienceErrorMessage(reason)); } Thank youBlack Link to comment Share on other sites More sharing options...
Gypsy Paz Posted July 18, 2014 Share Posted July 18, 2014 I also got a little stuck on 'Operation not permitted' the first time I tried out the exp. You need to allow your Exp key on the parcel or estate. In the beta project viewer, open up the About Land window. and then scroll the tabs over to the right to find the experiences panel. (that tab is hidden off to the right of the About Land floater) Link to comment Share on other sites More sharing options...
BlackMagi Darkwatch Posted July 18, 2014 Author Share Posted July 18, 2014 Hi Gypsy The experience is permitted on the parcel (found that one quite by accident!). I was hoping just to catch if the agent clicked No on the experience permission dialog. My first experience is a parcel teleport hud - if the agent can't (or won't) use the experience then I can send them a bog standard teleport hud as I am on a mission to be rid of teleporter pads. The first time I tried the return code was 3 (wording above - which I find a little confusing). Perhaps would be clearer if there was a XP_ERROR_AGENT_REFUSED & whilst looking at the codes might also be nice to handle a time out if the viewer doesn't know how to respond to the dialog for instance? Thank you Black Link to comment Share on other sites More sharing options...
Lindens Dolphin Linden Posted July 18, 2014 Lindens Share Posted July 18, 2014 The message for XP_ERROR_NOT_PERMITTED could probably be changed to mention that it cannot run in the location OR the agent refused. These conditions were intentionally merged into one. There is a time-out, which will happen after at least 5 minutes but may be longer. It should produce the same result. Link to comment Share on other sites More sharing options...
BlackMagi Darkwatch Posted July 18, 2014 Author Share Posted July 18, 2014 Hi Dolphin Ok, thank you for clarifying so the error message for XP_ERROR_NOT_PERMITTED = This experience is not allowed to run on the current region OR the agent clicked No. I think you can understand where the confusion lays. IMHO it seems to be 2 very different errors and whilst you state they were merged intentionally I believe another XP_ERROR message would be better suited? This is a breeze to work with though and future projects are being formulated even as I write this reply! Thank you Black Link to comment Share on other sites More sharing options...
Lindens Dolphin Linden Posted July 18, 2014 Lindens Share Posted July 18, 2014 In keeping these together I tried to consider what action the script could take when handling this result. I could not think of any compelling case where they would be handled differently. If you think you have a common enough case (considering land you don't own) you might want to enter a feature request Link to comment Share on other sites More sharing options...
BlackMagi Darkwatch Posted July 18, 2014 Author Share Posted July 18, 2014 Hello Dolphin, I totally understand your intentions and to a point it makes total sense however, consider the following; User Clicks No = user issue (let the user know) Not permitted to run on region or parcel = region / parcel owners issue (let the parcel / region owner know) I can't see where to request a feature on the jira so will leave it here. Thank you Black Link to comment Share on other sites More sharing options...
Innula Zenovka Posted July 19, 2014 Share Posted July 19, 2014 Ideally, I'd like not only to know when a user clicks "No" but also when a user blocks the experience (or maybe when the experience_permissions_denied event fires because the experience was previously blocked). This is because I'd like somehow to be able to tell the user that this is what he's done and, if he didn't mean to do it, this is how to undo it. I have found it pays never to underestimate people's ability to press the wrong button. Link to comment Share on other sites More sharing options...
Recommended Posts
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