The online racing simulator
Bug Reports
(207 posts, closed, started )
I think this occured with a player having a one or more single quote in username or nickname. In new version this can't occur

Try to use last version, i know you need to do many change in script, but your version it's obsolete and no more mantained.

Gai-Luron
v5.915 driftmeter.lpr bug
Hi Gai

Just having a play and trying to get my head round your new v5.915 lapper, and notice error in the driftmeter.lpr file.

Where you have
driftmeter_driftcombotext = "??";

It should be
driftmeter_driftcombotext = "^7{0}";

Also.

In the drift meter section, where you have
Quote :
CatchEvent OnDriftScore( $userName ) # This is the section for displaying the Drift Meter and Drift Messages
.......
ENDIF

Because you've changed my original colour coding from green and yellow to a standard white, you could probably get away with removing the

Quote : openPrivButton( "driftscoretext",16,160,9,5,3,-1,0,langEngine( "%{driftmeter_driftscoretext}%" , $LastDriftScore ) );
openPrivButton( "driftcombotext",17,150,9,7,3,-1,0,langEngine( "%{driftmeter_driftcombotext}%" , $DriftScore ) );

lines from both the THEN and ELSE statements, and moving lines up beside the first lot of openPrivButtons, as this THEN/ELSE statement is only now used to differentiate the arrows and placement of the degree symbol.

The $LastDriftScore and $DriftScore don't now change colour or position in the driftmeter as before.
Hello, i change nothing in your lpr file, just catchEvent . Maybe i have take an old version, not terminated, or bad cut and paste by me.

I take a look tonight to correct this error, but if you have this file corrected, put an attachment, i get it and i install in next release

Gai-Luron
Copy of amended driftmeter file with combo score enabled.

Saved as driftmeter.txt as won't upload as .lpr


Can't do anything with the 2 lines ($driftscore / $lastdriftscore), as without them where I originally placed them, no score appears!





EDIT

Apologies, but when I tested script, I tested it on carpark just to make sure driftmeter scores worked. Now tested it on LAN and found that some language files (end of lap and new PB mainly) missed from all driftmeter.lpr versions. I've now added them back into English and French language sections.

Newer file uploaded.
Attached files
driftmeter.txt - 26.5 KB - 411 views
Hi,

I have a problem to ver.5.918 get working.

Everything works ok with ver.5.916 now but when try the latest version 5.918 lapper will crash.
It was working for a couple of hours without any problems. (With 3 servers )

After a reload , lapper crashed.
There are no erros in the log files ( ERR and MSS ).
There is a message in the lapper console but i cant read it. The box will close immediately when the error apear.

When i restart lapper, the console is open ,a error popup in the console and the console is closed again. Still no erros in the log files ( ERR and MSS ).

I have download a new copy of 5.918 and unzip in a new folder.
I have only set the minimum requirements to start up lapper ( only admin pwd and the right port number and all scripts are default) but have the same problem.

When i reboot my server it works for a short while but after a reload its gone.

Everthing works now ok on 5.916 but would be nice if 5.918 also is working.
doin a !reload is randomly crashing my Lapper instances too. And I thought is was just me ;-)

No logged errors or anything either.
Hello,

all instances close and console close also?

Gai-Luron

EDIT: Can't reproduce, can i have more infos on how it crash, do you have message in MSS log files
Console terminates
"Stopped - LFSLapper Version="

Do you look at

LFSLapper-ERR.log
LFSLapper-MSS.log

in logs directory in LFSLapper.exe folder

I have made lot of !reload without issue

Gai-Luron

Try the 917 and tell me if crash like 918

http://www.lfs-lapper.org/download/lapper/LFSLapper5.917.zip
Quote from Gai-Luron :Hello,

all instances close and console close also?

Gai-Luron

EDIT: Can't reproduce, can i have more infos on how it crash, do you have message in MSS log files

i had this in previous versions with upd i havent tested upd with .18
Quote from Gai-Luron :"Stopped - LFSLapper Version="

Do you look at

LFSLapper-ERR.log
LFSLapper-MSS.log

in logs directory in LFSLapper.exe folder

I have made lot of !reload without issue

Gai-Luron

Try the 917 and tell me if crash like 918

Hi,

I have now 4 servers running on 5.917 and all are ok. no problems

I will replace tommorow morning the LFSLapper.exe with the one from 5.918 and test again.
i noticed upd seems to have this when i was running the sorce and i did !reload it pointed out return null; but it works out fine with tcp
$PBDrift Error
I'm currently testing v5.920b lapper, and adding some of my stuff from previous versions.

However, the $PBDrift doesn't appear to work properly.

The default lapper script has;
Quote : openPrivButton( "pbdrift",25,105,150,10,8,-1,ISB_NONE, langEngine("%{main_welc3}%",$PBDrift ) );

main_welc3 = "^7Your actual friendly Drift Position (all visitors + vehicles): ^2{0}";

but if you have $DefaultTopCar set up with multiple cars (as I do), then it shows your position as 0, but if you have it set for only single car, then instead of the position, you are given the score.

See attached screen dumps.

Would it be possible to have both a $PBDriftPosition and a $PBDriftScore function?
Attached images
PBDrift.PNG
$PBDrift must be

$PBDrift = GetCurrentPlayerVar( "PbDrift");


PbDrift is the score not the position, for multiple car, i take a look
$PBDrift = GetCurrentPlayerVar( "PbDrift"); is one of the lines under Event OnConnect( $userName ).

If $PBDrift is for score not position, then the language file maybe should read-

main_welc3 = "^7Your highest Drift Score (all visitors + vehicles): ^2{0}";
You are rigth, a unfortunate Cut and Paste
pitwindow_gui.lpr - will not close in v5.920b
If you open the pitwindow_gui.lpr (via !pitwindow command), it will not close.

And mouse cursor does not appear on screen.

Using unchanged v5.920b.
!dstats, !distance and !laps - will not work in v5.920b
Tried to use !dstats, !distance and !laps, but all blank on game screen, but !distance and !laps show problems in ERR log.

Using unchanged v5.920b.

!dstats

Nothing happens when this is typed.

I've got some old .dbs files that I use to test with, but although they work with !drf command, won't work with !dstats command.

!distance

Script and EN Language file:
CASE "!distance":
privMsg(langEngine( "%{main_dist}%"
,GetCurrentPlayerVar( "Car" )
,getLapperVar("ShortTrackName")
,ToPlayerUnit( GetCurrentPlayerVar("Dist") )
,GetCurrentPlayerVar("UnitDist")
,ToPlayerUnit( GetCurrentPlayerVar("SessDist") )
,GetCurrentPlayerVar("UnitDist")));
BREAK;

main_dist = "Distance done on {0}/{1} = {2} {3}, session = {4} {5}";

Error Log:
Quote :1/5/2010 12:12:59 AM -> Syntax error in cfg file "LFSLapper.lpr" at line #848
Token not catched
Function 'onmso' script aborted



Line #848 = privMsg(langEngine( "%{main_dist}%"

!laps


Script and EN Language file:
CASE "!laps":
privMsg( langEngine( "%{main_lapdone}%"
,GetCurrentPlayerVar("Car")
,getLapperVar("ShortTrackName")
,GetCurrentPlayerVar("Laps")
,GetCurrentPlayerVar("SessLaps")));
BREAK;

main_lapdone = "Laps done on {0}/{1} = {2}, session = {3}";

Error Log:
Quote :1/5/2010 12:12:55 AM -> Syntax error in cfg file "LFSLapper.lpr" at line #858
Token not catched
Function 'onmso' script aborted

Line #858 = privMsg( langEngine( "%{main_lapdone}%"
Quote from sinanju :Tried to use !dstats, !distance and !laps, but all blank on game screen, but !distance and !laps show problems in ERR log.

Using unchanged v5.920b.

!dstats

Nothing happens when this is typed.

I've got some old .dbs files that I use to test with, but although they work with !drf command, won't work with !dstats command.

!distance

Script and EN Language file:
CASE "!distance":
privMsg(langEngine( "%{main_dist}%"
,GetCurrentPlayerVar( "Car" )
,getLapperVar("ShortTrackName")
,ToPlayerUnit( GetCurrentPlayerVar("Dist") )
,GetCurrentPlayerVar("UnitDist")
,ToPlayerUnit( GetCurrentPlayerVar("SessDist") )
,GetCurrentPlayerVar("UnitDist")));
BREAK;

main_dist = "Distance done on {0}/{1} = {2} {3}, session = {4} {5}";

Error Log:


Line #848 = privMsg(langEngine( "%{main_dist}%"

!laps


Script and EN Language file:
CASE "!laps":
privMsg( langEngine( "%{main_lapdone}%"
,GetCurrentPlayerVar("Car")
,getLapperVar("ShortTrackName")
,GetCurrentPlayerVar("Laps")
,GetCurrentPlayerVar("SessLaps")));
BREAK;

main_lapdone = "Laps done on {0}/{1} = {2}, session = {3}";

Error Log:
Line #858 = privMsg( langEngine( "%{main_lapdone}%"

its some thing to do with the line breaks i removed em and it worked fine...
Quote from sinanju :If you open the pitwindow_gui.lpr (via !pitwindow command), it will not close.

And mouse cursor does not appear on screen.

Using unchanged v5.920b.

Same subroutine name in different module, try to prefix subroutine with file name to haven't this issue

For the line break, i take a look. Probably due to the recent parser rewrite

EDIT : FOR NOW PUT MULTILINE PARAMETER FUNCTION IN ONE LINE, BUG HARD TO FIX


Gai-Luron
!tpb error
CASE "!tpb":
privMsg( GetCurrentPlayerVar("Tpb"));
BREAK;

This needs to be changed to:

CASE "!tpb":
privMsg(NumToMSH (GetCurrentPlayerVar("Tpb")));
BREAK;

Drifting Options differ from driftmaster.lpr
The settings that I put into the driftmeter (minimum speed, angles, etc)., differ from what is in the default lfslapper.lpr file.

For instance;
LFSLapper.lpr
$MinimumDriftSpeed = 50;
$MinimumDriftAngle = 15;
$MaximumDriftAngle = 100

driftmeter.lpr
$MinimumDriftSpeed = 25;
$MinimumDriftAngle = 5;
$MaximumDriftAngle = 75;

Does this cause any conflict? And which one is used?

And both .lpr files refer to the $DriftDatabase = "./DriftPB";

Does this cause conflict?

Also

Just noticed slight mistake in driftmeter.lpr file - it still refers to a
main_ongooddrift. This should be driftmeter_ongooddrift.
Last defined var is used, in this case your var. It's the same for event. New event overlap previous defined
Hello!
Reporting a bug:
I am unable to reset my spb session. !razspb is not working at all.
version is.. hm.. very new one :-) on AB.nl servers
Hello,

Do you select session PB in !myconfig?
This thread is closed

Bug Reports
(207 posts, closed, started )
FGED GREDG RDFGDR GSFDG