The online racing simulator
Searching in All forums
(968 results)
Gai-Luron
S3 licensed
Yes in lpr file, bloc Lang "EN" ... EndLang localized normally at end of lpr file
Gai-Luron
S3 licensed
in tops.lpr

at line 95

replace


$colsplit = $col[COLOR=Red]S[/COLOR]plit . " ";


$colsplit = $col[COLOR=Red]s[/COLOR]plit . " ";

Gai-Luron
Gai-Luron
S3 licensed
Don't use currency in format
Gai-Luron
S3 licensed
I'am very happy for your help, i try to put all translation in default file, thank you in advance

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Yes,

There is a bug in top, because, now top is written in GLScript and not a builtin function like old LFSLapper and it's seem to be a bug. I correct soon.

To return with the old top go to tops.lpr and modify this part of code

SWITCH( $command )
CASE "!top":
# Top( $argv );
DoMyTop( $argv,FALSE,FALSE );
BREAK;
CASE "!near":
# Near( $argv );
DoMyTop( $argv,FALSE,TRUE );
BREAK;
CASE "!topqual":
# topQual( $argv );
DoMyTop( $argv,TRUE,FALSE );
BREAK;
CASE "!nearqual":
# nearQual( $argv );
DoMyTop( $argv,TRUE,TRUE );
BREAK;
ENDSWITCH


put # before each DoMyTop
and remove # before
top
topqual
near
nearqual

in this case, it's old function that are used
Gai-Luron
S3 licensed
"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
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
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
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Thank you for your help. But to write my doc i use Help & Web tools, and i can't send you nothing, because it's not readable without this software. I don't find any software who can manage multilanguage help for HTML or CHM

Sorry
Gai-Luron
S3 licensed
Thank you i add this soon


DONE
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Wich version of LFSLapper do you use? here it work fine with this test. In older version, i correct some thing in array

EDIT Ok, i understand what you said ( i exit to my bed to write this, i had a flash ), this occur when you want to assign a newly GetListOfPlayer to a previous used global var, before to assign a new value don't forget to use "unset" to free var.


Sub MyTest()
GlobalVar $MyVar;

[COLOR="Red"] unset( $MyVar );[/COLOR]
$MyVar = GetListOfPlayers( );
$MyVar[1] = "toto";

dumpVar( $MyVar );
test2();

$MyVar[3] = "titi";
dumpVar( $MyVar );
EndSub
Sub test2()
$MyVar[2] = "tata";
dumpVar( $MyVar );
endSub


Result in console

Quote :---- Dump of MyVar ----
$MyVar[0] = "gai-luron"
$MyVar[1] = "toto"
---- End Dump of MyVar ----

---- Dump of MyVar ----
$MyVar[0] = "gai-luron"
$MyVar[1] = "toto"
$MyVar[2] = "tata"
---- End Dump of MyVar ----

---- Dump of MyVar ----
$MyVar[0] = "gai-luron"
$MyVar[1] = "toto"
$MyVar[2] = "tata"
$MyVar[3] = "titi"
---- End Dump of MyVar ----

Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Great, but take a look at version released with LFSLapper, i don't use button to display all the grid ( white and black square ) but special UTF8 char to limit use of button. Can you add this kind of char in your script?
Quote :
openGlobalButton( "winner_backing2",$leftDamier,$TopDamier,34,14,12,10,0,"^1^L^H^9¡½ ¡½ ¡½ ¡½");

EDIT: No Need to do that, because your square flag is smaller

A good exercice in dev, you can drastically shorter your code!

EDIT2
Attached code little shorter, if you want explanation, no problem, i am here for this. The base of your code is very good, continue. If you want tips, i wait for your request
I remove default winner flag and i include your winner flags in next release.

as i said sinanju
Quote :To use it, you'll need to add following separate line of code to your addonsused.lpr file (..\bin\default\includes\ directory)

include( "./winnerflags.lpr");


And for now remove code in OnResult event in LFSLapper.lpr
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Heu sorry, but i don't understand what do you want to say.

You can resize an array adding new elements. Why you say you can't?

$MyVar = GetListOfPlayers( );
$MyVar[1] = "toto";
dumpVar( $MyVar );

if i am alone this work and add "toto" as new player
Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from YamaSuba.NL :At this moment it's a one-player problem. I'm using a delayed Sub (PrivDelayed) from within the OnResult-event.

What is his userName, delayed command is bugged in previous version, take the last version, put your code here
Gai-Luron
S3 licensed
Quote from the_angry_angel :... or maybe even LFSLapper (not sure if its capable of running anything like a cruise server tbh) ...

Yes it does in GLScript ( Scripting language in LFSLapper ), you can take a look at this topic http://www.lfsforum.net/showthread.php?t=64274. For now it's in developpement, but you can look at the dev server here [SC] Event Server ( if it's up )

it's not me who have dev this LFSLapper addon, but end user. Don't ask me how it work because i don't know how work any cruise server

Gai-Luron
Gai-Luron
S3 licensed
It's only for one player. Or this happen for other player? if it's for one player, whati s the particularity of this player? There is a message in err log file?
Gai-Luron
S3 licensed
Hello,

Some improvement in buttons ( i added some of this feature, but this eat bandwidth )

- More than 240 buttons
- Blinking buttons
- Rotation message buttons Mess1, mess2, ..., messLast,mess1,mess2 etc..
- More then none, light gray, dark gray background for button
- GPS speed for drift scoring, not only whells rotation speed ( try to do that with coordinate in LFS, but packet are no so precise, globally yes, but for a 1/10 s no )

I don' know in wich version of LFS, but we lost UTF8 support char in LFS ( fuel logo disapear and more other logo ).

Quote :InSim direct DLL that allows for direct plugin development utilizing a callback mechanism. (When player pits, call function player_pits() on each plugin if the function exists within the plugin.)

I have added this feature in experimental LFSLapper to add plugin in DLL, but i don't know if there are people who want or can use that.

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Thank you

Yes but in good english , not sms type
(Gai-Luron) Need help for english manual translation
Gai-Luron
S3 licensed
Hello,

I need help for documentation. I am writing doc for LFSapper in french, to have the english version i use google translate. If someone speaking well english can take a look at english version, correct them and send me the corrected file in word format. I will be very happy.

English doc

http://www.lfs-lapper.org/help/en/

Thank you.

If nobody want to help me, i continue my manual only in french, then in Italian, sorry for english speaking man.

Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Release 5.9.1.8 fix bugs available.

send me feedback.


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

1. Fix error when type !stop and then !start in LFS chat window

2. Autorestart LFSLapper instance on error, 4 times
( only if crash < 10s beetween 2 retry ), then go in standBy mode


Put link of the manual in frst post
Gai-Luron
S3 licensed
Release 5.9.1.7 available for test purpose.

send me feedback.

And

MERRY
CHRISTMAS 2009

+-------------------------------+
|Changes from v5.916 to 5.917 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
replace '&' in all multiline button with %nl% or replace LFSLapper.lpr
replace '&' in all multiline button with %nl% or replace driftmeter.lpr

1. Remove flickering when you display same id button on screen

2. Separator for multiline message is now %nl% (newline) instead '&' to avoid
new line when username or nickname of player contain '&' char

3. Add new separator in text to display in button ( cycling separator ):
%at% is an alternate(s) text, you can have as many alternate text as you
want. LFSLapper display all text separated by %at% one every second

Example
openPrivButton( "drewpitleave02",50,12,100,10,10,10,ISB_DARK,"^1R E M E M B E R !%at%^7R E M E M B E R !%at%D O N ' T C R Y !" );

This display
first "R E M E M B E R !" in red
then "R E M E M B E R !" in white
finally "D O N ' T C R Y !"
then go to the first message and do one more cycle


Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
LoL
Gai-Luron
S3 licensed
Quote from drew555 :Kind of related...

I'm after changing the colour of a message in a button between 2 colour variations.


For you colored button, this is the code who work, but you need to change to version 5.9.1.6 ( fixed one bug in delayed command )

CatchEvent OnNewPlayerJoin( $userName ) # Player event
GlobalVar $CurrRotation;
$CurrRotation = 0;
Color1( $userName );
EndCatchEvent
Sub color1( $userName )
openPrivButton( "drewpitleave02",50,12,100,10,10,-1,32,"^1R E M E M B E R !" );
privDelayedCommand( 1,color2 );
EndSub
Sub color2($userName)
openPrivButton( "drewpitleave02",50,12,100,10,10,-1,32,"^7R E M E M B E R !" );
$CurrRotation = $CurrRotation + 1;
IF( $CurrRotation < 5 ) THEN
privDelayedCommand( 1,color1 );
ELSE
ClosePrivButton( "drewpitleave02" );
ENDIF
EndSub

You have also this, but is BEUUURRRKKK

Quote : openPrivButton( "drewpitleave02",50,12,100,10,10,6,32,"^1R E M E M B E R !" );
openPrivButton( "drewpitleave03",50,12,100,10,10,5,32,"^7R E M E M B E R !" );
openPrivButton( "drewpitleave04",50,12,100,10,10,4,32,"^1R E M E M B E R !" );
openPrivButton( "drewpitleave05",50,12,100,10,10,3,32,"^7R E M E M B E R !" );
openPrivButton( "drewpitleave06",50,12,100,10,10,2,32,"^1R E M E M B E R !" );
openPrivButton( "drewpitleave07",50,12,100,10,10,1,32,"^7R E M E M B E R !" );

Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Release 5.9.1.4 available for test purpose.

send me feedback.


Quote :+-------------------------------+
|Changes from v5.915 to 5.916 |
+-------------------------------+
Files to replace From the previous version
LFSLapper.exe
driftmeter.lpr

1. Fix bug on delayed command and registeraction

2. Add new version of driftmeter by Sinanju ( thank you )


Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
It's impossible to have a wait in an event because if you do that, you stop LFSLapper waiting.
Use blinking button for now
Quote :openPrivButton( "drewpitleave01",50,12,100,10,10,1,ISB_DARK | ISB_BLINK,"^1R E M E M B E R !" );

ISB_BLINK and ISB_DARK are constant defined in const.lpr. Take a look at this file


You can use privdelayed command to do that but is very complicated and no very usefull.
Last edited by Gai-Luron, .
FGED GREDG RDFGDR GSFDG