I need help with nyx please

All about the past, current and future webteases and the art of webteasing in general.
---
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

I need help with nyx please

Post by sxxx_fxxx »

I've never edited the script before, but i want to make my tease go to a random image within a range after a timer

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

Thats what i've got from the tutorial given, but the page just loops. Can someone point out what im doing wrong?
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: I need help with nyx please

Post by sxxx_fxxx »

I cant even get this to work!


start#page(
'The next page will be randomly selected',
pic("yourpic.jpg"),
go(range(1,5,'page'))
);

1#page('This page shows up if range generated a 1',
pic("yourpic.jpg")
);

2#page('This page shows up if range generated a 2',
pic("yourpic.jpg")
);

3#page('This page shows up if range generated a 3',
pic("yourpic.jpg")
);

4#page('This page shows up if range generated a 4',
pic("yourpic.jpg")
);

5#page('This page shows up if range generated a 5',
pic("yourpic.jpg")
);





Tried this too with same result

start#page(
'The next page will be randomly selected',
pic("1.jpg"),
go(range(1,3,'page'))
);

1#page('This page shows up if range generated a 1',
pic("1.jpg"),
buttons(whereyouwanttogo#,"Ok")
);

2#page('This page shows up if range generated a 2',
pic("1.jpg"),
buttons(whereyouwanttogo#,"Ok")
);

3#page('This page shows up if range generated a 3',
pic("1.jpg"),
buttons(whereyouwanttogo#,"Ok")
);


cant press continue with any of those scripts that were on other help topics
Last edited by sxxx_fxxx on Sun Aug 28, 2011 2:53 am, edited 1 time in total.
User avatar
masterstroke
Explorer At Heart
Explorer At Heart
Posts: 272
Joined: Sun Jun 28, 2009 12:07 am
Location: Minnesota

Re: I need help with nyx please

Post by masterstroke »

Try this script if you're not using buttons. Just paste it in and edit the delay time and page numbers to fit your tease.

delay(time:15sec, target:range(from:12,to:14,prefix:'page'),style:hidden)

The whole script for a frame should look something like this:

page11#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Hands off.</FONT></P></TEXTFORMAT>',
pic("jodie16.jpg"),
delay(time:15sec, target:range(from:12,to:14,prefix:'page'),style:hidden)
);

If you're using buttons try this text:

vert(buttons(page30#, "I Came"),delay(10sec, range(from:18,to:20,prefix:'page'),style:hidden)),

Just paste it in and edit the delay time and page numbers to fit your tease. To change button text just edit the text between the two quote marks.

The whole thing should look something like this (this script is using sound not text):

page17#page(
'',
pic("heather15.jpg"),
vert(buttons(page30#, "I Came"),delay(10sec, range(from:18,to:20,prefix:'page'),style:hidden)),
hidden:sound('outifits.mp3')
);

vert(buttons(page30#, "I Came"),delay(10sec, range(from:14,to:16,prefix:'page'),style:hidden))

Hope you can get it to work.

:wave:
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: I need help with nyx please

Post by sxxx_fxxx »

it still loops :(


going to give in for tonight and try again tomorrow

edit: might have got it now
edit2: nope :(
User avatar
masterstroke
Explorer At Heart
Explorer At Heart
Posts: 272
Joined: Sun Jun 28, 2009 12:07 am
Location: Minnesota

Re: I need help with nyx please

Post by masterstroke »

Post your script, maybe someone can spot the bug.
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: I need help with nyx please

Post by sxxx_fxxx »

masterstroke wrote:Post your script, maybe someone can spot the bug.
I dont have one anymore lol, im just trying to get the basic thing to work, i copied and pasted scrips from other help topics and none of them even work :S

Like this one

start#page(
'The next page will be randomly selected',
pic("yourpic.jpg"),
go(range(1,5,'page'))
);

1#page('This page shows up if range generated a 1',
pic("yourpic.jpg")
);

2#page('This page shows up if range generated a 2',
pic("yourpic.jpg")
);

3#page('This page shows up if range generated a 3',
pic("yourpic.jpg")
);

4#page('This page shows up if range generated a 4',
pic("yourpic.jpg")
);

5#page('This page shows up if range generated a 5',
pic("yourpic.jpg")
);

All that happens is that I cant press continue.
Gtg the now, its 4am lol. I'll try again tomorrow. Ty for your help
User avatar
supermokkori
Explorer At Heart
Explorer At Heart
Posts: 485
Joined: Tue Jul 05, 2011 11:11 am
Gender: Male
Sexual Orientation: Straight
Location: USA

Re: I need help with nyx please

Post by supermokkori »

sxxx_fxxx wrote:I've never edited the script before, but i want to make my tease go to a random image within a range after a timer

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

Thats what i've got from the tutorial given, but the page just loops. Can someone point out what im doing wrong?
Well, one of the problems with that script is this line:
delay(10sec, range(2,6,'page')#)
As I understand it, the "#" will cause an error in the code... there's a bug in Nyx where it will sometimes add the # symbol for a range command IF you use the Visual editor (as opposed to the Script editor). So if you're doing your FlashTease through the Visual editor (as I have been) and you use the range command, you should go into the Script editor to double check that Nyx didn't add the # symbol. I had the same problem as well when I first tried using the range command.

Hope that helps.
User avatar
masterstroke
Explorer At Heart
Explorer At Heart
Posts: 272
Joined: Sun Jun 28, 2009 12:07 am
Location: Minnesota

Re: I need help with nyx please

Post by masterstroke »

Try this:

Pick out five images.

Open a new tease in Nyx.
Add six pages. It should be start# and pages 2-6
Upload the five images into your tease.
Select a different picture for each page.
Set the Delay on each page for 5 seconds (Hidden)
Set the Target on page 2-5 for page6#
Save the tease.
Click on the Script tab and view the script.

It should look something like this:

start#page(
'',
pic("ines1.jpg")
);

page2#page(
'',
pic("ines2.jpg"),
delay(5sec, page6#,style:hidden)
);

page3#page(
'',
pic("ines3.jpg"),
delay(5sec, page6#,style:hidden)
);

page4#page(
'',
pic("ines4.jpg"),
delay(5sec, page6#,style:hidden)
);

page5#page(
'',
pic("ines5.jpg"),
delay(5sec, page6#,style:hidden)
);

page6#page(
'',
pic("ines6.jpg")
);

Paste the command below under the start# page:

delay(time:5sec, target:range(from:2,to:5,prefix:'page'),style:hidden)

Your start page script will now look something like this (the other 5 pages will be the same):

start#page(
'',
pic("ines1.jpg"),
delay(time:5sec, target:range(from:2,to:5,prefix:'page'),style:hidden)
);

Press Save in the under the Script editor.

Press the Preview tab. The first page (start#) will show for 5 seconds and then it will advance to another page for 5 seconds and advance to page 6.

Press preview again. A the first page (start#) will show for 5 seconds and then it should advance to a different page for five seconds and then advance to page 6.

What this does. You are telling program to show the start# page for 5 seconds and then randomly choose a page from page 2 through page 5, show that random page for 5 seconds and then advance to page 6.
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: I need help with nyx please

Post by Nezhul »

if you only need a random IMAGE (while the functionality of the next page will be the same), simply use a mask for image name. Say, pick your images, name them something like random01, random02, etc... then use
pic(random*.jpg) - this will choose among all images that start with the word "random" and the rest is whaterver it may be.

As for random page selection...
page11#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">test</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
delay(10sec, range(2,6,'page')#)
);
here's your mistake.
start#page(
'The next page will be randomly selected',
pic("yourpic.jpg"),
go(range(1,5,'page'))
);

1#page('This page shows up if range generated a 1',
pic("yourpic.jpg")
);

2#page('This page shows up if range generated a 2',
pic("yourpic.jpg")
);

3#page('This page shows up if range generated a 3',
pic("yourpic.jpg")
);

4#page('This page shows up if range generated a 4',
pic("yourpic.jpg")
);

5#page('This page shows up if range generated a 5',
pic("yourpic.jpg")
);
This works fine. It shows random pages as it should. Only you should remember that there's a bug in the editor, that it does not unset pages, even if you use the button "reset". I.e. while in editor each page can be randomly picked only once, so when you test that script 5 times, and as it will show you all 5 of your pages, it will stop working until you restart the editor. It will work fine in the actual published tease though, if you use unset() function (it won't work in the editor)
start#page(
'The next page will be randomly selected',
pic("yourpic.jpg"),
mult(
unset(1#,2#,3#,4#),
go(range(1,5,'page')))
);

1#page('This page shows up if range generated a 1. This is not the end yet',
pic("yourpic.jpg"),
go(start#)
);

2#page('This page shows up if range generated a 2. This is not the end yet',
pic("yourpic.jpg"),
go(start#)
);

3#page('This page shows up if range generated a 3. This is not the end yet',
pic("yourpic.jpg"),
go(start#)
);

4#page('This page shows up if range generated a 4. This is not the end yet',
pic("yourpic.jpg"),
go(start#)
);

5#page('This page shows up if range generated a 5. You have finally found the end.',
pic("yourpic.jpg")
);
this one will work in the PUBLISHED tease like that: It will pick random page from range 1-5 until page 5 is picked. Maybe it'll pick 5th page on the evry first try, but there are chances it will pick it only on, say, 20th try. It will unset pages 1-4, so they may be re-chosen again and again. It will not work in the editor because it can't unset things.

http://www.milovana.com/forum/viewtopic ... 55&start=0
http://www.milovana.com/forum/viewtopic.php?f=2&t=5926




now to the other guy.
delay(time:15sec, target:range(from:12,to:14,prefix:'page'),style:hidden)
this will most likely cause a glitch. Don't ever copy\paste scripts from /getscript.php of a ready tease. It should look like that:
delay(15sec, range(12,14,'page'),style:hidden)
At least don't teach others bad things.
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: I need help with nyx please

Post by sxxx_fxxx »

Thank you soooo much, i didnt even think to use the random image thing, that will save A LOT of time and pages

I didnt know about the bug in the editor; i think thats what the problem i was having was

Thanks again for your help :D
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: I need help with nyx please

Post by Nezhul »

no problem. I strongly trecommend you read through the links I gave, lots of good stuff there.
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: I need help with nyx please

Post by sxxx_fxxx »

Have i done something wrong with the script? Some of the pictures on the tease arent showing up when it starts to get into the pages with timers

http://www.milovana.com/webteases/showf ... p?id=13180


13#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Go at any speed</FONT></P></TEXTFORMAT>',
unset(12#,13#,14#.15#,16#,17#,18#,19#,20#,21#,22#,23#,24#,25#,26#,27#,28#,29#)
pic("int1*.jpg"),
delay(15sec, range(12,29,'page'),style:secret)
);
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: I need help with nyx please

Post by Nezhul »

First of all you have a comma missing after unset.
second, well you see, nyx normally can't process set(), unset(), must(), mustnot() functions. They should be placed in a containers like mult(), vert(), or horiz(). I.e.:
13#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Go at any speed</FONT></P></TEXTFORMAT>',
pic("int1*.jpg"),
mult(
unset(12#,13#,14#.15#,16#,17#,18#,19#,20#,21#,22#,23#,24#,25#,26#,27#,28#,29#),
delay(15sec, range(12,29,'page'),style:secret))
);
You should not place pic() in this container tho, as it will place all elements inside it in the same spot.
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
sxxx_fxxx
Explorer
Explorer
Posts: 61
Joined: Thu Dec 23, 2010 6:47 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: I need help with nyx please

Post by sxxx_fxxx »

thanks again for your help, the tease is finally compleate, and i havent slept all night... lmao its not 6:05am :O
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: I need help with nyx please

Post by Nezhul »

lol, don't overdo it )
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests