Updates:
- Faster and more reliable connection to host
- Auto reconnect on connection failure
- Better error handling
- Example code for C# and VB.Net
- Used more descriptive method names
- Now supports multiple instances of InSimInterface
- Added documentation
- Lot of small things
This version is NOT compatible with any previous version of LFS External. This means you cannot upgrade by just replacing the dll file. You have to copy/paste the code from the old version to the new one.
You should really consider updating especially because the connection is much more stable and it has much better error handling.
Just converted some of my projects into the new version, I have to say it's incredibly tidy, everything is already set up, all I had to do was Copy + Paste
Gratz on the good job, it's very much appreciated by me, I use it for all my LFS projects
This update us fully compatible with version 1.1.0, you can replace the dll. I just added 2 new namespaces. LFS_External.OutSim and LFS_External.OutGauge.
I added a examples for C# and VB.NET too.
Because then if someone wants to edit a simple configuration setting, they will need to download and recompile the source. That's probably OK if you're a programmer who has the IDE and knows the language, but if you are giving you program away to, you know, normal people, then that would be insane. Would so many people use LFSLapper if they needed to recompile the source every time they wanted to change the admin password? No, they wouldn't. In my opinion it's a very good idea to put configuration settings in a separate file that's easy to edit. Or even better if your program is graphically based, write a special options dialogbox.
Alot of times... I had the problem every time i started my insim on a full server, some NCN packages got dropped.. so these players where in the Players list but not in the Connections list.. Fixed it with some threads on the NCN handler (to reduce the execution time)
Glenn, Have you tried doing as i said here, Im sure its fixed in 1.1.0> but if your still using 1.0.4 then it isnt.
E: Making a new thread just to handle NCN isnt a good idea really, Use the backgroundWorker or the threadpool. Thats if you MUST use a thread, which IMO isnt needed.
oh it was just that i was trying to debug it but you cant is there any way you can speed up the packet transfer? so there is less lag between the stuff showing on the form and lfs?