de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Key Holder Roulette
PostPosted: Sun Aug 13, 2017 10:57 am 
Offline
Addict
User avatar
I have just uploaded a new script called "Keyholder Roulette"

It is based on a Milovana tease of the same name by Sub-routine

https://milovana.com/webteases/showtease.php?id=23643

Unfortunately, there are no pictures loaded for it at the moment, so it won't work properly.

This is because the pictures are selected randomly, rather than from hardcoded files in the script.

How do I load them? Do I e.g. need to put a dummy show image for each in the script? Rather tedious but it might work.


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Sun Aug 13, 2017 11:55 am 
Offline
Addict
User avatar
Pics are uploading now...

Please get version 0.3


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Sun Aug 13, 2017 1:30 pm 
Offline
Addict
User avatar
I have added additional pictures in a "Picture Pack script" to complete the set I had gathered.

Alternatively, you can add or change the pictures in the existing folders, as the pictures are chose randomly from the folders images/keyholderroulette/0..14

The files you put in these folders can have any name.


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 2:24 pm 
Offline
Addict
User avatar
Interesting concept!

Unfortunately, it gives me an "Error Null" when running for the first time, when it begins to select the current Mistress.


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 3:05 pm 
Offline
Regular
boy2spank wrote:
Unfortunately, it gives me an "Error Null" when running for the first time, when it begins to select the current Mistress.


Same here. :?


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 8:27 pm 
Offline
Addict
User avatar
This might be due to the missing images.

Have you got the version 0.3?

If so, in images/keyholderroulette, there should be a set of numbered folders, with images in them. If they are missing then reget the script.

One final possibility. Can you check the value in your properties file for

Do you have

keyholderroulette.currentmistress

and what is its value.


Last edited by arthurb on Tue Aug 15, 2017 9:26 pm, edited 1 time in total.

Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 9:04 pm 
Offline
Addict
User avatar
Thanks for raising this issue.

I have just re-downloaded the script, and it had no images in it. They were there when I got it Yesterday. I have just uploaded a version 0.4 with 1-3 images per Mistress in it, so at least you can play!

I have up to 16 images of some of the Mistress, and I might have blown some server size limit by including them all, even splitting them across 2 scripts :(

The script is written so that it will randomly select from whatever pics you add to the folders I noted above, so you can add your own, even to pics your prefer 8-) but it will work with just one in each.


Last edited by arthurb on Tue Aug 15, 2017 9:27 pm, edited 1 time in total.

Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 9:21 pm 
Offline
Addict
User avatar
I have added the full image pack here.

https://mega.nz/#!1HY0BZzT

key
Show spoiler


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 10:50 pm 
Offline
Addict
User avatar
Thanks for the quick fix! I downloaded version 0.4 just now and that seems to be working well.


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Tue Aug 15, 2017 11:27 pm 
Offline
Active member
First issue:
After selecting "Pass the key" option - there is a Null error.



Second issue:
Running the script again: Error: Cannot get property 'length' on null object. (java.lang.NullPointerException(@ line 71) == setImage(fileArray[getRandom(fileArray.length)].toString())

Having a quick nosey in the script, it looks like you aren't -1 off the index (Trying to find folderName 15 in function setCompletelyRandomImage) - arrays start from index 0 which is why I assume you have folder 0 or is folder 15 actually missing?

I quickly fixed mine by folderName = folderName = 1; within the function but I've only just quickly scanned over the code.

I did use the mega image pack.

_________________
while (!succeed) try();


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Wed Aug 16, 2017 5:23 am 
Offline
Addict
User avatar
Thanks Modnar, I have fixed that in version 0.5

current_mistress = 1+getRandom(candidates);

needed to be

current_mistress = getRandom(candidates);

So it was an array index problem, which I had found and fixed before, but only on one of the places I needed to correct it :oops:

You will also need to change

keyholderroulette.currentmistress=15

to

keyholderroulette.currentmistress=0

in the properties file to reset you back to Susan

It would be easy to add a Mistress 15 or more, as I'd written it to be easily expanded, but I think you've got plenty enough Mistresses for now!


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Wed Aug 16, 2017 6:28 am 
Offline
Addict
User avatar
I have just added a v0.6

This adds a check for missing images folders and then exits with a message telling you to get an image pack.

I have also cut it to 1 image per Mistress, so it works out of the box, but doesn't get flagged as a large script.

I recommend you add either the picture pack script, or even better, get the mega download.


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Wed Aug 16, 2017 11:09 am 
Offline
Active member
Awesome, quick updates good job.

Maybe you could of added in a check for this version, save others who fell into the issue with #15 having to edit a file they may not be comfortable with.

Show spoiler


or


Show spoiler

_________________
while (!succeed) try();


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Wed Aug 16, 2017 11:28 am 
Offline
Active member
It's me again,

"Pass the key" - Are you allowed to pass the key regardless of if you've waited x time and not done the task? Or are you going to be adding in some validation later with punishment?

_________________
while (!succeed) try();


Top
 Profile Send private message 
 
 Re: Key Holder Roulette
PostPosted: Wed Aug 16, 2017 7:57 pm 
Offline
Addict
User avatar
There's plenty of scope for enhancements, but I wanted to get a basic version out there.

Currently it relies on the "honesty" system for when its time to can pass the key, i.e. you have to count the days yourself, but could pass it early, but it could count the days and enforce the time period, or punish you if you get caught cheating :twisted:


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Yandex [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.