Nyx: restrictions of range comand

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
ghostalternative
Explorer
Explorer
Posts: 20
Joined: Mon Dec 08, 2008 10:04 pm

Nyx: restrictions of range comand

Post by ghostalternative »

I have just published my first flash tease. It suffers a major bug and I have no idea how to fix it.

In this tease I use the range comand to randomly acces a selection of eleven pages. It is working for ost pages, but for some it doesn't work, no matter what I try.

To test the functionality, I creadet a test tease skript and it has the same problem. This is the skript:

All this tease shall do is to go to 11 different pages on a random base. It works for a while but after some time, the countdown runs out but nothing happens.

Code: Select all

start#page(
'',
pic("*.jpg"),
delay(2sec, range(2, 12))
);

2#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">2</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

3#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">3</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

4#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">4</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

5#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">5</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

6#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">6</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

7#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">7</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

8#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">8</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

9#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">9</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

10#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">10</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

11#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">11</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);

12#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">12</FONT></P></TEXTFORMAT>',
pic("*.jpg")
);
Please help me fixing this bug.
ghostalternative
Explorer
Explorer
Posts: 20
Joined: Mon Dec 08, 2008 10:04 pm

Re: Nyx: restrictions of range comand

Post by ghostalternative »

I did another test script and found out that the script gets stuck after the number of redirections you have setted in the range.

If there is the command go(range(1, 10)), then you can use this 10 times. Afterwards, nothing happens when you click continue.

It doesn't matter if I use this command on the same page or on another.

A single page can be accesed several times. In this case another page isn't accesed at all, because the script will get stuck before you go there.

Is this a bug in nyx?
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: Nyx: restrictions of range comand

Post by seraph0x »

ghostalternative wrote:I have just published my first flash tease. It suffers a major bug and I have no idea how to fix it.

In this tease I use the range comand to randomly acces a selection of eleven pages. It is working for ost pages, but for some it doesn't work, no matter what I try.

To test the functionality, I creadet a test tease skript and it has the same problem. This is the skript:

All this tease shall do is to go to 11 different pages on a random base. It works for a while but after some time, the countdown runs out but nothing happens.

Please help me fixing this bug.
I just took a look at your tease. The range command works fine, but there's something special to be considered when you run a range command multiple times:

The range command in the current version of the FlashTease system is modeled after the old "Range" command in PCM2. What that means is that every page that has been visited once is "set" and can't be visited again.

If you want to completely disable this behavior, you'd have to put a "unset(2#)" action on each of the pages that is called by the range().

For example:

Code: Select all

5#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">5</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
go(range(1, 10)),
hidden:unset(5#)
);
I know it sucks. The FlashTease2 system is coming this year and it'll clear out all of this old garbage syntax and illogical functionality :)
ghostalternative
Explorer
Explorer
Posts: 20
Joined: Mon Dec 08, 2008 10:04 pm

Re: Nyx: restrictions of range comand

Post by ghostalternative »

Thank you very much, you saved my day. I will try this at once and hopefully be able to fix the bugs in my tease.
ghostalternative
Explorer
Explorer
Posts: 20
Joined: Mon Dec 08, 2008 10:04 pm

Re: Nyx: restrictions of range comand

Post by ghostalternative »

This seems to do it, finally!

Thanks again for you help. I think, nyx is not so bad after all. You can do very much with this tool.
User avatar
all2true
Explorer At Heart
Explorer At Heart
Posts: 753
Joined: Fri Feb 08, 2008 3:42 pm
Gender: Male
Sexual Orientation: Straight
I am a: Slave
Dom/me(s): Looking for a dom/domme
Sub/Slave(s): I am a subby!
Location: Midwest USA

Re: Nyx: restrictions of range comand

Post by all2true »

I also had difficulty with the Range function in my Tease
All2true's Denial Game

I used two of them and the second seemed to interfear with the first
So anyway
Here is how it works (finally)

Code: Select all

page4#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Great, Now let&apos;s see</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">what fate has in store for you, hmm?</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Remember NO cumming unless I say it&apos;s okay.</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">(rolling dice)</FONT></P></TEXTFORMAT>',
pic("204n9ne.jpg"),
delay(10sec, range(1,5),style:secret)
);

Code: Select all

page75#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Well the game is almost done,</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Now we let fate decide what kind of</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">ending we get, will you get to cum?</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">(rolling dice)</FONT></P></TEXTFORMAT>',
pic("10126bw.jpg"),
delay(10sec, range(6,12),style:secret)
);
Note the different pages in the second range so it would not go to the First one!
Post Reply