These forums are CLOSED. Please visit the new forums HERE
Pay to Sit (Opposite of Camping) |
|
|
Smith Peel
Smif v2.0
Join date: 10 Jan 2005
Posts: 1,597
|
11-24-2006 12:10
Hello friends, I have a camping script-- does an opposite script exist? One where you would pay a certain amount of L$ per minute to sit?
_____________________
Wanna live in a giant wang? http://slurl.com/secondlife/Conroy/210/210/22/ Or just be bad in public? http://slurl.com/secondlife/Conroy/222/22/22/ |
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
11-24-2006 12:22
could easily be made.
I'd prefer it though if you had a system where you "paid" and then the script went into a sittable MODE that would expire... Example.. the vehicle won't turn on unless it's been paid AND THEN the user sits down. actually inverting the camping chair code isgrossly irrespoinsible socially.. since "Joe's Chair wants permission to take money from you".. is a little odd of phrasing.. and doesn't really constitute a "contract" the way the "pay" button does. You could sit on that chair thinking it was going to take $1L from you, and an unethical script could take every cent the person has in a matter of seconds. So... I'd really like to see development on this idea go more like the first one. The second has too great a potential for misuse and trouble. No one should EVER be asked for permission to take money from them.. from an object they don't own. Because you're handing the script a blank check at that point. Don't get the noobs used to clicking "okay" to that question. (even if your purpose is an honest one).. because it makes it too easy to dupe them down the road. Noobs should react to that question with "What the heck? no, you may NOT have permission to take money from me! do you think I'm stupid?" _____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
daniel Goldenberg
Registered User
Join date: 5 Jun 2006
Posts: 2
|
opposite camping script
11-24-2006 12:23
since you cant make sit an AV with a script i think you should make a script that force to pay before the "player" sit and remember who pays and start a timer, so if you didnt pay the chair will unsit the AV.
then, you pay, sit and the chair will unsit you when the time is up and letting you to pay to extend the time ( if is your idea). sorry that i could not post a sample script. IM if you need help or ideas. |
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
11-24-2006 12:28
It wouldn't work anyway:
"integer PERMISSION_DEBIT This permission is used with the llRequestPermissions function and can only be requested of the object owner." _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
11-24-2006 12:30
Okay so then, with that settled.. let's look at what he wants.
On money.. if money < target amount, give it back. if money > target amount, give change and switch to the "active" state. if money = target amount, switch to the "active" state. Active state contains a timer that starts on sit. Timer runs out, it unsits the user, and then changes back to the default state. (sound right?) _____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
daniel Goldenberg
Registered User
Join date: 5 Jun 2006
Posts: 2
|
11-24-2006 12:36
sounds right to me Winter, but it depends on the use of this script. i think that giving the chance to extend the time could be a good idea. ex. if you are using a "pay per use" car or plane, you may want to pay to stay on it before the timer expires.
|
|
Smith Peel
Smif v2.0
Join date: 10 Jan 2005
Posts: 1,597
|
11-24-2006 12:40
Winter, that sounds close to what I'm thinking. Since the debit won't work, how about a way to make it possible to pay for a certain amount of minutes (user choice) at so many L$ per minute?
_____________________
Wanna live in a giant wang? http://slurl.com/secondlife/Conroy/210/210/22/ Or just be bad in public? http://slurl.com/secondlife/Conroy/222/22/22/ |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
11-24-2006 12:53
You will need to only start the time once the person who has paid has actually sat down...
Also what would happen if they get up part way through their time? do we : A) refund? B) say thanks for the tip? or C) mark ourself as inactive until they return and use the rest of their time? personally I'm in favour of B but A is still relatively straight forward. C is possible but is open to abuse, a bit like putting your towel on the deckchairs the night before Set the timer to work in either seconds, or minutes, and increment, or decrement, a counter on each timer event until the users allocation has been reached. That way top ups can be added with out interfereing with the current process. |
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
11-24-2006 12:53
That could be done.. You could actually set it up so it was a $1L/minute thing, and easily transfer the amount paid, into a number that was used to determine time. obviously any number of multiples could be layered on that, so it could be 10L/minute, or 1L/10minutes.. whatever you like.
_____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
11-24-2006 13:09
The money event would work out how much has been paid for and set the counters accordingly. If the user over pays then refunds could be given.
iCostPerMinute is a global that would be set up elsewhere, possibly configurable via a notecard or dialog/menu interface. CODE
|
|
Smith Peel
Smif v2.0
Join date: 10 Jan 2005
Posts: 1,597
|
11-24-2006 13:18
Thanks! I will try to test this out in world next week after I get my new graphics card. I am not very skilled w/scripting though, so I'll probably be looking for advice on configuring it to work with a notecard.
_____________________
Wanna live in a giant wang? http://slurl.com/secondlife/Conroy/210/210/22/ Or just be bad in public? http://slurl.com/secondlife/Conroy/222/22/22/ |
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
11-24-2006 13:22
yeah, the above isn't a script, it's a code snippet. But it's an example of how this element of the script might be made. There's still a great deal of scripting to be done, wrapped around newgate's snippet.. but you only gave us a snippet of the idea you want to implement, so you only got a snippet back.
I gotta say it again.. I love this forum. I wish more people used it. ON a side note... regarding your sig: The Ati Radeon 9600 SE Dual Head will run SL reasonably well. The 9800 Pro has some issues with it, and several 9800 users have reported that something about SL tends to cause overheating/burning of the cards. I use the 9600 SE now (since my 9800 fried itself)... and I have no serious issues running the game. ANy problems I DO have more-likely stem from my 2mhz P4, or the 512 megs of ram / small HD's I have. I heartily reccommend a nVidia card.. they handle 3d MUCH smoother. I have an older 64m nVidia card that actually can do a serviceable job of running the game with lowered quality settings.. on a 1ghz P3!!! I'd try newegg, tiger direct, or good old ebay to see if you can't come up with an affordable card that can still "get the job done" for the timebeing. _____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
Smith Peel
Smif v2.0
Join date: 10 Jan 2005
Posts: 1,597
|
11-24-2006 13:29
Well what I really want is the exact opposite of a camping script (you pay x$L to sit for y amount of time, instead of getting paid x$L to sit for y amount of time), but since the debit won't work in this situation, then the solution of charging per minute at a specified rate in advance will work fine.
I agree, the forums are great ![]() _____________________
Wanna live in a giant wang? http://slurl.com/secondlife/Conroy/210/210/22/ Or just be bad in public? http://slurl.com/secondlife/Conroy/222/22/22/ |
|
Raeyan Aldrich
Registered User
Join date: 14 Oct 2006
Posts: 44
|
11-24-2006 17:35
The Ati Radeon 9600 SE Dual Head will run SL reasonably well. The 9800 Pro has some issues with it, and several 9800 users have reported that something about SL tends to cause overheating/burning of the cards. I use the 9600 SE now (since my 9800 fried itself)... and I have no serious issues running the game. ANy problems I DO have more-likely stem from my 2mhz P4, or the 512 megs of ram / small HD's I have. I heartily reccommend a nVidia card.. they handle 3d MUCH smoother. I have an older 64m nVidia card that actually can do a serviceable job of running the game with lowered quality settings.. on a 1ghz P3!!! I'd try newegg, tiger direct, or good old ebay to see if you can't come up with an affordable card that can still "get the job done" for the timebeing. lol amen to that. my 9800 pro is buggier than an ant colony. ive had numerous experiences with myself seeing prims and textures in places that no one else could see them... the card renders things oddly sometimes and yes it heats up really bad while SL is running... i'm half tempted to drop my nvidia back in to see if it runs smoother... ![]() |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
11-25-2006 03:27
yeah, the above isn't a script, it's a code snippet. But it's an example of how this element of the script might be made. There's still a great deal of scripting to be done, wrapped around newgate's snippet.. but you only gave us a snippet of the idea you want to implement, so you only got a snippet back. Indeed it was, but only because that was the bit we where discussing. Adding an owner menu is straight forward and has been discussed several times in alternate threads, try this one I'd also suggest looking at this thread as a camping script albeit currently non working!!! (I will get back to it Winter......) |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
Try This
11-25-2006 15:20
This a first attempt at the desired code.
Its two scripts, a Menu Handler, and a sit / animator. You will probably recognise it as the same basic ideas behind the camping chair script. Menu Script Use to set the options by the owner. CODE
The Sit Script CODE
Its not yet perfect. The timer will start as soon as you pay so they lose a few seconds between paying and sitting. If they dont sit within 1 muinute then they will lose their credit. The usual Caveat, I've not tested this in anyway shape or form. Enjoy. |