The online racing simulator
Searching in All forums
(372 results)
Stigpt
S2 licensed
I have the DEFINITE proof the "conspiracy theory(ies)" are all wrong.

The people that made these conspiracy theories. if they still breathe, the theory is wrong.

Or do you think a government that would destroy a world landmark, a prestige-giving landmark and kill 3000 citizens would bat a friggin' eyelash about fabricating an "accident" that would kill/make dissapear the makers of such videos/webpages?

Jeez. Grow a brain.
Stigpt
S2 licensed
Thats the problem.
here is my code:


private void MCI_CarInformation(Packets.IS_MCI MCI)
{
myMCI = MCI;//myMC is a variable that stores the latest MCI Packet to arrive.
//For use in other methods
}
//for example, this one here below
InSim.Request_MCI_MCIPacket();//gets A MCI p, then the above method should "update" the myMCI var.

Packets.CompCar[] compCar = myMCI.Info;

//Cycles each of the cars in the MSI packet
for (int i = 0; i < compCar.Length - 1; i++)
{
byte tempPLID = compCar[i].PLID;
byte tempPOS = compCar[i].Position;
//Cycles all players in list,
for (int j = 0; j < Players.Count; j++)
{//Trying to find the right one to update its position.
if(Players[j].PlayerID==tempPLID)
Players[j].setPosition(tempPOS);//CompCar.Position
}

This is apparently the same code as yours, but without using the "GetPlyIdx(PlayerID)" function - I'm not familiar with the LFS external API yet.
Thing is - only works for the first8 players. All the MCI packets have the same car...

This has a few extra lines of code, like Packets.CompCar[] compCar = myMCI.Info;
I KNOW it can be switched with myMCI.Info[i] whenever I would need it, but as a first approach, I'd rather keep the code longer, but simpler so I can easily find bugs, change stuff, etc.
Last edited by Stigpt, .
Problem myProblem = new Problem(c#, lfs_external, MSI_Packet);
Stigpt
S2 licensed
I got a problem.
I'm in need of maitaining a list detailing which player(PLID) is in what position.
What I did was to edit the example code from LFS External, and add to the clsPLayer class a "position" attribute.

Now, to update it, I had it whenever a car goes over a finishline/split time (i.e. the packets corresponding to that are received), it fires a method to update the positions.
That method does a request MSI packet., then the MSI packet handler method processes the response, and updates the positions.
It works.. sort of.
Cause the MSI packet only has 8 cars, it only updates the same 8 cars all the time. All other cars have position=0 (my init value)

How can I do it so I can get all the car's positions?
Stigpt
S2 licensed
what insim NEEDS is the ability to shoot a user in the face whenever they think of uttering the words "I want an insim to do cruise server!".
Stigpt
S2 licensed
Classic case of PEBKAC.

You should really not have the micsound coming from your speakers - creates feedback. It WILL work regardless - what is important is the recording volume (which should -generally - be as high as possible). The output volume (the "main" screen of XP's sound volume settings should have the tick next to "mute". Unless you'r really in love with your own voice
Last edited by Stigpt, .
Stigpt
S2 licensed
try unplugging your microfone.
If that works, go to sound options, and MUTE the sound of the microfone.Sound VOLUME, not recording.
Stigpt
S2 licensed
weee
work is progressing nicely - found out how to send text messages to LFS (later on will do it in buttons and stuff), and how to receive data.
AND how to get the car data so I can know which car is in what position.
The "tutorial " will be done hopefully later tonight.
Stigpt
S2 licensed
very early in patch Y I found out how not to cook the FXO's front tyres:

Blip on downshifts, carefull accelerating out of corners (as if you were driving a RW drive car), and mostly DONT LOCK THE FRONTS when braking - hence the blip on downshifts.
The one thing that stopped my cooking tyres was I simply quit changing down gears until I was well within the braking zone.
THis way, when I downshifted, it was to a lower rpm, so the fronts wouldnt lock (or start sliding), so cooler tires, so less slippage on corner exit, so cooler tires on next braking, so less locking on next corner, so better exit on next corner.....
Stigpt
S2 licensed
BIG Thanxs TAA - I didn't notice it - thats pure gold. Not quite what I wanted, but it is broader and more informative.
Plus, well commented

If I have doubts, Ill post here. If I have solutions, Ill post

Eventually, I might use this experience to create a starting point tutorial to c# + lfs external. Kinda like the one you got sticked up there, TAA.
Truth be told... really usefull client-side insim apps are getting rarer and rarer....
Like a mod to show you the gap in seconds to the guy in front and the guy behind (thats my project), one that would tell you when close opposition entered pitlane, a driver list that would only show the 2 cars in front and the 2 cars behind instead of all 32 drivers... stuff like that.
Hello World!
Stigpt
S2 licensed
With these ominous words, it begins...

Now. I need a bit 'o help.
Can anyone pm/post a hello world example using insim, c#, .NET lfs external?

I'm trying to do my first C# app (got some college experience, but with java). But frankly, I'm not familiar with the documentation style in c#, and am at a loss where to begin.
So I need a very simple prog that would send to LFS via lfsexternal libs a "hello world" message.
Hello world could be either a regular message (as if the user typed it),
or a message that would remain on-screen in a definite location.(like most cruise server's money display).
As an added bonus, how bout one that also retrieves some kind of data from lfs - like a laptime?

In general something like(very poor pseudocode ahead, beware!)

Insim = createNewInsimConnection();
Insim.sendMessage("hello world");
Insim.sendCustomMessage("Hello World Too");
myVariable = Insim.retrieve(car1'slaptime);


with that info, I can start having a go at my project (a simple pitboard program), and begin retrieving data from lfs, sending back info to display, etc.
While I wait, Ill keep doing research. If I manage to do the hello world prog myself in the meantime, Ill post it here
Stigpt
S2 licensed
Quote from jarmenia :The reason I asked the question the way I did was to gain an understanding of what you want the car to do. As a example, you are loose going out of a turn when applying l throttle. This means the weight is moving to the back of the car (acceleration) and to the outside of the car (the rotation of the curve). Since the car is loose, it seems you don't want so much of the weight going to the back outside of the car, so where do you want it to go? That is basically what determines the changes you make right?

In that case, you cant avoid the weight going to the rear outside wheel. But you CAN control how FAST it goes there. If you can make it go to the rear-outside a bit slower, it takes more time for that tyre to get too much load and start sliding.
Hence, if you have the rear slipping out when you are accelerating out of turns, if you make the rear suspension/anti-rollbar SOFTER, it reduces oversteer.
Because this makes the rear springs compress more, thus absorbing more weight, thus making the load on the tire take longer.
OR make the front stiffer, which has the same effect.
How to choose between softer rear or stiffer front?
If the track is bumpy, you'll want soft-ish suspension, so you dont bounce off the track. That means a stiffer front might not be a good idea.
On the other hand, your rear might already be VERY soft. in that case.. making it even softer is not a good idea.


HOWEVER, for you, I know what your problem is jarmenia.
OWRL + FOX + Blackwood.
Try changing your driving. Put the foot down a tad more slowly (respectfully, as if you were stepping on a lady's foot), AND (and this is quite an important bit) REMOVE STEERING LOCK.

Meaning as you press the accelerator, straighten your wheel.
Your rear will tend to slid out, but you straighten your wheel and it balances itself out. Ideally, you'd be making the turns with the wheel perfectly straight on the exits, and playing the rear sliding do the turn for you.

Do try it. Go to blackwood, drive the fox down the backstraight, then on the turn at the end of the backstraight, enter in 3rd@ 120kph, and just before the apex, (gently) accelerate till your foot is down. Foot should be down just as you touch the apex. as you put your foot down, swallow a brave pill and slowly straighten your wheel. When you have your foot down, your wheel shouldnt be more than a couple degrees to the right.
Stigpt
S2 licensed
yeah - its an PCI external card to give me lpt1.
Actually, device manager reads as follows:

I/O Range BC00-BC07
I/O Range B880-B887
IRQ 0x00000016 (22)

AND
theres a "multifuncion adapaters -> MosChip PCI Multi-IO controller"
that reads
I/O Range BC00-BC07
I/O Range B880-B887
I/O Range B800-B807
I/O Range B480-B487
I/O Range B080-B08F
IRQ 0x00000016 (22)

Maybe therein lies the problem?
Stigpt
S2 licensed
Gah - STILL cant get it to work.
It used to work on WinXP - with no probs.

Now... no go.
Here's what I did so far:

LPT port is 0xBC00
debug mode correctly lists the gear input from LFS.
My 7seg has only the lower-left light on, all other leds are constant on.

I got the latest version from Kada's site.
I also tried the "new" version of inpout lib from kada's site.
Now - when I change the \GI\inpout32.dll for the new version's inpoutx64.dll (with a file rename, of course), GI gives the the
"ERROR: LoadLibrary Failed.
ERROR: Can't Access LPT port."

If I put the "new" version's inpout32.dll from the 32bit directory, GI starts up, but display doesnt change.
Stigpt
S2 licensed
hahahahha "Brembo blake system"

Plus, the car's name is damn near the portuguese word for "sneeze"

"Espirra" "Spirra"
And its pronouced the same way too.
Stigpt
S2 licensed
1st moron is the thread starter.
The "stealing cars" is people trying to exit pits (aka joining the "race") with a car they arent licenced for.
So if you enter the server, choose the XFG, then join race.. you'r "Stealing" a car.

@OP: ever thought that people joined the server to RACE? see the full cars available and just chose one? Then they get a nasty (and quite ill-manered) message telling them they are theifs, they choose another car, it also doesnt work, then another, it also doesnt work and so forth till they are sick of it and leave?

Ever thought the problem is YOU, not them?

If someones comes up to you and yells at you, they have a problem. If many people come to you and yell at you... problably YOU have a problem.

Try to put a welcome message that explains what the server is / which can can you start driving with/etc? Then as people exit pits with UF1000 give a small text message explaining commands, rules, purpose, etc?
Stigpt
S2 licensed
Best.
Video.
Ever.
Stigpt
S2 licensed
thxs electrikar - the only link that works is this latest of yours - the direct link.
Stigpt
S2 licensed
Actually (but Im no expert) methinks the kanards ARE that efficient. They have "Clean" air rushing over them, plus the air thats deflected sideways from the front bumper.
The rear wing, on the otherhand, is riding the slipstream of the car, so in effect @200kph, the kanards have 200kph-winds riding over them, while the rear wing only has say 160kph.
Stigpt
S2 licensed
They have a couple of kanards on each side of the front bumper - thats whats adjustable.
Stigpt
S2 licensed
Use clutchpack LSD, (or viscous), and less steering lock. Less camber so that the fronts wont brake on only the innermost part of the tyres, so they wont lock up, so they dont heat immensly.

On the XFR cooking a tyre can be as simple as locking in one corner: You lock, overheat the tyre. Then you accelerate out of the corner, and the tyre which is too hot already starts slipping, heating even more. Then next turn, it is still very slippery so it locks even mor easily, which heats it up even more, which makes it more slippery ... until you can fry an egg on it.
Stigpt
S2 licensed
Well.. thanxs to that idiotic movie by aroxxyz, the 2 guys I wanted to check this movie out didnt even see the topic...
Stigpt
S2 licensed
Quote from ajp71 : people who needed lots of cake

The people that are still alive?

The cake is a lie
The cake is a lie
The cake is a lie
The cake is a lie
The cake is a lie
The cake is a lieThe cake is a lieThe cake is a lieThe cake is a lie
My 3rd Movie..
Stigpt
S2 licensed
Hmm Maybe its the 4th.. nvm

Another short-ish movie showing the portuguese league's action, this time in round2:
(I remind you that round1 is here
http://www.lfsforum.net/showthread.php?t=40327

Round 2 of the Portuguese LFS league:
SRP-LFS-CNV-SO6-XFG

Which means [long league name]-South City 6 - XFG

Med Quality
(also has streaming)
http://dodownload.filefront.co ... 99950a4e9a1acb00bfd0d0414

What Quality?
http://uk.youtube.com/watch?v=AUKNBTQfhLg

On this vid I tried doing some (very basic) overlays, and my initial project of picture-in-picture, while sucessfull, didnt make it into the final cut, as I had no worthy footage. Maybe next round...
Last edited by Stigpt, .
Fraps 2.9.2 + Vegas 8.0 = help!
Stigpt
S2 licensed
I'd guess more people have this problem, so here goes.
Since fraps 2.9.2 when importing the captured vids into Vegas, it imports only the video, and not the sound.
However, when playing the caps with mediaplayer/vegas the sound IS there - vegas just cant "see" it.

I know theres a way to fix it, but I cant find it
Stigpt
S2 licensed
I just cant wait for drivetrain/gearbox damage for too aggressive downshifts (really.. downshifting INTO the change up rev-zone?), steering failures caused by contact, tyres jumping off rims via too low pressure, etc.

I flatshift nearly all cars all the time.. no problem (except in very few exceptions).
Burned cluthch? How about you exit pits without doing it with your foot on the floor? Try easing out of the pits like... REAL DRIVERS DO?

How bout hitting the clutch/neutral when you crash or when you spin, instead of spinning around at 200kph with the gas pedal on the floor and in 6th gear? Or pulling away in 1st gear instead of 5th?

If you use auto-clutch, you'll be slipping the clutch for 30 seconds on a 490hp engine, what did you expect? I'd expect a busted tranny, not just a melted clutch. Do YOU start your RL car in 4th gear and then floor the accelerator and release slowly the clutch to get going? You try to do that twice, then send me the repair bill, ok?
FGED GREDG RDFGDR GSFDG