The online racing simulator
Searching in All forums
(968 results)
Gai-Luron
S3 licensed
Quote from drew555 :Re: the TM logo, it's just not happening.

I've got me pspad (which is lovely), and installed the .ini file for lapper highlighting (also great).

I've tried using the CTRL+A ascii table AND the symbol inserter - they both give me the logo in pspad but not in lapper

And Gai - like I said, I'm happy with it

Now just to get this damn symbol to work and I'll be a very happy bunny.

is PSPAD in UTF8? , menu "FORMAT" UTF8 checked, what's is you LFS version?
Your symbol here it work!
Gai-Luron
S3 licensed
When LFSLapper start for an instance of LFS it request player connected and player joined the race to have all internal value set.
No way to suppress that, but there is no reason to start an stop instance when all your config is done. Except when you dev, but in this case, it's not a problem

Gai-Luron
Gai-Luron
S3 licensed
Exact at boot, LFSLapper change track, but LFS don't send the new state at this moment.
In this case the track is not set, I make a modification in LFSLapper

Download this 914 exe and replace your LFSLapper.exe. This exe enable a delay between start of LFSLapper and change track


i tested your script and now it work!

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
1 - Do not use notepad, use an utf8 editor (it's an obligation) like psppad as recommended in quickstart http://www.lfs-lapper.org/help/en/quick_start.htm
2 - insert the car 153 like said above or in pspad use ascii table ALT+A to insert this car.

That's all.

Gai-Luron
Gai-Luron
S3 licensed
Take a look in logs err file
Gai-Luron
S3 licensed
your admin password in lfs is wrong
Gai-Luron
S3 licensed
Yes really simple if you try to think a little. put your password into double quote

$password = "poobag";
Gai-Luron
S3 licensed
Use stadard char in password and no quote or double quote
Gai-Luron
S3 licensed
Hello, no reason to have this issue when on servers there are people.
Because i request all connection at this time.

If i can reproduce it, i try to solve, but without this, i can't do anythings
Gai-Luron
S3 licensed
This version is no more maintened, i forgot how it work. Newer is very very different
Gai-Luron
S3 licensed
For old LFS with old insim, use LFSLapper under 4.0, for next and actual LFS version use LFSLapper equal or upper 4.0


4 post in 2 hours, keep cooll
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
parenthesis issue Tonum apply to GetCurrentPlayerVar, not to all statement, test on num not string not "1" but 1

IF(
ToNum( GetCurrentPlayerVar( "Cash" )) - $Price[toupper($argv)] >= 1 )

Gai-Luron
S3 licensed
Hello,

Yes you can do that easely with GLScript

Set a globalvar var $BestLap set to big value 60000000 at begin of race and set it on each player lap when better lap is done than this value. If this value is newed set, set an other var containing player userName. At end of race you can do with this values what you want.


Gai-Luron
Gai-Luron
S3 licensed
GlobalVar $price;

$price is one var with multiple index
Gai-Luron
S3 licensed
$price["XFG"] = 1000;
$price["XRT"] = 2000;

WriteLine( "Price for XFG is " . $price["XFG"] );
Gai-Luron
S3 licensed
I don't have 64 bit windows

Gai-Luron
Gai-Luron
S3 licensed
Hello,

I do a little modif in 9.1.3 to DBS access.

if you can migrate to this version.

Gai-Luron

Attached a 846 with this modification
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Hello,

Do you have 2 LFSLapper.exe using same database? In this case crash can occur!

Try this crashTest programm. This app simulate 40 instances of Lapper with concurrent acces on DBS. Here no crash. Send me your report

Gai-Luron
Gai-Luron
S3 licensed
The big question is : What do you want to do????

$Price[500] = "This is one var";
$Price["MyVar"] = "This a other var";

WriteLine( $Price[500] ) ; // Display on console "This is one var"
WriteLine( $Price["MyVar"] ) ; // Display on console "This a other var"
Gai-Luron
S3 licensed
Release 5.9.1.3 beta available for test purpose.

send me feedback.


+-------------------------------+
|Changes from v5.912 to 5.913 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
LFSLapper.lpr ( or remove !top !topqual !near !nearqual entry in the big case)
driftdef.lpr
driftmeter.lpr

1. Fix some error on script due to case sensitivity driftdef.lpr, driftmeter.lpr
Thank you very much Tim NL

2. Fix error in Parsing '(' and ')' under certain condition

3. Fix error in optimization in assignation var or array

4. Add a mathematical function round to make a number rounded
round( 12.34,1 ) -> 12.3
round( 12.36,1 ) -> 12.4

5. !top, !near, !topqual, !nearqual are now managed in tops.lpr . You can
modify this file to have your own top display
next stage drf


Gai-Luron
S3 licensed
And array

$Price[$argv]
Gai-Luron
S3 licensed
use global var
Gai-Luron
S3 licensed
No reason to have this syntax, maybe a bug. I take a look


Gai-Luron
FGED GREDG RDFGDR GSFDG