Page 3 of 3
Re: EQ2EmuLauncher
Posted: Wed Jun 04, 2014 3:41 pm
by Jabantiz
Some long planned stuff that I finally got around to doing
Added: Client and account selections will now be remembered next time you start the launcher
Added: Checks when loading to ensure saved client paths are valid, and option to remove them if not
Changed: Client settings will now be determined by the eq2default.ini and not this programs settings.xml
Changed: Load settings after the form is initialized and not while initializing
Removed: Old files that are no longer used that were left over from the early prototype
Main feature this time is that the launcher will remember you client and account selections for the next time you run it, also the launcher will check the eq2default.ini for what it is set to connect to.
Another change I forgot to put on svn is that clicking localhost will now change it to 127.0.0.1
Still want to do John's character idea if we can figure out how to get the files to populate reliably on emu servers, until then it will remain as is.
Re: EQ2EmuLauncher
Posted: Wed Jun 04, 2014 4:50 pm
by Dello0000
Very nice!
Error on launch but its not serious.
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at EQ2EmuLauncher.EQ2EmuLauncher.UpdateButtons()
at EQ2EmuLauncher.EQ2EmuLauncher.EQ2EmuLauncher_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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: 4.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
EQ2EmuLauncher
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/EverQuest%20II%20-%20EMU%20-%20Test/EQ2EmuLauncher.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.
Re: EQ2EmuLauncher
Posted: Wed Jun 04, 2014 5:08 pm
by Jabantiz
Thanks for testing and the error log, committed what should be a fix although I can't reproduce this on either debug or release versions so let me know if the fix worked or not, new exe on svn
Re: EQ2EmuLauncher
Posted: Thu Jun 05, 2014 3:57 am
by Dello0000
Yeah that fix you done worked, not getting any errors at all

Re: EQ2EmuLauncher
Posted: Thu Jun 05, 2014 1:06 pm
by Jabantiz
Thanks for checking it out.
Re: EQ2EmuLauncher
Posted: Tue Jun 10, 2014 7:57 pm
by Jabantiz
Changed the launch button so it will disable and say "Launching..." until the client actually opens, this should let you know the client is opening on the occasions when it takes its time.
For the curious, I track the memory usage of the client and once it get above a certain amount (60mb) the client usually has a window open, so at that point I change the button back.
Re: EQ2EmuLauncher
Posted: Fri Jul 11, 2014 2:14 pm
by alfa
Jab,
In EQ2EmuLauncher.cs you should edit line 156 / 157 for prevent crash at first run (if no Clients / Accounts set up)
Code: Select all
if (cmbClients.Items.Count != 0) { cmbClients.SelectedIndex = LastClient; }
if (cmbAccounts.Items.Count != 0) { cmbAccounts.SelectedIndex = LastAccount; }
P.S. This crash happend to me so ^^
Re: EQ2EmuLauncher
Posted: Fri Jul 11, 2014 2:24 pm
by Jabantiz
Thanks for the report and the fix, committed your code to tools svn.
Re: EQ2EmuLauncher
Posted: Thu Feb 19, 2015 5:01 pm
by Jabantiz
Committed a small update, fixes a potential crash and a slight change to the error format.