View Single Post
  #3  
Unread 06-04-2005, 03:23 AM
taco-man's Avatar
taco-man taco-man is offline
EQ2MAP Updater Author
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
Default

whats even stranger is that if you pick something else besides everquest2.exe (like eq2settings.exe) it will work right. i cant figure out why its opening eq2.exe when everquest2.exe is selected. What is really odd is that its like eq is detecting that its being autolaunched or something because i just made it show the same path and filename its launching when its set to everquest2.exe and autolaunching and it shows the right program.

the code is pretty simple, here is what i used, its showing the right file in the messagebox but the wrong one is opening
Code:
Try
                Dim p As New Process
                With p.StartInfo
                    If TestServer = True Then
                        .FileName = "TestEQ2.exe"
                        .WorkingDirectory = AutoLaunchPath & "\TestServer"
                    Else
                        .FileName = AutoLaunchFile
                        .WorkingDirectory = AutoLaunchPath & "\"
                        MessageBox.Show(AutoLaunchPath & "\" & AutoLaunchFile)    'this line shows the right thing
                    End If
                    .WindowStyle = ProcessWindowStyle.Normal
                End With
                p.Start()
            Catch ex As Exception
                MessageBox.Show("There was an error trying to launch Everquest II, Please open Everquest 2 manually.")
                Exit Sub
            End Try
that eq2 is somehow detecting it being opened is the only thing i can think of but it doesnt make sense.

ITs just the stangest thing, i dont understand it at all its driving me crazy and doesnt make any sense!
__________________
EQ2MAP Updater Download
EQ2MAP Website
How to Install a custom interface

Last edited by taco-man : 06-04-2005 at 03:56 AM.
Reply With Quote