Probably an easy fix

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Susa
Non-Subscriber
Posts: 2
Joined: Thu Aug 11, 2011 3:33 am

Probably an easy fix

Post by Susa » Sun Aug 14, 2011 12:30 am

I am trying to launch DAoC on a local server but I am running into, I believe, a small snag.

under game configuration I have 6 fields filled out as follows:

Main executable filename = portal.exe
Main executable parameters = 127.0.0.1
Main executable path = c:\program files (x86)\daoc portal
Launch without hooking filename = is blank
Launch without hooking parameters = is blank
Launch without hooking path = is blank

This gets me to a small launcher window and I can see my server name and my quick log-ins so I know inner space can see the server but when I try to connect I get an error stating, "unhandled exception has occured in your application. if you click continue...... index was outside the bounds of the array"

The details gave me this:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at DAoCPortal.UrlHandlerDialog.button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Portal
Assembly Version: 2.5.0.16500
Win32 Version: 2.5.0.16500
CodeBase: file:///C:/Program%20Files%20(x86)/daoc%20portal/portal.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ModManager
Assembly Version: 1.0.0.23499
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/daoc%20portal/ModManager.EXE
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
MPKLib
Assembly Version: 1.0.3410.16691
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/daoc%20portal/MPKLib.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
-----------------------------------------------------------------------

I feel like I am half a step away from figuring this out. Any tech gurus out there see a solution in this?

Thanks Susa 8)

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Sun Aug 14, 2011 8:36 am

1. I don't support or promote the use of emulated/"private" servers

2. The error is in the portal program you're running, report the following 3 lines to the "tech gurus" that wrote it and they can fix the unhandled exception (that or they're not gurus, but either way this is something to be fixed in the code for DAoCPortal.UrlHandlerDialog.button1_Click)

Code: Select all

System.IndexOutOfRangeException&#58; Index was outside the bounds of the array.
at DAoCPortal.UrlHandlerDialog.button1_Click&#40;Object sender, EventArgs e&#41;
at System.Windows.Forms.Control.OnClick&#40;EventArgs e&#41; 

Susa
Non-Subscriber
Posts: 2
Joined: Thu Aug 11, 2011 3:33 am

Post by Susa » Sun Aug 14, 2011 8:33 pm

Thank you for the reponce :)

They have me loading directly into my DAoC characters using .bat files atm; which does not seem to work with Inner Space. I thought maybe I could load the characters one by one with this method instead of using a full character set to launch. no luck so far.

I did manage to get Isboxer running with EQ which sold me in a matter of seconds so I will be upgrading to a year membership as soon as my free time runs out.

Post Reply