The online racing simulator
Searching in All forums
(980 results)
dougie-lampkin
S2 licensed
Quote from broken :Now something I need help with. I guess that the solution is pretty easy, but I didn't have much time for this function anyway...

Language: C#
Works with: Will work with every program.
Source used: LFS_External from the forums.
Result: Get days in the month.
Level: Probably easy..
Number functions in the code strip: 1
State: Not working - problems with February.

This is built into .NET already, part of DateTime

[COLOR=blue]public[/COLOR] [COLOR=blue]static[/COLOR] [COLOR=blue]int[/COLOR] DaysInMonth(
[COLOR=blue]int[/COLOR] year,
[COLOR=blue]int[/COLOR] month
)


int DaysInFeb2009 = DateTime.DaysInMonth(2009, 2); // Returns 28, as 2009 is not a leap year
int DaysInFeb2009 = DateTime.DaysInMonth(2008, 2); // Returns 29, as 2008 was a leap year

Quote from broken :BTW: I never got to know what the RequestID of a button is used for... Proves what a lame coder I am lol! But people learn as long as they live, they say.

RequestID is sent in IS_BTC. It's usually used if you have two buttons with the same ClickID that are sent in different "areas" (so they don't show at the same time, because they can't), so that when the BTC is sent, you can see which "area" it was sent from. That's a terrible explaination I know, but I'm terrible at explaining things in general

For example, if you have a menu system, with different tabs. Each tab has 5 buttons, each with the same ClickID. But they all have different RequestIDs. So when one button is clicked, you can look at the RequestID in IS_BTC and see which tab is was sent from, to decide what to do with it. Any better?

Nice post though, a lot of useful information Might be worth adding it to the wiki, in a tutorial section, with a bit of code cleanup (no offence intended, but some areas are a bit messy to understand)?
dougie-lampkin
S2 licensed
Quote from Stiggy's Siggy :Part of Flight Simulator X

Yes! We can fly the Stig in FSX Or is he the CEO of the Microsoft dev team now?
dougie-lampkin
S2 licensed
Quote from carey :My ISP told me that anything over 10 metres would effect my DSL connection. Someone I know had a 40 metre cable, and a reduced connection (400kb/s on an 8mb service), but then it was with BT and not in the most populated area.

100 base UTP (common CAT5, what you should have [unfortunatly, both ISPs I've used supplied patch cables instead...probably what your ISP has given you too if they told you 10m max]) is good for 100 metres. If you're using patch cables (*shudder*), the max recommended length is 6 metres. But you could theoretically have an infinite cable length if you put a hub, switch or router every 100m to "regenerate" the signal

Quote from carey :Well everything’s meant to be bigger and better over there, but they should start including removable walls, for those people who decide that half a ton’s a nice weight to be (and can’t leave by conventional methods such as a door). The only real criticism I have of house building in the UK’s the garages, as most newly built houses, can only fit a supermini or obviously a motorbike.

I live out in the country where most houses are bungalows built in the 80's/early 90's. We're lucky to have indoor plumbing and electricity We have a garage that comfortably fits an MGB (quite long), but it's an external building out the back Agreed though, most town houses or housing estates have ridiculously small garages
dougie-lampkin
S2 licensed
I propose we get a new "Is xxx a man/woman? (delete as appropriate)" subforum
dougie-lampkin
S2 licensed
Quote from SparkyDave :Its such a difference from LFS that works in high res almost off the bat, seems to me like with Rfactor+mod you need to know how to adjust every little detail in config files etc, I don't have the time for all this, I just want to race somthing at least partially realistic

This is exactly why I hope LFS never has public modding. We might not have much content, but at least it all works perfectly, and all has hi-res textures
dougie-lampkin
S2 licensed
If you have a basement with no ceiling (as in, you can see the joists and bearers of the ground floor), it should be perfect to go under the floor then Most houses over here (well, about 95%) don't have basements, the ground floor is just built straight onto the foundations
dougie-lampkin
S2 licensed
Top Gear put a Hilux on top of a building during a controlled demolition, and the bonnet hinges survived that, even though the chassis ripped in half Them Japanese engineers obviously know their stuff when it comes to bonnet hinges
dougie-lampkin
S2 licensed
Emm...correct me if I'm wrong here, but isn't drilling two holes in the floors of both rooms a bit pointless? For starters, if you're both on the ground floor, you'll likely be drilling into solid concrete (i.e, the foundations of your house). If your builders were clever (or if your house is newer than mine, quite likely), you'll still encounter the problem below.

Even if you're both on the first floor, you'll be drilling into the recess between the floor joists and the ground floor ceiling. This means you'll be able to get the cable into one hole just fine, but have no way of making sure it comes out of the other one
dougie-lampkin
S2 licensed
1. Go to run, and run "control userpasswords2".
2. Click your username, and uncheck the tickbox above it, like in the screenshot.
3. Click OK, and it'll login to your a/c automagically from now on
4. ???
5. Profit
dougie-lampkin
S2 licensed
The single seaters and the GTRs (except the FZR) are sequential only. Try a road car and see if the shifter works then
dougie-lampkin
S2 licensed
"It's still coming out, it's dripping down the left hand side!"

Classic
dougie-lampkin
S2 licensed
Oh no! He's had a head on collision with a wall at 220km/h! But wait, it's OK, he can drive off unscathed (apart from a broken tail light), with a slight concussion and an orgasm! Thank goodness for realism in the new NFS sim
dougie-lampkin
S2 licensed
Quote from logitekg25 :how do you expect i get a wire to it with my dad wanting 'NO HOLES IN THE WALL' this is my setup.

Ignore the wireless haters. My wireless is coming through 4 solid concrete walls, and goes about 30 feet to my PC. I have the exact same download speed as the PC cabled to the router, and I have yet to timeout in any online game since putting 7 on my PC (strangely, I was timing out a lot when using Vista, nothing physical has changed though). My max speed when using the local internet is 1Mb/s, which doesn't matter as I only have 3Mb/s broadband, which lets me download at ~350KB/s

Since you only have one wall and a couple of feet to travel, wireless will work fine
dougie-lampkin
S2 licensed
Quote :Assault Rifles
FAMAS – Bushmaster ACR – M16 – AK-47 – Steyr AUG A2 – Imbel MD3 – FN 2000 – G36C – M4 – MK. 14 EBR – G3 – TAR-21 – FN SCAR – FN FAL

Oh yes...now you're all going to suffer online
dougie-lampkin
S2 licensed
When a player connects you get an IS_NCN packet. This has the player's username. Unfortunately, IPs aren't sent through InSim

IS_ISI is sent to open an InSim connection with a server
dougie-lampkin
S2 licensed
Going for a carPC too?

I'm using mine as a mixer, as in, the stereo is fed as a line in into the PC. Then I use an amp from the PC to the speakers. Effectively, this gives me unlimited inputs into the PC, which feeds the speakers in turn. Mine's going in the Mini as soon as I find a decent way of powering it, it's all ready to go though
dougie-lampkin
S2 licensed
Use an FM transmitter? In some cars they have awful feedback, but mine sounds better than the radio. I got mine for ~€4 a year ago, worked fine ever since. I also have a cassette adaptor which works even better, but I presume I'm the only one still stuck with a tape deck in the car
dougie-lampkin
S2 licensed
The best part has to be the comment:

Quote :Great video also i cant wait till it comes out, Although I dnt belive thats need for speed shift I still find it good trailer

Just shows the IQ levels of the NFS crowd really
dougie-lampkin
S2 licensed
I don't want NFS to turn into a half-assed sim, a la GRiD, DiRT, and other weirdly acronym'd games. I want to get into a Lambo sitting 12mm off the ground and fly around city streets with 18 foot trails of nitro flames coming from the 6 exhausts protruding from my rear windscreen. I want to connect to the internet and instantly be landed in a line with 3 other cars that look like they drove through a lego factory, covered in double-sided sticky tape. It's completely unrealistic, and that's its market.

There's proper sims for when I want to actually feel like I'm driving a car, like LFS and rFactor. This new concept is going to be terrible. True simmers will despise it because it brands itself as a sim, yet still has arcade physics*. The old NFS followers will despise it because they can't drive over speed ramps at 450km/h in their slammed FWD ricebox. They're going to put into a niche of a niche market. It's just going to fail from all sides, which is a shame...If EA had their heads screwed on, they'd make a shiny new HD "underground" type game, to rival midnight club or burnout paradise. It might still be flogging the cash cow, but at least the "old" NFS followers would be happy they have a new game to play, and the simmers would be happy because they can stay well awya from it.

I'll certainly give it a chance if/when a demo is released, but I'm not holding out any hope for it...

My 1.21p

* - For example, look at the Laguna Seca vid Furiously-Fast posted above. Look at 0.38-ish, when the Porsche slams into the Beemer. I've seen enough Le Mans to know that if one car hits another car at 90°, they don't rub along each other and continue as if they avoided each other. We're led to believe that one touring car has smacked into another one at speeds well in excess of 60mph, yet they both come out completely unscathed, and the one that was T-boned even continues in a straight line? Sorry, that's not very accurate, and that's just the first thing I noticed watching the first vid I've seen of "Shift" (which holds a different meaning altogether in Ireland )
dougie-lampkin
S2 licensed
Quote from bunder9999 :...or ralphed all over it.

Yes, but I'm only responsible for half of it :hide:
Without going into any more detail. 'Nuff said
dougie-lampkin
S2 licensed
Quote from The Very End :You did what with the bed lol!? And the computer part is a classic mistake I allways manage to screw something up if I am sitting on the computer while beeing affected by alcohol. The spamming of friends either on msn, facebook or by a sms is standard for me sadly, and I wish I could stop with it.. but then when alcohol comes into my blood I am done for it

Yes, as anyone I talked to will attest, my hand-eye coordination went out the window I didn't want to talk to half of them, and I didn't have anything to say to the other half of them, but I still stayed up for a good 3 hours chatting

Quote from The Very End :How did your foot turn out? I can immagine that beeing a great morning. Weaking up with a hangover from hell, feeling sick while bed looking like a disaster, cutting your foot on the bottle, understanding 0 of the computer, checks computer logs .. Sounds like an odrinary sunday morning for me

Foot's fine, the skin on the bottom of my foot is about 3 inches thick from walking around barefoot I did manage to get the bed sorted before anyone noticed, laptop still makes 0 sense though

Quote from The Very End :Oh, and remember to check facebook and sms log / call log. That is what I do on sunday as the first thing to save myself

I really don't want to, I've already ruined the chances I had with certain people because I decided to text my random musings at 4am Checking the logs only confirms my suspicions...

I have to go to Norway, or better yet, you have to come to Ireland. With a combined night of drinking I'm sure we'd find some crazy shit to do
dougie-lampkin
S2 licensed
Quote from The Very End :The link you posted, seems damn interesting but at same time terrifying I allways drink those things too fast, and it goes BOOOM and I am down biting the tarmac..

That's my problem too...I came home from a party (sober, I was driving ) last Saturday at 2am, and I had a 35cl bottle of Tescos value vodka I was saving. Being quite pissed off at being the designated driver, I decided I'd have half of it. But after half of it (in about 15 mins...) I decided it hadn't affected me, so I finished it. A couple of weeks before, I was at a wedding, and we'd hit double JDs at the open bar, and I had at least a litres worth, and even after that, I ended up carrying a girl who couldn't walk when we were going for food, and I was walking in a straightish line. Didn't even get stabbed once, even after walking across downtown at about half 3, which is unheard of. So I figured I'd be OK with another half bottle.

Ended up talking to every person in my MSN list anyway, about nothing in particular, incomprehensibly. So I woke up the next morning with a broken bottle on my floor (which I stepped on when I got up, lovely), and I had somehow gotten sick in my sleep, so an entire side of the bed was destroyed. Also I'd been doing "something" on the laptop before I went to sleep, and managed to put Ubuntu into some foreign Chinese-like language.

Lesson learnt, dilute spirits next time

I've heard about hallucinations with absinthe alright, I've never had enough of it to hallucinate though
dougie-lampkin
S2 licensed
Pffft, absinthe :rolleyes: Import some quality Irish poitín, makes absinthe look like distilled water

I agree on the "fun getting shitfaced" theory though. When you're so drunk that you need two people to help you walk straight, everything always seems fun Waking up at lunchtime and finding an album of the night before on the internet and reliving all the good times is an ideal Saturday/Sunday morning

E: This should do the trick
Last edited by dougie-lampkin, .
dougie-lampkin
S2 licensed
A new W7 install should definitely run faster than an old XP install
FGED GREDG RDFGDR GSFDG