The online racing simulator
Searching in All forums
(600 results)
DavidTiger
S3 licensed
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??
DavidTiger
S3 licensed
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
Last edited by DavidTiger, .
DavidTiger
S3 licensed
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)

DavidTiger
S3 licensed
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!
DavidTiger
S3 licensed
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
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Sekonda Had it for nearly 5 years


Not my Pic, but its same
DavidTiger
S3 licensed
Thanks for that

V1.2 Uploaded To 1st Post..

Added changable handbrake button- for those who changed from default

-David!

EDIT: sorry Zonda.. I forgot about the light thing I'll add it later today and upload
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Sounds great cant wait to try!
DavidTiger
S3 licensed
Quote from Zonda :I have one suggestion. You can change the system lights and the indicator lights?
In my app., they flash for change. (eg. Animation) Looks better in my opinion


Sure, Consider that feature added for the next update 1.2 tomorrow


Quote from m4ccy :the word deactivated has been spelt deavtivated in the app XD

apart from that the rest seems perfect, good work.

Yeh, I should spell check it lol, I never do
Fixed it
"/me Deactivated His Car Alarm!"
DavidTiger
S3 licensed
Good Idea never thought of it lol.. Added to the 'Agreement'
DavidTiger
S3 licensed
V1.1 Released

Added Optional Auto-Handbrake: Keeps your Handbrake On when the Alarm is set... So you can't move or roll when hit etc
DavidTiger
S3 licensed
Quote from Zonda :Good one David. I made the same app for LFS six months ago, but I have one problem. Sometimes my car alarm turns ON when I drive and blocks my wheels (E-Brake) Such a small addon :P Maybe You saw on the LTC server as my car sometimes noisy :P Your apps was better I wait for more addons for this app :P

(beer)

Yea cool, I actually haven't heard your car on LTC
Glad you like it..
beer? lol
The toxic substance that puts idea's into a programmers head to make such apps :drink:


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.

Yea, although it doesn't use passwords, its just InSim uses, as you found out, Game Admin password to allow insim to connect
As long as thats blank it will connect
DavidTiger
S3 licensed
Quote from Johnni9999 :I want either Kitt from the original Knight Rider or Just the basic Trans Am of that model in LFS. I have the files but I never did a mod before.. After too long I gave up and its now just lying in my computer. So now I am going to post it here and hope one of you guys are better than me (Not that hard ;o)). The car is allmost done.. Some bugs in it and have to be removed though, and all the textures or materials.. When I tried to paint the door, it seemed that it painted the window as well. I dont know how to fix that. I dont care about the scanner working. Dont think it can be done, but as long as we can drive the car. Of course it have to be made over a RWD car and if it could be made over XRT it would be great! But here it is.. Hope one of you can make him or just the basic Trans am ´84 model

.VOB Mods are Forbidden here!! :bananadea

I suggest removing your thread immediatly and figure it out yourself
DavidTiger
S3 licensed
Quote from Trebuh :Hello, I tried 3.0 OG and non OG on my 1.3gHz DualCore.
OG did work with stalling (more or less due to bounce limiter settings).

Did you use comparision (<=;>=) of values or equality of values (==)? To me it looks like it turns the engine off, if RPM == turn_off_value and turns the engine on again, if RPM == turn_on_value. (equality) if i rev the engine to 8000RPM (FZR) and release the throttle it doesnt restart the engine at 7600RPM.

I used >= & <=
an example form the code:
ElseIf veh = "XFG" Then
If xfgrev.Checked = True Then
If newvalue >= xfgl.Text And newvalue <= xfgh.Text Then
Call keybd_event(key, 0, KEYEVENTF_EXTENDEDKEY, 0)
System.Threading.Thread.Sleep(bouncetimer)
Call keybd_event(key, 0, KEYEVENTF_KEYUP, 0)
System.Threading.Thread.Sleep(25)
Call keybd_event(key, 0, KEYEVENTF_EXTENDEDKEY, 0)
System.Threading.Thread.Sleep(bouncetimer)
Call keybd_event(key, 0, KEYEVENTF_KEYUP, 0)
End If
End If

Quote from Trebuh :And what about a calculation of the limiter time by number of cores and CPU speeds?

Purely done by the sliderbar on the program GUI, thats why its so important to play with it

Quote from Trebuh :Edit: The non OG version didnt work: car was recognized correctly but it didnt get the RPM-values

TBH im going to stop updating the Non-OG version because its much more accurate to read values from Outgauge than from RAM addresses

Im goign to tidy up the code and then release the source for the OutGauge version so you guys can play with the source and make your changes the way you want it

Quote from Trebuh :that was hardly german :-)

Yeh Google Sucks :P


Source Code Available On The 1st Post!!
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Quote from Mobil7 :Still doesn't work for me

Download Again Changed 'Double' to 'Single' Which should hopefully fix it
DavidTiger
S3 licensed
Check 1st Post... New Download
DavidTiger
S3 licensed
Quote from Neto_r :i put the insim right /insim 29999?? = check
and in my view, i can see the speed in "Car Speed:" ?? = check

Did you press CTRL + ALT + Z to Set the Alarm?? = works exc

but when somebody hit me, the alarm dont work
or i need to park in the pits? or in any place?

Hmm.. One more thing.. pretty obvious but did you make sure the Horn Key is what you have set in LFS as your Keyboard Horn Key?? Default is 'B' but make sure your is B or change it

Also if when someone hits you, and you press 't' it should start typing something like "b30903 b30903 b30903 b30903" I.E turning the lights on/off and sounding the Horn??

If you still fail to get it to work, and you really want it Feel free to add me on msn and we can join a server and discuss in realtime
I'll also be making an Instructional Video on how to use all my programs, becuase theres always a few who cant seem to get it to work


Quote from nikopdr :Try changing outgauge settings to something.

Wouldn't change anything because the program doesn't use Outguage at all Purely done through InSim
DavidTiger
S3 licensed
Quote from SergioNacho1 :Doesnt' Make noise ;P short cuts work but not sound wich is a FAIL ^^

Did you activate insim... /insim 29999??
Does it connect to lfs??
Can you see your speed where it says "Car Speed:" ??
Did you press CTRL + ALT + Z to Set the Alarm??

DavidTiger
S3 licensed
Quote from Neto_r :i try it, and the the short cut works fine
but i parked and a lot of people hit me, and the alarm dont work

and if i put the alarm,and move a little, dont work too
or im doing something wrong?

its necessary to install in the LFS root folder?

No, You can extract/install anywhere as llong as LFS_External.dll is in the same folder

Did you enable InSim before opening the app? E.g by Typing "/insim 29999" (noquotes) ingame??

If you did and it dont work try in SinglePlayer mode, and if you already tried SinglePlayer try going into an online server and trying...
And then if you still fail to get it to work, plz reply here and tell me if you see the "Car Speed" showing your speed while driving


Quote from superxp :Mhhh, I didn't test it but it looks funny ! :twirl:

I always wanted a Car Alarm for cruise

Yea, notice all the jokes/puns throughout my post.. Its not really a joke, Just a fun addon to have while AFK in cruise server, or even just to showoff Like myself are a frequent user of the LTC Cruise Server, Until I get a wheel I honestly cant race wth my gamepad


But yeh IMO its quite a cool/novelty app to have around
And if anyone has an idea for other fun/cool/novelty apps they want to have just drop me a PM and I'll most likely make it for you!!
:boing:
[v1.4.3] LFS Vehicle Alarm
DavidTiger
S3 licensed
Current Version: 1.4.3
(06/05/10 - 13:50)


Hey guys David here with another addition to the most pointless LFS Apps

Here I have a Car Alarm for LFS!! Yes I know what you're thinking... Why would anyone ever ever use this?
Well to be perfectly honest, I dont know... Maybe when a user is AFK they set the alarm and go eat/drink/whatever reason to be AFK
Then if their car is hit or moved then the alarm will start going...

Yep I bet you're still thinking, BUT WHY!!!!!
Again I see on here its not been done.. I love programming.. I could do it.. So I decided to do it (Yep I Was Bored at 2am and decided to make it)
**************************************************
So onto the (pointless? :tilt App I made:



Features/ChangeLog
Very Simple Messy UI

Car Horn Key: Well that pretty obvious, Your LFS Horn Key
Handbrake Key: Again pretty obvious, Your LFS Handbrake Key
Show /me Messages: Shows "/me Set His Car Alarm!" When you set the Alarm & "/me Deavtivated His Car Alarm!" When Deactivated
Enable Auto-Handbrake: Stops you from moving while alarm is set
The Slider/Alarm Speed: Allows you to make the Alarm sound fast or slow, I prefer fast (250) but maybe some prefer a slower one (If anyone would even use it)
Car Speed: Shows your cars speed in MPH... No need to worry about it its only used for setting off the alarm if the car is moved

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


Added In 1.4.1:
Fixed Speed Bug:
You can now set your alarm and spec some other players without your alarm going off
More Realistic: As suggested by a few people, To make the program do 1 beep to activate.. And 2 beeps to Deactivate
Custom Messages: You can no use your own Enable/Disable messages
Automatic Disable Timer: I have added an optional feature to automatically Disable your alarm after it has been going off for a set amount of time... Adjustable from 1 Minute to 10 Minutes
Customizable Activation Keys!!: Now you can change what keys you use to activate

Added In 1.4.2:
Variable Activation Speed: Now you can choose what speed the Alarm will activate at... Ranges from 0.1 MPH -- 5 MPH (0.1 increments)
Fized Automatic Disable Timer: No longer 'tries' to disable the alarm when its not been enabled

Added In 1.4.3:
Fixed 'Type Safe': No longer goes off when typing (pressing 't' and 'Enter')
Enable While Moving: The alarm cannot be set whilst moving..

ToDo:
Nothing
Post your suggestions for other additions

How It Works:
Enable Insim (Type "/insim 29999" ingame)
Open LFSVehicleAlarm.exe
....
Park your car in your favourite AFK spot..
Use the predefined HotKey - CTRL + ALT + Z
You will hear 2 beeps (activated) - press again.. 1 beep (DeActivated)

When someone hits your car, Doesn't need to be hard, Just a small tap..
Your Car will then Honk and flash its Lights and Turn Signals... LIKE A CAR ALARM!!! DOH

Where Can I Get It? (Who Would :shrug
See the attachments!!


Thanks, Hope You Enjoy Your "Car Alarm"!!
-David
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Quote from iFastLT :Thanks man, finally got it working Works fine, 132ms seems fine to me.
Also as I had some problems with it so I'll provide small tut how to run it:
1. Download OG version (outgage)
2. Make copy of cfg.txt (lfs install folder)
3. Open cfg.txt (original one)
4. Find lines which say "Outgage ..." and replace all of them (Outgage lines) with these:
OutGauge Mode 2
OutGauge Delay 1
OutGauge IP 127.0.0.1
OutGauge Port 35555
OutGauge ID 1

5. Fire up LFS, join track
6. Launch this app, set your bounce time (find such with which engine doesn't stall, for me it's 132ms)
7. Press activation button, by default it's "Home"
8. Enjoy!

Exactly the way I do it, So if this way don't work for others they are doing it wrong :P


Quote from morpha :What the hell did you translate that with? Google shouldn't be this bad from EN to DE

Google translations suck I know but he wouldn't listen so I translated to German
DavidTiger
S3 licensed
Honestly Im gonna stop replying to you because you wont listen!!

Change the F*CKING bounce timer!
__________________________________________________________________

Ehrlich Im gehend zu stoppen Beantworten Sie da pflegt hören!

Ändern Sie den F * cking Bounce-Timer!


(Sorry for being so blunt but, I have said countless times the stalling was to do with the timer, move the slider so it doesn't stall!...
There is a place it wont stall 134ms does it for me)
Last edited by DavidTiger, .
DavidTiger
S3 licensed
You still need to adjust the bounce timer! It has to be perfect to not stall
Player Speed From Insim
DavidTiger
S3 licensed
Hey How can I get my speed using Insim ??
like I want only my own speed (or who ever is using the program im making).... the users speed

Searching MCI but thats other players speed, so can I get my ID and then to find my own speed?
Last edited by DavidTiger, .
DavidTiger
S3 licensed
Quote from logitekg25 :congrats on s2

Better thn demo
FGED GREDG RDFGDR GSFDG