Searching in All forums
(378 results)
buedi
S3 licensed
Check your cfg.txt if you initialize Outsim / Outgauge via Insim. It seems like the Settings in cfg.txt have Priority over what you set over Insim. This was my Error when I had the same Problem like you have now... maybe it´s the same.
buedi
S3 licensed
Wow! I was on a Trip today and arrived at home 1 hour ago and I am surprised that there are so many Replies

As I am watching the Training of the 24h Race on the Nurburgring at the moment and I will watch all Footage I can get on Saturday / Sunday (+hanging around in the Nurburgring Forum Chat http://www.20832.com/) there won´t be much time this Weekend to work on the App and watch in the Forum.

But since there are 9 more Replies than I estimated I want to give out a few Words to you:

1. ATM you can NOT connect to LFS via Activesync. Because the only Protocol implemented at the Moment is UDP. And Activesync does not Support UDP.
2. I used a Fujitsu Siemens PocketLoox N560 to test the Application. It has Windows Mobile 5.0 and a 480x640 Display. "Sadly" it has a very fast CPU (Approx. 624 MHz). So I don´t know how it will run on slower PDAs. If someone wants to test a Version which locks up and produces strange Errors sometimes and has a Windows Mobile 2003 / 5.0, slower and lower Resolution PDA I can send you the .exe as soon as I have fixed a Major flaw maybe next Week. But please, don´t expect much
3. Sure I will try to implement the Landscape Mode because it´s looking more like a Motec Display then
4. I think you will need a Windows Mobile 2003 (or higher) PDA because the .NET Compact Framework is not installing on 2002 Devices (AFAIK).
5. Currently I fear that the App eats much CPU Power because the PDA gets a bit warm which does not happen if I play Solitaire on it. But to find that out I will have to find a slower PDA and see if it still works.

As I said before I will have to fix some Bugs and after that I will try to implement handling of most (maybe all?) Insim Packets. Since I don´t even call me a bad Programmer I have currently only implemented a very simple GUI with some Textboxes, Labels and a Progress Bar (LOL) as Rev Display. To make it look like a Motec or similar thing I am sure I will have to learn very much (or let this Part make someone else). But who knows... I am far away from that.

I only wanted to show what I did because yesterday I was so proud and amazed that it works

So, don´t expect much from me for the next 2 Days... at least until the 24h Race is finished
PocketLFS: Outgauge / Insim Application for Pocket PC (in Development)
buedi
S3 licensed
Updated: 28th June 2007

OK, it´s not ready yet... it has Bugs and I have so much things in my Mind which I would like to implement. Today I got to the Point I was before the Insim Changes where made. It´s not much but currently it´s working.

So have a look if you want, I recorded a little Video. Sorry for the Quality, but I was too lazy to pull out my Video Camera

I want to say "Thank you very much" to 2 guys from our Community. Without them I would not have get that far. Keep in Mind that I never programmed anything before, but I will do my best to make it a stable Application with more features than you see in the Vid ;-)

Thanks to T-RonX for his InSim base for Visual Basic .NET 2005. Without this I would have never started. It turned out that I had to rewrite many parts because they where not compatible with the .NET Compact Framework. But I think I got it all sorted

And Thanks to riskredruM for showing me how to make and hold a stable UDP Connection to the new LFS Insim System. Without you I would be still sitting here reading Docs and scratching my Head.

So... watch this: PocketLFS Preview Video

Ah yes, you don´t see it in the Vid: There is no Cable on the PDA. I use a Wifi connection... hmmm... somehow it should be possible to fix it on the Wheel

Update 28th June 2007 (v0.0.0.4):
  • Fixed a Bug which cause PocketLFS to crash when driving some of the Turbo Powered Cars. The Turbo Gauge had a Bug which caused PocketLFS to crash when a high Boost Value was reached.
  • Added a simple Shiftlight. It turns the Background of the Gear Indicator into Red. Will make this Configurable in the Future maybe.
Update 24th June 2007 (v0.0.0.3):
  • (Hopefully) fixed the Bug that caused PocketLFS to crash when starting, stopping and starting the Connection again.
  • Moved the Stop / Start Functions to the Menu because I need Space on the Screen to implement Tabs
  • Added Tabs to have more Space for new Functions ;-)
  • Added a very simple Log to see what´s going on. Mainly for Debugging Purposes for myself.
Update 23rd June 2007:
  • Added an Exit Function. You can now set PocketLFS in Background (Windows Mobile Standard Behaviour) when Pressing the ‘X’ Button in the Top Right Corner. Or you can use the Exit Function in the Menu to close the Application completely.
  • Created a Installer CAB File to install the Application on a PocketPC instead of copying the .exe and creating a Folder manually. (Only for Testing now)
Update 21st June 2007 (v0.0.0.2):
  • Added the About Form just to be sure that Complains don´t go to the Developers of Live for Speed ;-)
  • Fixed some Bugs in the Code which caused Problems when connecting to Live for Speed and a Password was set.
  • Tested with Windows Mobile 2003 German / English and Windows Mobile 5.0 German, English and Russian.
Update 11th June 2007:
  • Fixed Bug: When overreving the Engine the Application hang.
Update 10th June 2007:
  • Added a Function which sets the Min / Max Values of the Rev Bar correctly.
  • Added Boost Gauge Bar (not 100% ready yet, have to find out Max. Boost for all Cars)
  • Added a Detection Routine for Screen Resolution (VGA / QVGA) and Screen Orientation (Landscape / Portrait)
  • Added Icons for VGA and QVGA PDAs
  • Fixed some Connection Bugs and cleaned up the Code
The Current Version is available for Download here:
PocketLFS Download
Last edited by buedi, . Reason : Application Updated...
buedi
S3 licensed
Quote from Red Runner :Hi there,

Anyway, some Cons:
- No support for OutGauge yet (missing the right idea for reacting to "no-header-packets" atm)

I don´t know how your Sourcecode looks. But in my code just before the Select Case Part where I compare the PacketIDs I have a few Lines of code who measure the Packet Length and if the Packet has a Length of 92 I assume that it´s an Outgauge Packet.

Sadly in the Current LFS Version I use (W43) I can activate Outgauge, but LFS doesn´t send me the Packets... and I still don´t know why. But don´t mind... I hope above helps. And good Luck with your Project
buedi
S3 licensed
I laugh out loud every time when I hear or read somebody complaining that other People are "wasting their Money". Don´t they have a clue how economy works? If nobody is buying things nobody can earn Money.

So I am happy when there are people around who buy things like there´s no tomorrow no matter how "useless" I think these things are. The worst thing that could happen to me when someone buys Stuff is that I get the Money as a salary from my Boss. And if someone throws out Millions to buy Stuff the economy gets that Money, then People get it who hopefully spend the Money again to buy other things.

I think you could spend hours finding out who gets money for one Bolt if you follow the Path from mining the raw material, to transportation, someone who produces these Bolts, again Transportation and so on.

All I can say is that I find it better when people spend their money instead of hiding it under their pillow. Economy needs Money flowing around... otherwise sooner or later most of us will be unemployed.

So people out their: Waste your Money and consume consume consume!
buedi
S3 licensed
Quote from riskredruM :You want to send with UDP ?? Wright ??
Make sure that you not allway´s set a new connection cause then every time the next Port is chosen. Establish 1 Connection and use this.

Yes, I am using UDP. And what you explained is exactly what I try to achieve. But thanks to my very limited Programming Knowledge I am researching how to do this since many hours now. If you would have seen what I tried maybe you would have a good laugh
But I am trying further until my GF shouts at me. But currently she plays with my PDA, so I think I have some time left until the Battery is empty
buedi
S3 licensed
I am currently looking into this:
UDPClient.Client Property

It looks like it lets you reuse your existing UDPClient Connection. But I am not sure if it´s the right path to a solution.
buedi
S3 licensed
Did you start from Scratch? If yes, how do you make the Connection right now? I have the Problem that LFS gets my Insim Init Package and processes it but it doesn´t seem to be able assign the following Packages to the existing Insim Connection.
buedi
S3 licensed
Hi T-RonX,

no problem here with the ISI Packet. IMHO I upgraded all necessary Bits to V4. When I send my ISI Packet I see the Connection in LFS and I even get the Version Packet back into my App which I can process and display on my Screen. And LFS sends all 30 Seconds a IS_TINY Package for Keep Alive to me..
So the Connection is established, InSim is initialized and I get Packets from LFS.
But LFS seems not to believe me that the following Packets I send are for the InSim Connection I previously opened. I used Wireshark to find differences in my Packets. And what I recognized so far is that my 1st UDP Package has an SRC Port of i.e. 1130, the 2nd one of 1131 and so on. Does LFS expect the same SRC Port Value in the UDP Packets it receives to know which Packets are for which InSim Connection?
buedi
S3 licensed
Quote from DeXteRrBDN :Can I compile LFSLib.dll with Compact Framework? so it can work with a PPC C# project

AFAIK you can not just "compile" it against the .NET CF. You will have to go through the Sourcecode and rewrite / find new ways for all the Code which uses Parts not available in the .NET CF. At least this is what I am doing ATM for the .NET VB 2005 Sources posted by T-RonX here in the Forum.
buedi
S3 licensed
Hi T-Ronx,

if you read this maybe you have an answer.
Currently I have problems sending Packets to LFS. In your Code when you send Data you call the Shared Sub Senddata. Within this Sub you create a new Socket to which you send the Data.

If I understand correctly how the new InSim Version works I have to open a Socket (i.e. UDP) and let it open until I close InSim again. The Problem with the Senddata Sub in the current state is that I can send my 1st Packet to LFS (ISI Packet). But when I send a 2nd Packet (i.e. a IS_Tiny for Keep Alive) I get the Message from LFS: "Packet received before ISI Packet". So my Package got sent, but LFS does not know that it came from the same Host / Socket who has sent the ISI Packet.

I am searching the Web and MSDN Offline / Online for 2 hours now but I don´t get it. I don´t want a solution, but maybe you can push me into the right Direction so I should get it on my own then.


BTW: My Listen Socket seems to be open all the Time because I can receive Packets from LFS (i.e. I get the Version Packets and those IS_TINY Packets for Keep Alive testing). But somehow I must make something different when sending Packets.
buedi
S3 licensed
Quote from DeXteRrBDN :Anyonw knows how to "convert" LFSLib.dll into a Compact Framework? So it can work with a PDA.

I think you have to do it like I do it currently with the VB.NET 2005 Code I found in another thread. Get the Sources and find different Approaches for all Functions in the Code which are not working with the Compact Framework.

The Compact Framework has not the same functionality as the .NET Framework on the PC. So you sometimes have to do a bit more complicated programming than when using the .NET Framework on the PC.

I got it nearly all converted until Insim Changed. And now I am working on adapting all to Patch X. But it´s no DLL. It´s just Sourcecode on which someone can build his own App then.

Please don´t ask when it´s finished. I am working on it, but my Programming Skills are limited and I have not much time. But I think I will get the Basics it working soon (hope so) :->
buedi
S3 licensed
Hi T-RonX,

I just wanted to say that I am using your Code since a few months as a Basic for my Program. There where many Problems when using your Code on Windows Mobile because the .NET Compact Framework is somehow crippled. But I think I got it all sorted out. And when I was on my way to make it 100% .NET Compact Framework + .NET Framework compatible someone decided to rework the Insim Protocol
What I started now is converting all again to the new Insim Protocol. As you offered your Source for download in the Forum I will do this too when I am finished (could take some time for me, because I am not very good at Programming right now). And I won´t forget the Credits. I think there is not much left of your code, but it got me a very good Start into Coding and using the Insim Protocol. Without it I would have never got that far.

So I can just say Thank you very much
buedi
S3 licensed
Sorry for being so quiet. But I had a lot of work and was reworking my Homepage too. And since there where many changes announced in the Insim Protocol I decided to stop Developing until Patch X is released. As we can expect Patch X tomorrow I think I will start developing again and rework my whole Sourcecode until it works again.

Progress was slow but fine so far. I got a Outgauge App running on my Windows Mobile 5.0 PDA over WLAN. I am still learning because I never was a programmer, but it´s a challenge for me. When my Code is working again and I get something to show I will, that´s for sure! And when i think the Basics are working I will post the Sources here because I am sure there are a lot of People out there who KNOW how to code and could make things much better than me. But until now it´s a challenge for me to get it running.
And don´t expect a Killer App and be gentle to me when I release something and the Sources look like they where done by a 5 year old
It´s the 1st time I am trying to programm an Application.

Maybe you ask why I use it over WLAN. When using Activesync you can´t use UDP. And since UDP was the only Choice in LFS <= W I had to do it this way. And I can tell you, debugging is not funny this way! Since there is a Patch X which features TCP as well it should work with ActiveSync / your Cradle too if I can implement TCP. But without a cable it could be possible to fix your PDA to the Wheel like a real LCD in a Racecar... I think I should try this
buedi
S3 licensed
Quote from felplacerad :I get "List index out of bounds (2)" when the application tries to update/refresh/retrieve my replays.

I get this too. Maybe it helps when i say that I "upgraded" from Version 2.4.xx (don´t know the exact Number, but it was "old")

After I click OK on the Error Message the Box which says "Building Replay list. Please wait..." is still on the Screen. But It seems that I can use all Functions of your Application.
The new MPR Feature is great and the Options Dialog is looking very nice now. Great work
buedi
S3 licensed
@XCnuse
It looks more like a Peugeot 307 for me.
I hope the Link works... searched in G and came to this (down that thread a bit is a Black 307, NOT that Cabrio Version):
Link
Last edited by buedi, . Reason : Shortened that Link a bit ;-)
111 Racers?
buedi
S3 licensed
I just updated my Favourites and got this... looks strange with 111 allowed Racers. Is this a W17 Server or something else we should know?
buedi
S3 licensed
AFAIK we had a Ladder System back in the S1 Days. And if I remember correctly I had the worst Racing experience on this Servers. Most People did ALL for advancing 1 Position in the Grid. If you where a fair driver you got knocked off the Track whenever it was possible. I hated it.
A lader is nice when the Server has an Admin and where People behave. Then it could be fun... but if you feel like a Crash Test Dummy (as I did in the Past when the Ladder was active) I don´t need it... really.

I don´t race very often, but when I got out for some Racing most of the Time I meet very nice People who are clean Racers. Maybe I am just lucky
buedi
S3 licensed
Quote from sam1600 :But then I won't have the FFB 'stop' kicking in at full lock.

This was suggested in the Improvements Section here in the Forum. I think it´s the last thing we need to say we have 100% DFP / G25 Support
buedi
S3 licensed
Hi Ian,

I have a WR.TMP too and it has 22.964 Bytes. Do you need the File? I don´t think it´s a Problem (because the Rest of the Program works), but on my (German) System the Directory is not Application Data, it´s calles Anwendungsdaten. I have a Appliation Data Directory, but there is only Data from 2 other Programs I use. Maybe the Converter Routine does not find the .tmp File?
buedi
S3 licensed
Hmm... wenn I press the Update World Records link it says: Downloading World Record Data. Please wait...
... since about an hour or so

I inserted my Pubstats Key in the Options. So... what to do?
buedi
S3 licensed
Yeah, sad that there is nothing happening here. It was a really good Idea and I like Autocrossing very much
buedi
S3 licensed
Quote from DeXteRrBDN :is your "something like that. But never brought it to an end" easy convertible to PDA compatible ?
[...]

I am currently "working" on an Insim / Outgauge App for my Windows Mobile 2003 and Windows Mobile 5.0 PDA. But Progress is really slow, because I have not much time. With Luck I can code the Application once a week for a few hours. And since I am learning programming while writing this Application I am really very slow. But I want to finish it... first I have to adapt it to the new Insim Version :-/
buedi
S3 licensed
I found this one... they don´t have Engines, but watch that guy at around 1:30.
http://www.youtube.com/watch?v=BBwZ2oa_1Qc
buedi
S3 licensed
Yeah, I play it too since a few days... and the Secret Mode ist the Best. Even my Girlfriend plays it. The best you can do is put some "cubes" behind his feet and then bump him backward. I am so evil
FGED GREDG RDFGDR GSFDG