The online racing simulator
Searching in All forums
(999 results)
Woz
S2 licensed
Quote from Gener_AL (UK) :L F S W o r l d > http://www.lfsworld.net/

Doh, sorry. Thought you meant in game lol
Woz
S2 licensed
Quote from sun :i do . Oh yer i'am making my serlf a nice little application and i'am stuck on this bit. Not the programming !!!. if i went to click the button, and i want it to check idf its the right answer, would it be a 'CheckedList Box' in C# or something else ?

Regards

Owen.

-------------------------

-=STG=- Programmer.

-------------------------

I think you have controls and functionality confused.

All controls like checkbox, button just handle display and user interaction. Such as each time when you click a checkbox it toggles the state.

The controls have no idea what the right answer is and they should not. You should have one or more classes that manage the logic in your application.

Keep display and logic separate. It will save you lots of work later on and stop you writing spagetti code.

Your object are what decides what is and is not the right answer! You should be able to change the form the user interacts with to something else and NOT have to change a single line of your logic code if you are doing it right.
Woz
S2 licensed
Quote from Gener_AL (UK) :Perhaps Add a "Cruise" Filter to Racers & Hosts Online ?

there already is? And it hides cruse servers by default!
Woz
S2 licensed
Quote from smokenyall :but in v i coulda swarn it was like that.

simple test. Go into the control panel for the controller. Put in gear and see if it stays in gear. The button in question should still be lit after you let go of the stick
Woz
S2 licensed
Quote from Shotglass :speed of light * integer * time?
doesnt make any sense to me whatsoever

rotf
Woz
S2 licensed
Just to get back on topic. Hope this does not come across too harsh.

<harsh>
Street racer = c*nt

Sorry to use that word but too many people get killed by these wanabe race driver c*nts who have not yet learnt when their brain is in control and when their cock is the one talking.

To people that think its cool...

Track = safe environment to play. Street = dead people. Stop being stupid c*nts!
</harsh>

Woz
S2 licensed
Quote from smokenyall :its not a ff shifter it was made from a game pad with switches that are engaged when put into gear. theres no return sprind but i want it to stay in gear so that i can consintrade more on stering instead of holding the shifter in place.

Unless your shifter keeps the button pressed while in gear it will not work. I get the feeling your system presses the button as you slot into gear but then it does not lock the stick in place to keep the button pressed.
Woz
S2 licensed
I like the one from the bible that has the missing page restored at the front of the book. You know, the page that reads

"All characters in this book are fictional and any...."

Woz
S2 licensed
Quote from Jakg :I heard this alot, but surely 2.5 is actually technically more 3 (thanks to rounding) than it is 2...

Of course, 2+2=3 for small values of 2 (1.5).

Think geek have a T-shirt with it on. Always made me giggle as such a daft phrase
Woz
S2 licensed
Quote from theirishnoob :also can someone tell him that 2+2=4... even i know thsat :S

I think you will find 2+2=5 but only for very large values of 2
Woz
S2 licensed
yeh but no but yeh but no but yeh but no. I didn't say nufink or nufink innit. lol
Woz
S2 licensed
Quote from sun :yes i do understand woz. and i know how it works. thats your questiones answered woz.

So you understand what a method is and you understand my code snippet.

How come you are still unable to locate your error in your code?

A method name expected error is normally simple to spot. BTW, it is IMPOSSIBLE for ANYONE here to say what the error is when all you post is (x == 145)

x could be anything and the it is not even a complete statement to be able to even understand the context.
Woz
S2 licensed
Quote from anasmak11 :you reminded me, sometimes it completely shuts down, and sometimes it just freezes and I have to force shut down..

I dont think its really heating.. I tried other games and works fine..
and I can hear the fan working..

It can be because LFS demands a LOT from the CPU. I need my laptop up on CD cases to get airflow or it does what you say in a few mins.

If you lappy has had some fair use you should get a can of compressed air and blast your laptop internals. Just poke the pipe through a slot and press then watch the cloud of dust come out. Mine overheats less when I have done that recently
Woz
S2 licensed
Quote from Binnie :hey guys, i've been playing LFS for a while now, and i'm getting kinda pissed off with it since patch Y.

problems so far....

1, Terrible lag, jumping etc, FPS is constant @ 45 (i restricted it to this) internet connection is fine.
2, i keep losing my connection to servers mid-race, which on the 9th lap of ten is a bit annoying
3, when joining a race, leaving from pits (Or trying to) i couldn't select any gears, i tracked this down to LFS had changed the gear setting to "h shifter" without me changin any options!!
4, i appear to have Braille writing the the names box or whatever it is, you know, with the list of players? also arrows in garage have changed to what looks like braille!
5, LFS seems to lose the calibration on my wheel (i'm using a saitek R220) so mid race i get uber sensitive steering untill i go lock to lock to sort it out

i have no idea whats going on, i don't mess with my pc much, i try to keep it clean by using AVG + adaware, and also use firefox to browse the 'net, it all seems to have happened since patch Y,

anyone else getting anything similar?

cheers

binnie

If this is just online they could be caused by the fact the USA has cut 2 larges net pipes into the middle east to isolate Iran and others from the world for some reason and the whole net is slower at the moment.

Sorry. I meant the cables cuts we mistakes by boat anchors, nothing to do with USA. 3 cables by mistake in as many days all feeding the middle east, why wouldn't that be an accident
Woz
S2 licensed
Quote from sun :Can we get back on the topic ?

You didn't answer any of my questions!!

1) Do you KNOW what a method is?

2) Do you understand the simple code I posted and how it works?

When you answer these we can move on a bit
Woz
S2 licensed
yep fav server list would help loads. Just use the name as the IP can change and people tend to leave server name as is.
Woz
S2 licensed
Quote from Uncle Rooster :not totally agree with this one because almost everytime I tried a race against people the same speed or slight faster than me, I would have been able to finish 1st because of a mistake they have made but every time they kept restarting the race before it ends it was kind of frustrating especially when they do it just before the end of the last lap!

You got a bad server with some morons tbh. I hate people that call restart once they off.

Can't think the number of races I have won in the past because of driver mistakes in other drivers.

Just worry about being consistent at first, not speed. You are far far faster 2 seconds off pace if you don't off compared to being on pace and having an off.

I always laugh at T1 madness and normally hold back slightly because too many people still believe that T1 is the race

Sounds like you have the right attitude for CTRA but also when you find a good server with friendly people remember it. You will soon get a list of 5-10 fav servers where you know you will get a good race.
Woz
S2 licensed
Quote from DANDAMAN05 :how can you say LFS is more realistic? why dont you try and rev your engine (in real life) so that your burning your clutch... you will find that in real life it takes a hell of a lot longer, than in LFS.

Please post a replay of you burning a clutch in LFS and the show a vid of you slipping the clutch for the same amount of time at the same RPM.

What controller do you use in LFS btw?

Out of interest have you EVER slipped you clutch at high RPM for a long time IRL? How long and at what RPM? If more then a couple of seconds at 4000+ rpm you WILL have smelt a burnt clutch!

No the clutch is not perfect BUT most people who post what you have assume they drive the SAME in LFS as IRL but when you watch a replay of them in LFS they do not drive realistically at all.
Woz
S2 licensed
Quote from dougie-lampkin :Does that sound likely to you?

Sorry should have put my sarcasm tags around that bit
Woz
S2 licensed
Quote from sun :i am bothered to listen and darktime yes thats what i've been waiting for you to say. i wish you where willing to help me... any way i think this is right: (X :== 145) i think it has solved the error if i try it. the error is Method name expected

Method name expected means that when the compiler created the error it was expecting a Method Name.

Do you understand what a method name is? If you dont understand something as basic as a method name then GIVE UP NOW because you will NEVER make a programmer. EVER.

It is possible the error is NOT actually on the line the error is given by the compiler. Check all your () {} [] block pairs for a missmatch etc.

Out of interest, did you understand that small console.writeline snippet I posted. If not your understanding of C# is not actually anywhere near where you will be able to do anything useful. It was all VERY VERY basic stuff that you should not even need to look up to understand.

BTW :== is not even a valid operator in C#. Have you beed reading a Pascal manual and got the 2 languages confused?
Woz
S2 licensed
I have to say that I have not found LFS any harder or more demanding to drive since the patch. That said I have used H pattern and 3 pedals and driven as I would a real car since I started LFS. It always made me slightly slower than others but now its starting to pay off
Woz
S2 licensed
Quote from sun :Console.WriteLine("ok C# is what i use and btw hello");



i learnt that.

int i = 1;
string[] word = new string[] { "case", "that", "understand" };
object obj = (object)"In " + word[(int)1m] + " " + word[--i] + " you should " + word[0x1 << 1] + " this ";
Console.WriteLine(obj as string);

BTW: All you posted was "Hello World", the first thing you EVER learn in any language. To prove you have bothered to learn something do something simple like chop a string of words into the separate word dropping the white spaces. You code should work for any string given and return an IEnumarable of the words.

Once you can do something simple like that off your own back people here might be willing to help as it will show you have bothered to learn language basics.
Last edited by Woz, .
Woz
S2 licensed
Quote from JMacari :i was messing around with this program called uniblue speedupmypc. in it there is a cpu optimization wher eyou can like prioritize processes. i raised the priority to lfs and the problem is gone. i don't like this solution because i'd rather not have anything else running in the background, but it at least narrows the problem down to something definitely taking cycles from the cpu. is there a way to do this in windows (not using a 3rd party app)?

Just CTRL-ALT-DEL and in the process list right click LFS. You can set the priority there. Dont set too high as you need the OS to breath
Woz
S2 licensed
Quote from obsolum :This may be a "noob" question, but how do you know the technical specifications of the cars in LFS? Are they posted somewhere? I had no idea the XRR was actually designed as a sequential shifted car - although it doesn't surprise me - and that the FZR is in fact a H-shifted car, which does surprise me a bit.

I haven't been able to play LFS for 3 months (and won't be able to play it for quite some more) so I'm completely out of the loop here concerning patch Y.

It was all part of the Y patch when the Seq gearboxes came in. You soon learn which is which when you start shifting
Woz
S2 licensed
Looking at how RBR tracks are built it is an ideal system to create random tracks with. Watchinjg the track builder vid looks like it could be automated a great deal to generate random tracks.

I agree with you, would be great for rally sim
FGED GREDG RDFGDR GSFDG