I uploaded a version of InSimSniffer 1.1 compiled for the brand new .NET Framework 4.0 to the first post. I also fixed a very small bug that caused some packet info to be processed twice.
A good tip for VS C# 2010 is to go into Tools > Settings and chose Expert Settings, which will give you back all the menu and toolbar options you would be familiar with from VS 2008.
Edit: Incidentally the release version of C# Express uses about 100mb of memory less than the beta, and appears to run much much faster.
Visual Studio 2010 is out today, including Visual C# 2010 Express Edition.
Of course, this also means that the .NET Framework 4.0 is out too, so everyone with a Windows system should download it post-haste. Contrary to popular belief, the .NET Framework client is actually a rather small download, normally just a few megabytes. You officially have no excuse.
There is no point contributing to the community, as anything meaningful you do is just lost in space. For every guy who really cares about programming, there are ten guys asking "HOW DO U BUTTON I HAV INSIM BASE U HAV DO SKYPE?!?!?!" I write programs for LFS because I enjoy writing programs and sometimes the two overlap. However I have no desire to teach anyone on this forum any more, as so much of the discussion here is just infantile nonsense that has nothing to do with writing computer programs, or anything else for that matter.
I'm not sure what the error is, but that message suggests you are either trying to use a port which is already in use or one that hasn't been correctly shutdown. With UDP it shouldn't matter that LFS is using that port, in fact that's the whole idea! LFS is broadcasting packets on that UDP port, which you're trying to listen out for. Check that you app is the only program listening on that port and you are not trying to reuse a port used by LFS_External or anything else. Also make sure you are using the same port number you have specified in CFG.txt or in the ISI packet.
20 years isn't old for an airliner. Gotta remember they have teams of engineers fixing and replacing parts all the time. Not like the rusting Mazda sitting in your garage that hasn't seen a drop of oil in 10 years.
But anyway... I fell asleep with the TV on last night and this story woke me up this morning. I cannot imagine the shock and mourning that must be running through Poland right now. I said to an American friend earlier to imagine Air Force 1 coming down, as that's the level of devastation the country is experiencing. Terrible, tragic and sorrowful.
It's fairly easy to roll your own OutGauge code. All you need to do is create a UDP socket, bind it to the correct port, and then unpack each packet that is received. UDP is a very simple protocol to work with, and not much code is required.
A const value needs to be a literal in most all languages I think. In C# you can work around this by using static readonly parameters to make the result of an expression constant, I don't know if PHP may have an equivalent you could use.
A good, but not great, race. Happy to see Vettel get the win he deserves, and some great drives from Rosberg and again from Kubica. A fantastic drive from Hamilton in the McLaren, he really made it a race worth watching as he cut through the pack. Impressive from Alonso too, showing he has the skill to drive round a problem and still do the business, just sad that his car gave up before the flag.
Not much has been said about the championship, but it's really hotting up as we get closer to the European leg of the season.
1. Massa 39 2. Alonso 37 3. Vettel 37 4. Button 35 5. Rosberg 35 6. Hamilton 31 7. Kubica 30 8. Webber 24
- Could not locate the assembly 'LFS_External'. Check to make sure this assembly exists on disk
So... the problem is that the compiler is being told to use the LFS_External library, but it doesn't know where to find it. A reference to that library has not been added to the project yet. All of the other errors on that screenshot are just a result of it not being able to find that one library. It actually warns you those errors might happen!
- You may get compilation errors
Now, I don't know VB.NET at all, but you should be able to right-click on the project in the solution explorer and select 'add reference'. On the references dialog, select the 'browse' tab and then find the LFS_External.dll which should have been included in the zip file you downloaded from this thread.
I believe that once the reference to the library has been added, you should be able to build the project without any problems.
I find that the Visual Studio conversion process works pretty well actually. What errors are you getting when you try to convert it? In my experience once you've converted a project, you then need to build it before the errors and warnings will go away. Many of the errors you see are just a result of Visual Studio looking for .NET references and assemblies which haven't been built yet.
A good place to start is Microsoft's Visual C# Learning Centre, which has lots of articles and videos which will teach you some of the fundamentals. Also a lot of people don't realise that Visual Studio actually has a bunch of tutorials and resources built in, which you can find in the help menu, although admittedly most of these do presume some prior knowledge.
In my view, and I know this isn't the way it works any more, the best way to learn how to program is by reading a book. I've no idea what the best C# book for beginners is these days, but it shouldn't be too hard to find out with a quick Google. Another option would be to look for a college class in your local area, which you may even be able to take for free if you talk to your local benefits office.
Less women die in road accidents than men, which in my mind makes women better drivers. Admittedly I'm not an expert, but I think that not-dieing is a pretty good benchmark.
I think it's interesting that there are so many people who have these "deja-vu dreams". I have had them too. I think that the brain is not linear, it tricks us into thinking that we perceive the world in a procedural order, but really it's a big tangled mess of abstract connections. The mind is not like a CPU, it doesn't have a central pipe where all instructions are processed. It's more like a multicore processor where everything is executed in parallel and once the processes are finished it tries to sync it all back up. I guess you could say that "deja-vu", or "dream deja-vu", is like a human concurrency error.
Schumi took a massive whack at the start, I'd be surprised if he didn't have some sort of mechanical problem resulting from that clash. I know he's getting old and the car isn't awesome, but he's still better than Alguersuari.
All of the example code and example programs which are included with pyinsim are copyright and warranty free. pyinsim itself is under the LGPL, however this does not extend to the example code or documentation, which are released under Creative Commons. Learjet's cruise server is completely fair, supported by me and I'm happy for him to pimp it wherever he pleases.
I must say this is one of the better programmer requests I've seen on this forum, so I really hope you find someone to work on this with you. You could have maybe mentioned a little more about the platform and language you expect the programmer to work in, but aside from that you have earned the coveted DarkTimes seal of approval.