My LFS is not installed, it's just a copy that I have been keeping for so many years now, so it's not in registry and maybe that's why InSimSniffer doesn't detect it.
Alright, when I try to set the path manually, I get this:
Version: 1.2.0.0
Date: 09/12/2010 19:01:33
OS: Microsoft Windows NT 6.1.7600.0
Culture: pt-BR
Exception: ArgumentException
Message: The path is not of a legal form.
Source: mscorlib
Target: System.String NormalizePath(System.String, Boolean, Int32)
Stack Trace: at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
at System.IO.Path.GetDirectoryName(String path)
at InSimSniffer.OptionsDialog.OnLfsExeButtonClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.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.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)
Since I wanted to use it asap and I can't expect you (and you don't have to) to be here 24/7, I tried to solve it by my own workarounding that problem.
On OnLfsExeButtonClick(), I changed:
dlg.InitialDirectory = Path.GetDirectoryName(lfsExeTextBox.Text);
to
if (lfsExeTextBox.Text != "")
{
dlg.InitialDirectory = Path.GetDirectoryName(lfsExeTextBox.Text);
}
Now I can select the path manually without any problem, it even launches LFS correctly. BUT, I still can't connect to my LFS.
It says:
"Make sure LFS is running and configured to accept connections on the correct port."
I tried connecting after launching LFS by my own and setting insim to 29999, tried 127.0.0.1, tried 192.168.1.2, nothing works.
Have you got any idea to help me?
Thanks,
Lucas