EQ2EmuLauncher

Topics related to tools created by the Core Team or 3rd-party community members.

Moderator: Team Members

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: EQ2EmuLauncher

Post by Jabantiz » Wed Jun 04, 2014 3:41 pm

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.

Dello0000
Posts: 175
Joined: Fri May 30, 2014 9:18 am
EQ2Emu Server: MHM Laneth
Characters: Dello - Dellos
Location: Scotland!
Contact:

Re: EQ2EmuLauncher

Post by Dello0000 » Wed Jun 04, 2014 4:50 pm

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.
I cant see it killing the server but it may have an incorrect tooltip. Muhahaha :twisted:

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: EQ2EmuLauncher

Post by Jabantiz » Wed Jun 04, 2014 5:08 pm

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

Dello0000
Posts: 175
Joined: Fri May 30, 2014 9:18 am
EQ2Emu Server: MHM Laneth
Characters: Dello - Dellos
Location: Scotland!
Contact:

Re: EQ2EmuLauncher

Post by Dello0000 » Thu Jun 05, 2014 3:57 am

Yeah that fix you done worked, not getting any errors at all :)
I cant see it killing the server but it may have an incorrect tooltip. Muhahaha :twisted:

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: EQ2EmuLauncher

Post by Jabantiz » Thu Jun 05, 2014 1:06 pm

Thanks for checking it out.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: EQ2EmuLauncher

Post by Jabantiz » Tue Jun 10, 2014 7:57 pm

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.

User avatar
alfa
Team Member
Posts: 550
Joined: Fri Jul 27, 2007 6:24 pm
Location: France
Contact:

Re: EQ2EmuLauncher

Post by alfa » Fri Jul 11, 2014 2:14 pm

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 ^^
Fight with me... Or die, like the rest.
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: EQ2EmuLauncher

Post by Jabantiz » Fri Jul 11, 2014 2:24 pm

Thanks for the report and the fix, committed your code to tools svn.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: EQ2EmuLauncher

Post by Jabantiz » Thu Feb 19, 2015 5:01 pm

Committed a small update, fixes a potential crash and a slight change to the error format.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest