Mythic Forum

Current thread: Mythic forums > Technical > bug. i cant play
AuthorMessage

5/5/2012 3:33:34 PM
i go to main and it says 'resume adventure' . then i get 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 685: End If Line 686: FCols = 1 Line 687: While NumFriendly > FCols * (Int((Session("screenheight") - 200) / 130)) And (FCols + 2) <= N Line 688: FCols = FCols + 1 Line 689: End While Source File: C:\inetpub\wwwroot\adventure.aspx.vb Line: 687 Stack Trace: [FormatException: Input string was not in a correct format.] Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +201 Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +68 [InvalidCastException: Conversion from string "" to type 'Double' is not valid.] Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +212 Microsoft.VisualBasic.CompilerServices.Operators.SubtractObject(Object Left, Object Right) +365 adventure.tPeople_Refresh(SqlConnection& DB, Person[]& P, RoomObject[] RO, Group[] G) in C:\inetpub\wwwroot\adventure.aspx.vb:687 adventure.form1_load(Object sender, EventArgs e) in C:\inetpub\wwwroot\adventure.aspx.vb:345 System.Web.UI.Control.OnPreRender(EventArgs e) +8696902 System.Web.UI.HtmlControls.HtmlForm.OnPreRender(EventArgs e) +12 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyn
Legion
5/5/2012 5:16:22 PM
Hi, thanks for the detailed info. From the details, it looks to me like your session had expired. Usually this is from leaving the browser open for a long time without clicking anything, but it does happen spontaneously from time to time when the server hiccups and drops a session.

I opened a new browser window and logged in as you and was able to resume the adventure without any trouble.

If you are getting this error even with new browser sessions please let me know what platform and browser you are using and I can see if I can find any clues as to how to fix it.

5/7/2012 5:26:36 AM
i was using firefox on windows 7 i switched to internet explorer and it worked. but then all my guys died. so i wish it didn't. still have not made it past level 1. :(
Legion
5/7/2012 6:22:17 AM
Ouch. I'm sorry to hear about your guys dying. There has been a lot of discussion lately in these forums about different techniques players have used to be successful. I'm sure you'll find something that works for you.

Unfortunately, firefox doesn't really support standard java commands. In having to choose between firefox and the rest-of-the-world it was an easy decision for me. Hopefully they modernize their java engine at some point and it will start working, but until then Chrome or IE seem to be the best options for Windows browsers.

Post new message (use of HTML is permitted)
Username New player? Join mythic warfare.
Password
Body
Submit