13Swellendam, The Contributor

Member Since

5/5/2015

Last Activity

11/4/2015 3:59 PM

EXP Points

130

Post Count

21

Storygame Count

0

Duel Stats

0 wins / 0 losses

Order

Sage

Commendations

0

“Each book was a world unto itself, and in it I took refuge.” - Alberto Manguel

 

Trophies Earned

Earning 100 Points

Storygames

Testing example
unpublished

Just testing script etc


Recent Posts

Music on 8/19/2015 8:52:34 AM

thanks, I realized how to do it after playing around a bit. Got confused with the embed and source stuff, but eventually this monkey managed to peel the banana. 


Music on 8/19/2015 7:56:10 AM

Hey guys

I want to insert music, and the previous threads regarding this did not contain anything that worked, e.g.:

(The scripting validator kept saying "did not recognize <)

I am not a scripting expert; I know very little. Can someone give me the script I need to insert AND where this must be inserted. Help would be greatly appreciated!

And yes, I will not bombard the reader with music, there are links where you can choose with or without music. 

Thanks !


cant access storygame (to edit it) on 7/13/2015 7:51:44 AM

Hey, I am using Google Chrome, Advanced editor, and so far I have been making just the one game. And the problem did not go away after logging out/logging in, restarting pc, etc etc. But the problem did go away after a day, strange? Not the first time having that problem. Although the really big problem I have is the following error, which is very persistent and keeps popping up when I test my storygame: 

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. 

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error: 
 

Line 45: Line 46: //must be, load storystate Line 47: State = StoryState.CreateFromString(Request.Form["SS"]); Line 48: Line 49: //determine action


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

Stack Trace: 
 

[FormatException: Input string was not in a correct format.] System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14292453 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +305 ChooseYourStory.Stories.StoryState.LoadFromString(String encodedSaveString) in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\StoryState_ToFromString.cs:135 ChooseYourStory.Stories.StoryState.CreateFromString(String storyState) in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\StoryState.cs:63 ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Story\Viewer\Default.aspx:47 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


Storygame is corrupt and missing parameters on 7/10/2015 7:56:41 AM

IT GIVES THIS ERROR:

 

Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 
 

Line 88: cmd.Parameters.Add("@Story_Title", SqlDbType.VarChar, 100).Value = StoryTitle.Text; Line 89: cmd.Parameters["@Story_Title"].Direction = ParameterDirection.InputOutput; Line 90: cmd.Parameters.Add("@Difficulty_Level", SqlDbType.Int).Value = EditorHelper.NullIf(Request.Form[DifficultyLevel.UniqueID]); Line 91: cmd.Parameters.Add("@Maturity_Level", SqlDbType.Int).Value = EditorHelper.NullIf(Request.Form[MaturityLevel.UniqueID]); Line 92: cmd.Parameters.Add("@Category_Id", SqlDbType.VarChar).Value = EditorHelper.NullIf(Request.Form[Category.UniqueID]);


Source File: c:\Websites\ChooseYourStory\ChooseYourStory.com\my\adveditor\Properties.aspx    Line: 90 

Stack Trace: 
 

[NullReferenceException: Object reference not set to an instance of an object.] ChooseYourStory.Stories.Editing.EditorHelper.NullIf(Object o) in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\Editing\EditorHelper.cs:187 ASP.my_adveditor_properties_aspx.SaveChanges() in c:\Websites\ChooseYourStory\ChooseYourStory.com\my\adveditor\Properties.aspx:90 ASP.my_adveditor_properties_aspx.SecondaryNavigation_BeforeNavigate(Object sender, EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\my\adveditor\Properties.aspx:75 ASP.SecondaryNavigation.btn_Click(Object sender, EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\my\adveditor\SecondaryNavigation.ascx:54 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +152 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3803


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


GIFs on 5/22/2015 3:16:39 AM

Hey guys

I do not think I have seen GIFs in the storygames I have read. I want to include 1 or 2. What is your opinion regarding GIFs? And I want to be sure that other readers will be able to see it


Into the Wild by Jon Krakauer on 5/15/2015 9:46:35 AM

Yip, I get that thing about people saying he was stupid doing what he did. I watched the movie with my parents and I had to endure "He is crazy/not normal/stupid story" comments every 5 minutes. People from previous generations are very conservative in their viewpoints and life philosophies, primarily because of their social and political structures at those times. Even where I live (South Africa) we were indoctrinated with the aphorism "werk, trou en kinders kry", which means "work, marry, get children", and if you stray from that path you are not deemed fit for normal society and frowned upon. That is why McCandless's views are so controversial, but fundamentally I tend to agree with him. Especially after I read Walden, which later inspired me to read Krakauer's book. Great story, and if I had half the courage McCandless had I would be a very happy person. 

(And if Eddie Vedder's "Society" is playing - and I get a bit too overwhelmed by commercialism and greed and all the other rotten fruits of society - who knows, I might book a ticket to Alaska and enjoy being immersed in raw Nature!)     


Links on 5/13/2015 12:15:17 PM

Thanks! But I am confused with scripting (hence Newbie Central), so can you clarify where I need to input the script? Is it at the script icon (which is next to the variable +- sign)  next to the link I want to change, or where? And when I insert the script it is not valid, the ul part before the {brackets}.

So say I want the link (e.g. "Start Story") in the center, gold color, with no bullet, how would the scripting look exactly (I copy it from your message) and where do I put this in?

Many thanks for the help!


Links on 5/13/2015 9:08:11 AM

Yo!

How do I put links in the center of the page? And change their color?

Thanks for any help


Fitting the background picture on 5/13/2015 8:51:44 AM

I tried this now and it works! Easy! Thanks for the help


Fitting the background picture on 5/12/2015 9:30:29 AM

Yip, with 

IF $PAGEID != 4 THEN BEGIN
$PAGETEXT := "" + $PAGETEXT
END

page 4 will retain its own background, but say I want also for page 7 to retain its own background, how do I do this for page 7? This what I do for page 4 and 7 but it is not working, in global page script:

IF $PAGEID != 4 THEN BEGIN
$PAGETEXT := "" + $PAGETEXT
END

IF $PAGEID != 7 THEN BEGIN
$PAGETEXT := "" + $PAGETEXT
END

What should I type in global page?

I hope it makes sense ...