The online racing simulator
LFS World Server Script
(57 posts, started )
I fixed the bugs in dependency to cURL. Now everything works fine. The link for the hot-fixed version 0.9.2b can be obtained at the link in the first post.
Here you have the Catalan version
Attached files
lang_cat.zip - 1011 B - 138 views
I tried to setup the script at my Page, but it doesnt work properly

I always get a "HTTP 500 Internal Server Error" Message

What could be the reason for that ?

Im running an Windows Server and using IE8.
The strange thing is, when i first time tested, i have forgotten to set Folder where script is saved to 777.
Then i was able to see the script, and it shows Server Name.
Then i set Folder permissions to 777 and it didnt work. hmmmm
When will this be updated for Patch Y?
Quote from Ondrejko :does it work only for S2 server?

The LFSWorld pubstats doesn't output data about DEMO servers, unfortunately, so yes, it only works for licenced servers.
does anybody know what is need to add to file server.php to create new info - Live Progress?

some sort of commands which could add name of server to this link
http://www.lfsworld.net/pubstat/live_progress.php?host=

and add new line to _data_inc.php file to create hyperlink to "live progress" window.
will it be updated to be used with Patch Y? Would be great @ moment it just shows OFFLINE but it isn't ^^
Hi all! An update for the LFS World ServerScript to support the pubstats for 0.5Y will follow soon.
As I don't still play LFS that much (time ), I didn't really care about these projects. But, as I said: an update will follow soon within the next 1 or 2 weeks.
Btw, can u add adjustable auto refresh, pls?

RGDS
English language file not found, execution halted!

this is saying at my site. what can i do? the file is there
BUG?

Empty server (wrong info about race):



Join on server, and then start race (true info about race):



Leave server, and then we have wrong info about quali:



Join in server, start quali, and we again have wrong info about race:



Can u fix this? Glitch between quali and race info?

RGDS
Another BUG...

On server is AS5...



EDIT: done, error in ur default cfg, with track numbers...

default server.php

///////////////////////////
// ASTON
///////////////////////////
if($track=="600")
$trackName = "Aston Cadet";
if($track=="601")
$trackName = "Aston Cadet Rev.";
if($track=="610")
$trackName = "Aston Club";
if($track=="611")
$trackName = "Aston Club Rev.";
if($track=="620")
$trackName = "Aston National";
if($track=="621")
$trackName = "Aston National Rev.";
if($track=="630")
$trackName = "Aston Historic";
if($track=="641")
$trackName = "Aston Historic Rev.";
if($track=="650")
$trackName = "Aston Grand Prix";
if($track=="651")
$trackName = "Aston Grand Prix Rev.";
if($track=="660")
$trackName = "Aston Grand Touring";
if($track=="661")
$trackName = "Aston Grand Touring Rev.";
if($track=="670")
$trackName = "Aston North";
if($track=="671")
$trackName = "Aston North Rev.";

my server.php

///////////////////////////
// ASTON
///////////////////////////
if($track=="600")
$trackName = "Aston Cadet";
if($track=="601")
$trackName = "Aston Cadet Rev.";
if($track=="610")
$trackName = "Aston Club";
if($track=="611")
$trackName = "Aston Club Rev.";
if($track=="620")
$trackName = "Aston National";
if($track=="621")
$trackName = "Aston National Rev.";
if($track=="630")
$trackName = "Aston Historic";
if($track=="631")
$trackName = "Aston Historic Rev.";
if($track=="640")
$trackName = "Aston Grand Prix";
if($track=="641")
$trackName = "Aston Grand Prix Rev.";
if($track=="650")
$trackName = "Aston Grand Touring";
if($track=="651")
$trackName = "Aston Grand Touring Rev.";
if($track=="660")
$trackName = "Aston North";
if($track=="661")
$trackName = "Aston North Rev.";

There's a bug in viewing if the server is public or private. It always says it's public although it's private sometimes.

server.php
if($server[$hostname]["Access"] == "") {
if($rules[3] == "1")
$server[$hostname]["Access"] = $strServerPrivate;
else
$server[$hostname]["Access"] = $strServerPublic;
}

$rules[3] always outputs "0 ".
Sorry about double post. Aha, $rules[4] works fine. This logically also means that there are bugs in the others informations, but I'm not using "the others" anyway, so...
Yes, but don't forget to check the others information too. You can find out what is what if you allow all options and then you only try each after each and watch what will change after F5... Maybe it's ok, but I think there is something.
I edited everything in the _data_inc.php file
Now i saved all, but my server runs on a Host..

I now just upload it and it works?
And what is the webpage where people can see the stats then?
Quote from nesrulz :Anyone know how I can put url on server name?
Example: MaksNet & SERT DEMO

Thx.

What do you mean? Like this?
<a href="http://www.lfsworld.net/pubstat/live_progress.php?host=MaksNet+%26+SERT+DEMO">MaksNet & SERT DEMO</a>

But I think that weren't on your mind.
Can someone help me with this?

Quote :I edited everything in the _data_inc.php file
Now i saved all, but my server runs on a Host..

I now just upload it and it works?
And what is the webpage where people can see the stats then?


LFS World Server Script
(57 posts, started )
FGED GREDG RDFGDR GSFDG