ThePuzzleMaster, The Dramatist

Member Since

12/20/2012

Last Activity

1/15/2021 5:25 PM

EXP Points

524

Post Count

193

Storygame Count

0

Duel Stats

9 wins / 7 losses

Order

Sage

Commendations

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Trophies Earned

Earning 100 Points Earning 500 Points

Recent Posts

On-Page Variable Tricks! on 12/12/2013 6:48:08 PM

Good article!


New Moderator: BerkaZerka on 11/10/2013 12:30:33 PM

Congratulations BZ!


scripting question on 8/25/2013 1:47:14 PM

What Killa said. For more help with scripting I recommend reading the articles about scripting in the Help and Info section.


Scripting problems! on 8/5/2013 1:27:52 PM

I had a similar problem with the same error message.


How do you creat mazes? on 7/19/2013 2:37:44 PM

Yeah, I got stuck in that maze and had to lose a lot of score to get out.


All Storygame genres linking to new storygames on 7/18/2013 2:23:56 PM

This has happened before, not sure why. But It usually fixes itself after a while.


Server Time Outs 7/3/2013 on 7/16/2013 3:18:53 PM

Happened just now for me, and I think for everyone else as well, judging from the amount of users online.


Problem with $ITEMSTATE on 7/16/2013 3:18:35 PM

I suppose I could work around, it would just mean a bit more work.


Problem with $ITEMSTATE on 7/16/2013 1:55:39 PM

In my story I want a certain item to appear in the players inventory after clicking on a link. I attached the Script below.

$ITEMSTATE2 := 1

But when I click on the link in the Story Viewer this comes up:

 

Server Error in '/' Application.


PostProcessed already!

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.Exception: PostProcessed already!

Source Error:



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

Source File: c:\Websites\ChooseYourStory\ChooseYourStory.com\Story\Viewer\Default.aspx    Line: 36

Stack Trace:



[Exception: PostProcessed already!]
   ChooseYourStory.Stories.StoryState.PostProcess() in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\StoryState_PostProcess.cs:184
   ChooseYourStory.Stories.StoryState.FollowLink(Int32 linkId) in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\StoryState_PublicInterface.cs:258
   ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Story\Viewer\Default.aspx:36
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

 

I tried pasting the script onto the page script instead and it worked just fine. But for the thing I'm doing I want the item to appear when you click the link, not when you arrive at the page. Is there something I'm doing wrong?


Displaying Variable in Global Scripts on 7/3/2013 4:36:30 PM

That works, thanks.