The online racing simulator
Searching in All forums
(600 results)
DavidTiger
S3 licensed
RPM value for the current patch (z34) is in address: 008489E8


This is how the tweak programs worked, by editing values in memory. And also why it had taken time to update the tweak programs for each patch... Finding every single value one at a time, Although they were close together so when you found one value for the XFG most of the other values were close to that address
Last edited by DavidTiger, .
DavidTiger
S3 licensed
I got around this by reading the RPM values directly from memory, Makes it a little harder to update because the location of this value changes with every patch. Very easy to find so its not too much of a problem.
DavidTiger
S3 licensed
Anyone? If I manage to get the source back for this I can update it quicker because it takes time to re-code the whole program and time I cant spare much of

I cant find any source of this in my backups
DavidTiger
S3 licensed
Would be a way but unfortunately can't be used for what I'm needing it for...

I was bored, and some one asked to update the 'Vehicle Alarm' to use the new collision packets rather than just the speed...
So while I was re-writing it I though about making it more realistic by not allowing the alarm to be set while the engine was running...

Hence I was looking for a way to do it with insim, rather than having to connect to Outgauge too
Check if engine is running via InSim?
DavidTiger
S3 licensed
Hey, Is there anyway to check if the engine is running via InSim?

I know its possible through OutGauge by checking the RPM but can it be done with InSim in any way?
I'm already using InSim in my application and don't really want to connect with OutGauge as well...

-David
DavidTiger
S3 licensed
Sorry for double but wouldn't get attention if I just edited

How can I get a players name from their PlayerID (PLID)?

EDIT: What I had written did work, just I had a FOR NEXT which it didn't need and stopped it working...

Function getname(ByVal PLID As Integer) As String
Dim i As Integer = 0
Do
If Connections(i).UniqueID = GetUniqueID(PLID) Then
Return Connections(i).PlayerName
End If
i = i + 1
Loop Until i = Connections.Count
End Function

and the GetUniqueID is:

Public Function GetUniqueID(ByVal PLID As Integer) As Integer
For i As Integer = 0 To Players.Count - 1
If Players(i).PlayerID = PLID Then
Return Players(i).UniqueID
End If
Next i
Return 0
End Function

Is there an easier way to do this? this way working good.. tested online and with AI... But might not be the best nor fastest way to do it :/
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Ah :P Works now.. Cheers

Amazing the amount of collisions the AI have when starting from in their pits, lol
Last edited by DavidTiger, .
DavidTiger
S3 licensed
How to use the collision packets in the example project?

Since I have lost all my old sources and I'm looking to update an app I made I have to code it again (no big deal) but I want to use the collision packet rather than speed...

So I started with the sample VB project from post 1.. Changed the dll to the updated one from DarkTimes.. added these parts:

Quote :'Collision
AddHandler InSim.CON_Received, AddressOf CON_CONTACT

' A collision happened.
Private Sub CON_CONTACT(ByVal CON As Packets.IS_CON)
If DoInvoke() Then
Dim p As Object = CON
Me.Invoke(New dlgCON(AddressOf CON_CONTACT), p)
Return
End If

'some test code to test it out
textBox1.Text += CON.A.PLID & Constants.vbCrLf
textBox1.Text += CON.B.PLID & Constants.vbCrLf
End Sub

But I get nothing in the text box, nor does adding a debug marker on the sub call anything up. it does connect to insim because I see the MSO messages in the textbox..

Long time since I coded anything, not just InSim so is there something missing or anything?

(oh and I tested it with AI and in a multiplayer server..)
DavidTiger
S3 licensed
Anyone happen to still have the source for this? Would be good to update to the latest patches
I should be able to get a form of the source from recent backups disks I have but if someone could re-upload the source from the 1st post links that would help a lot!

Cheers, David
DavidTiger
S3 licensed
Added my house and the land we own behind the house
DavidTiger
S3 licensed
Use outgaugegateway

Download at this post:
http://www.lfsforum.net/showthread.php?p=1472720#post1472720

DavidTiger
S3 licensed
The topics seem to have been merged, Hence why I have two posts with the same gif
The second reading "I posted this in the other thread that guy made"

But yeh see attached for the file
DavidTiger
S3 licensed
Quote from DevilDare :Epic bumpage!

Perseid Meteor shower tonight! Saw only 1 though.

Off to sight more.

You know you bumped it EXACTLY 1 year
13th August 2009 - 13th August 2010

But yeh, I've never saw any for real, but would be pretty cool
DavidTiger
S3 licensed
I want Knockhill in it Its about 55 mile from me... would be nice to see it in a game
DavidTiger
S3 licensed
Signed & Voted
DavidTiger
S3 licensed
Wow 3 year bump (22nd October 2007, 15:20)

Anyway, I suppose you could... LFSW Would launch LFS using the lfs://join=[hostname]' protocol, right??

Then the protocol would launch the LFS.exe..
So then just do what 'swingkid' said and use the command he gave into a shortcut to lfs and then point the lfs:// protocol to use the shortcut rather than the actual LFS.exe

It should be located in the registry (regedit.exe) at
'HKEY_CLASSES_ROOT\lfs\Shell\Open\Command'
and have the (default) value as the LFS install path.. eg.
"C:\LFS2\LFS.exe" %1

Change that to the location of the shortcut.. like:
"C:\LFS2\LFS-High.lnk" %1

and the 'LFS-High.lnk' has a target line like: C:\WINDOWS\system32\cmd.exe /c start "" /high "C:\LFS2\LFS.exe"
....................................

I think that should work

EDIT: Actually I just did the above and it doesn't launch LFS
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Probably not and considering the creator was last here 'Last Activity: 17th December 2008 05:07'
It wouldn't be updated for it in a hurry either

If there is a good number of people looking for an updated/new version of an app like this, Then I'd be happy to make one
DavidTiger
S3 licensed
Quote from Bmxtwins :Any luck removing the bounciness , Dave?

I cant remove it The camera moves with the vehicles body. and then would be bouncy because of the car going over bumps on the track

Quote from logitekg25 :how do you program something like this

it isnt within LFS's limitations to do something like this? do you still have the mirrors, and gauges, or no?

You will still have the Virtual gauges & mirrors

See this example (Click it for a bigger image )
DavidTiger
S3 licensed
Sorry haven't done much in the world of LFS Programming

If I can find the source.. I'll have a look about what's happening
DavidTiger
S3 licensed
Maybe.. who wants bitmaps in 2010 :P

lol nah I use it when I want to capture something in-game.. I have fraps but never really used its screenshot facility..
DavidTiger
S3 licensed
Quite surprising this is not locked yet
DavidTiger
S3 licensed
How can you have a limiter on the demo cars though?

Unless the FBM has one, haven't used it for a while
DavidTiger
S3 licensed
Quote from Whiskey :Nope, here it worked on Win7 64bits and Z28. You guys are doing something wrong

I did the exact same on both LFS and z28 crashes when I leave the PITS
but z25 works
DavidTiger
S3 licensed
Never worked for me either in z28 but works great on the z25 I have

Windows 7 specific??
FGED GREDG RDFGDR GSFDG