The online racing simulator
Release
(228 posts, closed, started )
Thanks Gai-Luron!
I was wondering.. is it better/faster to use LFSLapper in UDP mode?

Thanks for the update, it fixes a few nice features!
No it's better to use in TCP, but some person can't connect in TCP and i don't know what ( maybe firewall ). It's for this i leave old UDP mode in LFSLapper.

In TCP you can have more than one insim connection to your LFS

Gai-Luron
Aah, ok! Now I understand.
Thanks
Version 5.9.1.9c

Polish translation
Norvegian translation

Thank's for the translation
Release 5.9.2.0 for the new year

send me feedback.

Happy New Year!!


+-------------------------------+
|Changes from v5.918 to 5.919 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
LFSLapper.lpr ( languages added )
defPitInfo.lpr ( languages added )
driftdef.lpr ( languages added )
driftmeter.lpr ( languages added )
winnerflags.lpr ( languages added )

1. Rewriting and cleaning GLScript Parser ( Take 6 hours, arghhh ) Krayy now it's most easy to read :p
to be tested accurately. This rewrite is to fix this error
$myVar = $myVar * -1;
now work as intended
2. Add new operator '!' not
!1 -> 0
!0 -> 1
not of a number different to 0 is 0

3. openPrivTextButton now call the callBack subRoutine with 2 arg,
first = idOfButton
Second = Text
Example of called subroutine
Sub goto_sub( $id,$text )
WriteLine( $id );
EndSub


Happy new year Gai and thanks for all the work on Lapper.
Quote from Gai-Luron :Release 5.9.2.0 for the new year

send me feedback.

Happy New Year!!


+-------------------------------+
|Changes from v5.918 to 5.919 |
+-------------------------------+
winnerflags.lpr ( languages added )


Winnerflags.lpr is not included :S
Fixed
Release 5.9.2.1

send me feedback.

+-------------------------------+
|Changes from v5.920 to 5.921 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe

1. Add new event when the drift score is reseted due low speed
Event OnDriftResetScore( $userName ) # Player event
....
EndEvent

2. New function GetUserStoredNum, like GetUserStoredValue but return a numeric value
or -1 if the stored value is a string
GetUserStoredNum( key );
GetUserStoredNum( userName,key );

3. New function GetStoredNum, like GetStoredValue but return a numeric value
or -1 if the stored value is a string
GetUserNum( key );
GetUserNum( userName,key );

4. Fix error on parser when one function splitted in multiline

5. New player Var, this var can also be set
ViewSPBSplit, // What split PB to Show, S = Session, P = PB, W = World record
ShowSplitPb, // Does the split PB iare showed 1 = Yes, 0 = No
UnitSpeedKmh, // What's unit is used for speed and distance 1 = km 0 = miles

6. Add new function GetListOfLang, return an array containig the list of lang available in LFSLapper

Thanks for the update!
I really like you make the ideas of people reallity in a short time

Thanks especially for the GetListOfLang function

Tim
Release 5.9.2.2

send me feedback.

+-------------------------------+
|Changes from v5.921 to 5.922 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
pitboard.lpr

Add new arg to function RegisterNodeAction and RegisterZoneAction, for
no modification add "" in the new arg
old -> RegisterNodeAction( "BL1" , 140 , DisplaySpeed );
new -> RegisterNodeAction( "BL1" , 140 , DisplaySpeed,"" );
Add new arg to function RegisterNodeAction with ""
old -> RegisterZoneAction( "MyZone", "SO6" , 337 , SA_Test3 );
new -> RegisterZoneAction( "MyZone", "SO6" , 337 , SA_Test3, "" );

1. new arg in functions
RegisterZoneAction
RegisterNodeAction
accept a newArg that is of the subroutine called when leave a zone, node.
Example:
RegisterZoneAction( "MyZone", "SO6" , 337 , SA_Test3, SA_LeaveTest3 );
RegisterNodeAction( "BL1" , 140 , DisplaySpeed,ExitDisplaySpeed );

If you don't want a leave subroutine or enter subroutine put "" in arg
RegisterNodeAction( "BL1" , 140 , DisplaySpeed,"" );
RegisterZoneAction( "MyZone", "SO6" , 337 , "", SA_LeaveTest3 );

2. Fixed bug in !pitwindow command

Quote from Gai-Luron :Release 5.9.2.2

send me feedback.

+-------------------------------+
|Changes from v5.921 to 5.922 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
pitboard.lpr

Add new arg to function RegisterNodeAction and RegisterZoneAction, for
no modification add "" in the new arg
old -> RegisterNodeAction( "BL1" , 140 , DisplaySpeed );
new -> RegisterNodeAction( "BL1" , 140 , DisplaySpeed,"" );
Add new arg to function RegisterNodeAction with ""
old -> RegisterZoneAction( "MyZone", "SO6" , 337 , SA_Test3 );
new -> RegisterZoneAction( "MyZone", "SO6" , 337 , SA_Test3, "" );

1. new arg in functions
RegisterZoneAction
RegisterNodeAction
accept a newArg that is of the subroutine called when leave a zone, node.
Example:
RegisterZoneAction( "MyZone", "SO6" , 337 , SA_Test3, SA_LeaveTest3 );
RegisterNodeAction( "BL1" , 140 , DisplaySpeed,ExitDisplaySpeed );

If you don't want a leave subroutine or enter subroutine put "" in arg
RegisterNodeAction( "BL1" , 140 , DisplaySpeed,"" );
RegisterZoneAction( "MyZone", "SO6" , 337 , "", SA_LeaveTest3 );

2. Fixed bug in !pitwindow command


tyvm for adding the exit zone/node sub this defiantly helps me with my cruise addon
Release 5.9.2.3 -> minor update

send me feedback.


+-------------------------------+
|Changes from v5.922 to 5.923 |
+-------------------------------+
Files to replace From the previous version
- LFSLapper.exe
- Change in LFSLApper.lpr
old -> Event OnDisConnect( $userName )
new -> Event OnDisConnect( $userName, $reason )

1. Add new arg to event OnDisConnect
Event OnDisConnect( $userName, $reason ) # Player event
Look at const.lpr to view reason list
# Leave Reason on disconnect
const LEAVR_DISCO 0; # disconnect
const LEAVR_TIMEOUT 1; # timed out
const LEAVR_LOSTCONN 2; # lost connection
const LEAVR_KICKED 3; # kicked
const LEAVR_BANNED 4; # banned
const LEAVR_SECURITY 5; # OOS or cheat protection

example:
IF( $reason == LEAVR_DISCO ) THEN
privMsg( "Normal disconnect");
ENDIF
IF( $reason == LEAVR_LOSTCONN ) THEN
privMsg( "Lost connection");
ENDIF

Quote from Gai-Luron :Release 5.9.2.3 -> minor update

send me feedback.


+-------------------------------+
|Changes from v5.922 to 5.923 |
+-------------------------------+
Files to replace From the previous version
- LFSLapper.exe
- Change in LFSLApper.lpr
old -> Event OnDisConnect( $userName )
new -> Event OnDisConnect( $userName, $reason )

1. Add new arg to event OnDisConnect
Event OnDisConnect( $userName, $reason ) # Player event
Look at const.lpr to view reason list
# Leave Reason on disconnect
const LEAVR_DISCO 0; # disconnect
const LEAVR_TIMEOUT 1; # timed out
const LEAVR_LOSTCONN 2; # lost connection
const LEAVR_KICKED 3; # kicked
const LEAVR_BANNED 4; # banned
const LEAVR_SECURITY 5; # OOS or cheat protection

example:
IF( $reason == LEAVR_DISCO ) THEN
privMsg( "Normal disconnect");
ENDIF
IF( $reason == LEAVR_LOSTCONN ) THEN
privMsg( "Lost connection");
ENDIF


dont u also need to update const.lpr?

:O :O :O the exe has pretty colors ^.^

would be coold if the text could actualy be like ^1 = red ^2 = green would be cool if u could do that
Yes also conts.lpr

You can add color in const but you need to concat them. Can't and don't want parse a string

Const RED "^7";

"This is " . RED . " red color"
Quote from Gai-Luron :Yes also conts.lpr

You can add color in const but you need to concat them. Can't and don't want parse a string

Const RED "^7";

"This is " . RED . " red color"

i ment in the exe is possible to do that with the lfs colors?
like if u write line my server name it would show ^0[^4S^0C] ^7Cruise Server would be cool if u could make it appear as

i used gray instead of white so u could see

[[COLOR=Blue]S[COLOR=Black]C] [COLOR=Gray]Cruise Server
[COLOR=Black][/COLOR]
[/COLOR][/COLOR][/COLOR]

You speak japanese for me. Color work in LFSLapper!!!!!!
Do you mean the colours in the cmd window when you click on lfslapper.exe?

If so, see http://commandwindows.com/configure.htm


Edit: Error in running exe is I forgot to set password in new version of lapper!
Attached images
lfslapper exe.PNG
no i mean like lets say my servers name is ^0[^4^0C] ^7Cruise Server it would be cool if it showed the actual colors instead of ^0[^4^0C] ^7Cruise Server
Quote from Fire_optikz001 :no i mean like lets say my servers name is ^0[^4^0C] ^7Cruise Server it would be cool if it showed the actual colors instead of ^0[^4^0C] ^7Cruise Server

Showed Where?
In console window when you use writeline
Quote from Gai-Luron :In console window when you use writeline

The problem there is that you will need to convert the color codes (^7 etc) to ANSI color codes, which is a pain in the arse. Just write the output using the NickNameStripped player var which has the color codes already removed.
Quote from Krayy :The problem there is that you will need to convert the color codes (^7 etc) to ANSI color codes, which is a pain in the arse. Just write the output using the NickNameStripped player var which has the color codes already removed.

And for those that don't understand Australasian lingo;
'qui est une douleur dans le cul'.
I think
This thread is closed

Release
(228 posts, closed, started )
FGED GREDG RDFGDR GSFDG