Cant edit/save script in Nyx *FIXED*

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
SLAVEBOY037
Explorer
Explorer
Posts: 11
Joined: Fri May 07, 2010 12:19 am

Cant edit/save script in Nyx *FIXED*

Post by SLAVEBOY037 »

Hi,

I have been working on a pretty big flash tease in the Nyx editor and am encountering a problem.
Since I last worked on it has exceeded 1100 pages. I can still add pages in the "Visual" tab and even save them through this tab. But when I edit the script under "Script" I can't save the changes annymore.
It doesnt matter if I save it (edited script) with the "script", or with the "visual", save button.

I tried deleting the whole script and copying it back in from notepad.
I tried the newest FireFox and IE8 My flash is version 10.1
I tried waiting 24 hours.

But everytime I try to save the edited script I get the error:
[Error contacting server. Try again later or ask for help in the forums.]

I have the feeling my tease is getting too big. But I find it weird I can still add pages through "visual", save them and see them in updated (saved) script.

I hope somebody can help me on this error.

Thx in advance.
Last edited by SLAVEBOY037 on Wed Jul 28, 2010 12:34 am, edited 1 time in total.
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1139
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Cant edit/save script in Nyx

Post by cumhardy »

Wow, over 1000 pages? Sounds awesome!

I had exactly the same problem with a long tease I wrote, the only solution I found was to split it into 3 parts and publish them seprately. I think it has something to do with the size of the tease, eithe rthe amount of pages or the amount of images used.

You could split it up into seperate teases and use a code system so people couldnt cheat befor ethey finished the first part
SLAVEBOY037
Explorer
Explorer
Posts: 11
Joined: Fri May 07, 2010 12:19 am

Re: Cant edit/save script in Nyx

Post by SLAVEBOY037 »

Thanx for your reply!

It seems I just discovered the problem :)

I've been putting quite a lot of random "faith- based" stuff into the tease, by using the
range command. for example:

----------------------------------------------------
719#page(
'',
pic("a246.jpg"),
vert(buttons(giveup#, "Give up"),delay(8sec, range(500,520),style:hidden))
);
----------------------------------------------------

Here you have to wait 8 seconds and a random next page is chosen.

What I would like to do now is using the "Continue" Button to randomly pick a next page and it looked like this in script:

----------------------------------------------------
800024a#page(
'',
pic("p.jpg"),
go(range(80001,800024)#)
);
----------------------------------------------------

This didnt work so I wanted to take out the # symbol and save it.
When I did this I got the "contacting server"error.

So I just tried replacing it by this:
----------------------------------------------------
800024a#page(
'',
pic("p.jpg"),
go(start#)
);
----------------------------------------------------
It is the normal code with continue button and without range.

And it SAVED :D

After that I tried replacing by :
---------------------------------------------------
800024a#page(
'',
pic("p.jpg"),
go(range(800001,800024))
);
---------------------------------------------------

And all of sudden it accepted code and saved again!
Also the continue --> random page is working :)

I have no clue what the exact problem is, maybe it was just the server having difficulties?
Maybe I was lucky by fiddeling around with the script.

Anyway its working!

thanks again for the fast reply.
seraph0x
Administrator
Administrator
Posts: 2654
Joined: Sun Jul 23, 2006 8:58 am

Re: Cant edit/save script in Nyx *FIXED*

Post by seraph0x »

Word to the wise: Switching between visual and script view is dangerous. If the visual view can't parse your pages properly THEY MAY DISAPPEAR. Make sure you BACKUP (copy script to a text editor and save on your computer.)

Apart from that: Keep up the good work, 1000 pages is very impressive! :smile:
User avatar
cumhardy
Experimentor
Experimentor
Posts: 1139
Joined: Wed May 28, 2008 10:54 pm
Gender: Male
I am a: None of the above
Location: UK

Re: Cant edit/save script in Nyx *FIXED*

Post by cumhardy »

yeah be careful with using the range command and then going to visual editor. It likes to add random #'s onto the range script that makes it mess up sometimes. I try to do as much as I can in visual then add all the script changes at the end.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests