Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 3/7/2007: Script problem, hopefully fixed as of now

Received the following error

19 years ago

Received this after clicking the first link on cryptode 2 

Server Error in '/' Application.

Specified cast is not valid.

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.

Exception Details: System.InvalidCastException: Specified cast is not valid.

Source Error:

Line 35: 			case "FollowLink":
            Line 36: 				{
            Line 37: 					StoryStateReturnValues ret = State.FollowLink(int.Parse(Request.Form["pbValue"]));
            Line 38: 					switch (ret)
            Line 39: 					{

Source File: d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx    Line: 37

Stack Trace:

[InvalidCastException: Specified cast is not valid.]
            ChooseYourStory.Stories.Scripting.BinaryExpression.Evaluate(StoryState state) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory.Stories.Scripting\BinaryExpression.cs:78
            ChooseYourStory.Stories.Scripting.ConditionalStatement.Execute(StoryState state) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory.Stories.Scripting\ConditionalStatement.cs:61
            ChooseYourStory.Stories.Scripting.StatementBlock.Execute(StoryState state) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory.Stories.Scripting\StatementBlock.cs:58
            ChooseYourStory.Stories.Scripting.ParsedScript.Execute(StoryState state) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory.Stories.Scripting\ParsedScript.cs:26
            ChooseYourStory.Stories.StoryState.Scripting_ExecuteLinkScripts(Int32 linkId) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_Scripting.cs:121
            ChooseYourStory.Stories.StoryState.FollowLink(Int32 linkId) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PublicInterface.cs:224
            ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx:37
            System.Web.UI.Control.LoadRecursive() +47
            System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
            

ALEX!!!

19 years ago
ALEX!!! WHERE ARE YOU!!!! LMAO!

ALEX!!!

19 years ago
Hahahahaha!!!

ALEX!!!

19 years ago
lol, insert the long "noooooo" sequence here! NOOOOOOO!!!! ALEX!!!! I AM DOOMED IF YOU DO NOT HELP ME!!!

Received the following error

19 years ago

I looked at it briefly, but I'm at a loss. I'd have to look at it further.

What are you doing differently??   Do you have a script, etc?

Received the following error

19 years ago
That happened while I was doing "Check Your PokeSmarts". I deleted the page an d remade it and it worked fine.

Received the following error

19 years ago
I tried that Prince, but it didnt work, however, if i set the chapter start page to blank, my second chapter becomes the start of the game, and it works! so maybe there is a bug in the first chapter?

Received the following error

19 years ago
You got me then.

to: alex!

18 years ago
Alright, seriosly alex! i cant work on my game for the contest otherwise, can you please take another look?

to: alex!

18 years ago
I was making MTTS 2, I'd spent HOURS on it, and then after I made the first mission, which took FOREVER, the chapter link didn't work. Yeah, I asked for help to, but I guess everybody just loves you more than me ) :

to: alex!

18 years ago
add me as co-author, i can take a look... :)

to: alex!

18 years ago

Well I love neither of you.. IM NOT GAY!