Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Can I Mix Scripts and "Buy Pass" Parcel Feature?

Lenny Looming
Registered User
Join date: 9 Nov 2007
Posts: 57
12-04-2007 02:33
I have some "pods" set up on my land. each one is sitting on an allocated piece of land that requires the visitor to buy a pass to enter that pod.

What I want to do is prevent others from buying passes or entering that pod while in use, thereby limiting one person per pod.

Can this be done?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-04-2007 06:16
From: Lenny Looming
I have some "pods" set up on my land. each one is sitting on an allocated piece of land that requires the visitor to buy a pass to enter that pod.

What I want to do is prevent others from buying passes or entering that pod while in use, thereby limiting one person per pod.

Can this be done?

sell passes through an object, using llAddToLandPassList, use some combination of sesor or timer to determine if the previous occupant is still there, and only allow a new user if there is... easiest method, set a timer and use llSetPayPrice to control it.. when a person pays, they get added to the pass list, and switch states, in the new state, run a timer, when it goes off, remove the person from the list and go back into the previous state (states w/o a money event ignore payprice)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Lenny Looming
Registered User
Join date: 9 Nov 2007
Posts: 57
How to: Allow 1, Deny All Others?
12-05-2007 00:09
Ok, well here is what I've accomplished so far...

I rezzed a small box in the corner of the parcel that is easier to use for pass purchase than clicking on the ground. The visitor then right-clicks the box and selects "Pay" and I have a default fast pay of L$100 for 15 minutes. They are then granted that time allotment within the confines of the parcel in question.

I cannot figure out yet how to deny others from buying a pass and also entering the parcel.

I gather it's something to do with a known user state for the designated parcel - like a visitor count or allotment, but I've no clue how to implement this yet.

BTW, each "pay to access" parcel I've set up on my land is only 64m2 - an 8X8 meter square.

So could you (or anyone else) maybe offer me an example or a link to an example of how to disable entry to anyone else while the parcel is in use? That seems to be the only thing left for me to code.

Many thanks!

- Lenny
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-05-2007 04:51
From: Lenny Looming
Ok, well here is what I've accomplished so far...

I rezzed a small box in the corner of the parcel that is easier to use for pass purchase than clicking on the ground. The visitor then right-clicks the box and selects "Pay" and I have a default fast pay of L$100 for 15 minutes. They are then granted that time allotment within the confines of the parcel in question.

I cannot figure out yet how to deny others from buying a pass and also entering the parcel.

I gather it's something to do with a known user state for the designated parcel - like a visitor count or allotment, but I've no clue how to implement this yet.

BTW, each "pay to access" parcel I've set up on my land is only 64m2 - an 8X8 meter square.

So could you (or anyone else) maybe offer me an example or a link to an example of how to disable entry to anyone else while the parcel is in use? That seems to be the only thing left for me to code.

Many thanks!

- Lenny

as suggested above, if the code enters a new state that does not have a money event, it won't take money, ie, no one can pay.... I don't believe you have to enable sell passes on the land, in fact you wouldn't want to, but rather let the script alone handle the adding/removal... (IIRC you don't need to have passes enabled for the land for the script to work, so they wouldn't have an option of clicking the ground... someone verify? Ihave no land =)

aside: people actually pay you 100L$ for 8m2 for 15mins?
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Lenny Looming
Registered User
Join date: 9 Nov 2007
Posts: 57
12-05-2007 05:07
From: Void Singer
aside: people actually pay you 100L$ for 8m2 for 15mins?


Private viewing booths, 20 streams of XXX videos, 5 new streams added weekly, etc, etc.

I tried and tried and TRIED to make decent money selling skyboxes, furniture and other non-sexual things but as soon as I added XXX to anything on my land suddenly my sales quadrupled. Go figure. lol...

So the point of this thread is that people pay L$100 for 15 minutes in a booth where they can watch movies in "private." But I found that if someone else wanted to enter the booth all they had to do was also pay L$100 and suddenly the first guy had company. No pose balls present to it's really senseless. Plus I have 12 booths set up with 8 more to be added soon.

- Lenny
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-05-2007 07:16
dunno whether to laugh or cry.... I'll laugh, and direct you to a song a friend of mine passed me.... it's from a musical which imitates/parodies sesame street... called Avenue Q... the song is called "The Internet is for Ponn" (intentionally misspelled) link to lyrics here:
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Lenny Looming
Registered User
Join date: 9 Nov 2007
Posts: 57
12-06-2007 01:49
From: Void Singer
dunno whether to laugh or cry.... I'll laugh, and direct you to a song a friend of mine passed me.... it's from a musical which imitates/parodies sesame street... called Avenue Q... the song is called "The Internet is for Ponn" (intentionally misspelled) link to lyrics here:


"Why you think the net was born?
P o r n ... p o r n ... p o r n"

LOL...

You're right... Sadly.

Welp, I just paid a scripter who has been working in SL since early 2006 to do all the coding for my video screen and when he is finished I'm going to see if he can maybe code for me the script I need to allow only one person at a time per booth.

In RL I worked, years back, in a couple different adult video stores while attending college and they had the adult viewing booths. Those things were so lucrative it was amazing.

I find it interesting that while Second Life in many ways mimics real life, there is a lot that it tends to ignore. But I also realize this is a newer media and as such people are still familiarizing themselves with it and what it is capable of.