The online racing simulator
LFSLapper insim4 Release
(2101 posts, closed, started )
Hi Guys,

Still stuck with this....

Want to add a line to Connect Messages -
/pm LFSW - PB by {Nickname} in {Car} - {LapTime};

The {LapTime} bit doesn't work, can someone type the full line I need to add as nothing I do with /w PB {Username} seems to work.

Thanks again guys
Quote from Andy King :Hi Guys,

Still stuck with this....

Want to add a line to Connect Messages -
/pm LFSW - PB by {Nickname} in {Car} - {LapTime};

The {LapTime} bit doesn't work, can someone type the full line I need to add as nothing I do with /w PB {Username} seems to work.

Thanks again guys

You can't do that in a connect message. To display someones PB on LFSW the driver has to be on the track. So the only option is to make a command as auto-action.
Unfortunatly, Lapper won't execute /w pb as command but it does send it as text message. Maybe Gai-Luron can do something about that in a future version.
Thanks

I also think Admins should be exempt from the on idle sent to spectators as this also means admins can be a Saftey Car waiting at side of pitlane.

Thanks for a great proggy
-
(Gai-Luron) DELETED by Gai-Luron
Hello,

After many weeks, new test version for Lapper : 5.60beta

I'am waiting for bugs reports

What's new
Quote :
+---------------------------+
|Changes from v5.54 to 5.60 |
+---------------------------+
1. Add some variables in AutoMsgPrivate var in config file {Posabs} {Posqual} {Groupqual} to display then in some case

2. New command /termlapper to close lapper in command line or scheduled action. Usefull for end pre-qualification

3. Add new internal command : /pbut
to display a private message button, each line for message are separated by §

LOOK AT SPB OR CONNECTION MESSAGE FOR AN EXEMPLE!!!

Syntax :
/pbut id,L,T,W,H,I,Time,message line1§message line1§...§Message line n

id = string id for the button
L = Left coordonate ( 0 to 200 )
T = Top coordonate ( 0 to 200 )
W = Width for the button ( 0 to 200 )
H = Heigth for the button ( 0 to 200 )
I = Space bettween multi line message ( 0 to 200 )
Time = Is the time in second that the button is displayed
Bstyle = Button style, look at insim.txt for value or below

// BStyle byte : style flags for the button

#define ISB_C1 1 // you can choose a standard
#define ISB_C2 2 // interface colour using
#define ISB_C4 4 // these 3 lowest bits - see below
#define ISB_CLICK 8 // click this button to send IS_BTC
#define ISB_LIGHT 16 // light button
#define ISB_DARK 32 // dark button
#define ISB_LEFT 64 // align text to left
#define ISB_RIGHT 128 // align text to right

32+64 = 86
Exemple:
If you set Bstyle = 86 your text is in dark button and align to left.

// colour 0 : light grey (not user editable)
// colour 1 : title colour (default:yellow)
// colour 2 : unselected text (default:black)
// colour 3 : selected text (default:white)
// colour 4 : ok (default:green)
// colour 5 : cancel (default:red)
// colour 6 : text string (defaultale blue)
// colour 7 : unavailable (default:grey)

Enjoy!

Gai-Luron
Hi Gai,

Getting this message everytime I connect=

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"><ht

Wish: I would like to see Admins listed by Username not affected by the idle parameter so the can be a Saftey Car for example or just stopped on side of track to kick/ban or whatever Admins have to do.

Testing LFS Y20 Server & LFS Lapper v5.60 @ [AKM] Racing UK Y20

Thanks for ace an proggy
Hello,

Another update for test version:

Quote :+---------------------------+
|Changes from v5.60 to 5.61 |
+---------------------------+

1. !topqual, !nearqual, !top, !near, !help now are displayed on Message Box

Screen Here

2. Add new internal command : /cbut
to close one or more message button, only one line in text parameter
Syntax :
/cbut id,ids_to_close,L,T,W,H,I,Time,one line message

id = string id for the button
ids_to_close = ids buttons of all messages button separated by &
L = Left coordonate ( 0 to 200 )
T = Top coordonate ( 0 to 200 )
W = Width for the button ( 0 to 200 )
H = Heigth for the button ( 0 to 200 )
I = Separation bettween multi line message ( 0 to 200 )
Time = Is the time in second that the button is displayed, -1 not closed and closed on click.
Bstyle = Button style, look at insim.txt for value or below

Enjoy

Gai-Luron
Hi Gai,
Link doesn't work matey
Sorry!

Fixed

Gai-Luron
very nice work.
please release version will have point system
Hi Gai,

Wish: In the menu Shift+I is it possible to let user decide how long stats like splits and laptimes are displayed. I find lapper shows me my split or laptime usually at a moment I cannot look and by the time I have time to look its gone meaning I then have to hit H to get history and if on a busy server cannot find it due to chat and other messages. If I could select say 5 secs or 10 secs for splits/laptimes to be displayed or intrigate LFRelax's split/laptime buttons into Lapper giving racers a choice in Shift+I on how to display Splits/Laptimes.

Just an Idea
Hello,

For the old Lapper version, it's impossible because it's LFS that show message in limited time.

But Test Lapper 5.61 show spb under LFS split time in the middle of the screen or in any position on the screen ( Lapper admin decide how and time for the display ). Now it's more visible

Gai-Luron
Hello,

i might be doing something wrong, but !help only shows "Commands List" and on the bottom of the screen an OK button, but nothing in between?

Also, in trackInfo.cfg please make the {username} variable available, it could be used to automatically ban people driving a faster time than specified in trackInfo.cfg (speedhackers), currently only the {nickname} variable is available there.
Thanks for your work!

EDIT: Yes, i was indeed doing something wrong, dont use notepad to edit the cfg, use wordpad instead - !help works now
Hello,

New test version : 5.62

Don't forget to change cbut to cpbut in your own config file!

Quote :+---------------------------+
|Changes from v5.61 to 5.62 |
+---------------------------+

1. Change line separation in message button form § to &. Bug on coding into some system character coding

2. Change command cbut in cpbut.

3. Add gbut command to display a global message to all players,

4. Add gcbut command to put a close button for all player


Gai-Luron
Quote from Andy King :Thanks

I also think Admins should be exempt from the on idle sent to spectators as this also means admins can be a Saftey Car waiting at side of pitlane or doing Admin things like Kicking/Banning etc etc

Thanks for a great proggy

Don't forget this Gai
Quote from Gai-Luron :
/cbut id,ids_to_close,L,T,W,H,I,Time,one line message

can you show example ? ty
type !help
after push "top"
and after open pb list
I'm having a weird problem. I do get the error msgs for the DriftPB and PB text files but LFSLapper doesn't seem to be creating them. Also, can someone tell me how to activate the drift scoring system? I can't seem to find it in the readme on how to use it. Thanks!
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
Used the lapper for quite some time now, and until a few weeks back it worked flawlessly. At that point it terminated with an error every time I (and only I, other racers had no problems !) crossed the finishline.
I resolved it then by deleting the pb file (thought it might have some garbage in it), and didn't take any further notice of it.
Tonight the problem occured again, but this time it didn't help deleting the pb file.. I even killed the file on the other server and also the contents of the Sync dir. It still terminated with this error. Any idea what may cause this??



LFSLapper Version=5.5.4.34595 on GNU license
2005-2008 Janez Cufer and Robert BRACCAGNI ( Gai-Luron )
LFSLapper comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. Read LICENSE for details.

Loading WR...Not Loaded
Mode Sync = True
Connecting
Connection OK
Product:S2 Version:0.5Y20 InSim Version:4
Sync Upload DB Thread Started...
Warning:Error loading ./PB.txt or file does not exist yet!
Warning:Error loading ./DriftPB.txt or file does not exist yet!
Sync Download DB Thread Started...
Web Commands Thread Started...
Register Web Thread Started...
LFSLapper is running...
Error in WR splitting
The following error occurred:
De objectverwijzing is niet op een exemplaar van een object ingesteld.
LFSLapper
bij LFSLapper.infoPlayer.updateLap(Int64 LTime, Int64 maxLtime, String curren
tTrackName) in C:\Program Files\lfs\DevInsim\lapper\LFSLapper5.54\src\Players.cs
:regel 321
bij LFSLapper.LFSClient.Loop(Connect insimConnection) in C:\Program Files\lfs
\DevInsim\lapper\LFSLapper5.54\src\LFSClient\loop.cs:regel 1049
bij LFSLapper.LFSClient..ctor(String scriptfilename, debug Pdebug, Boolean de
bugmode) in C:\Program Files\lfs\DevInsim\lapper\LFSLapper5.54\src\LFSClient\lfs
client.cs:regel 780
bij LFSLapper.LFSLapper.Main(String[] Args) in C:\Program Files\lfs\DevInsim\
lapper\LFSLapper5.54\src\Main.cs:regel 91
Void updateLap(Int64, Int64, System.String)

Save Debug Infos
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
Hi Guys,
A little off topic but can anyone help me find a program or perhaps it can be included in Lapper.

I need to stop racers from voting say after 3 laps have been completed so then it has to be a majority vote to restart the race. I am fed up of say 2 ppl joining after 3 racers have done 5 laps anfd if those 2 racers vote restart then the race will restart FRUSTRATING and not fair.

Any help appreciated
Hi,
Thanks for the info, is it possible to have 2 or 3 config.ini's like we can with Lapper for different servers, with lapper u add ..\cfg\cfgServer_1.cfg to properties on shortcut but can't seem to work out how to do it with ServerControl. Might be an idea for Gai to add the items ServerControl has in it like Swearwords, Voting, agreement to Lapper to make it THE COMPLETE SERVER PACKAGE lol

Thanks for your help guys and [AKM]'s Server 1 was as busy as Conedodgers 1 tonight for an hour or so
Andy ,

You can open for sever 1 LFS Dedi , LFS Lapper and LFS Control with port 29999.
For server 2 open LFS Dedi , Lapper and Control with port 29998 .
and so on.
Just put Dedi in a map Dedi sever 1 and in map Lapper server 1 and in map Control sever 1.
And make maps for server 2 , 3 and so on.
You can start everthing up from a batch file.
Hi Tim,
Thats how I used to have it setup but I was never able to create the batch file to start them all easily, especially if my server which is a local machine fell over in the night as the servers wouldn't auto start as I have to manually start each service.

Would it be possible for you to create me an example batch file and attach it to your post.

Thanks
This thread is closed

LFSLapper insim4 Release
(2101 posts, closed, started )
FGED GREDG RDFGDR GSFDG