The online racing simulator
Searching in All forums
(969 results)
Gai-Luron
S3 licensed
Hello,

i don't try it because i am at work! But i take a look and i have one question:

Why you don't use multiline button? In some case, you can do it and it is more easy to manage!

Gai-Luron
Gai-Luron
S3 licensed
Hello,

For pubstatidk, i look for this! I modify many internal things for reading config file.

Yes try version 5.64. if button do not close, send me your config file, i try it!

Gai-Luron
Gai-Luron
S3 licensed
Quote from Max Torque :status OK ! solved ty.

/pbut help,0,45,130,5,1,-1,96,^1General Information:
/pbut top,40,120,90,10,10,-1,32,^8Personal Best list,"/cpbut top&help&rules:/top":
/pbut rules,40,125,90,10,10,-1,32,^7Server rules."/cpbut top&help&rules:????":

what i should type here ?

--

!rules|
/pbut pos,0,45,55,5,1,-1,96,^7IMPORTANT RULES{colon}:
..:
..:
..

i wanna
type !help.after open list.this is currectly working.after push Server rules.opens "^7IMPORTANT RULES" ?

i hope understand me

i were wrote many codes so different positions.

<rules> = /pbut pos,0,45,55,5,1,-1,96,^7IMPORTANT RULES{colon}|
..|
..|
..;
addCmd("!help" ) = /pbut help,0,45,130,5,1,-1,96,^1General Information|
/pbut top,40,120,90,10,10,-1,32,^8Personal Best list,"/cpbut top&help&rules|/top"|
/pbut rules,40,125,90,10,10,-1,32,^7Server rules."/cpbut top&help&rules|<rules>"|
...
;
addCmd('!rules") = <rules>;

This should be work!! Maybe in future version, i add a /execCmd command to execute a addCmd command
why not?
/execCmd !rules;

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

New beta version, many internal config change and many config file change. This version will be tested carrefully, thank's

Remaining trace debug, don't worry!

Quote :+----------------------------+
|Changes from v5.632 to 5.640|
+----------------------------+
1. Change in internal configuration management ( for future extension ))
AuthPrivMess : removed
OnAuthReached : Added to replace AuthPrivMess

2. Fix bug in /http commands

3. Add switch in command Line
-help -> Show command line parameter
-debug -> put LFSLapper in debug mode
-dumpvar -> Dump all variable used by LFSLapper and set by config file

4. Add Var IdleExclude. User to exclude to idle action. Only username, no nickname
because in future version all player were registered
Exemple :
IdleExclude = Lagamel,Gai-Luron;

5. Remove Var, this var are obsolete
AutoAction
AutoMsgPrivate

6. New config ability : addCmd to add a new command to lapper

Action to do on special command typed in message line
Syntax
addCmd( "command[|command]"[,"allowedUser"]) = command text

"allowedUser" is optional if you wish to specify users, that are allowed to execute action
You can specify more user separated by '|'
Exemple :
addCmd("!ver","Gai-Luron|Lagamel") = /ver;
If ! before a name, force nickName authentification if UseUsernameForAuthentication=true
If ! before a name, force userName authentification if UseUsernameForAuthentication=false
You can use regexp expression in userName pattern, type regex=your regular expression
Exemple : if UseUsernameForAuthentication=treu
!regex=^\[COP\].*
Find all user who nickname begin with [COP]
regex=^Gai.*
Find all user who username begin with Gai
See regular expression on web for more info how it work
Use & sign at end of patterns, if you wish to specify a file containing users, that are allowed to execute action. users separate by \n

Use & sign at beginning of "allowedUser", if you wish to specify a file containing users, that are allowed to execute action. users separate by \n
Exemple :
addCmd("!ver","&./cmd.flt") = /ver:

7. Add internal var for config file. A local variable can be defined to put in another configration variable
To define a var
<myVar> = /pm i'm very happy;

You can include this local variable in configuration variable
PBAction = /msg New PB by {Nickname}^8|<myVar>;

In fine PBAction look like this for LFSLapper
PBAction = /msg New PB by {Nickname}^8|/pm i'm very happy;





Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from Max Torque :status OK ! solved ty.

/pbut help,0,45,130,5,1,-1,96,^1General Information:
/pbut top,40,120,90,10,10,-1,32,^8Personal Best list,"/cpbut top&help&rules:/top":
/pbut rules,40,125,90,10,10,-1,32,^7Server rules."/cpbut top&help&rules:????":

what i should type here ?

--

!rules|
/pbut pos,0,45,55,5,1,-1,96,^7IMPORTANT RULES{colon}:
..:
..:
..

i wanna
type !help.after open list.this is currectly working.after push Server rules.opens "^7IMPORTANT RULES" ?

i hope understand me

i were wrote many codes so different positions.

In your version, this don't work. In next release, ability to create replacement variable in cfg file.

Please Wait!

Gai-Luron
Gai-Luron
S3 licensed
/pbut top,help,40,120,90,5,1,-1,80,^8Personal Best list,"/top {*}"

with

/pbut top,40,120,90,10,10,-1,32,^8Personal Best list,"/cpbut top:/top"

Quote :this working perfectly but push Personal Best list, open pb list, doesnt close help

Don't forget to close help message box

/pbut top,40,120,90,10,10,-1,32,^8Personal Best list,"/cpbut top&help:/top"


cpbut -> Close personnal button, put id of all button to close separated by '&' when this button is clicked
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Your syntax is wrong!!!

Look again here http://www.lfsforum.net/showthread.php?p=827217#post827217


Gai-Luron
Last edited by Gai-Luron, .
Gai-Luron
S3 licensed
Quote from gru :...
make love, not war ..

Don't worry, it's a joke. I haven't time to spent for this !

Gai-Luron
Gai-Luron
S3 licensed
what stupid club!!! i don't see this topic before, thank's for this info nesrulz .

In my next release of LFSRelax, i plain to record player to view if players of this club use it . . I plain to block digital speedo and force pitspotting to say : "hack is bad! you're not a pure driver, bouuuuhhhhhh!!!!"

Why don't you put it in your release too Gru ? Look at http thread module in LFSLapper , maybe you can use it :ices_rofl.

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

New beta version for LFSLapper: 5.6.3.3

This version must be accuratly tested on Voting system and autorestart mode. Thank's. Soon Release version!

Quote :
+----------------------------+
|Changes from v5.632 to 5.633|
+----------------------------+
1. Remove LapperAdminVote, obsolete
if VoteRestart or VoteQualify or VoteEnd = -1, not catched by LFSLapper

2. Add some vote variables
VoteLifeSec = Second for the life for a vote

VoteRestart = percent of player vote on track need to restart race, LFS admin this if set to -1
onVoteRestartChange = Command to do when player vote to restart
onVoteRestartReach = Command to execute when VoteRestart is reached
onVoteRestartZero = Command to execute when no nb of player reach zero

VoteQualify = percent of player vote on track need to qualify, LFS admin this if set to -1
onVoteQualifyChange = same as restart but for qualify
onVoteQualifyReach = same as restart but for qualify
onVoteQualifyZero = same as restart but for qualify

VoteEnd = percent of player vote on track need to end race, LFS admin this if set to -1
onVoteEndChange = same as restart but for qualify
onVoteEndReach = same as restart but for qualify
onVoteEndyZero = same as restart but for qualify

On this action you can use:
{Nickname} - Nickname of driver
{Username} - Username of driver
{Vote} - Player who have voted
{Remain} - Player remaining to vote
{Need} - Player needed for action


3. Add date and time format in cfg file
Date and time format for PB file

Look at C# format date, little help

HH = Hour in 0-23 format
hh = Hour in 0-12 format
mm = Minute
tt = PM or AM
dd = Day of the month
MM = Month
yyyy = year with 4 digits

Exemple
DateFormat = dd/MM/yyyy;
TimeFormat = HH:mm;


Gai-Luron
Gai-Luron
S3 licensed
Quote from Max Torque :
what kind have id style (only welc,pos,clos,ref) ?

A character string, it's an unique id to identify one messagebox/button. Random string

Quote from Max Torque :
what kind have button style ?

Look at insim.txt in doc LFS folder. In final release, i explain more


Quote from Max Torque :
this is a line command Lapper Do when you click on this button.
( /pbut id,ids_to_close,L,T,W,H,I,Time,one line message,"command")
how it use ?

Obsolete command, now it's:
/pbut unique_id,L,T,W,H,I,Time,Button_Style,message,"cmd"
"cmd" is optional, only for clickable button
"cmd" is a quoted Lapper command string, multicommand separated by :
Ex:
"/pm you click on unique_id button:/cpbut unique_id"

/cpbut = close personnal button.

Quote from Max Torque :
type !help in last beta version lapper dont shows clicker buttons.type !help shows only messages.

Work, look if you have last config file with /pbut . Multiline message now is separated by '&' . '§' not to be used.


Due to many change in messagebox/button command. Take the config file provided with last beta version


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

Thank's, i look for this ASAP!. But for now, i work on LFSLapper to improve it.




Gai-Luron
Gai-Luron
S3 licensed
Quote from gru :...i wonder why there was no such a discussion with Analogue Gauges or LfsRelax which also can display digital speed in all cars?
...

Hello,

Don't worry, this is normal this kind of reaction. People are never satisfied with what other propose. It is not even necessary to respond. Continue to make programs, as few person can do it and for this they need respect.

Continue gru

Gai-Luron

PS: marek100, i'am not pure driver, but player who love to play with LFS. I'am not Fangio!!!
Gai-Luron
S3 licensed
Hello,

Here this command work fine, no modification on this feature, can you post /http command who won't work.

Gai-Luron
Gai-Luron
S3 licensed
Hello,

You're right, i hate this too!!


Gai-Luron
Gai-Luron
S3 licensed
If host vote to restart race, restart is immediatly done. For the other, message remain for 5 Second and come on top again when an another user vote!

Gai-Luron.
Gai-Luron
S3 licensed
Hello,

Try new system for voting

Quote :
+----------------------------+
|Changes from v5.631 to 5.632|
+----------------------------+

1. Add Lapper administration for vote
LapperAdminVote = false; if set to true, Lapper admin all votes
VoteRestart = 75; players percent needed to act this vote, host not include
VoteQualify = 75; players percent needed to act this vote, host not include
VoteEnd = 75; players percent needed to act this vote, host not include

VoteLifeSec = 30; Life in second for a vote

Quote :After testing v5.631 I have found that once Voting has been stopped if you press Shift+R it shows "RESTARTING 3" then it disapears. In message area it shows I [AKM] Andy voted Restart and then underneath Vote Cancelled. Seems lapper is not stopping the system message as if its not cancelling it quick enough.

It's not a Lapper Problem, but LFS who don't send quickly the player vote. I don't do anything about this

Gai-Luron
Gai-Luron
S3 licensed
Hello,

New test version : 6.3.1

Changes:
Quote :
+----------------------------+
|Changes from v5.62 to 5.631 |
+----------------------------+
1. Add InRaceLapsVoteMinMax = Laps between Vote are allowed on race
Exemple:
InRaceLapsVoteMinMax = 0-0 Vote are never allowed
InRaceLapsVoteMinMax = -5 Vote allowed between first lap and 5 lap
InRaceLapsVoteMinMax = 2- Vote allowed between laps 2 and end of race
InRaceLapsVoteMinMax = - Vote always allowed

2. Add {Username} var in trackinfo.cfg

3. Add AutoRestartRaceMn = Minute between End of a race and an automatic restart
AutoRestartRaceMn = 0; No restart

4. Add Automatic rotation for car and or track
Rotation work only if AutoRestartRaceMn is set

EnableRotation = Allow or diallow rotation for track and/or car
Values : true or false
RotateTracks = track to rotate separated by ','
RotateCars = cars to rotate separated by ',' Use LFS definition for car. , if not set, no car rotation
RotateEveryNbRaces = Number of race to do before rotation


Thank's for testing

Gai-Luron
Gai-Luron
S3 licensed
Right SilverArrows77

88Reasons post in Lapper Topic the next time please!

Thank's

Gai-Luron


Admin: please attach this topic with Lapper topic!
Gai-Luron
S3 licensed
Quote from FM-Failure :
...
Make the {username} variable available in trackinfo.cfg.
...

Done , Released in the next version, soon

Gai-Luron
Gai-Luron
S3 licensed
Hello

USERNAME02 it's normal at begin of file!

Have you take a look about spb relative to in shift+i. If WR are not loaded and you set this relative to WR. if your 2 server start at same time, PUBSTAT are not responding for 5 second. Try to start the two server at at less 10 second of interval


Gai-Luron
Gai-Luron
S3 licensed
Hello,

New beta version.

Warning Change in button syntax. Sorry but it's so complicated to make this powerfull and easy to use ^^

Quote :+---------------------------+
|Changes from v5.62 to 5.63 |
+---------------------------+
1. Check for bad words or swearwords ( Easy dev idea from Andy King, thank's )
SwearWordsList : is a list of bad words
- if you prefix with & , You can indicate a file name who contain list of swearWords, one word per line
- if you do not prefix, You can list word separated with ,
Syntax :
SwearWordsList = &./your_file;
or
SwearWordsList = word1,word2,...,wordn;

SwearWordsMax : Max allowed bad words / session
SwearWordsAction1 : is an action to do when user write bad words before reach SwearWordsMax
SwearWordsAction2 : is an action to do when user write bad words when reach SwearWordsMax

Variable avaiable on SwearWordsAction1 and SwearWordsAction2
{Nickname} - Nickname of driver
{Username} - Username of driver
{SwearWordsMax} = Max allowed swearwords
{SwearWordsRem} = Remaining retry before SwearWordsAction2

2. Remove gcbut, deprecated

3. Add to pbut one argument (Optionnal). this is a line command Lapper Do when you click on this button.
this command line must be quoted.
/pbut id,ids_to_close,L,T,W,H,I,Time,one line message,"command"

4. /cpbut is now a Lapper command to close one Button.
/cpbut id_buttontoclose&...&id_lastbuttonto close


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

Quote :
...
Error in WR splitting
...

Your WR file is corrupted because
1 - Your pubstatIDK is wrong
2 - LFSworld is down
3 - WR file in lfsworld was changed ( i don't think )

This occur only for you because Your personnal config ( shift+i ) is set with spb relative to WR and WR is corrupted


Gai-Luron
Gai-Luron
S3 licensed
Quote from Max Torque :can you show example ? ty
type !help
after push "top"
and after open pb list

/cpbut ( old /cbut command ) is used to display a clickable button on the screen. When this button is clicked or his timer reach to 0, it close himself and all the button id listed in "ids_to_close".

Example:
if you open a button/msgbox id = but1, an another id = but2 with /pbut and if you create a close button id = close and ids_to_close = but1&but2. When you click on this button, this button is closed and button id=but1, button id=but2 are closed them too.

For top is a buit-in function in lapper, not editable in config file. Look at "onConnection" in config file to understand how button/msgbox works.

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

Don't forget the CSS file in the same folder!!!

Gai-Luron
FGED GREDG RDFGDR GSFDG