The online racing simulator
Searching in All forums
(986 results)
filur
S2 licensed
Quote from Crazy Harry :don't fight the other car

This i believe is the only really universal part.

Quote from Crazy Harry :You have to let pass faster cars on the oval, so you can´t hold your line, that is blocking, so you have to leave the best line. Same on tracks like Westhill

Westhill has two enormous straights, you don't need to leave your line.
filur
S2 licensed
Quote from CLRS530 :But where is the difference between Port 0 (back to the same port) and use the same port?
It makes for usage no sence to me

Maybe i've got it wrong, you're asking why you can't specify the exact same port as LFS is listening on as the port for responses in the ISI packet when you run everything on the same machine? Because it would make LFS send packets to itself.

Just like MonkOnHotTinRoof says, using 0 will make LFS respond to the originating port of the incoming packet, which is of course completely different from LFS' listening port.
filur
S2 licensed
Radeon 9550SE, no change in fps.
filur
S2 licensed
Quote from CLRS530 :

lfsSocket.sendMessage((char*)&insimRequest,sizeof(struct InSimPack));
lfsSocket.sendMessage((char*)&startInsim,sizeof(struct InSimInit));


You're sending the ISC before the ISI?
filur
S2 licensed
Master server works fine for me (U20), LFSWorld graphs show no disruptions. A single search provides ~15 threads dealing with this.
filur
S2 licensed
I'm pretty sure the Aston Club race is the best LFS video i've ever seen.
filur
S2 licensed
Quote from MR_B :I learnt flash in one night on it :P (although that's not a code....but still!!!!!!)

You can do quite alot with flash actionscript i think.
filur
S2 licensed
Quote from Captain Slow :ok. erm, so can you make that sort of thing actually "do" something?

Yes, a good way would be to decide what you want to do, choose a language for the attempt and read the manual for that language.
filur
S2 licensed
It's definitely not the code missing some else's, the fact that PHP gets stuck suggests some kind of lengthy timeout for fopen, maybe related to using an url to open the file, but it still shouldn't consume any noticeable amount of cpu.

Why do you want to open the file through an url? Why do you want to manually read an ascii text file as binary? Why are you not using the apache php module?


<?php 
file 
file_get_contents(path/to/file);
?>

filur
S2 licensed
Everything seems to work.

Maybe the "OK" button could say "Play" (replay screen) :hide:
filur
S2 licensed
Quote from downwiz2 :its only a matter of time before i find the hp address....

Yup, it's that easy. It's weird how LFS Tweak stops working between patches though, even when the files are the same.
filur
S2 licensed
A script is a computer program, "making" a script is essentially the same as writing a computer program. The difference between "programming" (C++) and "scripting" (PHP) is that the script is not compiled to machine code (.exe), it's instead read and run by another program, the script interpreter. Writing something simple in a scripting language is often easier then writing it in a compiled language, compiled languages usually require the programmer to handle memory management and datatypes, where scripting languages often convert types automatically and handles all memory stuff for you, at the cost of speed.

Dygear's McLaren script is written in PHP, http://www.php.net/
Introductory PHP tutorial, only covers web stuff: http://www.php.net/tut.php

http://en.wikipedia.org/wiki/Scripting_programming_language

To "make a script" in 5 seconds with notepad:
echo Hello!
pause

Save as hello.bat, double-click the file, you've "made a script".
filur
S2 licensed
Quote from Albieg :It's my personal opinion that those who think n3o's helping the devs are wrong because they have no understanding of the meaning and implications of the remedy n3o publicly suggested as an example.

In my opinion, finding the vulnerability itself was the helping bit. "Finding out" that you can cheat / hack / modify a program is nothing new, but this particular exploit seems like quite a nasty multiplayer design problem which should really be looked into.

I guess what you're saying is the remedy suggested by n3o follows the rootkit type design and isn't something you'd like on your pc? This sounds much too extreme for LFS, i don't think it would be an apparent option for the devs.
filur
S2 licensed
Quote from glyphon :.. but switching colors...that's a bit more tricky

Allocate all the standard LFS colors, print each character in the name separately with the current color.


colors = array (
0 = imagecolorallocate( .. black )
1 = .. red
..
)

name = str_split(name)
currentcolor = default color
x = start x
y = start y
for (i = 0; i<=strlen(name); i++)
if (name[i] == "^" && preg_match("/[0-8]/", name[i+1])) {
currentcolor =& colors[i+1]
i += 2
}
imagestring(image, font, x, y, name[i], currentcolor)
x += char spacing x
}

filur
S2 licensed
Quote from MonkOnHotTinRoof :eh beaten by shinobi...

Bah, it's Ryu
filur
S2 licensed
How about pitstops being disabled until the car has passed atleast one split "checkpoint" after leaving the garage.
filur
S2 licensed
They're in NLP and MCI for sure, i've done alot of development with only the AI as my beta testers.
filur
S2 licensed
Quote from DEVIL 007 :I said already he could help devs much better just not giving it to his friends hands and give the aplication directly to Scawen.

Note the fact that he knew absolutely nothing about LFS, Scawen could be John Programmer at floor 14 in building C of company X.
filur
S2 licensed
Quote from Albieg :filur, I'm not a fan of security through obscurity, but just like n3o you're missing the big picture.

Perhaps i am, i don't feel like this is such a big deal tbh, LFS is still in alpha and i'm not surprised these kinds of exploits are still around. I'm sure it'll be fixed and all will be back to normal.
Quote from joen :What if I break into your house, and say I'm not doing anything wrong because it's simply your responsibility to get a better alarm system?

I've got a similar analogy, not really a reply to your post, but here goes.

Which situation would make you prioritize the issue most, a friend calling you saying your car is unlocked but he'll protect it until you've got time, or reading that your car is unlocked in the morning paper? Not saying it's a good way of making sure an issue gets priority, but its widely used and probably works. I'm not into anything like this so i couldn't say how i'd do it.
filur
S2 licensed
Angered peoples, you do realize that testing a piece of software for vulnerabilities is basically the only way of finding and fixing them? There's a reason for exploit testing software such as Nessus being available.

Would you rather have n3o finding this sort of stuff and keeping it for himself? would be alot "smarter" to keep this a secret and then get to the top of the MHR by cheating as little as possible.

You also do realize that even if n3o is a skilled programmer, he's probably not the greatest programming genius that ever lived and hasn't spent four years working day and night on this, meaning this sort of exploit could probably be (quite easily) found by other people too, fixing it would be very beneficial for LFS.

In my opinion, n3o has helped Scawen find a serious exploit, meaning Scawen had time to work on the updated track selection menu instead of looking for obscure exploits.
filur
S2 licensed
Quote from DEVIL 007 :how did you do that it takes no time?

I pitstopped.

Seems any amount of engine damage gets fixed instantaneously.
filur
S2 licensed
Quote from Hyperactive :The differences in enginedamage between different cars?

I drove each car using [default] or [hard track] down the drag strip until hitting high revs in top gear (or running out of drag strip), dropped into 1st and held the car straight, after letting the car slow down i tried to drive back to the start and gathered some "damage ratings", totaled meaning the car could no longer move under its own power.
  • UF1 - totaled
  • XFG - heavy
  • XRG - very light
  • RB4 - very heavy
  • FXO - extreme
  • XRT - moderate+
  • LX4 - moderate
  • LX6 - light
  • RAC - very light
  • FZ5 - ~none
  • UFR - heavy
  • XFR - heavy
  • MRT - very light
  • FOX - light
  • FO8 - very light
  • BF1 - ~none
  • FXR - totaled
  • XRR - totaled
  • FZR - ~none
Quote from Hyperactive :Engine fix during pitstops?

Engine fix (twice!) in 0 seconds, online / in race.
Last edited by filur, .
filur
S2 licensed
Quote from joen :.. but your assuming it wouldn't be fixed if it was just send to the devs instead of making it public.

Not at all, i simply pointed out that it would probably be highly prioritized if made public.
filur
S2 licensed
Quote from joen :The less people know about (if at all!) the better imo.

http://en.wikipedia.org/wiki/Security_through_obscurity

Making it public means it really needs to be fixed, and if it gets fixed that's not a bad thing.
FGED GREDG RDFGDR GSFDG