Is there such a thing as being in the Advanced Editor forum too much?
Anyway, I have a problem with my item page. When you use the item, it brings you to a certain page. I used a Previous Page link to get back to the story, but when you click it, it says:
Server Error in '/' Application.
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
But when you click "Go Back" at the top of the page, it bring you back just like it's supposed to.
I don't have a script in that link.
That's actually exactly what I did. I deleted the link first, but I got the same message. Then the entire page, and the message is still there.
I checked the previous page option and changed the name of the link. That was it. When I recreated it, it was the same. I'll try making a new item.
EDIT: Still didn't work.
That didn't work either.
Oh, wait, me being an idiot. It's not in that story. Wow.
But I changed the title anyway.
I redid everything again, same thing happened.
Sneak peak turned on.
Oh, whoops. I'll fix that.
What? How do you do that?
Hi! Didn't work.
I just tried it on another story and it worked fine.
Woo, it's been a while.
Anyway, update! Made a second story, with more detail, and now it only goes wack on a specific page! I checked the scripts, since I forgot to last time, and I did have a script changing last page(a codex script). I edited that. It fixed all but a specific page. Then I checked that page, and it has no script on it whatsoever, or the link. The "Go Back" button in the corner still works.
Link to game: http://chooseyourstory.com/story/Pack_Songs_V_0x2e_2.aspx
The page that the item "Your Wolf" brings you to, if I remember correctly.
I'm not using any script on that link, that's the problem. It's just your average previous page link. I do, however, have a global page script(for my codex).
IF %ISCODEX = 0 AND $PAGEID !=
%LASTPAGE := $PAGEID
It's the only script involving last page links.
I'll move the item to the first page for easy access. :)
Again, it's a regular previous page link. So whatever page it was on before you used the item. Unless I'm misunderstanding the question.
It can't just be the previous page link, because using the item again causes the same error. Take a look at all the scripts that might run on or around that page—the two global scripts for instance.
That was the only script even close to that page, and the only global script. :\
I have three other scripts, for pages not even relevant, and not even linked to the story yet.
EDIT: Thanks, BradinDvorak, for solving the problem!