The online racing simulator
Searching in All forums
(173 results)
lysergic
S3 licensed
Sorry for being so rude, but... this is ridiculous
lysergic
S3 licensed
my cp is down again? any help?
lysergic
S3 licensed
@Franky: got errors on ftp and control panel:
Quote :An error has occurred. Contact an administrator. If you are an administrator please contact TCADMIN SUPPORT.

can You help me please?
lysergic
S3 licensed
yes it's ok.

thanks!
lysergic
S3 licensed
same here, user Lysergic
lysergic
S3 licensed
Hey guys... why don't You post a working example? Maybe for noobs it would be simpler...
leagues and subsections
lysergic
S3 licensed
lysergic
S3 licensed
Cannot make Maxsession laps event work...

My CODE (modified, again...)

$MaxSessionLaps = 2;
Event OnMaxSessionLaps( $userName ); #this is line 1001
IF($SessLaps == 1;)
THEN
privMsg( langEngine( "%{max_laps}%" ,$MaxSessionLaps ) );
privMsg( langEngine( "%{max_laps2}%" , GetCurrentPlayerVar("$MaxSessLaps") ) );
IF($SessLaps > 1;)
THEN
globalMsg( langEngine( "%{max_laps2}%", GetCurrentPlayerVar("NickName") ) );
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
ENDIF
ENDIF
EndEvent

ERROR:
3/23/2010 10:29:53 AM -> Syntax error in cfg file "LFSLapper.lpr" at line #1001 Token not catched Function 'onmaxsessionlaps' script aborted

If I remove $userName from line 1001 it gets error: something similar to: "number of parameters..."

This works:
$MaxSessionLaps = 1;
Event OnMaxSessionLaps( $userName ) # Player event
privMsg( langEngine( "%{max_laps2}%",$MaxSessionLaps ) );
cmdLFS( "/spec " . GetCurrentPlayerVar("UserName") );
EndEvent

Last edited by lysergic, .
lysergic
S3 licensed
Quote from Gai-Luron :In 6.0 it's avaiable

Thanks.

Maxsession laps update for version 6.0:

$MaxSessionLaps = 3;
Event OnMaxSessionLaps()
IF($SessLaps == 2;)
THEN
privMsg( langEngine( "%{max_laps}%" ) );
IF($SessLaps > 2;)
THEN
cmdLFS( "/spec " . $Nickname );
ENDIF
ENDIF
EndEvent

But... how to prevent racers sent to spectate mode to rejoin the qual session? They can rejoin, drive out of pits and stay on track.

Anybody knows a function like
/midrace=no

for qual session?
lysergic
S3 licensed
Anybody got a "listenvent.lpr" file to share?
Last edited by Gai-Luron, .
lysergic
S3 licensed
Hi I think there is a file missing in the last version: include( "./listevent.lpr");
lysergic
S3 licensed
Thanks Gai, really a bit too difficult for me. I'll try as soon as possible = when server is empty

many thanks again
lysergic
S3 licensed
Quote from Gai-Luron :Hello,

using registeraction

Gai-Luron

Hi Gai, sorry for bothering you with these issues. I assure you that I spent over 3 hours to try to configure the server so that every day from 22.00 to 24.00 only allows races 8 laps, then time expired, allowing more qualifications than 60 minutes.
I failed. Indeed ... I've done so much damage, that I had to delete the configuration file to replace it with a new
lysergic
S3 licensed
Quote from Dominic123 :That's weird because for me it works fine. Sry then

Check this one

Hi, re-uploaded and now it works! Sorry for doubting
lysergic
S3 licensed
Quote from Dominic123 :Did you upload it on a webserver with PHP?

ok, I'm noob... but not so much

Yes, the server is php5, apache2 etc etc
lysergic
S3 licensed
Quote from Dominic123 :After some trying I think I got it. The PHP Script isn't that complex, it just requests the stats for a certain racer and either returns 'Valid username.' or 'Invalid username.'.
The more difficult problem for me was the ajax request (I'm an ajax noob) but google helped me with that :P

Just upload the three files ('prototype.js','racer_exists.js','racer_exists.php') and paste the parts from ajax.html into you script. Then it should work

Hi, I told You I'm a noob...

I doesn't work, neither in a new form in an empty page. No errors, no results....
lysergic
S3 licensed
Quote from Dygear :Alright, you waited pretty patiently, It's on my todo list, ok?

Thanks
lysergic
S3 licensed
Quote from lysergic :I know it's possible, but I also know that going on Mars is possible... but not for me

Any help (means=php code to copy and paste)?

P.S. i know I'm asking for your time,


<?php 

 
if ($anybodycandoit == 'yes')
{
 echo 
"it would be really appreciated";
}
 
else if (
$anybodycandoit != 'yes')

echo 
"No problem mate!";
 }

?>


bump

Is really so hard to code? Or to share it...?
lysergic
S3 licensed
Quote from sinanju :
$MaxSessionLaps = 3;
Event OnMaxSessionLaps()
IF
$SessLaps==2
THEN
privMsg( "Max session laps reacheds - please pit or be spectated" );
IF
$SessLaps>2
THEN
cmdLFS( "/spec " . $Nickname );
ENDIF
ENDIF
EndEvent


It produces syntax error, brackets are wrong, but, maybe, not only brackets.
lysergic
S3 licensed
What could be the possible date of release? It would be useful to know for those who organize tournaments ...
lysergic
S3 licensed
Quote from Gai-Luron :Hello,

using registeraction

Gai-Luron



Gai, You are my mith! Seriously, I have the same behaviour at work with my boring customers and their stupid questions.

But here I'm the stupid, boring customer. Registeraction? Uhm, may I call Steven Spielberg?

ready, register, ciak, action!

lysergic
S3 licensed
Quote from Krayy :The problem is that Lapper sets the next race restart time when you have confimed results in either a race OR a qual ssession. It doesn't check whether the current session is a qual or race. Most race servers will only do race rotations, not quals.

I think it needs to be recompliled. Anyway, now I know that I must disable qualification if I want autorestart.

I would like to take advantage of your availability: how can I set the default time for qualifying or races?
Example
from 21:00 to 23:00 qualifications enabled
from 23:00 to 00:00 only races
from 00:00 to 21:00 qualifications enabled

many thanks

lysergic
S3 licensed
I do not know if someone has already said ... but I wonder if they have not been able to fix the bug in contacts between cars, because of physical change tires?
What is the utility of the new physics, if a minimum contact between two cars makes me fly away?
lysergic
S3 licensed
Quote from GTR GASS :LFS is Dead.Sorry but it's true.

I'm buying iRacing (so expensive). But I'm disappointed for all the time dedicated to manage and organize events (www.funracingleague.com) for lfs
FGED GREDG RDFGDR GSFDG