The online racing simulator
[v1.4.3] LFS Vehicle Alarm
(142 posts, started )
You are using V1.0 ?? Before I fixed that error

I changed all double values to Singles... so there is no double in V1.1 or V1.2


I suggest downloading this >HERE< and trying again
Attached images
doublesingle.PNG
Quote from DavidTiger :You are using V1.0 ?? Before I fixed that error

I changed all double values to Singles... so there is no double in V1.1 or V1.2

I suggest downloading this >HERE< and trying again

I do it too ! The same message ! An error of 0.25 double =@

WANT TEST IT
Changed the line:
Label1.Text = "Car Speed: " & goingspeed

to
Label1.Text = "Car Speed: " & goingspeed.ToString

Which would obvioulsy convert the goingspeed variable to a string before showing on label... Maybe fix the error that somepeople happen to have although there are NO double variable types in the Whole program

Download Updated at 1st post!
Quote from DavidTiger :You are using V1.0 ??

No man, I just said that I had the same problem with 1.0 version.
Quote from DavidTiger :Changed the line:
Label1.Text = "Car Speed: " & goingspeed

to
Label1.Text = "Car Speed: " & goingspeed.ToString

Which would obvioulsy convert the goingspeed variable to a string before showing on label... Maybe fix the error that somepeople happen to have although there are NO double variable types in the Whole program

Download Updated at 1st post!

DAMNED ! I still got that error !:sadbanana
Well guys sorry I cant help... I showed you that there is NO double variables
Have no idea what to do...
Works on my PC (Win7 x86) Laptop (Vista x64) and my fathers laptop (XP x86)

Maybe somewhere in the code is included twice?

My friend have this same problem. Win 7

I use XP - Works good.
Yea, but I searched the whole code and posted the image of it saying its not found

Ok, I have attached another version V1.21 to this post... ^^
I have changed the Single variable to an Integer...

Now there are NO SINGLE or DOUBLE variables in the program...

EDIT: Removed 1.21 link... Please download V1.3 form 1st post
Quote from m4ccy :Ignore this, I fixed the problem.

I deleted the CFG file from LFS root folder and let teh game create a fresh one after wich i was able to runthe alarm no problem, turned out the config line that said "Game Admin" in my file it was
"Game Admin ADMIN"

So I deleted the word ADMIN all is fine
Great app.
Lovely addition to cruisers.

Did The same thing and it works very nice app
It work =D nice job !
Quote from DavidTiger :Yea, but I searched the whole code and posted the image of it saying its not found

Ok, I have attached another version V1.21 to this post... ^^
I have changed the Single variable to an Integer...

Now there are NO SINGLE or DOUBLE variables in the program...

So that ^^ helped you??
OK. Without problem. Now works very good in others
And now...
My lighst suggestion :P and ... Can you add spacebar in A-Z section in Handbrake ? Some people use spacebar as a handbrake
mmm i installed 1.21 and it isnt working, it says that alarm was activated but when i get rammed nothing happens, also when i try to exit it says "denied access to C:\Program Files (x86)\LFS\settings.ini
Quote from Zonda :OK. Without problem. Now works very good in others
And now...
My lighst suggestion :P and ... Can you add spacebar in A-Z section in Handbrake ? Some people use spacebar as a handbrake

Sure
Also adding the alternate light suggestion you mentioned

Quote from Canopus (ARG) :mmm i installed 1.21 and it isnt working, it says that alarm was activated but when i get rammed nothing happens, also when i try to exit it says "denied access to C:\Program Files (x86)\LFS\settings.ini

make sure the settings.ini isnt somehow readonly or the folder that it is in isnt read only..
Also some people have had success by deleting (keep a backup copy :shy the LFS cfg.txt and the Alarm started working properly

Also make sure you have selected your Horn key correctly

-David
ok i will try, all the alarm files are on LFS folder, settings.ini isnt on readonly, but lfs folder is, im changing that now, horn hey is fine, and ill try to remove LFS.cfg later
thanks
damn :S did everything still doesnt work
Works fine on Windows 7 x86 (aka 32bit)

It works great so far, with the exception of an error that happens when after I minimize LFS and try to get back ingame.
A car alarm specific error? or something that happens all the time?

Describe / Screenshot the error.. I maybe could help
It's an error that happens with Visual Basic programs especially, showing an option to close the program or continue. It is often preceded with the "InSim packets can't be sent" error.
Quote from Canopus (ARG) :mmm i installed 1.21 and it isnt working, it says that alarm was activated but when i get rammed nothing happens, also when i try to exit it says "denied access to C:\Program Files (x86)\LFS\settings.ini

LFS shouldn't be installed in Program Files to avoid permision conflicts. Just install it elsewhere and it'll work perfect
When I try to open the exe, I get a whine window... What to do? This is what translator says:

Unhandled exception application section. Click Continue when the application tries to ignore the error and continue operation.

Convert string type to 0.250 Double is not valid.
Quote from DavidTiger :Yea, but I searched the whole code and posted the image of it saying its not found

Ok, I have attached another version V1.21 to this post... ^^
I have changed the Single variable to an Integer...

Now there are NO SINGLE or DOUBLE variables in the program...

Read + Download

Taking into concideration the last line of the quote...
Read & Downloaded... What to do with the double thing?
Quote from Sampsami :Read & Downloaded... What to do with the double thing?

Honestly, No idea.... Because there is nothing to do with Doubles in the program

V1.3 Released




Added:
InSim Connected Status:
To see if InSim had connected properly or not...
Handbrake Key: Space
Alternate Lights: Flash your lights and indicators (turn signals/blinkers) alternativley!
Changable InSim Port: Just incase you need to use a different port

ToDo:
Nothing
Post your suggestions for other additions

Download HERE or on 1st Post!!
Nice

Small imp. Can you delete Car Speed ? For What ?
Because when I turn ON (CRTL+ALT+Z) your Car Alarm and press TAB for watching other players, Alarm is getting on (Flash, Siren and Indicators) I think, this parameter is unnecessary when I use full screen (LFS) Enable/Disable Car speed ?

[v1.4.3] LFS Vehicle Alarm
(142 posts, started )
FGED GREDG RDFGDR GSFDG