The online racing simulator
Searching in All forums
(986 results)
filur
S2 licensed
Quote from Goodfella :@filur: reading the php documentation, seems that the commands used in your example are a bit slow.there are other commands, such as socket_create, socket_bind, socket_listen, ecc. that are faster and also supported in php 4.x

Um okay, i'd recommend you to read the thread to find out more about php 4.x.
filur
S2 licensed
Several days uptime on winxp sp2, several lfs sessions, combined memory usage for everything related to svchost is about 30mb with peak usage at about 32mb.
filur
S2 licensed
Quote from Becky Rose :I can't see it making a difference. It effects outbound requests only and doe not re-route localhost. The only mess up might be if you had the same filename as an add or nasty adware file - but that's remote.

It does (of course) re-route to localhost, for example, i use the hosts file to set some internal "domains" which only i can access, with corresponding virtual hosts in apache (localhost!).

Thus, 2000 re-routes from these entries in the hosts file would create 2000 lines of errors in my log.
filur
S2 licensed
Quote :When cleaning Malware/Spyware from a PC, it is much easier to check a clean Hosts File then one filled with thousands of lines of addresses.

I'd go for something like Junkbuster.

Also not a good idea for people running their own webserver (on localhost) to use the hosts file for blocking purposes.
filur
S2 licensed
Quote from MonkOnHotTinRoof :Yes, it's ugly, but you have any better idea how to detect car reset?

Nope, i wouldn't even try. It's one of them things you'd really not want to detect by mistake, and as such, you'd want to be able to compare your criteria over a period of time to make sure you don't get it wrong, and with car resets, you can't.
filur
S2 licensed
Quote from MonkOnHotTinRoof :Detecting reset would be made by comparing 2 frames on speed and distance/angle change

Really not a good idea.
Quote from MonkOnHotTinRoof :I think the problem with the pit detection is, that the name of player is in message

IS_PLP, UName and PName.
filur
S2 licensed
Quote from harlen :ZA is overprotective. it might be that, i use it and when i open a tga file it tells me it has a virus in it. try getting rid of ZA and it might work.

ZoneAlarm is a firewall, not a virus scanner. You're probably referring to something like ZoneAlarm Internet Security Suite.
filur
S2 licensed
Quote from Renku :.. I'm scared due do a lot of people seem to find hard to understand the new ..

To me it's just inconsistent, i know Blackwood, GP Track and BL1, but what's "Blackwood 1" ?
filur
S2 licensed
Quote from MZWiZard :.. it said in red "JOOS -main", which means you run a modified version of some kind and we will NOT allow such things on our server!

Out Of Sync, could be packet corruption for example.
filur
S2 licensed
Quote from shaGuar :Try to edit this one

Let me in a friendly way introduce you to the wonderful world of data compression. With the current bandwidth restrictions(?) on the forum, it took me almost 2 minutes to download your .bmp picture.

Your picture compressed to
PNG (lossless, no information gone): ~450kb (~35%)
RAR (still lossless): ~400kb (~30%)
JPG @ 80% quality (lossy), ~200kb (~15%)

The percentages can be roughly applied to my download times, ie. the RAR would have taken about 36 seconds instead of 2 minutes to download, and i'd still see the exact same picture.
filur
S2 licensed
Quote from lurendrejer :..

The only thing this script system does is send commands, there's already a way of automating commands issued on a server (Insim).
filur
S2 licensed
Quote from Jessedvd :its smooth.

How much is your graphics quality enhanced by the size of your harddrives?
filur
S2 licensed
+1, and also include searching for races where you've raced against/with <username>
filur
S2 licensed
My writings may be found on the danish forum

Made some 'unofficial' stats, recorded in 16x replay speed, so top speeds might not be all that accurate.

http://flp.c0m.se/reports/lfs-dk_we2h/stats/
filur
S2 licensed
Quote from St4Lk3R :you did it in your script sample... illepall now I am confused.

Yeah i guess i assumed you'd run both the script and the server locally.
filur
S2 licensed
Quote from St4Lk3R :you misunderstood him IMO. he entered his lfs-server's IP-address into the stream_socket_server function, which is of course wrong, because this is the local server you open to listen to the responses of lfs. so localhost is the IP to enter here.

Confusing. Well, anyway, localhost isn't necessarily the right one because a remote server still cannot connect to a socket locally bound to 127.0.0.1
filur
S2 licensed
Quote from St4Lk3R :wrong way.

you're connecting to the insim-port of lfs when you use fsockopen. stream_socket_server is for opening a LOCAL server listening to the responses of lfs. so udp://localhost:30000 is the correct url in all cases.

A remote server can't connect to your localhost, thus you bind the socket on all devices.

Quote from St4Lk3R :Do you need beta-testers?

I guess i do, i'll send a PM some day when i've not got a load of league races to prepare for, websites to code, cold coffee, etc.
Last edited by filur, .
filur
S2 licensed
Quote from St4Lk3R :when you're talking about that filur: when will it come along?



It's been in sporadic development for almost a year, starting to actually be really stable and truly useful lately. I'm still finding 'core' errors and annoyances from time to time, which is why i've not released anything so far. You can join FLP's server FLP Racing for a taster, the FLP Soccer 'mod' also runs on my insim code. The core insim class can of course be used for pretty much anything, not just running as an 'insim application'.

Hey, this is the most info i've ever given out so far, be happy, dygear!

(should be able to release something pretty soon, really.)

Quote from Goodfella :with your script, also remote servers are accessible?

Should be, you'll probably need to change the server_bind on the incoming socket to your external ip, or just use 0.0.0.0 (all devices), if your external ip is held by a router, use 0.0.0.0.
Last edited by filur, .
filur
S2 licensed
Quote from Goodfella :I saw it, but it's very hard debugging that script with a lfs server... i don't know if it works or not...

Well, it doesn't really need debugging since it doesn't do anything except actually showing you that it does work. (ft. keanu)

I've got quite a neat PHP package coming along, but in the meantime you'll have to figure it out yourself.
filur
S2 licensed
Quote from SpaceMarineITA :/bind F6 /write hello

Quote from kaspur :Would it be possible with this "script" to bind F1 with command "/run greenflag.lfs"

Setting commands on the chat-keys already works, i can't see how /run would be any different.
filur
S2 licensed
You can change tyre type in the pit instructions box (f12).

Your choice of tyres for 'go really fast' and 'be safe' seems to be a bit reversed, wouldn't you normally choose R2's to 'go really fast' ?
filur
S2 licensed
Many new drivers are interested, so you're closing it?

Very sad news!, if you're ever in need of some kind of league management system in the future, i can rocket-code php like my fingers are on fire.
FGED GREDG RDFGDR GSFDG