The online racing simulator
Searching in All forums
(154 results)
VorTeX3k
S2 licensed
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.
VorTeX3k
S2 licensed
Thanks a lot! Will be included within the next release and soon can be downloaded at http://lfswebsitetools.sourceforge.net
VorTeX3k
S2 licensed
Could you PM me your _data_inc.php?
VorTeX3k
S2 licensed
Why don't you install VirtualPC on your Mac? Yes, I know, thats pretty slow, but ok, you just need to view the skin, nothing else Or you virtualize a Windows using Parallels.. Then you share a folder of your Mac partition for this Virtual PC or virtualiziation and this is where you can put your skins, load the into the skin viewer running in an virtualized XP and thats it :P
I know it's annoying, but I'm doing it like this, too
VorTeX3k
S2 licensed
cURL is optional.. the script tries to connect using cURL. if this fails it tries to achieve the LFSW data using file_get_contents or fopen.

Maybe file_get_contents and fopen didn't work either but that should have give an error..
VorTeX3k
S2 licensed
Could you try to replace the following lines:
$cachestat = @stat('cache.txt');
$now = date('YmdHis');
$file = date('YmdHis', $cachestat[9]);

by those:

$cachestat = @filectime('cache.txt');
$now = date('YmdHis');
$file = date('YmdHis', $cachestat);

Btw, is the output you pasted in here really the _COMPLETE_ output?
VorTeX3k
S2 licensed
Uhm.. I think this error will be hard to track.. It seems that the stat function sometimes has some problems on Windows servers. I also have a Windows server running but without any problems..

I'll see what I can do as workaround, will come back to this topic
VorTeX3k
S2 licensed
Hmn.. strange. Well, lets try getting detailed error information:

Go inside the update_cache() function and remove all @ signs. This will enable PHP error reporting for the called methods. Then report back to me
VorTeX3k
S2 licensed
Thanks for translation! The language files can be found on the SourceForge project page: http://sourceforge.net/project/showfiles.php?group_id=187628

Hoping for some more translations!
VorTeX3k
S2 licensed
Thanks for the compliment and THANKS A LOT (!! very much thanks ) for your translation!

I am currently working on the 1.0 release. This will then include the language file.
The language file itself will also be available via the SourceForge project page ( http://lfswebsitetools.sourceforge.net )
VorTeX3k
S2 licensed
Quote from Falcon140 :not working for me

i think it has something to do with my ftp becasue it shows my server name, but it says offline.

EDIT: Neither is the Racer Online Script.

There is no relation between the script and the ftp^^ This script reads the data from LFS World via your webserver.

Check if your cache.txt file has been filled and tell me how big it is (kB).

You can also pm me your _data_inc.php config file, so I can check if everything is set up correctly.
VorTeX3k
S2 licensed
Oops, first read, then post

sorry, just overflew the thread.

Well one solution could be that someone (for example me ) host the script for you and you include it using an iframe (yeh, I know, thats ugly), or someone (also possibly me) makes a script that is providing xml output and you fetch the result using JavaScript..

Would be an idea for an enhancement of my script
VorTeX3k
S2 licensed
Update! New version 0.9.2 released!

Ok, finally here is the new version 0.9.2 including providing multi-language support and including English and German language file!

You are free and welcome to help me with any other translation

Download using this URL:
http://blog.gjl-network.net/bl ... rverScript-released!.html

Preview of the script:
http://www.gjl-network.net/octrin_racers/servers/server.php
VorTeX3k
S2 licensed
As host or using insim you can put any player to the pits..
VorTeX3k
S2 licensed
Ok, good, so no problem from my side, but not good that there's such a problem
"no output" error for LFS World?
VorTeX3k
S2 licensed
Sorry, forgot that this is also good in the bug forum. So I'll create a reference to the origin posting:

http://www.lfsforum.net/showthread.php?t=18392
VorTeX3k
S2 licensed
If you want, have a look at my RacerOnlineScript which does this job.

http://lfsforum.net/showthread.php?t=14965&page=1
VorTeX3k
S2 licensed
See here

http://lfsforum.net/showthread.php?t=18197

that's my LFSW ServerScript.
"no output" error?
VorTeX3k
S2 licensed
Hi Victor,

since these days (yesterday or today) there seems to be a problem with LFS world pub stats?

When I for example call the following URL
http://lfsworld.net/pubstat/get_stat2.php?version=1.3&idk=<IDENT KEY HERE ;) >&action=hosts

i simply get "no output".

What does this mean? Saw this while use of my RacerOnlineScript and thought it would be some problem using this, but even if I try to manually make this LFSW request, I get this error.
VorTeX3k
S2 licensed
Thanks a lot for this. Hope you can do this work somewhen later again? Because currently the both included language files are obsolete as they are the old ones from my LFS ServerScript, they are currently not used. But as I said, I'll implement this as fast as possible and then come back to you! Thanks!
LFS World Server Script
VorTeX3k
S2 licensed
My LFSW Server Script has gone BETA and thus now has publically been released! Version 0.9.0 will be the first version presented to the public eye. It also contains additional support of the cURL library, such as my LFS RacerOnlineScript, which makes accessing LFS World much more faster and more secure and this even with allow_url_fopen disabled.

LFSW ServerScript is a PHP script for retreaving all information about a server from LFS World.

Features:
  • Read out all server informations, including server status, LfS version, number of online users, current racers online, selected track, allowed cars, race length and qulification length
  • Display information about as many servers as you want
  • List of all present drivers
  • Correct formatting of servername and racernames
  • Creation of LfS Join link
  • Uses caching for better performance and lower LFS World traffic usage
  • Ident Key enabled
  • Fast and secure access of LFS World even with allow_url_fopen disabled! (using cURL) new!
  • Fallback mode to fopen / file_get_contents if cURL is not installed new!
  • Multi-language support new!
The script requires webspace with PHP functionality.

All you have to do is to configure the file "_data_config.php" included in the archive, which includes all informations about the server(s). Afterwards you can upload all files and use it.

// Update:
Since the newest version, multi-language support has been implemented. You are welcome to provide any other translations!

CURRENT VERSION: 0.9.2b Beta

DOWNLOAD: The new version can be obtained here:
http://sourceforge.net/project ... 628&package_id=219104

A preview of the script in action can be seen here:
http://www.gjl-network.net/octrin_racers/servers/server.php

Additional language files (translations) that have not been included in this release may be found at the SourceForge project page:
http://sourceforge.net/project/showfiles.php?group_id=187628

Hope you all enjoy the new version and please report any problems to me!

Readme.txt
LFSW Server Script V0.9.2b Beta
=================================================
Written by Sebastian "Octrin.VorTeX" Bauer, 2006-2007

LICENSE:
=========
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

----------------------------------------------------

This is the first version of my Server Script that is using LFS World support.
As many users don't have a server that allows FTP access I took the time to
rewrite my script and make it use LFS World.

The script is easy-to-use. Simply edit all settings in the _data_inc.php file.
You will find all information needed to configure this script inside this file!

IMPORTANT:
LFSW ServerScript requires the folder where it is saved to be writable for
the webserver. Under Unix systems it means, that the folder MUST be CHMOD 777.

The Join2LFS-Link, which will be created with the servername requires the
viewer of the website to have Join2LFS installed on the system.
Join2LFS is a free browser extension developed by Holger Reitner (formerly
known as "cr4cy!C3"). You can find the download using the following URL:
http://lfstools.crazyice.net/pafiledb/pafiledb.php?action=file&id=57

Have fun with this script, if you have any questions, suggestions or
found any bugs, please contact me at our forum, by ICQ or email.

You will find updates of this script and some other tools made by me
at http://blog.gjl-network.net

ICQ: 154112478
eMail: [email protected]

If you want to stay informed about updates, you can sign in to my
LFS script mailing list by writing an empty mail with the subject
subscribe to [email protected]
Problems can also be discussed inside the mailinglist.


Changes in Version 0.3:
- Fixed a major bug where the (not yet implemented) rule bytes haven't been skipped

Changes in Version 0.4:
- Added LFSW ident key support (updated function update_check() for this)
- Implemented use of "$showInfo[]" array to help the user customizing his script
- Implemented checking of RULE bytes. (Determine if SELECT, VOTE, QUALIFY,
PRIVATE, MIDRACEJOIN and MUSTPIT are set on the server)
- Enabled multiple server support
- Fixed behaviour if when server was not found (is offline)

Changes in Version 0.4.2 ALPHA
- Enabled ident key to be required
- Updated LFSW url to version 1.3
- Fixed bug for showing "All" instead of every single car.
- Fixed bug in HTML generation of get_rules()
- Show 'none' if qual == 0

Changes in Version 0.4.3 ALPHA
- Changed behavior for color code parsing

RELEASE 0.9.0 BETA (Milestone)
- Added fast and secure HTTP access of LFS World using cURL

Changes in Version 0.9.2 Beta
- Implemented multilanguage support including English and German lanuage file.

Changes in Version 0.9.2b Beta
- Fixed detection of cURL which caused a fatal PHP error if cURL is not installed.

To Do:
- Bugfixing lapcount problem (DSK Server shows proper lapcount, Octrin does not. both without racers on)

----------------------------------------------------
(C) 2006-2007 by Sebastian "Octrin.VorTeX" Bauer

Special thx fly out to:
- Octrin.cr4zy!C3 for additional information about the LfS color mapping.
- All alpha testers!
- misjka for a lot of good suggestions :)

====================================================

Updates and more stuff from me at: http://blog.gjl-network.net
My LFS Mirror: http://lfs.gjl-network.net
My Team: http://www.Octrin-Racing.net


Last edited by VorTeX3k, .
VorTeX3k
S2 licensed
Released new Version 0.8.5!!

Version 0.8.5 now supports the promised support of the PHP cURL library which allows to safely access external URLs and this even faster than using fopen or file_get_contents!

The download of the new version can be obtained using the following link:
LFS RacerOnlineScript Version 0.8.5 Beta
VorTeX3k
S2 licensed
If you use FTP, the script also accesses a FTP server, HTTP does the same but accessing the data through HTTP. Those are different protocols and runnning in different servers.
So for example if you have a default HTTP access configured to http://blah.test it may be configured in the HTTP server to point to the local directory "C:\webserver\http" whilst the same domain as FTP (so port 21) (ftp://blah.test) could be configured in the FTP server to point to "C:\ftp dir".
So it is no "must" that an address accessed via FTP or HTTP point to the same direction.

And thanks for the congrats
VorTeX3k
S2 licensed
So still no result? In this case give me a bit time (max 2 days ) and I'll prepare a cURL based implementation.
VorTeX3k
S2 licensed
Quote :allow_url_fopen Off Off

Ok, this is in your phpinfo(), so this is telling me, that your provider has allow_url_fopen turned off.. You can try 2 things to overwrite this setting:

After
include '_data_inc.php';

in racers_online.php add the following line:
ini_set('allow_url_fopen','1');

and try do open the page. If this still does not work, try overwriting this setting by creating a local file named .htaccess and add the following line:
php_flag allow_url_fopen 1

and upload it to the directory where your racers_online.php is located.

And if this also stil does not work, I'll work on a additional cURL based implementation as this is installed on your webserver as well as many others.
FGED GREDG RDFGDR GSFDG