The online racing simulator
Searching in All forums
(850 results)
blackbird04217
S3 licensed
Make sure that the final IS_RES is sent for each player, this is how I detect it in H2H.

(Side note, this may only work with 1 lap qualifying; I don't remember if the H2H system used this method back when I allowed 20 minute free for all qualifying.)

Worst case scenario you add a button for your Administrator's to press.

EDIT- I now read that you tried using IS_RES. Sorry; you could try just adding a timer to your application?

Edit2:


bool UpdateIsQualifingFinished(const bool bFirstUpdate)
{
static unsigned long ulStartQualiTime;
if (true == bFirstUpdate)
{
ulStartQualiTime = timeGetTime()
}

unsigned long ulTimeNow = timeGetTime();
if (ulTimeNow - ulStartQualiTime > 60.0f * QUALIFY_MINUTES)
{
return true; //Qualifying is done.
}

return false;
}

Last edited by blackbird04217, . Reason : Added a code snippet for C++ using timeGetTime()
blackbird04217
S3 licensed
$350 vs $220 is not called competition.

$235 vs $220 is probably called competition, at least its in the ballpark; but even then; used vs new. . .
blackbird04217
S3 licensed
can't sell your S2 License, but good luck selling the G25.

EDIT: $350 USD! Are you out of your mind, or am I behind times and my G25 is worth more now that the G27 came out? I only paid $240 brand new for my G25 and that was 3 years ago. i can understand markup to some degree but yea - good luck selling a used G25 for $100 increase!
blackbird04217
S3 licensed
I don't think so - I never heard the world was going to end in 2000, only that we could lose a lot of electronics while problems were sorted out; and almost all of those problems had been sorted out before the year 2000 anyways.
blackbird04217
S3 licensed
Haha - I think everyone should use a 10 based number system, and I'm not talking about decimal.
blackbird04217
S3 licensed
Are you trying to go for point in circle collision to see if the car hit a radius? Or are you trying to find the angle between the direction a check point is and the direction the car is heading.

I do assume you know a bit about vectors here, but as follows;


bool PointInCircle(const Vector3 &vPointPos, const Vector &vCirclePos, const float fCircleRadius)
{
Vector d = vCirclePos - vPointPos;
float length = d.Magnitude(); //Or Length()
if (fLength > (fCircleRadius * fCircleRadius)
return true;
return false;
}

and also the dot product of two vectors gives you the cosine of the angle between the vectors;


bool NearDirection(const Vector &vCarDirection, const Vector &vCheckDirection)
{
float fDot = DotProduct(vCarDirection, vCheckDirection);
if (fDot > 0.98f) //,98 is a made up number that you will play with
return true;
return false;

//Other cases that might be useful to know if you don't already.
if (fDot > 0.0f) //We are somewhere within 180 degrees of the check direction
return false;
if (IsZero(fDot)) //IsZero checks a range; return true is (abs(fDot) < 0.0001)
return false; //Heading perpendicular, 90 degree angle fron check direction.
if (fDot < 0.0f)
return false; //Heading backwards, against check direction
}

All my code is untested and I may be off on something, although I believe its good.
Hope it helps.
blackbird04217
S3 licensed
If shit happens I won't be able to stop it. So I really don't care I am going to live my life normally and laugh at all the idiots who plan to spend all their money to have fun 'before the end' racking up tons of debt only to find out; now they need to pay it back because the world didn't end like it was supposed to.

As far as the blackhole never heard that one before, and I am sure I would have; though I did hear the Mayan Calendar and other calendars, as well as your 'predicting things that happened today that are impossible'. Well, thats a matter of words.

"Something groundbreaking will happen tomorrow."

I am probably pretty accurate with that prediction. It doesn't say WHAT will be groundbreaking WHO will do it or even what consists of 'groundbreaking' Meaning I could write some amazing algorithm that saves 2 CPU cycles while searching through a database, and on some levels that is considered groundbreaking...

My point is the statements people seem to think are predictions are simply to vague and not taken in their context IMO. I will not say that there couldn't be truth in anything, I like the idea that people could accurately predict things, but until they start actually making predictions that I feel are not vague I will not go jumping on board.
blackbird04217
S3 licensed
Quote from JJ72 :Just out of curiosity, does having a fiance mean anything in America? Especially when your ex is that young, it probably doesn't mean anything.

Where as marriage doesn't mean what it use to to A LOT of people it does still hold a greater than it would seem. (I don't know how to answer this better, and am not going to ramble on about how I know this - it is a similar experience as Greg though)

- And Greg; You've never been a goal orientated person as far as I know and remember. I mean you did have a few goals for yourself back in the days, both dealing with LFS and your real life. I remember you being a happy as shit little punk about going to boot-camp to sort out your life; I'm sorry to see you did a complete circle as you say.

It's not always easy to break habits, and hang out with 'types' that aren't the typical 'type' you hang out with. What I mean by that, is if you always enjoyed hanging out with people whom are influencing you in a bad way it's not always easy to just hang out with new people - even after moving or something. Even if its not easy that is one part that needs to change to help you remove that part of your life.

---

As far as the girl problems; long distance to do or not to do, if you think or know it doesn't work; then don't try. Even when both parties have a good feeling it will break down and deteriorate slowly and painfully. About the 'one that got away' you will always love her in a special way. But like me you probably need to remind yourself to 'get over it' Well, I know from experience I will never get over it; even in the scenario I find someone 'better' or for me. She's had, has and always will have a special part - memories. That is all you and I miss. That and the opportunity to create more memories among other things.

---

About sleeping during the day and awake during the night; I don't mind it, although I am a programmer and it is part of my nature, I've never really cared when I am sleeping. What is more important than when is how much you sleep and what you spend your waking hours doing. Being productive is relative to your state of mind, a goal orientated person may be able to do said things above; but I have a feeling those won't work for you where they would for me or someone else.

I would say start a project, that is small and hands on. Something as simple as a popsickle stick structure, or fiddling with a car as you're very interested in that. Then each day go out and spend a few hours doing that project, it doesn't need to have a sight in end, although in my experience I like having the concrete goals. Just get out buddy, there is something that will be useful for you; and only you can decide that.
blackbird04217
S3 licensed
It would help if the link worked the first time around; currently a dot is missing between ahcrew and freeforums.

Best of luck though.
blackbird04217
S3 licensed
http://blog.ianuy.com/wp-conte ... s/2009/06/demotivated.bmp

Currently can't keep going with things that I *want* to do but can't be motivated enough to do them . . . It's almost just as much annoying as it is a loss of motivation.
blackbird04217
S3 licensed
I haven't quite voted as I am still watching the finalists. But I would like to say I enjoy you-tube more than Vimeo as far as bandwidth and other things are concerned; you-tube is more user friendly for my connection, and I don't like that I sit there waiting for vimeo to start playing only to :doh: myself and realize I need to hit the damn play button for it to start. . .

- This suggestion I suppose is all opinionated, since Vimeo allows you to download their video it is nice too. . .

On another note, congrats with the success, I tried a video editing competition a while back and it failed in complete disappointment but I am glad you found something that seems to have worked out quite well, good job!
blackbird04217
S3 licensed
I don't know about the UIDs and stuff, but I noticed that the "Joined in 2000" changed to be corrected to; "2010"
blackbird04217
S3 licensed
It seems its fixed now.
blackbird04217
S3 licensed
I've heard of the problem before and I believe, but haven't any experience with it, that there is an HDMI adapter/splitter that will allow you to get the sound output from the 360 and also go to your monitor. I don't have much info sorry, but I hope that the little info I gave helps.
blackbird04217
S3 licensed
That is Shauns point. But I would take a guess that something with the new year, or something else pretty strange. Yes I did notice, but didn't put much care into it.
blackbird04217
S3 licensed
That's hilarious. If its possible to do things before birth I wanna find a way to continue doing things after death . . .

/me devotes entire life to doing things after death.
blackbird04217
S3 licensed
Quote from leonardo555 :I wanna see:

-Better physics. Tyre burns so fast, differently as real tyres do.
-Better graphics. If LFS had GRID or NFSS graphics, LFS would be the best race game forever. For example: modeled cockpit, not textured ones.
-More real cars.
-Better mirrors.(I've already seen it in another thread)
-Some flames when the motor blows up.
-Better "crashes" as GRID, for example.
-Rain + wet tyres xD

And several more thinsgs that I forgot right now.

"Better Physics" - this isn't a request in anyway since is opinion based; what would make better physics.

LFS has modeled cockpits; Dashboard has depth, even some of the road cars had 3D heat controls the last time I checked.

More real cars = big corporations getting paid for a 'name'. I don't think that is required, more car classes - probably.

But the best part of all;

"And several more thinsgs that I forgot right now." - Didn't want them very bad did you?

------

Disclaimer; I'm not saying I wouldn't like to see some of the above in LFS, but graphics I don't think are a deal breaker - why waste computation time on graphics when it could be spent on more physics calculations. Like I said "better physics" isn't describing any sort of idea. At least "tires heat up to quickly" shows your opinion on the tires; though I've never had much of a problem unless sliding around too much; in which case be more smooth and watch the sliding. For me better physics would consist of; more detailed tracks, (AFAIK we will get one "soon"...), brake fade; due to heating up the pads/disks too much, transmission issues when shifting without clutch (hard to balance when keeping auto clutch), track temperature changing in shadows, racing line with more grip than areas with marbles. I could keep going on, but that is how a suggestion is made, actually making the suggestion not just the idea of better physics. For all I know in the above "better physics" to you could mean the ability to take a turn at 90mph and still stay glued to the track. - not saying you mean this, but making a point that "better physics" and suggestions like it do not have real material as its only an opinion of what makes things better.
blackbird04217
S3 licensed
Well its a bit out of date now, I wish it had windowed mode; or at least 32 bit color support and my native resolution. But it is quite interesting as you can turn tire wear up or down, damage up or down which makes you need to pit a lot more often in some cases. It's a lot more addicting than I first gave it credit; but I don't care for its user interface.
blackbird04217
S3 licensed
Was this ever open source? I think this would be the *perfect* test bed for my AI testing if I could get access to the code for it. But I doubt it is, I looked all over the site and couldn't find anything.
blackbird04217
S3 licensed
http://www.youtube.com/watch?v ... 8EysE&feature=related

Check out the bird at 2:14. I found that amusing.
blackbird04217
S3 licensed
I've never tried playing with mods, and it doesn't even run on my new computer. I've given up, but I won't throw it out either.
blackbird04217
S3 licensed
Quote from ATC Quicksilver :Only if you could find a copy, and then get it to work for more than 5 minutes without crashing. It's a shame it was so buggy because it was a great concept and it worked really well.

Own the game, but have never been able to successfully play it more than 5minutes which is a shame because I think it would great fun.
blackbird04217
S3 licensed
Quote from Wilko868 :Well Brits always used "Two-thousand AND nine", which is why it is in the poll as it is, seeing as the OP was British.

Two thousand AND Nine would be: 2000.9 from the way I was always taught.
blackbird04217
S3 licensed
Quote from G!NhO :Well do it then... And that is the difference between him and you, he does this stuff and we all don't.

This is true to a point and false on another. I know there are enough people that do big jumps and things that don't get the recognition that would be just as capable of doing this specific stunt etc... But popularity, chance for media to get ahold of it, is more important; and thus why he has the spotlight.

Now, to say that I could do that may be lying. Do I have the skills, certainly. Do I have ALL 100% of the balls it takes; probably not when it came to actually hitting the throttle, but I am sure I had enough balls to get myself into the situation.

Regardless, the skill needed is that of a high-school physics degree, ability to hit the throttle, keep the wheel straight and keep a straight head while during this procedure (which is where the 'balls' come in). Also needed a car that can accelerate and maintain calculated launch speed in the amount of runway given.

--------

So back to your quote the difference between him and others is not really that he does this stuff; there are many other people that do it as well whom don't get the fame and are therefor not 'media tagets'
blackbird04217
S3 licensed
Well if the launch height and landing height are assumed to be the same.

And we know gravity is -9.81m/s/s.

Then we could use physics to work backwards and see the estimated speed of launch knowing that we need to stay airborne for 269feet (81.9912m according to google).

We would also need to know how long he was in the air for - (that or how high he got from the landing/launch point).

My point is that this it the type of thing people do before they setup for something like this; they prove it is possible before attempting it. Which is the big difference between some idiot trying it at home and the people who made it big. (Again, this isn't saying it is easy to complete the task, or that it doesn't require focus of a special type, just that the knowledge that everything will be ok under X circumstances proves it to work.)
FGED GREDG RDFGDR GSFDG