Live for Speed - LFS Main Site
- LFS World
- LFS News
- LFS Manual
- LFS Merchandise
  http://www.lfsforum.net/forumdisplay.php?f=241

Go Back   Live for Speed > Files > Unofficial Addons

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th August 2005, 09:23   #1  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Post LfS S2 Server Script

PHP Script for retreaving all informations from a server.

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.
  • List of all present drivers
  • Correct formatting of servername and racernames
  • Creation of LfS Join link
  • Multi-language support

The script requires webspace with PHP functionality. Also access to the hostXXXXX.txt file of the gameserver is required. This can be either by FTP or HTTP.

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

By default the output of the script will be written in English. If you want to change the language to another one (for example German or Spanish), you can change the according parameter in the _data_config.php file. A list of supported languages can be found in the release notes.

If you use this script on your site, please place a link to our website (http://www.Octrin-Racing.net) by using the image file included to this archive. Thanks!

If you have any questions, problems or suggestions you can post your feedback in here or contact me by ICQ.

Recent changes (version 1.9)
  • Added new track from Patch Y "South City Chicane Route"
  • Added new car from Patch Y "Formula BMW"
  • Added additional check if file exists to avoid errors in output

Download @ Sourceforge

Last edited by VorTeX3k; 5th January 2008 at 15:39. Reason: Update
Reply With Quote
Old 12th August 2005, 10:06   #2  -   
the_angry_angel
S2 licensed
 
the_angry_angel's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 5,704
the_angry_angel's online stats
Very nice work, and I especially like the added option of security
Reply With Quote
Old 12th August 2005, 10:37   #3  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Thanks for your commendation.

Maybe someone is here, who can translate me ~20 simple lines into some languages like French, Italian, Spanish, Polish, Dutch?

I would be really happy about that
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net

Last edited by VorTeX3k; 12th August 2005 at 10:56.
Reply With Quote
Old 12th August 2005, 11:52   #4  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
First of all thanks to Dannel for the spanish translation

Now version 1.3 is out (has gone quickly, right? ) which includes spanish translation. Also I've changed the language detection function to be more dynamically.
Reply With Quote
Old 12th August 2005, 12:17   #5  -   
kamkorPL
S2 licensed
 
Racername: [SAIKO^D]KamkoR
Join Date: Jul 2003
Location: Poland
Posts: 559
kamkorPL's online stats
Quote:
Originally Posted by VorTeX3k
Thanks for your commendation.

Maybe someone is here, who can translate me ~20 simple lines into some languages like French, Italian, Spanish, Polish, Dutch?

I would be really happy about that
I can translate to Polish if you're still looking for translators.
Reply With Quote
Old 12th August 2005, 12:23   #6  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Of course, every translation is welcome you can contact me by PM to get my mail adress for this translation
Reply With Quote
Old 15th August 2005, 11:03   #7  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
There's a new update again to version 1.4 (see first post).

Thanks to all translators

Additional translations are still welcome
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net
Reply With Quote
Old 15th August 2005, 11:28   #8  -   
snewham
S2 licensed
 
snewham's Avatar
 
Racername: [4SR] Scotty
Join Date: Oct 2004
Location: Milton Keynes, England, UK
Posts: 609
snewham's online stats
very nice indeed. Might use this on my site.
__________________
4Sight Racing Team - - - 4Sight Racing Team
Reply With Quote
Old 15th August 2005, 13:37   #9  -   
franky500
S2 licensed
 
franky500's Avatar
 
Racername: ATC Franky500
Join Date: Dec 2004
Location: London , UK
Posts: 3,679
franky500's online stats
am i blind or just plain stupid? where can i download the script? thanks
__________________
Widdowmaker bought me a pint. and now i've spilt one!! - - Ebay
www.500servers.com - Dedicated LFS Server Hosting
www.atcteam.org
Forum signitures... Are they sacred?. Who knows!
Reply With Quote
Old 15th August 2005, 13:53   #10  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Whoops, I deleted the link from the first posting when I edited it =)

Anyways, here's the download link again:
http://rs.pro-games.net/download.php?a=view&id=23
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net
Reply With Quote
Old 20th August 2005, 03:35   #11  -   
jscorrea
S2 licensed
 
jscorrea's Avatar
 
Racername: João Eduardo Corrêa
Join Date: Sep 2003
Location: Santo André - SP
Posts: 118
jscorrea's online stats
Great script!!!

Congratulations!!!

But not work for me :-(

Server specifications:

Protocol: HTTP
IP:Port: 200.207.90.173:27090
Path: D:/LFS_S2_DEDI_P

What is wrong?

Regards
JS
__________________
[VB] - Vipers do Brasil

LFSBR - Brazilian League
Reply With Quote
Old 20th August 2005, 08:23   #12  -   
felplacerad
S2 licensed
 
felplacerad's Avatar
 
Racername: FLP/r FEL
Join Date: Mar 2004
Location: Gothenburg, Sweden
Posts: 1,697
felplacerad's online stats
Swedish Translation

Here you are mate, NOTE just rename it to php it's not actually a zip archive!

good work.
Attached Files
File Type: zip lang_swe.zip (1.4 KB, 212 views)
Reply With Quote
Old 20th August 2005, 11:58   #13  -   
jscorrea
S2 licensed
 
jscorrea's Avatar
 
Racername: João Eduardo Corrêa
Join Date: Sep 2003
Location: Santo André - SP
Posts: 118
jscorrea's online stats
Brazilian Portuguese Translation

Extract to lang folder.

Regards,
JS
Attached Files
File Type: zip lang_ptb.zip (744 Bytes, 166 views)
__________________
[VB] - Vipers do Brasil

LFSBR - Brazilian League
Reply With Quote
Old 22nd August 2005, 07:15   #14  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Hey you two, thanks for your translation! I will implement them in the next 1.5 version.

@jscorrea: what exactly does not work with the script?
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net
Reply With Quote
Old 22nd August 2005, 13:42   #15  -   
jscorrea
S2 licensed
 
jscorrea's Avatar
 
Racername: João Eduardo Corrêa
Join Date: Sep 2003
Location: Santo André - SP
Posts: 118
jscorrea's online stats
He appears that my server is offline....

Help.

JS
__________________
[VB] - Vipers do Brasil

LFSBR - Brazilian League
Reply With Quote
Old 22nd August 2005, 13:51   #16  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
First of all check if the path to your hostxxxx.txt file is correct. The PHP script should of course be run on a HTTP webserver.
Then check the filename of the hostfile on the game server (which should be accessed by ftp or http) and check, if the number fits the port you have entered in the config file.

If it still does not work you may send me a folder structure info of your gameserver (beginning from the root of your ftp login) and the settings of the script by pn.
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net
Reply With Quote
Old 1st September 2005, 11:11   #17  -   
Iceberg
S2 licensed
 
Iceberg's Avatar
 
Join Date: Jan 2005
Posts: 15
Iceberg's online stats
Thumbs up

Can anyone put this in a block?

I have tried with no luck...




Great script by the way.



My internet service provider does not support getting data from other providers, so I must find another one
Reply With Quote
Old 1st September 2005, 11:15   #18  -   
the_angry_angel
S2 licensed
 
the_angry_angel's Avatar
 
Join Date: Jun 2003
Location: UK
Posts: 5,704
the_angry_angel's online stats
In a block? Sorry, I must be having a dumb day, because I'm not following...

I think you mean that your host doesnt allow for you to use sockets. Shame, but a lot of hosts do this to prevent exploits, preserve bandwidth and prevent leeching
Reply With Quote
Old 1st September 2005, 11:47   #19  -   
Iceberg
S2 licensed
 
Iceberg's Avatar
 
Join Date: Jan 2005
Posts: 15
Iceberg's online stats
I mean in a block

If it was possible to put the script in a block, you could have the server status on the frontpage off your php site. Like "who is online"

This would be very nice
Reply With Quote
Old 5th September 2005, 11:41   #20  -   
Iceberg
S2 licensed
 
Iceberg's Avatar
 
Join Date: Jan 2005
Posts: 15
Iceberg's online stats
It is working now

Check www.dprt.dk
Reply With Quote
Old 12th September 2005, 09:03   #21  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
thanks for using my script but as mentioned in the readme: please link to our page www.octrin-racing.net when using it
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net
Reply With Quote
Old 12th September 2005, 09:49   #22  -   
Iceberg
S2 licensed
 
Iceberg's Avatar
 
Join Date: Jan 2005
Posts: 15
Iceberg's online stats
Sorry.

I will put it in asap

Iceberg
Reply With Quote
Old 13th September 2005, 11:24   #23  -   
Iceberg
S2 licensed
 
Iceberg's Avatar
 
Join Date: Jan 2005
Posts: 15
Iceberg's online stats
I have placed you in our link section now.
Do you know how to make the join link to the server I am online at?
I don´t know how to place it when it is a variable server (not always DPRT #2) eg. <a href="lfs://|DPRT.dk%20/#1|0|S2|/>
Reply With Quote
Old 13th September 2005, 11:50   #24  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Thanks for the link

To make this variable link you first have to gather the information from lfsworld which server you are on, afterwards you can create a link using PHP echo output with a variable that contains the specific servername:
echo "<a href='lfs://|$servername|0|S2|/'>Join Iceberg</a>";

But the main point is to contact lfsworld and parse the hostlist to find out which server the specific player is driving on. This information has to be stored in a variable which can be used for the LFS-Join link creation.
__________________
LFS RacerOnlineScript | LFS ServerScript | LFSWorld ServerScript (new) | All-in-one package: LFS Website Tools
Check http://blog.gjl-network.net for updates. New: LFS WebControl - administer your LFS server via webinterface: http://lfswebcontrol.gjl-network.net
Reply With Quote
Old 6th October 2005, 09:07   #25  -   
VorTeX3k
S2 licensed
 
VorTeX3k's Avatar
 
Racername: Octrin.VorTeX
Join Date: Oct 2003
Location: Karlsruhe, Germany
Posts: 156
VorTeX3k's online stats
Hello folks,

unfortunately the download link is currently down, because our website will be done new from the scratch.
It will come back on with a new version, because I now received several reports about bugs that make the script act strangely when used several times in boxes on a website.
So I'll try to fix those bugs and put the script back on
Reply With Quote
Old 8th October 2005, 03:11   #26  -   
Coolsson
S2 licensed
 
Join Date: Sep 2005
Posts: 5
Coolsson's online stats
Nice script, but...

I tested the live demo links, looks real nice, but The Downloadpage isnt working for me..

Hopefully this problem will be adressed, because I really wanna get my hands on this script :P

--
Coolsson
Reply With Quote
Old 8th October 2005, 07:26   #27  -   
kyler
S2 licensed
 
kyler's Avatar
 
Racername: [A10]Killa
Join Date: Feb 2004
Location: Oklahoma, USA
Posts: 391
kyler's online stats
Me to
Quote:
Originally Posted by Coolsson
I tested the live demo links, looks real nice, but The Downloadpage isnt working for me..

Hopefully this problem will be adressed, because I really wanna get my hands on this script :P

--
Coolsson
Reply With Quote
Old 8th October 2005, 16:44   #28  -   
Pootie
S2 licensed
 
Pootie's Avatar
 
Join Date: Apr 2003
Posts: 50
Pootie's online stats
The download link appears to be broken,Can someone upload the file here so that I could dload it? Thanks alot
Bud
Reply With Quote
Old 8th October 2005, 23:04   #29  -   
kyler
S2 licensed
 
kyler's Avatar
 
Racername: [A10]Killa
Join Date: Feb 2004
Location: Oklahoma, USA
Posts: 391
kyler's online stats
Question

Can someone uplaod it so we can downlaod it please?
Reply With Quote
Old 9th October 2005, 17:54   #30  -   
franky500
S2 licensed
 
franky500's Avatar
 
Racername: ATC Franky500
Join Date: Dec 2004
Location: London , UK
Posts: 3,679
franky500's online stats
Just realised i have it uploaded..


http://www.hks-hukkers.com/lfsserv.zip


VorTeX3k - I hope that you do not mine me hosting this script.
__________________
Widdowmaker bought me a pint. and now i've spilt one!! - - Ebay
www.500servers.com - Dedicated LFS Server Hosting
www.atcteam.org
Forum signitures... Are they sacred?. Who knows!

Last edited by franky500; 14th October 2005 at 17:56.
Reply With Quote
Reply

  Live for Speed > Files > Unofficial Addons

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:56.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Live for Speed © 2002-2014 - Scawen Roberts, Eric Bailey, Victor van Vlaardingen