I cleared up the config-file and added two sections about the use of colors on text (somehow dissapeared from the file) and the codes that can be used on the button format.
Please let me know if I missed something.
Hi Gai,
I want to race against my own PB, so want lapper to display what my PB is on the track I am on then let it show me wether I am slower or faster than my PB.
Say my PB is 1:44:00 at AS3, I can display a button with that time in it.
Then next to it I display another button that shows on passing Split1, 2 and 3 wether I am + or - my best split for that sector, then as I cross start/finish I am shown + or - relative to my own PB.
Request: Any chance of us having a sync for the Ban List, this will enable me to ban users from all my servers immediatley as at the moment I have to copy the ban list from one server to the other 4. While I am doing this the nuissance driver is on one of my other servers creating havock.
+----------------------------+ |Changes from v5.706 to 5.707| +----------------------------+ 1. Add new var $isBestSectorSplit1 -> 1 if this sector split is best than previous Best, otherwise 0 $isBestSectorSplit2 -> 1 if this sector split is best than previous Best, otherwise 0 $isBestSectorSplit3 -> 1 if this sector split is best than previous Best, otherwise 0 $isBestSectorSplitLast -> 1 if this sector split is best than previous Best, otherwise 0
2. Remove var $CurSplit -> Split duration for the last sector $BestSplit -> Best Split duration for the last sector $DiffSplit -> CurSplit - BestSplit $BestSPB -> is the last sector is best than previous Best $SplitNumber -> Split number
3. Remove event OnSpbSplit
4. Add event OnSpbSplit1 -> Event triggered when sector split is done and showsplit on config player is true OnSpbSplit2 -> Event triggered when sector split is done and showsplit on config player is true OnSpbSplit3 -> Event triggered when sector split is done and showsplit on config player is true OnSpbSplitLast -> Event triggered when sector split is done and showsplit on config player is true
5. Add Var $PBLapTime -> Current PB on current Combo $diffLapTimeToPb -> Laptime - PBLTime
6. Now +-/* work also on time value example "0.10.10" + "0.01.20" = "0.11.30".
7. Fix disconnection when request button sended to fast to host ( LFS bug )
8. Add event OnSplit1 -> Event triggered when sector split is done OnSplit2 -> Event triggered when sector split is done OnSplit3 -> Event triggered when sector split is done OnLap -> Event triggered when sector split is done
I was having problems with this as well...then I noticed the "$" sign before the string...this is NOT shown in the cfg file that came with the latest release!
Another query, when trying to synchronise PB.TXT files, must we create a folder called "synchro" or is it created automagically? I f we have to create it, where should it be in the directory structure?
Request: Can you add $ServerName so we can use it like $LongTrackName, $ShortTime etc etc
Request: Any chance of us having a sync for the Ban List, this will enable me to ban users from all my servers immediatley as at the moment I have to copy the ban list from one server to the other 4. While I am doing this the nuissance driver is on one of my other servers creating havock.
ClosePrivButton - renamed to - CloseGlobalButton - in button example
#PubStatIdk = ; - renamed to - #$PubStatIdk = "";
Excelerated - renamed to - Accelerated
Some other layout issues.
To Tim NL:
Register MsgAction("!admin",MA_admin);
Sub MA_admin()
$allow = "&./admin.txt";
EndSub
To Andy King:
Banlist doesn't need to be synchronised. I'm running 7 LFS-servers on one virtual machine and they all use the same ban-file without any problem.
To Bladerunner:
You have to manualy create a Synchro-dir (or any other name you like) in the BIN-folder. You could place it somewhere else but then you have to adjust the path in your config-file.
Hi Bladerunner,
For database sync just put all PB.txt files in one folder with different names ( PB1.txt , PB2.txt ....) and set the path by SyncDir to that folder.
The database sync in allmost realtime ( i think lesser then 30 sec.).
Register MsgAction("!ontrack",MA_ontrack);
Sub MA_ontrack()
$allow = "&./admin.txt";
cmdLFS( "/msg ^3If you ^1STOP ^3ontrack then expect to be ^1KICKED !");
EndSub
Some of my action commands won't work wether they need admin.txt or not, such as !powered !test !kick quite a few are broke.
Hi Gai,
I understand that, what I am saying like Tim said is it isn't working anymore, they all used to but not with latest exe, seems something has got broken.
$diffLapTimeToPb is showing UNKNOWN
Request: Can you add $ServerName so we can use it like $LongTrackName, $ShortTime etc etc
Request: Any chance of us having a sync for the Ban List, this will enable me to ban users from all my servers immediatley as at the moment I have to copy the ban list from one server to the other 4. While I am doing this the nuissance driver is on one of my other servers creating havock.
Thankyou for your development with lapper, its getting massive lol
Hi Gai,
The $DiffLapTimeToPB is working fine now, sorry typed it wrong. I only have one problem left now,
$AvgSpeed is showing unknown when using it in Event OnLap()
Edit: Just done some testing on a local to me server and $AvgSpeed works here on my server but exactly the same code won't work when I run it on my hosts server. Weird eh
Please post a sample of the script you have, so we can look at it and try to solve your problem.
[edit]
I can confirm the problems with $allow in version 5.707beta.
It doesn't matter if you're using a name or admin.txt, it doesn't work at all.
[/edit]