The online racing simulator
Searching in All forums
(948 results)
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.
filur
S2 licensed
Quote from Lible :Mplayer doesn't have a graphic interface

That's one of the main features for me, opening a video results in a window playing the video, no buttons, no skins, no menus. Strong streaming features too, i've set most mime's to "send url to player" in Opera, works great.
filur
S2 licensed
Quote from SnprSlick :The peeps in server said my Ping was horrible. When u lag individually your FPS drops significantly.

No, in LFS, it doesn't. I've lagged out from servers a few times, meaning my ping was constantly extremely high for such a long period of time the connection was ultimately dropped, my fps has never been affected by this in any way.

Some games / programs might drop in fps due to network latency, perhaps they've been written to wait for certain network events before actually drawing the next frame. LFS doesn't do this, it's just low fps, whatever is causing this, it's not your ping time in LFS.
filur
S2 licensed
Be sure to set some maximums.
filur
S2 licensed
Quote from KurtG85 :They say the human eye cant pick up on much difference of anything much over 60fps.

I still doubt that the human brain / eye works in such a way that you would/could describe it as "frames per second".
filur
S2 licensed
Quote from Sternendaal :XviD is 10 times better then DivX.

They are basically the same, but i agree xvid is better.
Quote from Sternendaal :Just make sure you take 10 mb per minute,and your fine.

Not really, It'll be way too much for a movie featuring a series of still images, and it'll be way to little for a movie featuring a full grid BF1 race on SO1 in 1024x768 30fps with camera switching every 3 seconds, etc.

Quote from micha1980de :thinking about the hours of reading and understanding the "how to's"...

My xvid config looks like attached image, i never mess with anything other then this little screen.
filur
S2 licensed
If you've still got your project files, go over the settings in premiere and make sure to stay away from anything related to interlacing or de-interlacing, set the sound volume lower, make the video stretch to your frame size and export the movie using some form of compression.

I'd guess this video would weigh in at about 15-20mb as XviD.

Quote from Spudster :I have adobe premiere pro so I wouldn't need virtualdub

I'd recommend virtualdub for compressing, premiere is slow enough rendering to uncompressed avi, and not many codecs seem proper enough for premiere to not throw an "unknown error" while rendering.

The opening "crash" was neat, and the UF1 roll was nice.
Last edited by filur, .
FGED GREDG RDFGDR GSFDG