Nyx question

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Nyx question

Post by Mistress Jenifer »

When I made my first tease...

The range command was told to me to be extremely picky. I was told that if I loaded the page in the visual editor the range command broke in the script page.
This still true?

Thanks
~Mistress Jenifer
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Nyx question

Post by philo »

Mistress Jenifer wrote:When I made my first tease...

The range command was told to me to be extremely picky. I was told that if I loaded the page in the visual editor the range command broke in the script page.
This still true?

Thanks
~Mistress Jenifer
The nyx editor does have a habit of losing changes, I can't remember the exact circumstances.
But it does do strange things if you do changes in the script editor then use the visual editor.
I must admit I gave up on it and wrote the offline editor.
I only use nyx to publish and test stuff rather than as an editor
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: Nyx question

Post by Nezhul »

Yes this is still the case. The problem is that nyx adds "#" sign in front of any page ID (page name) when it's a target of a button. If the target is range, then visual editor will STILL add # in front of it, and it is not a valid call anymore.

basically it turns the line
buttons('lalala',range(1,3,'page')) or something into
buttons('lalala',#range(1,3,'page')) and this button will simply not work.
You will have to then go to script editor and remove this extra sign and save it like that.

p.s. I don't remember if # is in front or after the page ID. Either way there shouldn't be no # near range() function.
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
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Re: Nyx question

Post by Mistress Jenifer »

Nezhul wrote:Yes this is still the case. The problem is that nyx adds "#" sign in front of any page ID (page name) when it's a target of a button. If the target is range, then visual editor will STILL add # in front of it, and it is not a valid call anymore.

basically it turns the line
buttons('lalala',range(1,3,'page')) or something into
buttons('lalala',#range(1,3,'page')) and this button will simply not work.
You will have to then go to script editor and remove this extra sign and save it like that.

p.s. I don't remember if # is in front or after the page ID. Either way there shouldn't be no # near range() function.
So basically that only happens if I open the pages in the range in the visual editor?
If I setup a 20 page range and then go three pages out of it before fully setting up the range in the script, presuming I never touch those 20 pages it'll never break?
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: Nyx question

Post by Nezhul »

So basically that only happens if I open the pages in the range in the visual editor?
You can visit the pages IN the range as much as you want. You shouldn't visit the page that holds the button/timer that picks a random page. So basically if you have a page that picks from 20 other pages, you can visit all of those pages, but then you shouldn't visit the page that is choosing them.

Anyway, if you find yourself visiting some page and ruining the command, I recommend you:
1) write your tease entirely not bothering of where you go
2)when it's done go to script view
3) Copy the entire script and paste it into NotePad (simple text editor)
4) Press Ctrl+H (this lets you exchange one piece of text for another)
5) in the first field put ")#", in the econd put ")" (without quotes)
6) press exchange all.
7) copy your script back to nyx and save.
8) Publish without going to visual.

This simple method will fix ALL range() commands in your tease. :blush:
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