The online racing simulator
Searching in All forums
(18 results)
lucifer-s2
S2 licensed
I got Connection unavailable or lost on my VPS ip/29999, retry in 1mn.
I have typed /insim=29999 , changed password in default_1.ini .
So, can some1 help me?
lucifer-s2
S2 licensed
Quote from geekas :Usage: http://www.lfsworld.net/hoststatus/?h={your server name} .
Example: http://www.lfsworld.net/hoststatus/?h=[TC]%20CityDriving%20One . You can get it in PHP file with this code:

<?php
function GetInformation($name, $output)
{
if ($name == "Players")
{
$output = explode('<div id="Users" class="DataCont"><div class="Field3">', $output);
$output = str_replace('</a>', '', $output[1]);
$output = preg_replace('/<a class="User" href="(.*?)" target="_blank">/i', '$2', $output);
}
else
{
$output = explode('<div id="'.$name.'" class="DataCont">', $output);
$output = explode('</div>', $output[1]);
$output = str_replace('<div class="Field2">', '', $output[1]);
}
return $output;
}

//Variables
$info = array("Track" => "", "Cars" => "", "Version" => "", "Conns" => "", "Players" => "");
$hostname = "[TC]%20CityDriving%20One"; //Change to your server hostname
$time_start = microtime(true);
// Get contents from website url
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.lfsworld.net/hoststatus/?h=".$hostname);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($ch);
curl_close($ch);
// Set contents into array
foreach ($info as $name => &$value)
{
$info[$name] = GetInformation($name, $output);
}
// Show information from array
echo "<pre>";
print_r($info);
echo "</pre>";

//Script execution time
$time_end = microtime(true);
$time = $time_end - $time_start;
echo "Script executed in ".$time." seconds";
?>


This code, dont working fine.
Server info with player list and etc
lucifer-s2
S2 licensed
If I post in wrong forum sorry.
I need server status with player list, what car allowed, what track.
I need it in PHP script. Maybe u know where to find it? I have found this: http://sourceforge.net/project ... _Release_1.9.zip/download but I dont really know how to config it. Sorry for my english, please help me.
lucifer-s2
S2 licensed
Quote from Fordman :its pointing to wrong tcp/ip address, you need it to point to your internal ip address, not your external one

So if you external address was 85.110.103.15 but your internal is 192.168.x.x that's what you need to point it to...I had the same problem

Fordie

How I can know VPS server internal Ip?
I server are runing not on my self. On VPS server.

Problem solved, i have found the problem

Thx.
Last edited by lucifer-s2, .
Need help
lucifer-s2
S2 licensed
Hello I cant start this mod on LFS online server.
Server are runing on vps , linux

Airio.con.1:

HostAddr=191.211.246.186
HostPort=29999
HostPass=myadminpw

I get error: TCP ERROR , what to do?
Reg
lucifer-s2
S2 licensed
Your Name: Tomas Gridenis
Your LFS Username: lucifer-s2
Team Name: GlobalRace
Driver Number: 57
Car Selection: FXR
Nation: Lithuania
Hello, I need some Aston race/qual setup!
lucifer-s2
S2 licensed
Hi, I need FO8 race and qual setup, for this layout
Track: AS3Y+Layout
Layout: http://www.filedropper.com/as3y1fastlap

Please help me.
lucifer-s2
S2 licensed
My second edit with real background.
http://img580.imageshack.us/img580/1096/fxoh.jpg
lucifer-s2
S2 licensed
Lithuanians,TBO,XRT,84,lucifer-s2,Julius Toleikis,Lithuania
lucifer-s2
S2 licensed
Lithuanians,TBO,XRT,84,lucifer-s2,Julius Toleikis,Lithuania
lucifer-s2
S2 licensed
teamName,TBO,car,number,username,driver name,country
Lithuanians,TBO,XRT,84,lucifer-s2,Julius Toleikis, Lithuania
lucifer-s2
S2 licensed
Lithuanians,84,lucifer-s2,Julius Toleikis,Lithuania
Last edited by lucifer-s2, .
lucifer-s2
S2 licensed
Lithuanians team skins

Official Note: These skins have been approved
Last edited by Cornys, .
lucifer-s2
S2 licensed
teamName: Lithuanians
car: XRT
number: 84
drivers:
- {Julius, Julius Toleikis, Lithuania}
lucifer-s2
S2 licensed
teamName: Lithuanians
car: XRT
number: 84
drivers:
- {Julius, Julius Toleikis, Lithuania}
Last edited by lucifer-s2, .
lucifer-s2
S2 licensed
Entry Number: 84
Driver Name: Julius Toleikis
LFS World: lucifer-s2
Nation: Lithuanian
Team Affiliation: Lithuanians
Car Selection: XRT
Last edited by Cornys, . Reason : Adding Entry
lucifer-s2
S2 licensed
Vardas ir pavardė:Julius Toleikis
LFS Username: Lucifer-s2
Norimas numeris (02-99):07
Last edited by lucifer-s2, .
FGED GREDG RDFGDR GSFDG